
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-image {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: bold;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    transition: background 0.3s;
}

.nav-menu a:hover {
    background: rgba(255,255,255,0.2);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: background 0.3s;
}

.mobile-menu-btn:hover {
    background: rgba(255,255,255,0.2);
}

/* Mobile Sidebar */
.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: white;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
}

.mobile-sidebar.open {
    right: 0;
}

.mobile-sidebar-header {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-sidebar-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

.mobile-nav {
    padding: 20px;
}

.mobile-nav a {
    display: block;
    color: #333;
    text-decoration: none;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.mobile-nav a:hover {
    color: #0066cc;
}

.mobile-nav a:last-child {
    border-bottom: none;
}

/* Overlay */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 40px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 300;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 30px;
}

/* Search Section */
.search-section {
    text-align: center;
    margin-bottom: 40px;
}

.search-box {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-radius: 25px;
    overflow: hidden;
}

.search-input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    font-size: 16px;
    outline: none;
}

.search-button {
    padding: 15px 25px;
    background: #0066cc;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.search-button:hover {
    background: #0052a3;
}

/* Main Content */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.content-box {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-left: 4px solid #0066cc;
    transition: transform 0.3s, box-shadow 0.3s;
}

.content-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.box-title {
    font-size: 1.3rem;
    color: #0066cc;
    margin-bottom: 20px;
    font-weight: bold;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.word-of-day {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.word-image {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e9ecef;
    border-radius: 8px;
    color: #666;
    font-size: 0.9rem;
    text-align: center;
    font-weight: bold;

    /* Flexible sizing */
    padding: 10px 15px;
    min-width: 80px;
    min-height: 80px;
    max-width: 200px; /* prevent it from stretching too wide */
    word-break: break-word; /* handle very long words */
}


.word-content h3 {
    color: #0066cc;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.word-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.word-definition {
    color: #333;
    margin-bottom: 15px;
    line-height: 1.5;
}

.learn-more {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    padding: 8px 16px;
    border: 1px solid #0066cc;
    border-radius: 20px;
    transition: all 0.3s;
}

.learn-more:hover {
    background: #0066cc;
    color: white;
}

.qa-section {
    margin-bottom: 20px;
}

.question {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 3px solid #0066cc;
}

.question h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.questioner {
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
}

.answer {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 3px solid #28a745;
}

.quiz-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.quiz-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.quiz-item h4 {
    color: #333;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.quiz-item p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.popular-words {
    grid-column: 1 / -1;
}

.popular-words p {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.popular-words table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.popular-words th,
.popular-words td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.popular-words th {
    background: #0066cc;
    color: white;
    font-weight: 500;
}

.popular-words tr:hover {
    background: #f8f9fa;
}

.counter {
    color: #0066cc;
    font-weight: bold;
    margin-right: 10px;
}

.word-link a {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.word-link a:hover {
    color: #0052a3;
    text-decoration: underline;
}

.view-all {
    text-align: center;
    margin-top: 25px;
}

.view-all .learn-more {
    background: #0066cc;
    color: white;
}

.view-all .learn-more:hover {
    background: #0052a3;
}
/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 40px 0;
    text-align: center;
    margin-top: 60px;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    margin: 0 15px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    color: #999;
    font-size: 0.9rem;
}

/* About Page Styles */
.about-section {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.about-content h2 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #0066cc;
}

.about-content p {
    color: #444;
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.mission-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 2px solid #0066cc;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: #0066cc;
    margin-bottom: 10px;
}

.stat-label {
    color: #666;
    font-size: 1.1rem;
    font-weight: 500;
}

.timeline {
    margin-top: 40px;
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.timeline-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.timeline-year {
    background: #0066cc;
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.timeline-content h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.timeline-content p {
    color: #666;
    margin: 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.team-member:hover {
    border-color: #0066cc;
    transform: translateY(-5px);
}

.member-avatar {
    width: 80px;
    height: 80px;
    background: #0066cc;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.member-title {
    color: #0066cc;
    font-weight: 500;
    margin-bottom: 15px;
}

.member-bio {
    color: #666;
    line-height: 1.6;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.value-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 12px;
    border: 2px solid #f0f0f0;
    transition: all 0.3s;
}

.value-item:hover {
    border-color: #0066cc;
    transform: translateY(-3px);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.value-item h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.value-item p {
    color: #666;
    line-height: 1.6;
}

.cta-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 40px;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 300;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.cta-button.primary {
    background: #0066cc;
    color: white;
}

.cta-button.primary:hover {
    background: #0052a3;
    transform: translateY(-2px);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.cta-button.secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-2px);
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.contact-form-section {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-form-section h2 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #0066cc;
}

.contact-form-section p {
    color: #666;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: #333;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0066cc;
}

.submit-button {
    background: #0066cc;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s;
    align-self: flex-start;
}

.submit-button:hover {
    background: #0052a3;
}

.contact-info-section {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.contact-info-section h2 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #0066cc;
}

.contact-methods {
    margin-bottom: 30px;
}

.contact-method {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.contact-method:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.method-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.method-content h4 {
    color: #333;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.method-content p {
    color: #666;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.office-location {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.office-location h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.location-details p {
    color: #666;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.social-links h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    font-size: 2rem;
    text-decoration: none;
    transition: transform 0.3s;
}

.social-icon:hover {
    transform: scale(1.2);
}

.faq-section {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.faq-section h2 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #0066cc;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.faq-item {
    padding: 25px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #0066cc;
}

.faq-item h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* Grammar Page Styles */
.grammar-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.grammar-topics {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.grammar-topics h2 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #0066cc;
}

.topic-category {
    margin-bottom: 40px;
}

.topic-category h3 {
    color: #0066cc;
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.topic-items {
    display: grid;
    gap: 20px;
}

.topic-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #0066cc;
    transition: all 0.3s;
}

.topic-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.topic-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.topic-content h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.topic-content p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.topic-link {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.topic-link:hover {
    color: #0052a3;
}

.grammar-sidebar {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.quiz-preview {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #0066cc;
}

.quiz-preview h4 {
    color: #333;
    margin-bottom: 10px;
}

.quiz-preview p {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.quiz-button {
    background: #0066cc;
    color: white;
    padding: 12px 25px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
    display: inline-block;
}

.quiz-button:hover {
    background: #0052a3;
}

.mistakes-list,
.tools-list {
    list-style: none;
}

.mistakes-list li,
.tools-list li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.mistakes-list li:last-child,
.tools-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.mistakes-list a,
.tools-list a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.mistakes-list a:hover,
.tools-list a:hover {
    color: #0066cc;
}

.help-button {
    background: #0066cc;
    color: white;
    padding: 12px 25px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
    display: inline-block;
    text-align: center;
    width: 100%;
}

.help-button:hover {
    background: #0052a3;
}

.grammar-tips {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.grammar-tips h2 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #0066cc;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.tip-card {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.tip-card:hover {
    border-color: #0066cc;
    transform: translateY(-3px);
}

.tip-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.tip-card h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.tip-card p {
    color: #666;
    line-height: 1.6;
}

.interactive-examples {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.interactive-examples h2 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #0066cc;
}

.examples-container {
    display: grid;
    gap: 25px;
}

.example-box {
    padding: 25px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #0066cc;
}

.example-box h4 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.example-content p {
    margin-bottom: 10px;
    line-height: 1.6;
}

.highlight {
    color: #28a745;
    font-weight: bold;
}

.highlight-error {
    color: #dc3545;
    font-weight: bold;
    text-decoration: line-through;
}

.explanation {
    color: #666;
    font-style: italic;
    margin-top: 15px;
    padding: 15px;
    background: white;
    border-radius: 6px;
    border-left: 3px solid #0066cc;
}

/* Vocabulary Page Styles */
.vocabulary-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.vocabulary-categories {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.vocabulary-categories h2 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #0066cc;
}

.category-section {
    margin-bottom: 40px;
}

.category-section h3 {
    color: #0066cc;
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.word-cards {
    display: grid;
    gap: 20px;
}

.word-card {
    padding: 25px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #0066cc;
    transition: all 0.3s;
}

.word-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.word-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.word-header h4 {
    color: #333;
    font-size: 1.3rem;
    margin: 0;
}

.difficulty {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

.difficulty.easy {
    background: #d4edda;
    color: #155724;
}

.difficulty.medium {
    background: #fff3cd;
    color: #856404;
}

.difficulty.hard {
    background: #f8d7da;
    color: #721c24;
}

.word-definition {
    color: #444;
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 1rem;
}

.word-example {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
    font-style: italic;
}

.word-link {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.word-link:hover {
    color: #0052a3;
}

.vocabulary-sidebar {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.word-of-day-widget {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #0066cc;
}

.word-display {
    background: #0066cc;
    color: white;
    padding: 15px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.word-of-day-widget h4 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.word-of-day-widget p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.quiz-widget {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid #0066cc;
}

.quiz-widget h4 {
    color: #333;
    margin-bottom: 10px;
}

.quiz-widget p {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.tips-list {
    list-style: none;
}

.tips-list li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
    color: #666;
    font-size: 0.95rem;
}

.tips-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.word-lists {
    list-style: none;
}

.word-lists li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.word-lists li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.word-lists a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.word-lists a:hover {
    color: #0066cc;
}

.learning-strategies {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.learning-strategies h2 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #0066cc;
}

.strategies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.strategy-card {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.strategy-card:hover {
    border-color: #0066cc;
    transform: translateY(-3px);
}

.strategy-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.strategy-card h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.strategy-card p {
    color: #666;
    line-height: 1.6;
}

.word-games {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.word-games h2 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid #0066cc;
}

.games-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.game-card {
    text-align: center;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.game-card:hover {
    border-color: #0066cc;
    transform: translateY(-3px);
}

.game-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.game-card h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.game-card p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.game-button {
    background: #0066cc;
    color: white;
    padding: 12px 25px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
    display: inline-block;
}

.game-button:hover {
    background: #0052a3;
}

.progress-tracking {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 40px;
    text-align: center;
}

.progress-tracking h2 {
    color: #333;
    font-size: 2rem;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid #0066cc;
}

.progress-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.progress-item {
    padding: 25px 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 2px solid #0066cc;
}

.progress-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #0066cc;
    margin-bottom: 10px;
}

.progress-label {
    color: #666;
    font-size: 1rem;
    font-weight: 500;
}

.progress-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.progress-button {
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.progress-button:first-child {
    background: #0066cc;
    color: white;
}

.progress-button:first-child:hover {
    background: #0052a3;
    transform: translateY(-2px);
}

.progress-button.secondary {
    background: transparent;
    color: #0066cc;
    border-color: #0066cc;
}

.progress-button.secondary:hover {
    background: #0066cc;
    color: white;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .main-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .grammar-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .vocabulary-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .container {
        padding: 0 15px;
    }

    .content-box {
        padding: 25px;
    }

    .article-content {
        padding: 25px;
    }

    .article-title {
        font-size: 2rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .social-sharing {
        flex-direction: column;
        align-items: center;
    }

    .mission-stats {
        grid-template-columns: 1fr;
    }

    .timeline-item {
        flex-direction: column;
        text-align: center;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .tips-grid {
        grid-template-columns: 1fr;
    }

    .strategies-grid {
        grid-template-columns: 1fr;
    }

    .games-container {
        grid-template-columns: 1fr;
    }

    .progress-stats {
        grid-template-columns: 1fr;
    }

    .progress-actions {
        flex-direction: column;
        align-items: center;
    }

    .about-section,
    .contact-form-section,
    .contact-info-section,
    .grammar-topics,
    .grammar-sidebar,
    .grammar-tips,
    .interactive-examples,
    .vocabulary-categories,
    .vocabulary-sidebar,
    .learning-strategies,
    .word-games,
    .progress-tracking,
    .terms-content,
    .terms-navigation {
        padding: 25px;
    }

    .cta-section {
        padding: 40px 25px;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.4rem;
    }

    .logo-image {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .hero {
        padding: 60px 0;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .search-box {
        flex-direction: column;
        border-radius: 12px;
    }

    .search-input {
        border-radius: 12px 12px 0 0;
    }

    .search-button {
        border-radius: 0 0 12px 12px;
    }

    .word-title {
        font-size: 2rem;
    }

    .article-content {
        padding: 20px;
    }

    .newsletter {
        padding: 30px 20px;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .timeline-year {
        width: 60px;
        height: 60px;
        font-size: 1rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .progress-number {
        font-size: 2rem;
    }

    .about-section,
    .contact-form-section,
    .contact-info-section,
    .grammar-topics,
    .grammar-sidebar,
    .grammar-tips,
    .interactive-examples,
    .vocabulary-categories,
    .vocabulary-sidebar,
    .learning-strategies,
    .word-games,
    .progress-tracking,
    .terms-content,
    .terms-navigation {
        padding: 20px;
    }
}

/* Terms of Use Page Styles */
.terms-content {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 40px;
    line-height: 1.8;
}

.last-updated {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #0066cc;
    margin-bottom: 30px;
    text-align: center;
}

.last-updated p {
    margin: 0;
    color: #666;
    font-size: 1rem;
}

.terms-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.terms-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.terms-section h2 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0066cc;
}

.terms-section p {
    color: #444;
    margin-bottom: 15px;
    line-height: 1.7;
}

.terms-section ul {
    margin: 20px 0;
    padding-left: 25px;
}

.terms-section li {
    margin-bottom: 10px;
    color: #444;
    line-height: 1.6;
}

.terms-section strong {
    color: #333;
    font-weight: 600;
}

.contact-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 3px solid #0066cc;
    margin-top: 15px;
}

.contact-info p {
    margin-bottom: 8px;
    color: #666;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.terms-navigation {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    height: fit-content;
    position: sticky;
    top: 20px;
}

.terms-navigation h3 {
    color: #333;
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #0066cc;
}

.nav-links {
    list-style: none;
}

.nav-links li {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.nav-links li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s;
    display: block;
    padding: 5px 0;
}

.nav-links a:hover {
    color: #0066cc;
}
