/* =================================================================== */
/* ---               Sprachlingua Unified Stylesheet               --- */
/* =================================================================== */
/* This file combines styles for older pages and the new homepage.
/* It is designed for backward compatibility.
/* =================================================================== */


/* --- 1. Global Styles & Unified Variables --- */
:root {
    /* == NEW Primary & Accent Colors == */
    --primary-color: #005A9E;   /* Professional Blue */
    --secondary-color: #0D2C4A;  /* Dark Blue */
    --accent-color: #FF6B00;    /* Vibrant Orange for CTAs */

    /* == OLD Accent Colors (for backward compatibility) == */
    --accent-gold: #FFC107;
    --accent-red: #D81B21;
    
    /* == Common Colors & Typography == */
    --light-gray: #f8f9fa;
    --white-color: #fff;
    --text-color: #333;
    --light-text-color: #666;
    --border-color: #e0e0e0;
    
    /* == Fonts == */
    --heading-font: 'Poppins', sans-serif;
    --body-font: 'Lato', 'Roboto', sans-serif; /* Lato is preferred, Roboto is fallback */
    
    /* == Sizing & Effects == */
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    --border-radius: 8px; /* New default border radius */
    --border-radius-old: 12px; /* Old border radius for compatibility */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.7;
    background-color: var(--white-color);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.container-sm { max-width: 900px; margin: 0 auto; padding: 0 20px; }


/* --- 2. Typography --- */
h1, h2, h3, h4 {
    font-family: var(--heading-font);
    font-weight: 700;
    color: var(--secondary-color);
    line-height: 1.3;
}
/* New heading styles */
h1 { font-size: 2.8rem; margin-bottom: 20px; }
h2 { font-size: 2.2rem; text-align: center; margin-bottom: 60px; }
h3 { font-size: 1.5rem; color: var(--primary-color); margin-bottom: 20px; }
h4 { font-size: 1.2rem; margin-bottom: 20px; }
p { margin-bottom: 1.2rem; color: var(--light-text-color); }
a { color: var(--primary-color); text-decoration: none; transition: color 0.3s ease; }
a:hover { color: var(--accent-color); text-decoration: underline; }

/* OLD h2 style with underline (for old pages) */
h2.with-underline::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--accent-gold);
    margin: 20px auto 0;
    border-radius: 2px;
}
.section-intro { max-width: 800px; margin: 0 auto 60px auto; text-align:center; }


/* --- 3. Buttons (Unified & Renamed for Compatibility) --- */

/* Base Button Style (from new design) */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--heading-font);
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-decoration: none !important;
}

/* NEW Primary (Orange) Button */
.btn-primary {
    background-color: var(--accent-color);
    color: #fff !important;
    box-shadow: 0 4px 10px rgba(255, 107, 0, 0.4);
}
.btn-primary:hover {
    background-color: #e65c00;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 107, 0, 0.5);
}

/* NEW Secondary (Bordered) Button */
.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}
.btn-secondary:hover {
    background-color: var(--primary-color);
    color: #fff !important;
}

/* RENAMED OLD Gold Button */
.btn-gold {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--secondary-color) !important;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-family: var(--heading-font);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
    border: none;
    cursor: pointer;
}
.btn-gold:hover {
    background: var(--primary-color);
    color: var(--white-color) !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 90, 156, 0.3);
}

/* RENAMED OLD Blue Button */
.btn-blue {
    background: var(--primary-color);
    color: var(--white-color) !important;
    box-shadow: 0 4px 15px rgba(0, 90, 156, 0.3);
}
.btn-blue:hover {
    background: var(--secondary-color);
}


/* --- 4. Header & Navigation (MODIFIED FOR CLICK DROPDOWN) --- */
.main-header { background: var(--white-color); padding: 15px 0; position: sticky; top: 0; z-index: 1000; box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
.main-header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-family: var(--heading-font); font-size: 1.8rem; font-weight: 800; color: var(--secondary-color); text-decoration: none; }
.logo:hover { text-decoration: none; }
.nav-links { list-style: none; display: flex; align-items: center; }
.nav-links li { position: relative; } /* Crucial for positioning dropdown */
.nav-links a { color: var(--text-color); font-weight: 600; padding: 10px 15px; display: block; text-decoration: none; }
.nav-links a:hover { color: var(--primary-color); text-decoration: none; }
.nav-links a .fa-xs { font-size: 0.7em; opacity: 0.7; margin-left: 4px; }
.nav-links .dropdown-content { display: none; position: absolute; background-color: var(--white-color); box-shadow: var(--shadow); border-radius: var(--border-radius); min-width: 240px; z-index: 1; list-style: none; padding: 10px 0; border-top: 3px solid var(--primary-color); margin-top: 10px; }
.dropdown-content li a { padding: 12px 20px; white-space: nowrap; }
.menu-toggle { display: none; font-size: 2rem; background: none; border: none; cursor: pointer; color: var(--secondary-color); }

/* NEW RULE: Show dropdown when it has the .show class (added by JS) */
.nav-links .dropdown-content.show {
    display: block;
}
/* NEW RULE: Make dropdown toggles look clickable */
.dropdown a.dropdown-toggle {
    cursor: pointer;
}


/* --- 5. Homepage-Specific Sections --- */

/* Hero Section (New) */
.hero {
    background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.8)), url('images/bg.png') no-repeat center center / cover;
    color: var(--white-color);
    text-align: center;
    padding: 120px 0;
}
.hero h1 { color: var(--white-color); }
.hero p { font-size: 1.2rem; max-width: 700px; margin: 0 auto 30px auto; color: rgba(255,255,255,0.9); }

/* General Content Cards (New) */
.grid { display: grid; gap: 30px; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); }
.card { background: var(--white-color); padding: 30px; border-radius: var(--border-radius); box-shadow: var(--shadow); transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.12); }
.card .icon { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 15px; }
.card p { flex-grow: 1; }
.card h3 { margin-top: 0; }

/* How It Works Section (New) */
.how-it-works-grid { display: flex; justify-content: space-between; align-items: flex-start; position: relative; gap: 2rem; }
.how-it-works-grid::before { content: ''; position: absolute; top: 45px; left: 15%; right: 15%; height: 2px; background: repeating-linear-gradient(90deg, var(--accent-color), var(--accent-color) 6px, transparent 6px, transparent 12px); z-index: 0; }
.step-card { text-align: center; flex: 1; position: relative; z-index: 1; }
.step-number { width: 90px; height: 90px; border-radius: 50%; background-color: #fff; border: 4px solid var(--accent-color); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem auto; color: var(--accent-color); font-size: 2.5rem; font-family: var(--heading-font); font-weight: 700; }
.step-card h3 { margin-bottom: 0.5rem; }

/* Language Cards Section (New) */
.languages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.language-card { background-color: #fff; border-radius: var(--border-radius); box-shadow: var(--shadow); overflow: hidden; text-align: center; transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column; }
.language-card:hover { transform: translateY(-10px); box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12); }
.language-card-image { height: 150px; background-size: cover; background-position: center; position: relative; }
.language-card-image .flag { position: absolute; bottom: -25px; left: 50%; transform: translateX(-50%); font-size: 50px; background-color: #fff; padding: 5px; border-radius: 50%; width: 60px; height: 60px; line-height: 50px; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
.language-card-content { padding: 3rem 1.5rem 1.5rem 1.5rem; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.language-card h3 { color: var(--secondary-color); margin-bottom: 0.5rem; }
.language-card p { font-size: 0.9rem; margin-bottom: 1.5rem; }

/* Testimonials (New) */
#testimonials .card { text-align: center; }
.testimonial-img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; margin-bottom: 20px; border: 3px solid var(--primary-color); }
.testimonial-author { font-weight: 700; margin-top: 15px; margin-bottom: 0; }
.testimonial-title { font-size: 0.9rem; color: #777; }

/* Clients Section (New) */
#clients { background: var(--light-gray); }
.clients-list { text-align: center; line-height: 2; }
.clients-list a { margin: 0 10px; font-weight: 600; }

/* CTA & Contact Sections (New) */
.cta-banner { background: var(--secondary-color); color: #fff; text-align: center; }
.cta-banner h2, .cta-banner p { color: #fff; }
.cta-banner p { color: rgba(255, 255, 255, 0.8); max-width: 600px; margin-left: auto; margin-right: auto; margin-bottom: 2rem; }
.contact-content { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: center; }
.contact-info h2 { text-align: left; margin-bottom: 2rem; }
.contact-info-item { display: flex; align-items: flex-start; gap: 1.5rem; margin-bottom: 1.5rem; }
.contact-info-item .icon { flex-shrink: 0; width: 50px; height: 50px; background-color: var(--primary-color); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.contact-info-item h4 { margin-bottom: 0.2rem; }
.contact-form { background-color: #fff; padding: 3rem; border-radius: var(--border-radius); box-shadow: var(--shadow); }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: var(--secondary-color); }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 15px; border-radius: var(--border-radius); border: 1px solid var(--border-color); font-family: var(--body-font); font-size: 1rem; transition: border-color 0.3s ease; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(0, 90, 158, 0.1); }


/* --- 6. OLD PAGE STYLES (for Backward Compatibility) --- */
section.old-section-padding { padding: 100px 0; }

/* Hero Section (Old) */
.hero-section { background-color: var(--light-gray); padding: 80px 0; }
.hero-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; }
.hero-content .subtitle { font-weight: 700; color: var(--primary-color); margin-bottom: 10px; display: block; letter-spacing: 1px; text-transform: uppercase; }
.hero-content ul { list-style: none; padding-left: 0; margin: 30px 0; }
.hero-content li { margin-bottom: 15px; display: flex; align-items: center; }
.hero-content li i { color: var(--accent-gold); margin-right: 15px; font-size: 1.2rem; width: 20px; }
.hero-image { text-align: center; }
.hero-image img { max-width: 100%; border-radius: var(--border-radius-old); box-shadow: var(--shadow); }
.credibility-bar { padding: 20px 0; background-color: #e9ecef; text-align: center; }
.credibility-bar p { margin: 0; font-weight: 600; color: #6c757d; }
.credibility-bar span { font-weight: 700; color: var(--secondary-color); }

/* Generic Cards (Old) */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.feature-card { background: var(--white-color); padding: 35px; border-radius: var(--border-radius-old); text-align: center; box-shadow: var(--shadow); transition: transform 0.3s ease, box-shadow 0.3s ease; display: flex; flex-direction: column;}
.feature-card:hover { transform: translateY(-10px); }
.feature-card .icon { font-size: 3rem; color: var(--primary-color); margin-bottom: 20px; line-height: 1; }
.feature-card p { flex-grow: 1; }
.feature-card .btn-blue { margin-top: auto; } /* Note: Using renamed btn-blue */

/* Section-Specific Styles (Old) */
#placements { background-color: var(--light-gray); }
.partner-card { text-align: left; padding: 30px; border-left: 5px solid var(--accent-red); }
.partner-logo { font-size: 2rem; font-weight: 800; color: var(--secondary-color); margin-bottom: 15px; }

#methodology { background-color: var(--white-color); }
.methodology-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.method-pillar { text-align: center; }
.method-pillar .icon { font-size: 3.5rem; color: var(--accent-red); margin-bottom: 20px; }
.method-pillar h3 { margin-bottom: 10px; }

#curriculum { background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%); color: var(--white-color); }
#curriculum h2, #curriculum h3 { color: var(--white-color); }
#curriculum h2.with-underline::after { background: var(--accent-gold); }
#curriculum .section-intro { color: #e0e0e0; }
details { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: var(--border-radius-old); margin-bottom: 10px; }
summary { color: var(--white-color); font-weight: 700; font-size: 1.2rem; padding: 20px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
details[open] summary { color: var(--accent-gold); }
summary::after { content: '\f067'; font-family: 'Font Awesome 6 Free'; font-weight: 900; transition: transform 0.3s ease; }
details[open] summary::after { transform: rotate(180deg); }
.accordion-content { color: #d0d0d0; padding: 0 20px 20px 20px; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.accordion-content ul { list-style-type: '✓ '; padding-left: 25px; }

.fees-table { width: 100%; border-collapse: collapse; margin-bottom: 40px; box-shadow: var(--shadow); border-radius: var(--border-radius-old); overflow: hidden; }
.fees-table th, .fees-table td { padding: 20px; text-align: left; }
.fees-table thead { background: var(--secondary-color); color: var(--white-color); font-family: var(--heading-font); }
.fees-table tbody tr:nth-child(even) { background: var(--light-gray); }
.fees-table .price { font-weight: 700; color: var(--primary-color); font-size: 1.2rem; }

#faq details { background: var(--white-color); border: 1px solid #e9ecef; }
#faq summary { color: var(--secondary-color); font-size: 1.1rem; }
#faq .accordion-content { color: var(--text-color); }



/* --- 6. OLD PAGE STYLES (for Backward Compatibility) --- */
/* ... existing styles ... */

#faq details { background: var(--white-color); border: 1px solid #e9ecef; }
#faq summary { color: var(--secondary-color); font-size: 1.1rem; }
#faq .accordion-content { color: var(--text-color); }


/* === NEW: Blog Post FAQ Styles (Added to fix visibility) === */
.blog-faq-item {
    background: var(--white-color);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}
.blog-faq-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 90, 158, 0.1);
}

.blog-faq-item summary {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary-color); /* Dark blue for the question */
    padding: 18px 25px;
    cursor: pointer;
    list-style: none; /* Removes the default triangle */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s ease;
}

.blog-faq-item summary:hover {
    color: var(--primary-color);
}

/* Style for the plus/minus icon using Font Awesome */
.blog-faq-item summary::after {
    content: '\f067'; /* Font Awesome 'plus' icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.blog-faq-item[open] > summary::after {
    transform: rotate(45deg); /* Rotates plus to an 'x' */
}

.blog-faq-item[open] > summary {
    color: var(--primary-color); /* Highlight the question when open */
}

/* Style for the answer content */
.blog-faq-item .accordion-content {
    padding: 0 25px 20px 25px;
    border-top: 1px solid var(--border-color);
    color: var(--text-color); /* Dark gray for the answer text */
}
.blog-faq-item .accordion-content p {
    color: var(--light-text-color); /* Use a slightly lighter gray for the paragraph text inside */
    margin-bottom: 0;
}


/* --- 7. Footer & WhatsApp Button (Unified) --- */
/* ... rest of your CSS file ... */

/* --- 7. Footer & WhatsApp Button (Unified) --- */
.main-footer { background-color: var(--secondary-color); color: #ccc; padding-top: 60px; }
.main-footer a { color: #ccc; }
.main-footer a:hover { color: var(--white-color); }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; padding-bottom: 40px; }
.footer-col h4 { color: var(--white-color); margin-bottom: 20px; font-size: 1.3rem; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col p { color: #ccc; margin-bottom: 20px; }
.social-icons a { font-size: 1.5rem; margin-right: 15px; }
.footer-bottom { background-color: #002244; text-align: center; padding: 20px 0; font-size: 0.9rem; color: #aaa; }
.footer-bottom a { color: var(--white-color); font-weight: 600; }
.whatsapp-button { position: fixed; bottom: 25px; right: 25px; background-color: #25D366; color: var(--white-color); width: 60px; height: 60px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; box-shadow: 0 4px 10px rgba(0,0,0,0.3); z-index: 100; transition: transform 0.3s ease; }
.whatsapp-button:hover { transform: scale(1.1); color: var(--white-color); text-decoration: none; }


hr.section-divider {
    border: 0;
    height: 1px;
    background-color: var(--border-color);
    max-width: 800px;
    margin: 80px auto;
}
/* -----Announcement bar -------------*/

.top-bar-sticky-container {
  position: sticky; /* The magic property! */
  top: 0;           /* Stick to the very top of the viewport */
  width: 100%;      /* Ensure it spans the full width */
  z-index: 1000;    /* Keep it on top of all other page content */
}

/* Optional: Add styles for your announcement bar if they don't exist */
.announcement-bar {
    background-color: #0D2C4A; /* Example: Dark Blue */
    color: #FFD700; /* Example: Gold text color */
    padding: 10px 0;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    overflow: hidden; /* Needed for the scrolling animation */
    white-space: nowrap;
}

/* Optional: Add a scrolling animation for the text */
.announcement-text {
    display: inline-block;
    padding-left: 100%;
    animation: scroll-left 30s linear infinite;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}



/* ----- for blogs -------   */

/* =================================================================== */
/* ---             9. NEW: Blog Archive Page Styles                --- */
/* =================================================================== */

/* --- Main Page Layout & Header --- */
.archive-page {
    padding: 60px 0;
    background-color: var(--light-gray); /* A soft background for the whole page */
}

.archive-header {
    text-align: center;
    margin-bottom: 60px;
}

.archive-header h1 {
    font-size: 3rem; /* Larger, more impactful title */
    color: var(--secondary-color);
}

.archive-header .lead {
    font-size: 1.2rem;
    color: var(--light-text-color);
    max-width: 650px;
    margin: 10px auto 0;
}

/* --- The Timeline Structure --- */
.timeline-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

/* The vertical line of the timeline */
.timeline-container::before {
    content: '';
    position: absolute;
    top: 15px; /* Start slightly below the top */
    left: 20px;
    bottom: 0;
    width: 4px;
    background-color: #dbe2eb; /* A soft, neutral line color */
    border-radius: 2px;
}

/* --- Timeline Item (The Collapsible Year Block) --- */
.timeline-item {
    position: relative;
    margin-bottom: 30px;
}

/* The dot on the timeline for each year */
.timeline-item::before {
    content: '';
    position: absolute;
    left: 11px; /* (20px line position - (18px dot width / 2)) + 4px line width/2 */
    top: 17px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--white-color);
    border: 4px solid var(--primary-color);
    z-index: 1;
    transition: background-color 0.3s ease;
}

.timeline-item[open]::before {
    background-color: var(--accent-color); /* Change dot color when open */
}

/* --- The Clickable Year Header (<summary>) --- */
.timeline-year {
    font-family: var(--heading-font);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    padding: 10px 0 10px 60px; /* Space for the timeline line and dot */
    cursor: pointer;
    list-style: none; /* Removes the default arrow/marker */
    outline: none;
    transition: color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.timeline-year:hover {
    color: var(--primary-color);
}

/* Hide the default arrow on Firefox */
.timeline-year::-webkit-details-marker {
    display: none;
}

/* Custom chevron icon for open/close state */
.timeline-year::after {
    content: '\f078'; /* Font Awesome "chevron-down" icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--light-text-color);
    margin-right: 20px;
    transition: transform 0.3s ease;
}

.timeline-item[open] > .timeline-year::after {
    transform: rotate(180deg);
}


/* --- Content Inside Each Year (Months and Article Lists) --- */
.timeline-content {
    background-color: var(--white-color);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 25px 30px;
    margin: 15px 0 0 60px; /* Aligns with the year header */
    border: 1px solid var(--border-color);
}

h3.archive-month {
    font-family: var(--heading-font);
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-top: 20px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-gray);
}
h3.archive-month:first-child {
    margin-top: 0;
}

ul.archive-list {
    list-style: none;
    padding-left: 0;
}

ul.archive-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allows date to wrap on small screens */
    gap: 15px;
    padding: 15px 10px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s ease;
}

ul.archive-list li:last-child {
    border-bottom: none;
}

ul.archive-list li:hover {
    background-color: #fcfcfc;
}

ul.archive-list a {
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
    flex-grow: 1; /* Allows link to take available space */
}

ul.archive-list a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

span.archive-date {
    font-size: 0.9rem;
    color: var(--light-text-color);
    background-color: var(--light-gray);
    padding: 4px 10px;
    border-radius: 50px;
    white-space: nowrap;
}

/* --- Responsive Adjustments for Mobile --- */
@media (max-width: 768px) {
    .archive-header h1 {
        font-size: 2.5rem;
    }
    .timeline-container::before {
        left: 10px; /* Move line closer to the edge */
    }
    .timeline-item::before {
        left: 1px;  /* Adjust dot position */
    }
    .timeline-year {
        padding-left: 40px; /* Reduce padding */
        font-size: 1.8rem;
    }
    .timeline-content {
        margin-left: 0; /* Stack content directly below on mobile */
    }
    ul.archive-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* --- 8. Responsive Design (Unified) --- */
@media (max-width: 992px) {
    .contact-content { grid-template-columns: 1fr; }
    .contact-info { margin-bottom: 3rem; }
    .contact-info h2 { text-align: center; }
    .hero-grid { grid-template-columns: 1fr; text-align: center; } 
    .hero-image { grid-row: 1; margin-bottom: 40px; }
}

@media (max-width: 768px) {
    section, section.old-section-padding { padding: 60px 0; }
    h2 { margin-bottom: 40px; }
    .grid-2 { grid-template-columns: 1fr; }
    .nav-links { display: none; flex-direction: column; position: absolute; top: 75px; left: 0; width: 100%; background: var(--white-color); box-shadow: var(--shadow); }
    .nav-links.active { display: flex; }
    .nav-links li { width: 100%; text-align: center; }
    .nav-links .dropdown-content { 
        position: static; /* Let dropdowns sit naturally inside mobile menu */
        box-shadow: none; 
        background-color: var(--light-gray); 
        border: none; 
        margin-top: 0;
        border-radius: 0;
        min-width: 100%;
        display: none; /* Hide by default on mobile too */
    }
    
    /* MODIFIED: show class now also works for mobile */
    .nav-links .dropdown-content.show {
        display: block;
    }
    
    .menu-toggle { display: block; }
    .how-it-works-grid { flex-direction: column; align-items: center; }
    .how-it-works-grid::before { display: none; }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    .hero { padding: 80px 0; }
    .contact-form { padding: 2rem; }
}