/* ========================================
   GURUKUL HERE - MAIN STYLESHEET
   ======================================== */

/* CSS Variables */
:root {
    /* Primary Colors */
    --primary-blue: #0070a0;
    --dark-blue: #004968;
    --soft-blue: #2c90c9;
    --light-blue: #1b9cca;
    
    /* Accent Colors */
    --yellow: #faea73;
    --pink: #f7cedc;
    --cyan: #cceff6;
    
    /* Neutral Colors */
    --dark-text: #1f1f1f;
    --grey-text: #33383f;
    --light-grey: #626a72;
    --soft-grey: #99a4af;
    --silver: #dee5eb;
    --bg-grey: #f7f9fa;
    --white: #fff;
    --cream: #cce5f3;
    --light-cream: #e6f7ff;
    
    /* Typography */
    --font-heading: 'Fraunces', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --container-max: 1230px;
    --section-padding: 80px;
    --section-padding-mobile: 60px;
    
    /* Transitions */
    --transition-fast: 200ms ease;
    --transition-medium: 300ms ease;
    --transition-slow: 400ms ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 5px 12px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 50px;
}

@media (max-width: 991px) {
    .container {
        padding: 0 30px;
    }
}

@media (max-width: 767px) {
    .container {
        padding: 0 20px;
    }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    color: var(--dark-text);
}

h1 { font-size: 48px; }
h2 { font-size: 36px; }
h3 { font-size: 28px; }
h4 { font-size: 22px; }
h5 { font-size: 18px; }

@media (max-width: 767px) {
    h1 { font-size: 36px; }
    h2 { font-size: 28px; }
    h3 { font-size: 22px; }
}

p {
    color: var(--grey-text);
    line-height: 1.6;
}

/* Label */
.label {
    display: inline-block;
    background: var(--light-cream);
    color: var(--soft-blue);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 28px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
}

.btn svg {
    transition: transform var(--transition-medium);
}

.btn:hover svg {
    transform: translateX(4px);
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--dark-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 1px solid var(--cream);
}

.btn-outline:hover {
    background: var(--light-cream);
    border-color: var(--soft-blue);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}

.section-title {
    margin-bottom: 12px;
}

.section-subtitle {
    color: var(--light-grey);
    font-size: 18px;
}

/* ========================================
   NAVIGATION
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--white);
    z-index: 1000;
    transition: box-shadow var(--transition-fast);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 75px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--dark-text);
}

.logo-icon {
    font-size: 28px;
}

.logo:hover {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--grey-text);
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--light-blue);
}

.portal-link {
    color: var(--primary-blue);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--grey-text);
}

.phone-link:hover {
    color: var(--primary-blue);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark-text);
    transition: all var(--transition-fast);
}

@media (max-width: 991px) {
    .nav-menu {
        position: fixed;
        top: 75px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        box-shadow: var(--shadow-md);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-medium);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .phone-link span {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(166deg, var(--cream) 0%, var(--bg-grey) 100%);
    z-index: -1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-content {
    max-width: 560px;
}

.hero-title {
    font-size: 48px;
    line-height: 1.15;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 500;
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.hero-description {
    font-size: 17px;
    color: var(--grey-text);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-description strong {
    color: var(--primary-blue);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 600;
    color: var(--primary-blue);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-blue);
}

.stat-label {
    font-size: 14px;
    color: var(--light-grey);
    margin-top: 4px;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 991px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-content {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
    }
}

@media (max-width: 767px) {
    .hero {
        padding: 120px 0 60px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .stat-number {
        font-size: 28px;
    }
}

/* ========================================
   TRUST STRIP
   ======================================== */
.trust-strip {
    background: var(--bg-grey);
    padding: 40px 0;
    text-align: center;
}

.trust-heading {
    font-size: 14px;
    font-weight: 500;
    color: var(--light-grey);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    flex-wrap: wrap;
}

.trust-logo {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: var(--soft-grey);
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.trust-logo:hover {
    opacity: 1;
}

@media (max-width: 767px) {
    .trust-logos {
        gap: 24px;
    }
    
    .trust-logo {
        font-size: 18px;
    }
}

/* ========================================
   FEATURES SECTION
   ======================================== */
.features {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    background: var(--white);
    border: 1px solid var(--silver);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-color, var(--yellow));
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--cream);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-grey);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.feature-title {
    font-size: 20px;
    margin-bottom: 12px;
}

.feature-description {
    font-size: 15px;
    color: var(--light-grey);
    line-height: 1.6;
}

@media (max-width: 991px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .features {
        padding: var(--section-padding-mobile) 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   COURSES SECTION
   ======================================== */
.courses {
    position: relative;
    padding: var(--section-padding) 0;
    overflow: hidden;
}

.courses-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, var(--light-cream) 0%, var(--white) 100%);
    z-index: -1;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.course-card {
    background: var(--white);
    border: 1px solid var(--silver);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-fast);
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--cream);
}

.course-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.course-card:hover .course-image img {
    transform: scale(1.05);
}

.course-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary-blue);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
}

.course-content {
    padding: 24px;
}

.course-title {
    font-size: 22px;
    margin-bottom: 8px;
}

.course-for {
    font-size: 14px;
    color: var(--primary-blue);
    font-weight: 500;
    margin-bottom: 4px;
}

.course-subjects {
    font-size: 14px;
    color: var(--light-grey);
    margin-bottom: 16px;
}

.course-features {
    margin-bottom: 20px;
}

.course-features li {
    font-size: 14px;
    color: var(--grey-text);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.course-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: 600;
}

@media (max-width: 991px) {
    .courses-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .courses {
        padding: var(--section-padding-mobile) 0;
    }
}

/* ========================================
   CALCULATOR SECTION
   ======================================== */
.calculator {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.calculator-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.calculator-input {
    margin-bottom: 40px;
}

.calculator-input label {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: var(--grey-text);
    margin-bottom: 16px;
}

.calculator-input label span {
    color: var(--primary-blue);
    font-weight: 600;
}

.slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--silver);
    outline: none;
    -webkit-appearance: none;
    margin-bottom: 8px;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-blue);
    cursor: pointer;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-fast);
}

.slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-blue);
    cursor: pointer;
    border: none;
    box-shadow: var(--shadow-md);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--soft-grey);
}

.calculator-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.result-card {
    background: var(--bg-grey);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all var(--transition-fast);
}

.result-card.gurukul-1 {
    background: var(--primary-blue);
    color: var(--white);
    transform: scale(1.05);
}

.result-card.gurukul-1 h4,
.result-card.gurukul-1 p {
    color: var(--white);
}

.result-card h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--light-grey);
    margin-bottom: 12px;
}

.result-percentage {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 600;
    color: var(--primary-blue);
    line-height: 1;
    margin-bottom: 8px;
}

.result-card p {
    font-size: 13px;
    color: var(--light-grey);
}

@media (max-width: 767px) {
    .calculator {
        padding: var(--section-padding-mobile) 0;
    }
    
    .calculator-results {
        grid-template-columns: 1fr;
    }
    
    .result-card.gurukul-1 {
        transform: none;
    }
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials {
    padding: var(--section-padding) 0;
    background: var(--bg-grey);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--silver);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition-fast);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-stars {
    color: var(--yellow);
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.testimonial-quote {
    font-size: 15px;
    color: var(--grey-text);
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--primary-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
}

.author-info h4 {
    font-size: 16px;
    margin-bottom: 2px;
}

.author-info p {
    font-size: 13px;
    color: var(--light-grey);
}

@media (max-width: 991px) {
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .testimonials {
        padding: var(--section-padding-mobile) 0;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   DEMO BOOKING SECTION
   ======================================== */
.demo-booking {
    position: relative;
    padding: var(--section-padding) 0;
    overflow: hidden;
}

.demo-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    z-index: -1;
}

.demo-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.demo-content {
    color: var(--white);
}

.demo-content .section-title {
    color: var(--white);
    margin-bottom: 16px;
}

.demo-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 17px;
    margin-bottom: 32px;
}

.demo-benefits {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.demo-benefits li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-size: 16px;
}

.demo-benefits svg {
    flex-shrink: 0;
    color: var(--yellow);
}

.demo-form-container {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

.demo-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--grey-text);
}

.form-group input,
.form-group select {
    height: 48px;
    padding: 0 16px;
    border: 1px solid var(--silver);
    border-radius: var(--radius-sm);
    font-size: 15px;
    background: var(--bg-grey);
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: var(--white);
}

.form-group input::placeholder {
    color: var(--soft-grey);
}

.form-success {
    text-align: center;
    padding: 20px;
}

.success-icon {
    width: 64px;
    height: 64px;
    background: #22c55e;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 20px;
}

.form-success h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.form-success p {
    color: var(--light-grey);
    margin-bottom: 24px;
}

@media (max-width: 991px) {
    .demo-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .demo-content {
        text-align: center;
    }
    
    .demo-benefits {
        align-items: center;
    }
}

@media (max-width: 767px) {
    .demo-booking {
        padding: var(--section-padding-mobile) 0;
    }
    
    .demo-form-container {
        padding: 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   BLOG SECTION
   ======================================== */
.blog {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.blog-card {
    background: var(--white);
    border: 1px solid var(--silver);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-fast);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--cream);
}

.blog-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-medium);
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--light-cream);
    color: var(--soft-blue);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

.blog-content {
    padding: 24px;
}

.blog-title {
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.blog-excerpt {
    font-size: 14px;
    color: var(--light-grey);
    line-height: 1.6;
    margin-bottom: 16px;
}

.blog-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-blue);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.blog-link:hover {
    color: var(--dark-blue);
}

.blog-cta {
    text-align: center;
    margin-top: 40px;
}

@media (max-width: 991px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .blog {
        padding: var(--section-padding-mobile) 0;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   FAQ SECTION
   ======================================== */
.faq {
    padding: var(--section-padding) 0;
    background: var(--bg-grey);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--silver);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 500;
    color: var(--dark-text);
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.faq-question:hover {
    background: var(--bg-grey);
}

.faq-icon {
    flex-shrink: 0;
    transition: transform var(--transition-fast);
    color: var(--light-grey);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-medium);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 24px 20px;
    font-size: 15px;
    color: var(--light-grey);
    line-height: 1.7;
}

.faq-answer a {
    color: var(--primary-blue);
    font-weight: 500;
}

.faq-answer a:hover {
    text-decoration: underline;
}

@media (max-width: 767px) {
    .faq {
        padding: var(--section-padding-mobile) 0;
    }
    
    .faq-question {
        padding: 16px 20px;
        font-size: 15px;
    }
    
    .faq-answer p {
        padding: 0 20px 16px;
    }
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
    padding: var(--section-padding) 0;
    background: var(--white);
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.contact-info .section-title {
    margin-bottom: 16px;
}

.contact-description {
    color: var(--light-grey);
    margin-bottom: 32px;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-grey);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.contact-method:hover {
    background: var(--light-cream);
    transform: translateX(4px);
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    flex-shrink: 0;
}

.contact-icon.whatsapp {
    color: #25d366;
}

.contact-icon.instagram {
    color: #e4405f;
}

.contact-detail h4 {
    font-size: 14px;
    color: var(--light-grey);
    margin-bottom: 4px;
}

.contact-detail p {
    font-size: 16px;
    font-weight: 500;
    color: var(--dark-text);
}

.contact-map {
    height: 100%;
    min-height: 400px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--cream) 0%, var(--light-cream) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-content {
    text-align: center;
    padding: 40px;
}

.map-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.map-content h3 {
    margin-bottom: 8px;
}

.map-content p {
    color: var(--light-grey);
}

@media (max-width: 991px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-map {
        min-height: 300px;
    }
}

@media (max-width: 767px) {
    .contact {
        padding: var(--section-padding-mobile) 0;
    }
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--dark-text);
    color: var(--white);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-tagline {
    color: var(--soft-grey);
    font-size: 14px;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--primary-blue);
    transform: translateY(-2px);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-contact a {
    font-size: 14px;
    color: var(--soft-grey);
    transition: color var(--transition-fast);
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--soft-grey);
}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .footer {
        padding: 48px 0 24px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ========================================
   MODAL
   ======================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 24px;
    color: var(--light-grey);
    background: none;
    border: none;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.modal-close:hover {
    color: var(--dark-text);
}

.modal-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.modal-content h3 {
    margin-bottom: 12px;
}

.modal-content p {
    color: var(--light-grey);
    margin-bottom: 24px;
}

/* ========================================
   WHATSAPP FLOAT BUTTON
   ======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: all var(--transition-fast);
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Scroll reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   STUDENT PORTAL STYLES
   ======================================== */
.portal-body {
    background: var(--bg-grey);
    min-height: 100vh;
}

.portal-nav {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 16px 0;
}

.portal-nav .nav-container {
    height: auto;
}

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

.portal-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    padding: 32px;
    margin-bottom: 24px;
}

.portal-header {
    text-align: center;
    margin-bottom: 32px;
}

.portal-header h1 {
    font-size: 28px;
    margin-bottom: 8px;
}

.portal-header p {
    color: var(--light-grey);
}

.portal-form {
    max-width: 400px;
    margin: 0 auto;
}

.portal-links {
    text-align: center;
    margin-top: 24px;
}

.portal-links a {
    color: var(--primary-blue);
    font-weight: 500;
}

.portal-links a:hover {
    text-decoration: underline;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 24px;
}

.dashboard-sidebar {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    height: fit-content;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    color: var(--grey-text);
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.sidebar-link:hover,
.sidebar-link.active {
    background: var(--light-cream);
    color: var(--primary-blue);
}

.sidebar-link svg {
    flex-shrink: 0;
}

.dashboard-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.dashboard-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.dashboard-card h2 {
    font-size: 20px;
    margin-bottom: 20px;
}

.subject-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.subject-card {
    background: var(--bg-grey);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    transition: all var(--transition-fast);
}

.subject-card:hover {
    background: var(--light-cream);
    transform: translateY(-2px);
}

.subject-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.subject-name {
    font-weight: 600;
    margin-bottom: 4px;
}

.subject-status {
    font-size: 12px;
    color: var(--light-grey);
}

.homework-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.homework-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    background: var(--bg-grey);
    border-radius: var(--radius-md);
}

.homework-info h4 {
    font-size: 15px;
    margin-bottom: 4px;
}

.homework-info p {
    font-size: 13px;
    color: var(--light-grey);
}

.homework-actions {
    display: flex;
    gap: 8px;
}

.btn-sm {
    padding: 6px 16px;
    font-size: 13px;
}

@media (max-width: 991px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .dashboard-sidebar {
        display: none;
    }
}

/* ========================================
   UTILITY CLASSES
   ======================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.hidden { display: none !important; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
