/* ===== Bright Star Academy - Faithful Rebuild ===== */
/* Matching original site design */

@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1:wght@400;500;600;700;800&family=Poppins:wght@300;400;500;600;700&display=swap');

/* ===== CSS Variables - Original Site Colors ===== */
:root {
    /* Original site colors */
    --color-background: #F7F8F9;
    --color-heading: #030D23;
    --color-text: #2A2B2D;
    --color-link: #2463EB;
    --color-link-hover: #1E52C2;
    --color-button: #EBA736;
    --color-button-hover: #1E52C2;
    --color-selection-bg: #E9EBF1;
    --color-selection-high: #1E52C2;
    --color-border: #D1D6E0;
    --color-menu-dropdown: #FDCD80;
    
    /* Brand colors from guidelines */
    --brand-peach: #FFE2CF;
    --brand-peach-light: #FFEDE3;
    --brand-orange: #EA6A34;
    --brand-yellow: #F4B83F;
    --brand-blue: #77A0F2;
    --brand-green: #48B772;
    --brand-purple: #DCA9F4;
    --brand-pink: #F3D1DE;
    
    /* Layout */
    --container-width: 1280px;
    --radius: 8px;
    --radius-lg: 16px;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 4px 20px rgba(0, 0, 0, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-text);
    background-color: var(--color-background);
}

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

a {
    color: var(--color-link);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-link-hover);
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--color-heading);
    line-height: 1.2;
}

h1 { font-size: 72px; letter-spacing: -1px; }
h2 { font-size: 50px; line-height: 1.1; }
h3 { font-size: 38px; }
h4 { font-size: 28px; }
h5 { font-size: 21px; }
h6 { font-size: 16px; }

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 24px;
    border-radius: 3px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-button);
    color: #fff;
}

.btn-primary:hover {
    background: var(--color-button-hover);
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: var(--color-link);
    border: 2px solid var(--color-link);
}

.btn-secondary:hover {
    background: var(--color-link);
    color: #fff;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
}

.btn-whatsapp:hover {
    background: #128C7E;
    color: #fff;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--color-background);
    z-index: 1000;
    padding: 16px 0;
    box-shadow: var(--shadow);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 100px;
    width: auto;
}

/* Programs Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    min-width: 240px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    padding: 8px 0;
    z-index: 1001;
    white-space: nowrap;
}

.nav-dropdown:hover .nav-dropdown-content {
    display: block;
}

.nav-dropdown-content a {
    display: block;
    padding: 12px 20px;
    color: var(--color-text);
    font-weight: 500;
}

.nav-dropdown-content a:hover {
    background: var(--color-background);
    color: var(--color-link);
}

.nav-dropdown > a::after {
    content: ' ▾';
    font-size: 12px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
}

.nav-links a {
    color: var(--color-text);
    font-weight: 500;
    font-size: 16px;
}

.nav-links a:hover {
    color: var(--color-link-hover);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--color-heading);
}

/* ===== Hero Section ===== */
.hero {
    padding: 140px 0 80px;
    background: var(--color-background);
}

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

.hero-content h1 {
    margin-bottom: 24px;
}

.hero-content p {
    font-size: 18px;
    color: var(--color-text);
    margin-bottom: 32px;
    line-height: 1.7;
}

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

.hero-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== Sections ===== */
.section {
    padding: 96px 0;
}

.section-light {
    background: #fff;
}

.section-gray {
    background: var(--color-background);
}

.section-peach {
    background: var(--brand-peach);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: var(--color-text);
    max-width: 700px;
    margin: 0 auto;
}

/* ===== Core Values Grid ===== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 24px;
}

.value-item {
    text-align: center;
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 12px;
}

.value-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.value-item h5 {
    font-size: 16px;
    font-weight: 600;
}

/* ===== DA:STEM Section ===== */
.dastem-section {
    padding: 96px 0;
    background: #fff;
}

.dastem-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.dastem-content {
    text-align: left;
}

.dastem-content h2 {
    margin-bottom: 24px;
}

.dastem-content p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.dastem-logo {
    margin-top: 32px;
}

.dastem-logo img {
    max-width: 400px;
}

.dastem-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

/* ===== Two Column Content Grid ===== */
.two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.two-col-grid img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

/* ===== Program Cards ===== */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    align-items: stretch;
}

.program-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.program-card:hover {
    transform: translateY(-8px);
}

.program-card .btn {
    margin-top: auto;
}

.program-emoji {
    font-size: 64px;
    margin-bottom: 20px;
}

.program-card h3 {
    margin-bottom: 8px;
    color: var(--color-heading);
}

.program-age {
    display: inline-block;
    background: var(--color-heading);
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 16px;
}

.program-card p {
    color: var(--color-text);
    margin-bottom: 24px;
    line-height: 1.7;
}

.program-features {
    list-style: none;
    margin-bottom: 32px;
    flex-grow: 1;
}

.program-features li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
}

.program-features li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--brand-orange);
}

/* ===== Modules Section ===== */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.module-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 16px;
}

.module-number {
    width: 48px;
    height: 48px;
    background: var(--color-button);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.module-content h5 {
    margin-bottom: 8px;
    font-size: 18px;
}

.module-content p {
    font-size: 14px;
    color: var(--color-text);
    line-height: 1.5;
}

/* ===== CTA Section ===== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--color-button) 0%, var(--brand-yellow) 100%);
    text-align: center;
}

.cta-section h2 {
    color: #fff;
    margin-bottom: 16px;
}

.cta-section p {
    color: #fff;
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.cta-section .btn-primary {
    background: #fff;
    color: var(--color-button);
}

.cta-section .btn-primary:hover {
    background: var(--color-heading);
    color: #fff;
}

/* ===== Contact Section ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 64px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background: var(--brand-peach);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.contact-text strong {
    display: block;
    margin-bottom: 4px;
    color: var(--color-heading);
}

.contact-text p,
.contact-text a {
    color: var(--color-text);
}

.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25D366;
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    margin-top: 8px;
    transition: background 0.3s ease;
}

.whatsapp-link:hover {
    background: #128C7E;
}

/* ===== Contact Form ===== */
.contact-form {
    background: #fff;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.contact-form h3 {
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--color-heading);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 3px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s ease;
    background: var(--color-background);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-link);
}

/* ===== Page Header ===== */
.page-header {
    padding: 140px 0 60px;
    background: var(--brand-peach);
    text-align: center;
}

.page-header h1 {
    margin-bottom: 16px;
}

.page-header p {
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    color: var(--color-text);
}

/* ===== Founders Section ===== */
.founders-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}

.founder-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow);
}

.founder-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--brand-peach);
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    overflow: hidden;
}

.founder-card h4 {
    margin-bottom: 8px;
}

.founder-title {
    color: var(--color-button);
    font-weight: 600;
    margin-bottom: 16px;
}

.founder-credentials {
    font-size: 14px;
    color: var(--color-text);
    margin-bottom: 16px;
    line-height: 1.6;
}

.founder-bio {
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.7;
    text-align: left;
}

/* ===== Footer ===== */
.footer {
    background: var(--color-heading);
    color: #fff;
    padding: 64px 0 24px;
}

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

.footer-brand img {
    height: 60px;
    margin-bottom: 16px;
    background: #fff;
    padding: 12px 16px;
    border-radius: 8px;
}

.footer-brand p {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    line-height: 1.6;
}

.footer-column h5 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 16px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.footer-links a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

/* ===== Free Lessons Page ===== */
.program-select-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}

.select-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 48px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.select-card:hover {
    border-color: var(--color-button);
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

.trust-badge {
    font-size: 14px;
    color: var(--color-text);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    h1 { font-size: 48px; }
    h2 { font-size: 36px; }
    h3 { font-size: 28px; }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .values-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 36px; }
    h2 { font-size: 28px; }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 24px;
        box-shadow: var(--shadow);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .programs-grid,
    .founders-grid,
    .program-select-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .section {
        padding: 64px 0;
    }
    
    .dastem-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .dastem-content {
        text-align: center;
    }
    
    .dastem-logo img {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .dastem-image {
        order: -1;
        margin-bottom: 24px;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .two-col-grid {
        grid-template-columns: 1fr;
    }
    
    .two-col-grid > div:last-child {
        order: -1;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 28px; }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-large {
        width: 100%;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modules-grid {
        grid-template-columns: 1fr;
    }
    
    .trust-badges {
        flex-direction: column;
        align-items: center;
    }
}

/* ===== Program Images (replacing emojis) ===== */
.program-image {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== Pricing Section ===== */
.program-pricing {
    background: var(--brand-peach-light);
    padding: 16px 24px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    text-align: center;
    min-height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.program-pricing .price-old {
    font-size: 24px;
    font-weight: 500;
    color: #999;
    text-decoration: line-through;
    margin-right: 8px;
}

.program-pricing .price {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-heading);
}

.program-pricing .price-details {
    font-size: 14px;
    color: var(--color-text);
    display: block;
    margin-top: 4px;
}

/* ===== Bright Minds Tagline ===== */
.bright-minds-tagline {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: var(--brand-orange) !important;
    margin-bottom: 8px !important;
}

/* ===== Footer Icon Styling ===== */
.footer-icon {
    height: 80px !important;
    width: auto !important;
    padding: 0 !important;
    background: transparent !important;
}

.footer-address {
    margin-top: 16px;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

/* ===== Testimonials Page ===== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
}

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

.testimonial-card .quote::before {
    content: '"';
    font-size: 48px;
    color: var(--brand-orange);
    line-height: 0;
    display: block;
    margin-bottom: 16px;
}

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

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--brand-peach);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.testimonial-name {
    font-weight: 600;
    color: var(--color-heading);
}

.testimonial-child {
    font-size: 14px;
    color: var(--color-text);
}

/* ===== Utilities ===== */
.text-center { text-align: center; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
.mt-4 { margin-top: 32px; }
