/* Layout Containers */
.container {
    padding: 0 var(--container-padding);
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    height: var(--header-height);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

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

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-blue);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

.icon-btn:hover {
    background-color: var(--soft-blue);
}

.menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    z-index: 1001;
    /* Above overlay */
}

.bar {
    width: 24px;
    height: 2px;
    background-color: var(--primary-blue);
    transition: all 0.3s ease;
}

/* Mobile Menu Overlay */
/* Desktop Nav Wrapper (Hidden on Mobile) */
.desktop-nav-wrapper {
    display: none;
}

.site-nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Menu Button Animation when Active */
.menu-btn.active .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-btn.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-btn.active .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

body.no-scroll {
    overflow: hidden;
}

/* Utilities */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(0, 82, 147, 0.3);
}

.btn-primary:hover {
    background-color: var(--education-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 82, 147, 0.4);
}

.btn-block {
    width: 100%;
}

/* Hero Section */
.hero-section {
    padding: 60px 0 60px 0;
    /* Increased bottom padding for mobile */
    min-height: auto;
    /* Remove forcing full height which centers content */
    background: var(--bg-gradient);
    overflow: hidden;
}

.hero-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.hero-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.25rem;
    /* 36px */
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--primary-blue);
}

.hero-title .highlight {
    color: var(--education-blue);
    /* Or keep it same but apply a subtle gradient text effect if desired */
}

.hero-subtitle {
    font-size: 1.125rem;
    /* 18px */
    color: var(--text-grey);
    font-weight: 400;
}

/* Lead Form Card (Now reused for Hero Visual) */
.hero-form-card,
.hero-visual {
    border-radius: 16px;
    padding: 0;
    /* Removed padding for image wrapper */
    box-shadow: none;
    /* Let image handle shadow */
    width: 100%;
    max-width: 500px;
    /* Restricted width for image */
    margin: 0 auto;
    border: none;
}

.form-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
    text-align: center;
    color: var(--primary-blue);
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-input {
    width: 100%;
    height: 48px;
    /* Touch target */
    padding: 0 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    background: #FAFAFA;
    transition: all 0.2s ease;
}

textarea.form-input {
    height: auto;
    padding-top: 12px;
    resize: vertical;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(0, 82, 147, 0.1);
}

/* Placeholder styling */
.form-input::placeholder {
    color: #999;
}

/* Trust Bar */
.trust-bar {
    padding: 24px 0;
    background: var(--primary-blue);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-track {
    display: inline-block;
    animation: marquee 20s linear infinite;
}

.partner-logo {
    display: inline-block;
    padding: 0 32px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ccc;
    /* Grayscale placeholder */
    font-family: var(--font-heading);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Services Section */
.services-section {
    padding: 60px 0;
    background: var(--white);
}

.section-header {
    margin-bottom: 32px;
    text-align: center;
    /* Or left aligned if preferred */
    padding: 0 16px;
}

.section-title {
    font-size: 1.75rem;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.section-subtitle {
    color: var(--text-grey);
    font-size: 1rem;
}

.services-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 20px 40px 20px;
    /* Bottom padding for scrollbar/shadow breathing room */
    gap: 16px;
    -webkit-overflow-scrolling: touch;
    /* Hide scrollbar */
    scrollbar-width: none;
}

.services-carousel::-webkit-scrollbar {
    display: none;
}

.service-card {
    flex: 0 0 280px;
    /* Shows partial card on mobile */
    scroll-snap-align: start;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform 0.2s;
}

.service-card:hover {
    border-color: var(--primary-blue);
}

/* Why Choose Us */
.why-us-section {
    padding: 60px 0;
    background: var(--soft-blue);
}

.features-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.feature-item {
    text-align: center;
    padding: 16px;
}

.feature-icon {
    color: var(--primary-blue);
    margin-bottom: 16px;
    display: inline-block;
}

.feature-item h3 {
    margin-bottom: 8px;
    font-size: 1.25rem;
}

.feature-item p {
    color: var(--text-grey);
    font-size: 1rem;
}

/* Experts Section */
.experts-section {
    padding: 60px 0;
    background: var(--white);
}

.experts-carousel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-bottom: 24px;
}

/* Scrollbar removal no longer needed for grid, but keep cleanup if switching back */

.expert-card {
    text-align: center;
    /* Removed fixed flex width */
}

/* Tablet Responsive */
@media (max-width: 991px) {
    .experts-carousel {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Responsive */
@media (max-width: 576px) {
    .experts-carousel {
        grid-template-columns: 1fr;
    }
}

.expert-photo {
    width: 120px;
    height: 120px;
    background-color: #eee;
    border-radius: 50%;
    margin: 0 auto 16px;
    background-image: linear-gradient(135deg, #e0e0e0 0%, #f5f5f5 100%);
}

.expert-name {
    font-size: 1.1rem;
    color: var(--primary-blue);
    margin-bottom: 4px;
}

.expert-role {
    color: var(--text-grey);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.expert-persona {
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.5;
    font-style: italic;
    max-width: 240px;
    margin: 0 auto;
}

.expert-role {
    font-size: 0.9rem;
    color: var(--text-grey);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* FAQ Section */
.faq-section {
    padding: 60px 0;
    background: var(--soft-blue);
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 20px 0;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question .chevron {
    color: var(--primary-blue);
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .chevron {
    transform: rotate(180deg);
}

.faq-answer {
    padding-bottom: 24px;
    color: var(--text-grey);
    line-height: 1.6;
}

/* Footer Styles */
.site-footer {
    background: var(--education-blue);
    color: var(--white);
    padding: 60px 0 0;
    font-size: 0.95rem;
}

.footer-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 8px;
}

.footer-heading {
    color: var(--soft-blue);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.footer-links,
.contact-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 1;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    opacity: 0.9;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.social-links a {
    color: var(--white);
    opacity: 0.8;
    transition: opacity 0.2s;
}

.social-links a:hover {
    opacity: 1;
}

.map-placeholder {
    width: 100%;
    height: 120px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--soft-blue);
    font-weight: 600;
}

.legal-info {
    margin-top: 16px;
    font-size: 0.85rem;
    opacity: 0.7;
}

.legal-info a {
    color: var(--white);
    text-decoration: underline;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 24px 0;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.8;
}

.icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--primary-blue);
    background: var(--soft-blue);
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--primary-blue);
}

.service-desc {
    font-size: 0.95rem;
    color: var(--text-grey);
    margin-bottom: 16px;
    line-height: 1.5;
}

.service-link {
    margin-top: auto;
    font-weight: 600;
    color: var(--education-blue);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}




/* =========================================
   NEW SECTIONS: Services Grid & Why Choose Us
   ========================================= */

/* Services Grid (3+2 Layout) Base Styles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
}

.services-grid .service-card {
    height: 100%;
}

/* Why Choose Us - Connected Steps Base Styles */
.why-us-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 16px;
    flex: 1;
    /* Ensure items stretch equally */
}

.step-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--white);
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 2rem;
    color: var(--primary-blue);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.step-item:hover .step-icon-wrapper {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-5px);
}

.step-content h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    color: var(--primary-blue);
}

.step-content p {
    color: var(--text-grey);
    font-size: 1rem;
    line-height: 1.6;
}