/* 
   Sankalp Abacus Academy - Design System CSS 
   Focus: Clean, Modern, Mobile-First
*/

:root {
    /* Brand Colors */
    --primary-orange: #F37021;
    --primary-navy: #1F3C88;
    --accent-green: #2E7D32;
    --bg-light: #F5F7FA;
    --bg-white: #FFFFFF;

    /* Text Colors */
    --text-main: #1A1A1A;
    --text-muted: #666666;
    --text-white: #FFFFFF;

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing Scale */
    --space-xs: 0.5rem;
    /* 8px */
    --space-sm: 1rem;
    /* 16px */
    --space-md: 2rem;
    /* 32px */
    --space-lg: 4rem;
    /* 64px */

    /* Layout */
    --container-width: 1200px;
    --header-height: 72px;
    /* Tighter header */

    /* Utils */
    --box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.08);
    /* Softer, deeper shadow */
    --border-radius: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Smoother transition */
}

/* Base Reset & Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.7;
    /* Better readability */
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-navy);
    line-height: 1.25;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
    /* Premium feel */
}

/* ... existing h1-h3 styles ... */

/* Header */
.header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    /* High opacity for glass effect */
    backdrop-filter: blur(12px);
    /* Glassmorphism */
    transition: var(--transition);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header--scrolled {
    box-shadow: var(--box-shadow);
    background-color: rgba(255, 255, 255, 0.98);
}

/* ... existing header styles ... */

/* Footer */
.footer {
    background-color: var(--primary-navy);
    color: var(--text-white);
    padding-top: 5rem;
    /* Increased spacing */
}

.footer__container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    padding-bottom: 5rem;
    /* Balanced bottom padding */
}

h1 {
    font-size: clamp(2rem, 5vw, 3rem);
}

h2 {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
}

h3 {
    font-size: 1.5rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-sm);
}

.text-center {
    text-align: center;
}

.text-white {
    color: var(--text-white) !important;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-primary {
    background-color: var(--primary-navy);
}

.mt-md {
    margin-top: var(--space-md);
}

.mb-md {
    margin-bottom: var(--space-md);
}

.mb-lg {
    margin-bottom: var(--space-lg);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    /* Slightly sharper for professional look */
    font-weight: 500;
    cursor: pointer;
    font-size: 1rem;
    border: none;
    text-align: center;
}

.btn--primary {
    background-color: var(--primary-orange);
    color: var(--text-white);
}

.btn--primary:hover {
    background-color: #d65d1b;
    /* Darker shade */
    transform: translateY(-2px);
}

.btn--secondary {
    background-color: transparent;
    border: 2px solid var(--primary-navy);
    color: var(--primary-navy);
}

.btn--secondary:hover {
    background-color: rgba(31, 60, 136, 0.05);
}

.btn--white {
    background-color: var(--bg-white);
    color: var(--primary-navy);
}

.btn--white:hover {
    background-color: #f0f0f0;
}

.btn--lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* Header */
.header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--bg-white);
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.header--scrolled {
    box-shadow: var(--box-shadow);
    border-bottom: 1px solid #eee;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo__text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-orange);
}

.logo__sub {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--primary-navy);
    letter-spacing: 1px;
}

.logo--white .logo__text,
.logo--white .logo__sub {
    color: var(--text-white);
}

/* Navigation */
.nav__list {
    display: none;
    /* Mobile First: Hidden by default */
    gap: var(--space-md);
}

.nav__link {
    font-weight: 500;
    color: var(--primary-navy);
    position: relative;
}

.nav__link:hover {
    color: var(--primary-orange);
}

.header__actions {
    display: none;
    /* Show on desktop */
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-navy);
}

/* Hero Section */
.hero {
    padding: var(--space-lg) 0;
    background: linear-gradient(135deg, #FFFEFC 0%, #FFF5EF 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    align-items: center;
}

.hero__title {
    color: var(--primary-navy);
}

.hero__text {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
    max-width: 600px;
}

.hero__cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.badge {
    display: inline-block;
    background-color: rgba(46, 125, 50, 0.1);
    color: var(--accent-green);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.trust-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hero__image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background-color: #ddd;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.hero__image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(243, 112, 33, 0.1), transparent);
}

/* Sections */
.section {
    padding: var(--space-lg) 0;
}

.section-header {
    margin-bottom: var(--space-lg);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.125rem;
}

/* Grids */
.grid {
    display: grid;
    gap: var(--space-md);
}

/* Cards */
.card {
    background: var(--bg-white);
    padding: var(--space-md);
    border-radius: var(--border-radius);
    border: 1px solid #eee;
    /* Subtle border */
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.feature-card__icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
}

/* Testimonials */
.testimonial-card {
    position: relative;
    border-left: 4px solid var(--primary-orange);
}

.testimonial__quote {
    font-size: 4rem;
    color: #eee;
    position: absolute;
    top: 0;
    right: 20px;
    line-height: 1;
    font-family: serif;
}

.testimonial__text {
    font-style: italic;
    margin-bottom: var(--space-sm);
    color: #444;
}

.testimonial__author strong {
    display: block;
    color: var(--primary-navy);
}

.testimonial__author span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Accordion */
.accordion__item {
    border-bottom: 1px solid #eee;
}

.accordion__trigger {
    width: 100%;
    padding: var(--space-sm) 0;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary-navy);
    font-size: 1.125rem;
    text-align: left;
}

.accordion__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion__content p {
    padding-bottom: var(--space-sm);
    color: var(--text-muted);
}

/* Footer */
.footer {
    background-color: var(--primary-navy);
    color: var(--text-white);
    padding-top: var(--space-lg);
}

.footer__container {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
    padding-bottom: var(--space-lg);
}

.footer__title {
    color: var(--primary-orange);
    margin-bottom: var(--space-sm);
}

.footer__links li {
    margin-bottom: 0.5rem;
}

.footer__links a {
    opacity: 0.8;
}

.footer__links a:hover {
    opacity: 1;
    color: var(--primary-orange);
}

.social-links a {
    color: var(--text-white);
    margin-right: 1rem;
    font-weight: 600;
}

.footer__bottom {
    background-color: rgba(0, 0, 0, 0.2);
    /* Darker shade of navy */
    padding: var(--space-sm) 0;
    text-align: center;
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Responsiveness (Desktop) */
@media (min-width: 768px) {
    .hero__container {
        grid-template-columns: 1fr 1fr;
    }

    .nav__list {
        display: flex;
    }

    .header__actions {
        display: block;
    }

    .mobile-menu-toggle {
        display: none;
    }

    .grid--2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid--3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid--4 {
        grid-template-columns: repeat(4, 1fr);
    }

    .footer__container {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
        /* More balanced 4-column layout if content allows, or keep 2-1-1 but wider */
    }
}

/* --- New Section Styles --- */

/* Comparison List */
.comparison-list {
    list-style: none;
    text-align: left;
    margin: 2rem 0;
}

.comparison-list li {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: var(--text-muted);
}

/* Levels Grid */
.levels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.level-item {
    background: var(--bg-white);
    padding: var(--space-md);
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid #eee;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.level-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-orange);
}

.level-number {
    display: inline-block;
    background-color: rgba(243, 112, 33, 0.1);
    color: var(--primary-orange);
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    margin-bottom: var(--space-sm);
    font-size: 0.875rem;
}

.level-item h4 {
    margin-bottom: 0.25rem;
    color: var(--primary-navy);
}

.level-item p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Utility / Specific Overrides */
.card.text-center {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.border-top-orange {
    border-top: 4px solid var(--primary-orange);
}

.border-top-navy {
    border-top: 4px solid var(--primary-navy);
}

/* Align items center in grid */
.grid.items-center {
    align-items: center;
}

/* Aspect Ratio Utility */
.aspect-16-9 {
    aspect-ratio: 16/9;
}

/* Contact Badges */
.contact-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-whatsapp {
    color: white !important;
    border-color: white !important;
}

.max-w-800 {
    max-width: 800px;
}

.opacity-90 {
    opacity: 0.9;
}
/* --- SmartKid Style Equivalents --- */

/* Benefits List (Image 1) */
.benefits-list {
    list-style: none;
    margin-top: 1.5rem;
}
.benefits-list li {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-main);
    font-weight: 500;
}
.benefits-list .check {
    color: var(--primary-orange);
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1;
}

/* Level Cards (Image 2) */
.levels-grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-md);
}
.level-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0,0,0,0.03);
    transition: var(--transition);
    text-align: left;
}
.level-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.level-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(243, 112, 33, 0.1);
    color: var(--primary-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}
.level-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
}
.level-duration {
    font-size: 0.95rem;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}
.level-features {
    list-style: none;
}
.level-features li {
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Skills Cards (Image 3) */
.skill-card {
    padding: 2rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.skill-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.skill-card h4 {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}
.skill-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}
