/* styles.css */

/* --- Global Variables & Resets --- */
:root {
    --accent: #0F766E; /* Deep Teal */
    --charcoal: #111827; /* Very Dark Gray for text */
    --light-gray: #F9FAFB; /* Near-white background for sections */
    --white: #ffffff;
    --gray-text: #4B5563; /* Softer gray for subtitles/descriptions */
    --border-color: #E5E7EB; /* Light border color */

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    
    --spacing-unit: 1rem; /* Approx 16px */
    --container-max-width: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 100%; /* 16px base */
}

body {
    font-family: var(--font-sans);
    color: var(--charcoal);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease-in-out;
}

a:hover {
    color: var(--accent);
}

img, svg {
    max-width: 100%;
    height: auto; /* Maintain aspect ratio */
    display: block;
}

h1, h2, h3, h4 {
    margin-bottom: calc(var(--spacing-unit) * 0.75);
    line-height: 1.2;
    font-weight: 700;
}

h1 { font-size: 2.5rem; } /* 40px */
h2 { font-size: 2rem; }   /* 32px */
h3 { font-size: 1.5rem; } /* 24px */
h4 { font-size: 1.25rem; } /* 20px */

p {
    margin-bottom: var(--spacing-unit);
    color: var(--gray-text);
}

/* --- Utility Classes --- */
.container {
    width: 90%;
    max-width: var(--container-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-unit);
    padding-right: var(--spacing-unit);
}

.bg-light-gray {
    background-color: var(--light-gray);
}

.bg-accent {
    background-color: var(--accent);
    color: var(--white);
}
.bg-accent h2, .bg-accent h3, .bg-accent p {
    color: var(--white);
}

.text-center {
    text-align: center;
}

/* Section Spacing */
section {
    padding-top: calc(var(--spacing-unit) * 4);
    padding-bottom: calc(var(--spacing-unit) * 4);
}

.section-title {
    margin-bottom: calc(var(--spacing-unit) * 0.5);
}
.section-subtitle {
    font-size: 1.125rem; /* 18px */
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: calc(var(--spacing-unit) * 2.5);
}


/* --- Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    opacity: 0; /* Start hidden, JS will make it visible if IntersectionObserver is not supported */
    animation-fill-mode: forwards; /* Keep final state */
}

.fade-in-up.is-visible { /* Class added by IntersectionObserver */
    animation-name: fadeInUp;
    animation-duration: 0.6s;
    animation-timing-function: ease-out;
}

/* --- Buttons & Links --- */
.btn {
    display: inline-block;
    padding: calc(var(--spacing-unit)*0.75) calc(var(--spacing-unit)*1.5);
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s ease-out, background-color 0.2s ease-out, box-shadow 0.2s ease-out;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--white);
    box-shadow: 0 2px 4px rgba(15, 118, 110, 0.2);
}

.btn-primary:hover {
    transform: scale(1.05);
    background-color: #0D6760; /* Slightly darker accent */
    color: var(--white);
    box-shadow: 0 4px 8px rgba(15, 118, 110, 0.3);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--accent);
    border: 1px solid var(--accent);
}
.bg-accent .btn-secondary { /* Special case for CTA section button */
    border: 1px solid var(--white);
}

.btn-secondary:hover {
    transform: scale(1.05);
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--accent); /* Keep accent color */
}
.bg-accent .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--accent);
}

.link-secondary {
    color: var(--accent);
    font-weight: 500;
    text-decoration: none;
    position: relative;
    padding-bottom: 2px;
}

.link-secondary::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease-out;
}

.link-secondary:hover::after {
    transform: scaleX(1);
}

/* --- Header / Navbar --- */
.main-header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px); /* Safari */
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    padding: calc(var(--spacing-unit)*0.75) 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 40px; /* Adjust as needed */
    width: auto;
}

.main-nav .nav-links {
    list-style: none;
    display: flex;
    gap: calc(var(--spacing-unit) * 1.5);
}

.main-nav .nav-links a {
    font-weight: 500;
    color: var(--charcoal);
    padding: 0.5rem 0.25rem;
    position: relative;
}
.main-nav .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease-out;
}
.main-nav .nav-links a:hover::after,
.main-nav .nav-links a.active::after {
    transform: scaleX(1);
}


.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-unit);
}

.header-actions .signin-link {
    font-weight: 500;
    color: var(--charcoal);
    padding: 0.5rem;
}
.header-actions .signin-link:hover {
    color: var(--accent);
}

.mobile-nav-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger-icon {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--charcoal);
    position: relative;
    transition: transform 0.3s ease;
}
.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--charcoal);
    transition: transform 0.3s ease, top 0.3s ease;
}
.hamburger-icon::before { top: -7px; }
.hamburger-icon::after { top: 7px; }

/* Mobile Nav Active State */
.mobile-nav-toggle[aria-expanded="true"] .hamburger-icon {
    background-color: transparent; /* Middle line disappears */
}
.mobile-nav-toggle[aria-expanded="true"] .hamburger-icon::before {
    transform: rotate(45deg);
    top: 0;
}
.mobile-nav-toggle[aria-expanded="true"] .hamburger-icon::after {
    transform: rotate(-45deg);
    top: 0;
}


/* --- Hero Section --- */
.hero-section {
    min-height: calc(100vh - 60px); /* Adjust 60px based on header height */
    display: flex;
    align-items: center;
    padding-top: calc(var(--spacing-unit) * 2); /* Less padding if header is tall */
    padding-bottom: calc(var(--spacing-unit) * 2);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: calc(var(--spacing-unit) * 3);
}

.hero-title {
    font-size: 2.8rem; /* 45px */
    font-weight: 800;
    margin-bottom: calc(var(--spacing-unit) * 1);
    color: var(--charcoal);
}

.hero-subtitle {
    font-size: 1.25rem; /* 20px */
    max-width: 500px;
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.hero-buttons .btn {
    margin-right: var(--spacing-unit);
}
.hero-buttons .link-secondary {
    margin-left: calc(var(--spacing-unit) * 0.5);
}

.hero-image {
    width: 100%;
    max-width: 550px; /* Control size */
    margin-left: auto; /* Pushes to right on larger screens if container is wider */
}


/* --- Features Section --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: calc(var(--spacing-unit) * 2);
    margin-top: calc(var(--spacing-unit) * 2);
}

.feature-card {
    background-color: var(--white);
    padding: calc(var(--spacing-unit) * 1.5);
    text-align: center;
    border-radius: 8px;
    /* box-shadow: 0 4px 12px rgba(0,0,0,0.05); Optional subtle shadow */
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.07);
}

.feature-icon {
    height: 48px; /* Adjust as needed */
    width: 48px;
    margin: 0 auto calc(var(--spacing-unit) * 1) auto;
    color: var(--accent); /* If SVG can take color */
}

.feature-title {
    font-size: 1.3rem;
    color: var(--charcoal);
    margin-bottom: calc(var(--spacing-unit) * 0.5);
}

.feature-desc {
    font-size: 0.95rem;
}

/* --- How It Works Section --- */
.steps-container {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 2.5);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-top: calc(var(--spacing-unit) * 2);
}

.step {
    display: flex;
    align-items: flex-start; /* Align items to the top */
    gap: var(--spacing-unit);
    background-color: var(--white);
    padding: calc(var(--spacing-unit) * 1.5);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.step-number {
    flex-shrink: 0; /* Prevent shrinking */
    width: 40px;
    height: 40px;
    background-color: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.step-content h4 {
    font-size: 1.25rem;
    color: var(--charcoal);
    margin-bottom: calc(var(--spacing-unit) * 0.25);
}

.step-content p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* --- Testimonials Section --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: calc(var(--spacing-unit) * 2);
    margin-top: calc(var(--spacing-unit) * 2);
}

.testimonial-card {
    background-color: var(--white);
    padding: calc(var(--spacing-unit) * 1.75);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.07);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: var(--spacing-unit);
    border: 3px solid var(--accent);
}

.testimonial-quote {
    font-style: italic;
    font-size: 1.05rem;
    margin-bottom: calc(var(--spacing-unit) * 1);
    flex-grow: 1; /* Makes quotes take available space */
    color: var(--charcoal);
}

.testimonial-author {
    font-weight: 600;
    color: var(--charcoal);
    font-size: 0.9rem;
}


/* --- CTA Section --- */
.cta-section {
    padding: calc(var(--spacing-unit) * 4) var(--spacing-unit);
    text-align: center;
}
.cta-content {
    max-width: 700px;
    margin: 0 auto;
}
.cta-heading {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: calc(var(--spacing-unit) * 0.75);
}
.cta-subheading {
    font-size: 1.1rem;
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    opacity: 0.9;
}


/* --- Footer --- */
.main-footer {
    background-color: var(--charcoal);
    color: #D1D5DB; /* Light gray for text */
    padding-top: calc(var(--spacing-unit) * 3);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: calc(var(--spacing-unit) * 2);
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.footer-logo {
    height: 35px; /* Adjust as needed */
    margin-bottom: var(--spacing-unit);
}
.footer-tagline {
    font-size: 0.875rem; /* 14px */
    color: #9CA3AF;
}

.footer-column h4 {
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: calc(var(--spacing-unit) * 0.75);
}

.footer-column ul {
    list-style: none;
}
.footer-column ul li {
    margin-bottom: calc(var(--spacing-unit) * 0.5);
}
.footer-column ul a, .footer-column p a {
    color: #D1D5DB;
    font-size: 0.9rem;
}
.footer-column ul a:hover, .footer-column p a:hover {
    color: var(--accent);
    text-decoration: underline;
}
.footer-column p {
    color: #D1D5DB;
    font-size: 0.9rem;
    margin-bottom: calc(var(--spacing-unit) * 0.5);
}

.social-icons {
    display: flex;
    gap: var(--spacing-unit);
    margin-top: var(--spacing-unit);
}
.social-icons img {
    width: 20px;
    height: 20px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}
.social-icons a:hover img {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding: calc(var(--spacing-unit) * 1.5) 0;
    border-top: 1px solid #374151; /* Darker gray border */
    font-size: 0.875rem;
    color: #9CA3AF;
}


/* --- Responsive Adjustments --- */

/* Mobile (up to 767px) */
@media (max-width: 767px) {
    h1 { font-size: 2rem; } /* 32px */
    h2 { font-size: 1.75rem; } /* 28px */
    .section-title { margin-bottom: var(--spacing-unit); }
    .section-subtitle { font-size: 1rem; margin-bottom: calc(var(--spacing-unit)*1.5); }

    /* Header */
    .main-nav {
        display: none; /* Hidden by default on mobile */
        position: absolute;
        top: 100%; /* Position below the header */
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        padding: var(--spacing-unit);
        border-top: 1px solid var(--border-color);
    }
    .main-nav.is-open {
        display: block; /* Show when active */
    }
    .main-nav .nav-links {
        flex-direction: column;
        gap: var(--spacing-unit);
        align-items: flex-start;
    }
    .main-nav .nav-links a {
        width: 100%;
        padding: 0.75rem var(--spacing-unit);
        border-radius: 4px;
    }
    .main-nav .nav-links a:hover {
        background-color: var(--light-gray);
    }
    .main-nav .nav-links a::after { display: none; } /* No underline on mobile nav items */

    .header-actions .signin-link { display: none; } /* Optionally hide sign in on mobile nav */
    .header-actions .btn-primary { font-size: 0.9rem; padding: 0.5rem 1rem;}


    .mobile-nav-toggle {
        display: block; /* Visible on mobile */
    }

    /* Hero */
    .hero-grid {
        grid-template-columns: 1fr; /* Stack columns */
        text-align: center;
    }
    .hero-content {
        order: 2; /* Text below image */
        margin-top: calc(var(--spacing-unit) * 1.5);
    }
    .hero-image-container {
        order: 1;
    }
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { max-width: 100%; margin-left:auto; margin-right:auto; }
    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: var(--spacing-unit);
    }
    .hero-buttons .btn, .hero-buttons .link-secondary {
        width: 100%;
        max-width: 300px;
        margin: 0;
    }

    /* How It Works */
    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .step-number {
        margin-bottom: calc(var(--spacing-unit) * 0.5);
    }

    .cta-heading { font-size: 1.8rem; }
}

/* Tablet (768px to 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-title { font-size: 2.5rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); } /* 2 columns for features */
    .testimonials-grid { grid-template-columns: 1fr; max-width: 500px; margin-left:auto; margin-right:auto; } /* Single column centered for testimonials */
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Desktop specific (if needed, usually handled by max-width on container) */
@media (min-width: 1024px) {
    .steps-container {
        flex-direction: row; /* Horizontal layout for steps on desktop */
        align-items: flex-start;
    }
    .step {
        flex: 1; /* Distribute space equally */
        align-items: flex-start; /* Align items to the top for horizontal layout */
        text-align: left;
    }
    .step-number {
        margin-bottom: 0;
    }
}

/* styles.css (append this at the end) */

/* --- About Page Styles --- */

.about-hero-section {
    background-color: var(--light-gray); /* Or keep white if preferred */
    padding-top: calc(var(--spacing-unit) * 3);
    padding-bottom: calc(var(--spacing-unit) * 3);
    text-align: center;
}

.about-main-title {
    font-size: 2.5rem; /* 40px */
    font-weight: 800;
    color: var(--charcoal);
    margin-bottom: var(--spacing-unit);
}

.about-main-subtitle {
    font-size: 1.2rem; /* 19px */
    color: var(--gray-text);
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.about-hero-image {
    width: 100%;
    max-width: 800px; /* Control size of hero image */
    margin: calc(var(--spacing-unit) * 1.5) auto 0 auto;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}


/* Timeline Section */
.timeline-section {
    padding-top: calc(var(--spacing-unit) * 4);
    padding-bottom: calc(var(--spacing-unit) * 4);
}

.timeline {
    position: relative;
    max-width: 900px; /* Max width for timeline content */
    margin: calc(var(--spacing-unit) * 2) auto 0 auto;
    padding: var(--spacing-unit) 0;
}

/* The vertical line for the timeline (desktop) */
.timeline::before {
    content: '';
    position: absolute;
    left: 19px; /* Aligns with the center of the marker */
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--border-color);
    display: none; /* Hidden on mobile by default */
}


.timeline-card {
    position: relative;
    margin-bottom: calc(var(--spacing-unit) * 2);
    padding: calc(var(--spacing-unit) * 1.5);
    background-color: var(--white);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}

.timeline-marker {
    position: absolute;
    top: calc(50% - 8px); /* Center vertically against text line */
    left: -31px; /* Position it outside the card, over the line */
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: var(--accent);
    border: 3px solid var(--white);
    z-index: 1;
    display: none; /* Hidden on mobile */
}
.timeline-card:first-child .timeline-marker { top: 20px; } /* Adjust first marker */


.timeline-year {
    font-size: 1.3rem;
    color: var(--accent);
    margin-bottom: calc(var(--spacing-unit) * 0.4);
    font-weight: 700;
}

.timeline-text {
    font-size: 0.95rem;
    color: var(--gray-text);
    line-height: 1.7;
    margin-bottom: 0;
}


/* Team Section */
.team-section {
    padding-top: calc(var(--spacing-unit) * 4);
    padding-bottom: calc(var(--spacing-unit) * 4);
}

.team-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobile: 1 column */
    gap: calc(var(--spacing-unit) * 2);
    margin-top: calc(var(--spacing-unit) * 2);
}

.team-member {
    text-align: center;
    padding: var(--spacing-unit);
    background-color: var(--white); /* Optional: if you want cards */
    border-radius: 8px;
    /* border: 1px solid var(--border-color); Optional border */
}

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto calc(var(--spacing-unit) * 1) auto;
    border: 4px solid var(--accent);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.team-name {
    font-size: 1.25rem;
    color: var(--charcoal);
    font-weight: 700;
    margin-bottom: calc(var(--spacing-unit) * 0.25);
}

.team-role {
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 0;
}


/* Values Section */
.values-section {
    padding-top: calc(var(--spacing-unit) * 4);
    padding-bottom: calc(var(--spacing-unit) * 4);
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobile: 1 column */
    gap: calc(var(--spacing-unit) * 2);
    margin-top: calc(var(--spacing-unit) * 2);
}

.value-item {
    text-align: center;
    padding: calc(var(--spacing-unit) * 1.5);
    background-color: var(--white);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    /* box-shadow: 0 4px 12px rgba(0,0,0,0.05); Optional */
}

.value-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto calc(var(--spacing-unit) * 1) auto;
    color: var(--accent); /* If SVG can take color */
}

.value-title {
    font-size: 1.3rem;
    color: var(--charcoal);
    font-weight: 700;
    margin-bottom: calc(var(--spacing-unit) * 0.5);
}

.value-desc {
    font-size: 0.95rem;
    color: var(--gray-text);
    margin-bottom: 0;
}

/* --- About Page Responsive Adjustments --- */

/* Mobile (up to 767px already covered by general mobile styles if any) */
@media (max-width: 767px) {
    .about-main-title { font-size: 2rem; }
    .about-main-subtitle { font-size: 1.1rem; }
    .timeline::before { display: none; } /* Hide central line on mobile */
    .timeline-card { margin-left: 0; padding-left: var(--spacing-unit); } /* No indent for mobile */
    .timeline-marker { display: none; } /* Hide markers on mobile */
}


/* Tablet (768px to 1023px) */
@media (min-width: 768px) {
    .about-main-title { font-size: 2.8rem; }
    .about-main-subtitle { font-size: 1.25rem; }

    .timeline::before { display: block; } /* Show central line */
    .timeline-card {
        padding-left: calc(var(--spacing-unit) * 3); /* Space for the marker */
        margin-left: 20px; /* Offset from the line */
    }
    .timeline-marker { display: block; } /* Show markers */

    .team-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
    }
    .values-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive columns for values */
    }
}

/* Desktop (1024px and up) */
@media (min-width: 1024px) {
    .timeline-card {
        width: calc(50% - 40px); /* Take half width minus some gap */
        margin-bottom: calc(var(--spacing-unit) * 3);
    }
    /* Alternating timeline cards */
    .timeline-card:nth-child(even) {
        margin-left: calc(50% + 20px); /* Push to the right */
    }
    .timeline-card:nth-child(odd) {
        margin-left: 20px; /* Keep on the left */
    }
    /* Adjust marker for alternating cards */
    .timeline-card:nth-child(even) .timeline-marker {
        left: -31px; /* Keep on left side of card */
    }
    .timeline-card:nth-child(odd) .timeline-marker {
        left: -31px; /* Keep on left side of card */
    }
    /* if you want markers truly on the line for alternating items, it gets more complex */
    /* A simpler approach is the one-sided timeline for all screen sizes above mobile,
       remove the alternating logic if so:
    .timeline-card { width: auto; margin-left: 40px; }
    .timeline-card:nth-child(even) { margin-left: 40px; }
    */


    .team-grid {
        grid-template-columns: repeat(4, 1fr); /* 4 columns on desktop */
    }
    .values-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
    }
}

/* styles.css (append this at the end) */

/* --- Courses Page Styles --- */

.courses-hero-section {
    padding-top: calc(var(--spacing-unit) * 3);
    padding-bottom: calc(var(--spacing-unit) * 3);
    text-align: center;
}

.courses-main-title {
    font-size: 2.5rem; /* 40px */
    font-weight: 800;
    color: var(--charcoal);
    margin-bottom: var(--spacing-unit);
}

.courses-main-subtitle {
    font-size: 1.2rem; /* 19px */
    color: var(--gray-text);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.course-search {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden; /* To keep button within rounded corners */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.search-input {
    flex-grow: 1;
    padding: calc(var(--spacing-unit) * 0.8) var(--spacing-unit);
    border: none;
    font-size: 1rem;
    font-family: var(--font-sans);
    color: var(--charcoal);
    background-color: var(--white);
}
.search-input:focus {
    outline: 2px solid transparent; /* Remove default */
    outline-offset: 2px;
    box-shadow: 0 0 0 2px var(--accent); /* Custom focus ring */
}
.search-input::placeholder {
    color: #9CA3AF;
}

.search-button {
    background-color: var(--accent);
    border: none;
    padding: 0 calc(var(--spacing-unit) * 1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background-color 0.2s ease;
}
.search-button img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1); /* Make SVG icon white */
}
.search-button:hover {
    transform: scale(1.1);
    background-color: #0D6760; /* Darker accent */
}


/* Featured Programs Carousel */
.featured-programs-section {
    padding-top: calc(var(--spacing-unit) * 4);
    padding-bottom: calc(var(--spacing-unit) * 4);
}
.section-header-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: calc(var(--spacing-unit) * 1.5);
}
.carousel-controls {
    display: flex;
    gap: calc(var(--spacing-unit) * 0.5);
}
.carousel-btn {
    background-color: var(--light-gray);
    border: 1px solid var(--border-color);
    color: var(--charcoal);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.carousel-btn:hover {
    background-color: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}

.featured-carousel-wrapper {
    overflow: hidden; /* Hide scrollbar but allow scrolling via JS */
}

.featured-carousel {
    display: flex;
    gap: calc(var(--spacing-unit) * 1.5);
    padding-bottom: var(--spacing-unit); /* For shadow visibility if items overflow slightly */
    /* For native scroll on mobile if JS fails or for touch devices */
    overflow-x: auto; 
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    scroll-snap-type: x mandatory; /* Optional: snaps items */
}
/* Hide scrollbar for browsers that support it */
.featured-carousel::-webkit-scrollbar { display: none; }
.featured-carousel { -ms-overflow-style: none; scrollbar-width: none; }


.carousel-item {
    flex: 0 0 90%; /* Mobile: almost full width */
    max-width: 90%;
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    overflow: hidden; /* Ensure image corners are rounded */
    display: flex;
    flex-direction: column;
    scroll-snap-align: start; /* For scroll-snap-type */
    transition: transform 0.3s ease;
}
.carousel-item:hover {
    transform: translateY(-3px);
}

.carousel-image {
    width: 100%;
    height: 200px; /* Fixed height for carousel images */
    object-fit: cover;
}

.carousel-content {
    padding: calc(var(--spacing-unit) * 1.25);
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Make content take up remaining space */
}

.carousel-title {
    font-size: 1.4rem;
    color: var(--charcoal);
    margin-bottom: calc(var(--spacing-unit) * 0.5);
}

.carousel-desc {
    font-size: 0.9rem;
    color: var(--gray-text);
    margin-bottom: calc(var(--spacing-unit) * 1);
    flex-grow: 1;
}
.btn-small {
    padding: calc(var(--spacing-unit)*0.6) var(--spacing-unit);
    font-size: 0.9rem;
    align-self: flex-start; /* Align button to the start of the flex container */
}


/* All Courses Grid */
.all-courses-section {
    padding-top: calc(var(--spacing-unit) * 4);
    padding-bottom: calc(var(--spacing-unit) * 4);
}

.course-grid {
    display: grid;
    grid-template-columns: 1fr; /* Mobile: 1 column */
    gap: calc(var(--spacing-unit) * 2);
    margin-top: calc(var(--spacing-unit) * 2);
}

.course-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.07);
    overflow: hidden; /* For image corners */
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.course-image-wrapper {
    width: 100%;
    aspect-ratio: 16 / 10; /* Or 4/3, adjust as needed */
    overflow: hidden;
}
.course-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-content {
    padding: calc(var(--spacing-unit) * 1.25);
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Content takes available space */
}

.course-name {
    font-size: 1.3rem;
    color: var(--charcoal);
    font-weight: 700;
    margin-bottom: calc(var(--spacing-unit) * 0.4);
}

.course-sub {
    font-size: 0.9rem;
    color: var(--gray-text);
    margin-bottom: var(--spacing-unit);
    flex-grow: 1; /* Description takes available space */
}

.course-content .btn-primary {
    align-self: flex-start; /* Button at the bottom left of the card content */
    width: auto; /* Default width */
}


/* --- Courses Page Responsive Adjustments --- */

@media (max-width: 767px) {
    .courses-main-title { font-size: 2rem; }
    .courses-main-subtitle { font-size: 1.1rem; }
    .carousel-btn { display: none; } /* Hide JS buttons on mobile, rely on native scroll */
    .section-header-controls { flex-direction: column; align-items: flex-start; gap: var(--spacing-unit);}
}

@media (min-width: 768px) {
    .carousel-item {
        flex-basis: calc(50% - (var(--spacing-unit) * 0.75)); /* Two items on tablet, considering gap */
        max-width: calc(50% - (var(--spacing-unit) * 0.75));
    }
    .course-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
    }
     .course-search { width: 80%; }
}

@media (min-width: 1024px) {
    .carousel-item {
        flex-basis: calc(33.333% - (var(--spacing-unit) * 1)); /* Three items on desktop, considering gap */
        max-width: calc(33.333% - (var(--spacing-unit) * 1));
    }
    .course-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
    }
    .course-search { width: 100%; } /* Full width of its 600px max-width container */
}

/* styles.css (append this at the end) */

/* --- Features Page Styles --- */

.features-hero-section { /* Renamed from .features-hero for clarity */
    padding-top: calc(var(--spacing-unit) * 3);
    padding-bottom: calc(var(--spacing-unit) * 3);
    /* background-color: var(--light-gray); Already applied */
}

.features-hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr; /* Mobile: stack */
    align-items: center;
    gap: calc(var(--spacing-unit) * 2);
    text-align: center;
}

.features-hero-text {
    order: 1; /* Text first on mobile */
}

.features-main-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--charcoal);
    margin-bottom: var(--spacing-unit);
}

.features-main-subtitle {
    font-size: 1.2rem;
    color: var(--gray-text);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: calc(var(--spacing-unit) * 1.5);
}

.features-hero-image-container {
    order: 2; /* Image second on mobile */
}
.features-hero-image {
    width: 100%;
    max-width: 550px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    margin: 0 auto;
}

/* Detailed Features Grid */
.detailed-features-section {
    padding-top: calc(var(--spacing-unit) * 4);
    padding-bottom: calc(var(--spacing-unit) * 4);
}

.features-page-grid { /* Renamed from .features-grid to avoid conflict with home page */
    display: grid;
    grid-template-columns: 1fr; /* Mobile: 1 column */
    gap: calc(var(--spacing-unit) * 1.75);
    margin-top: calc(var(--spacing-unit) * 2);
}

.feature-item-card { /* Renamed from .feature-card */
    background-color: var(--white);
    padding: calc(var(--spacing-unit) * 1.5);
    text-align: center;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-item-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.07);
}

.feature-item-icon { /* Renamed from .feature-icon */
    height: 44px;
    width: 44px;
    margin: 0 auto calc(var(--spacing-unit) * 0.75) auto;
    color: var(--accent);
}

.feature-item-title { /* Renamed from .feature-card-title */
    font-size: 1.25rem;
    color: var(--charcoal);
    margin-bottom: calc(var(--spacing-unit) * 0.5);
    font-weight: 700;
}

.feature-item-desc { /* Renamed from .feature-card-desc */
    font-size: 0.9rem;
    color: var(--gray-text);
    line-height: 1.6;
    margin-bottom: 0;
}


/* Comparison Section */
.compare-learning-section { /* Renamed from .compare-section */
    padding-top: calc(var(--spacing-unit) * 4);
    padding-bottom: calc(var(--spacing-unit) * 4);
}

.compare-container {
    display: flex;
    flex-direction: column; /* Stack on mobile */
    gap: calc(var(--spacing-unit) * 2);
    margin-top: calc(var(--spacing-unit) * 2);
}

.compare-item {
    background-color: var(--white);
    padding: calc(var(--spacing-unit) * 1.75);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.07);
    text-align: center;
    flex: 1; /* Equal width on desktop */
    display: flex;
    flex-direction: column;
}

.compare-image {
    width: 100%;
    max-height: 220px; /* Control image height */
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: calc(var(--spacing-unit) * 1.25);
}

.compare-title {
    font-size: 1.4rem;
    color: var(--charcoal);
    margin-bottom: calc(var(--spacing-unit) * 0.75);
    font-weight: 700;
}

.compare-list {
    list-style: none; /* Remove default bullets */
    padding-left: 0;
    text-align: left;
    margin: 0 auto; /* Center the list block if text isn't full width */
    max-width: 300px; /* To keep list items from becoming too wide */
}

.compare-list li {
    font-size: 0.95rem;
    color: var(--gray-text);
    margin-bottom: calc(var(--spacing-unit) * 0.5);
    padding-left: calc(var(--spacing-unit) * 1.25); /* Space for custom bullet */
    position: relative;
}

.compare-list li::before {
    content: '•'; /* Custom bullet */
    color: var(--accent);
    font-weight: bold;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 1px; /* Adjust vertical alignment */
}
/* Optional: Different bullet for the "good" list */
.compare-item:last-child .compare-list li::before {
    content: '✓'; /* Checkmark for positive points */
    color: var(--accent); /* Or a green color if you have one */
}



/* Teacher Testimonial Section */
.teacher-testimonial-section { /* Renamed from .teacher-testimonial for section consistency */
    padding-top: calc(var(--spacing-unit) * 4);
    padding-bottom: calc(var(--spacing-unit) * 4);
}

.testimonial-card-feature { /* Different class to avoid conflict with home page testimonial cards */
    background-color: var(--white);
    padding: calc(var(--spacing-unit) * 2);
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    text-align: center;
    max-width: 750px;
    margin: calc(var(--spacing-unit) * 2) auto 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-card-feature .testimonial-photo { /* Reuses class from general styles, ensure it's defined */
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: calc(var(--spacing-unit) * 1.25);
    border: 4px solid var(--accent);
}

.testimonial-quote-feature {
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--charcoal); /* Darker for quote text */
    margin-bottom: var(--spacing-unit);
    display: block; /* Make blockquote behave like a block */
}

.testimonial-author-feature {
    font-weight: 600;
    color: var(--gray-text);
    font-size: 0.95rem;
    display: block; /* Make span behave like a block */
}


/* --- Features Page Responsive Adjustments --- */

@media (max-width: 767px) {
    .features-main-title { font-size: 2rem; }
    .features-main-subtitle { font-size: 1.1rem; }
    .compare-list { max-width: 100%; }
}

@media (min-width: 768px) {
    .features-hero-content-wrapper {
        grid-template-columns: 1.2fr 1fr; /* Text slightly wider */
        text-align: left; /* Align text to left on desktop */
        gap: calc(var(--spacing-unit) * 3);
    }
    .features-hero-text {
        order: 1; /* Text first on desktop */
    }
    .features-hero-image-container {
        order: 2; /* Image second on desktop */
    }
    .features-main-subtitle { margin-left: 0; }
    .features-hero-image { margin-left: auto; margin-right: 0; }


    .features-page-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns on tablet */
    }
    .compare-container {
        flex-direction: row; /* Side-by-side on tablet and up */
    }
}

@media (min-width: 1024px) {
    .features-page-grid {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
    }
}

/* styles.css (append this at the end) */

/* --- Contact Page Styles --- */

.contact-hero-section { /* Renamed for clarity */
    padding-top: calc(var(--spacing-unit) * 3);
    padding-bottom: calc(var(--spacing-unit) * 3);
    /* background-color is var(--light-gray) */
}

.contact-hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr; /* Mobile: stack */
    align-items: center;
    gap: calc(var(--spacing-unit) * 2);
    text-align: center;
}

.contact-hero-text {
    order: 1; /* Text first on mobile */
}

.contact-main-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--charcoal);
    margin-bottom: var(--spacing-unit);
}

.contact-main-subtitle {
    font-size: 1.2rem;
    color: var(--gray-text);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: calc(var(--spacing-unit) * 1.5);
}

.contact-hero-image-container {
    order: 2; /* Image second on mobile */
}
.contact-hero-image {
    width: 100%;
    max-width: 500px; /* Control hero image size */
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    margin: 0 auto;
}

/* Contact Form & Info Layout */
.contact-form-layout-section {
    padding-top: calc(var(--spacing-unit) * 4);
    padding-bottom: calc(var(--spacing-unit) * 4);
}
.contact-form-grid {
    display: grid;
    grid-template-columns: 1fr; /* Stack on mobile */
    gap: calc(var(--spacing-unit) * 3);
}

.contact-form-container .section-title {
    text-align: left;
}
.contact-form-container .section-subtitle.compact-subtitle { /* More compact subtitle for form */
    text-align: left;
    margin-left: 0;
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    max-width: 100%;
}


.contact-form {
    display: flex;
    flex-direction: column;
    gap: calc(var(--spacing-unit) * 1.25);
}

.form-field {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: calc(var(--spacing-unit) * 0.4);
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: calc(var(--spacing-unit) * 0.75) var(--spacing-unit);
    font-family: var(--font-sans);
    font-size: 1rem;
    color: var(--charcoal);
    background-color: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-input::placeholder,
.form-textarea::placeholder {
    color: #9CA3AF;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.2); /* Accent focus ring */
}

.form-select {
    appearance: none; /* Remove default arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%234B5563'%3E%3Cpath fill-rule='evenodd' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z' clip-rule='evenodd' /%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right var(--spacing-unit) center;
    background-size: 1.25em;
    padding-right: calc(var(--spacing-unit) * 2.5); /* Make space for arrow */
}

.form-textarea {
    resize: vertical; /* Allow vertical resize only */
    min-height: 120px;
}

.form-submit-btn { /* Extends .btn.btn-primary */
    align-self: flex-start; /* Align to left */
    margin-top: calc(var(--spacing-unit) * 0.5);
}

/* Contact Info Sidebar */
.contact-info-sidebar {
    background-color: var(--light-gray);
    padding: calc(var(--spacing-unit) * 2);
    border-radius: 8px;
}
.sidebar-title {
    font-size: 1.5rem;
    color: var(--charcoal);
    margin-bottom: calc(var(--spacing-unit) * 1.5);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: var(--spacing-unit);
}

/* --- Contact Page Styles --- */
/* ... (other contact page styles above) ... */

.contact-item {
    display: flex;
    /* align-items: flex-start; -- Keep this if you want icons aligned with the top of the text block */
    align-items: center; /* Try this if you want icons centered vertically with the first line of text or the whole text block */
    gap: var(--spacing-unit);
    margin-bottom: calc(var(--spacing-unit) * 1.5);
}

.contact-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    /* margin-top: 3px; -- Remove or adjust if using align-items: center on .contact-item */
    color: var(--accent);
}

.contact-item-content {
    flex-grow: 1; /* Allows this div to take up available space */
    /* No specific alignment needed here as text defaults to left-align */
}

.contact-item-title {
    font-size: 1.1rem;
    color: var(--charcoal);
    font-weight: 600;
    margin-bottom: calc(var(--spacing-unit) * 0.25);
    text-align: left; /* Explicitly set */
}

.contact-item-text {
    font-size: 0.95rem;
    color: var(--gray-text);
    line-height: 1.5;
    margin-bottom: 0;
    text-align: left; /* Explicitly set */
}
.contact-item-text.sm-text {
    font-size: 0.85rem;
    color: #6B7280;
    margin-top: 2px;
    text-align: left; /* Explicitly set */
}

.contact-link {
    font-size: 0.95rem;
    color: var(--accent);
    font-weight: 500;
    word-break: break-all;
    display: block; /* Makes the link take full width of its container, good for alignment */
    text-align: left; /* Explicitly set */
}
.contact-link:hover {
    text-decoration: underline;
}

/* ... (other contact page styles below, like .contact-map-placeholder etc.) ... */

/* Map Placeholder */
.contact-map-placeholder { /* Renamed from .map-placeholder for clarity */
    margin-top: calc(var(--spacing-unit) * 2);
    border-radius: 8px;
    overflow: hidden; /* For rounded corners on iframe/image */
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.map-image-wrapper { /* Renamed from .map-image */
    width: 100%;
    aspect-ratio: 16 / 9; /* Common map aspect ratio */
    background-color: #e0e0e0; /* Placeholder background */
}
.map-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* If using iframe:
.map-placeholder iframe {
    width: 100%;
    height: 100%;
    border: 0;
}
*/


/* Social Links Section */
.social-links-section {
    padding-top: calc(var(--spacing-unit) * 4);
    padding-bottom: calc(var(--spacing-unit) * 4);
}
.social-links-container { /* Renamed from .social-links */
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    justify-content: center;
    gap: calc(var(--spacing-unit) * 1.5);
    margin-top: calc(var(--spacing-unit) * 1);
}

.social-link {
    display: inline-flex; /* Changed for better alignment */
    align-items: center;
    gap: calc(var(--spacing-unit) * 0.5);
    padding: calc(var(--spacing-unit)*0.6) calc(var(--spacing-unit)*1.2);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--charcoal);
    font-weight: 500;
    font-size: 0.95rem;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.social-link:hover {
    background-color: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}
.social-link:hover .social-icon { /* For colored icons, this inverts them on hover */
    filter: brightness(0) invert(1); 
}

.social-icon { /* This class is also in footer, ensure consistency */
    width: 20px; /* Size for main social icons */
    height: 20px;
    /* color: var(--charcoal); Default icon color for monochrome SVGs */
    /* transition: color 0.2s ease; */
}


/* --- Contact Page Responsive Adjustments --- */

@media (max-width: 767px) {
    .contact-main-title { font-size: 2rem; }
    .contact-main-subtitle { font-size: 1.1rem; }
    .compact-subtitle { font-size: 0.95rem; }
}

@media (min-width: 768px) {
    .contact-hero-content-wrapper {
        grid-template-columns: 1.2fr 1fr; /* Text slightly wider */
        text-align: left; /* Align text to left on desktop */
        gap: calc(var(--spacing-unit) * 3);
    }
    .contact-hero-text { order: 1; }
    .contact-hero-image-container { order: 2; }
    .contact-main-subtitle { margin-left: 0; }
    .contact-hero-image { margin-left: auto; margin-right: 0; }

    .contact-form-grid {
        grid-template-columns: 2fr 1fr; /* Form takes more space than sidebar */
        align-items: flex-start; /* Align top of form and sidebar */
    }
    .contact-form-container .section-title,
    .contact-form-container .section-subtitle.compact-subtitle {
        padding-right: var(--spacing-unit); /* Add some padding if text wraps near sidebar */
    }
}

@media (min-width: 1024px) {
    .contact-main-title { font-size: 2.8rem; }
    .contact-main-subtitle { font-size: 1.25rem; }
}


/* styles.css (append this at the end) */

/* --- Privacy Policy Page Styles --- */

.privacy-main-content { /* To ensure consistent top/bottom padding if hero is not full height */
    padding-bottom: calc(var(--spacing-unit) * 2); /* Match section bottom padding */
}

.privacy-hero-section { /* Renamed for clarity */
    padding-top: calc(var(--spacing-unit) * 3);
    padding-bottom: calc(var(--spacing-unit) * 3);
    /* background-color is var(--light-gray) */
}

.privacy-hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr; /* Mobile: stack */
    align-items: center;
    gap: calc(var(--spacing-unit) * 1.5);
    text-align: center;
}

.privacy-hero-text {
    order: 1;
}

.privacy-main-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--charcoal);
    margin-bottom: calc(var(--spacing-unit) * 0.25);
}

.privacy-updated {
    font-size: 0.95rem;
    color: var(--gray-text);
    margin-bottom: calc(var(--spacing-unit) * 1.5);
}

.privacy-hero-image-container {
    order: 2;
}
.privacy-hero-image {
    width: 100%;
    max-width: 180px; /* Smaller, more iconic hero image for policy */
    margin: 0 auto;
    opacity: 0.8;
}

/* Policy Overview Section */
.policy-overview-section {
    padding-top: calc(var(--spacing-unit) * 3);
    padding-bottom: calc(var(--spacing-unit) * 3);
    border-bottom: 1px solid var(--border-color);
}
.policy-overview-section .section-title {
    margin-bottom: calc(var(--spacing-unit) * 0.25);
}
.policy-overview-section .section-subtitle.compact-subtitle {
    margin-bottom: calc(var(--spacing-unit) * 2);
}

.overview-list {
    list-style: none;
    padding-left: 0;
    max-width: 800px;
    margin: 0 auto calc(var(--spacing-unit) * 2) auto;
}
.overview-list li {
    font-size: 1.05rem;
    color: var(--gray-text);
    line-height: 1.7;
    margin-bottom: calc(var(--spacing-unit) * 0.75);
    padding-left: calc(var(--spacing-unit) * 1.75);
    position: relative;
}
.overview-list li::before {
    content: '✓'; /* Checkmark or a neutral bullet like • */
    color: var(--accent);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 2px;
}

.download-link-container {
    text-align: center;
    margin-top: calc(var(--spacing-unit) * 1);
}
.download-link {
    display: inline-flex;
    align-items: center;
    gap: calc(var(--spacing-unit) * 0.5);
    color: var(--accent);
    font-weight: 500;
    font-size: 1rem;
    padding: calc(var(--spacing-unit)*0.5) calc(var(--spacing-unit)*1);
    border: 1px solid var(--accent);
    border-radius: 6px;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.download-link:hover {
    background-color: var(--accent);
    color: var(--white);
    text-decoration: none; /* Remove underline on hover if link has one */
}
.download-link:hover .download-icon {
    filter: brightness(0) invert(1); /* Make icon white on hover */
}

.download-icon {
    width: 20px;
    height: 20px;
    /* color: var(--accent); if SVG can take color, handled by filter on hover */
}


/* Detailed Policy Content Area */
.policy-content-area {
    padding-top: calc(var(--spacing-unit) * 2); /* Less top padding as overview already has bottom padding */
}

.policy-section {
    padding-top: calc(var(--spacing-unit) * 2);
    padding-bottom: calc(var(--spacing-unit) * 2);
    border-bottom: 1px dashed var(--border-color); /* Dashed for visual separation */
}
.policy-section:last-child {
    border-bottom: none;
}

.section-heading-md { /* Moderate heading style for policy sections */
    font-size: 1.4rem; /* Slightly smaller than h2 */
    color: var(--charcoal);
    font-weight: 700;
    margin-bottom: calc(var(--spacing-unit) * 1);
    padding-bottom: calc(var(--spacing-unit) * 0.5);
    border-bottom: 1px solid var(--accent);
    display: inline-block; /* So border only spans text width */
}

.policy-section p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--gray-text);
    margin-bottom: calc(var(--spacing-unit) * 1);
}
.policy-section p:last-child {
    margin-bottom: 0;
}

.policy-list {
    list-style: disc; /* Standard disc bullets for policy details */
    padding-left: calc(var(--spacing-unit) * 1.5); /* Indent list */
    margin-bottom: var(--spacing-unit);
}
.policy-list li {
    font-size: 0.95rem;
    color: var(--gray-text);
    line-height: 1.8;
    margin-bottom: calc(var(--spacing-unit) * 0.6);
}
.policy-list strong {
    color: var(--charcoal);
    font-weight: 600;
}

.accent-link { /* For inline links within policy text */
    color: var(--accent);
    font-weight: 500;
}
.accent-link:hover {
    text-decoration: underline;
}


/* --- Privacy Policy Page Responsive Adjustments --- */

@media (max-width: 767px) {
    .privacy-main-title { font-size: 2rem; }
    .section-heading-md { font-size: 1.25rem; }
    .overview-list li { font-size: 1rem; }
    .policy-section p, .policy-list li { font-size: 0.9rem; }
}

@media (min-width: 768px) {
    .privacy-hero-content-wrapper {
        grid-template-columns: 2fr 1fr; /* Text takes more space */
        text-align: left;
        gap: calc(var(--spacing-unit) * 3);
    }
    .privacy-hero-text { order: 1; }
    .privacy-hero-image-container { order: 2; }
    .privacy-updated { margin-left: 0; } /* Align left */
    .privacy-hero-image { margin-left: auto; margin-right: 0; }

    .policy-overview-section .section-title,
    .policy-overview-section .section-subtitle.compact-subtitle {
        text-align: left;
        margin-left: 0;
    }
    .overview-list { margin-left: 0; }
    .download-link-container { text-align: left; margin-left:0; }
}

@media (min-width: 1024px) {
    .privacy-main-title { font-size: 2.8rem; }
}