/* =============================================
   HUMMINGBIRD LEARNING ONLINE – Main Stylesheet
   Brand colours:
     Purple  #6B2D8B
     Green   #5A9E2F
     Orange  #F5821F
     Light purple bg: #F3EEF8
   ============================================= */

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

:root {
    --purple:      #6B2D8B;
    --purple-dark: #4e1f6b;
    --purple-light:#F3EEF8;
    --green:       #5A9E2F;
    --orange:      #F5821F;
    --text:        #2c2c2c;
    --text-light:  #555;
    --white:       #ffffff;
    --radius:      12px;
    --shadow:      0 4px 20px rgba(107,45,139,0.10);
    --transition:  0.25s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Nunito', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    width: 90%;
    max-width: 1140px;
    margin: 0 auto;
}

/* ── Buttons ── */
.btn {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: background var(--transition), transform var(--transition);
    cursor: pointer;
    border: none;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
    background: var(--purple);
    color: var(--white);
}
.btn-primary:hover { background: var(--purple-dark); }

.btn-whatsapp {
    background: #25D366;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.btn-whatsapp:hover { background: #1da851; }

.btn-outline {
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--purple); }

/* ── Header ── */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img { width: 60px; height: 60px; object-fit: contain; }

.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name { font-size: 1.3rem; font-weight: 800; letter-spacing: 0.05em; }
.logo-humming { color: var(--purple); }
.logo-g       { color: var(--orange); }
.logo-bird    { color: var(--green); }
.logo-sub     { font-size: 0.65rem; letter-spacing: 0.18em; color: #666; font-weight: 700; }
.logo-tagline { font-size: 0.65rem; color: var(--purple); font-style: italic; }

/* Nav */
.main-nav ul {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.main-nav a {
    padding: 0.5rem 0.9rem;
    font-weight: 600;
    color: var(--text);
    border-radius: 6px;
    transition: color var(--transition), background var(--transition);
    font-size: 0.95rem;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--purple);
    background: var(--purple-light);
}

.btn-whatsapp-nav {
    background: #25D366 !important;
    color: var(--white) !important;
    border-radius: 50px !important;
    padding: 0.5rem 1.25rem !important;
    font-size: 0.9rem !important;
}
.btn-whatsapp-nav:hover { background: #1da851 !important; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--purple);
    border-radius: 3px;
    transition: var(--transition);
}

/* ── WhatsApp Float Button ── */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,0.45);
    z-index: 999;
    transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37,211,102,0.55);
}

/* ── Hero ── */
.hero {
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 60%, #2d0a4e 100%);
    color: var(--white);
    padding: 6rem 0 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 400px; height: 400px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}

.hero-content { position: relative; z-index: 1; }

.hero-eyebrow {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.35rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero h1 span { color: var(--orange); }

.hero p {
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
}

.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── Section base ── */
section { padding: 5rem 0; }

.section-label {
    display: inline-block;
    background: var(--purple-light);
    color: var(--purple);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.3rem 0.9rem;
    border-radius: 50px;
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    color: var(--purple-dark);
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 600px;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ── Cards ── */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.75rem;
    margin-top: 3rem;
}

.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 2rem 1.75rem;
    transition: transform var(--transition), box-shadow var(--transition);
    border-top: 4px solid var(--purple);
}
.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 32px rgba(107,45,139,0.18);
}
.card.green-top { border-top-color: var(--green); }
.card.orange-top { border-top-color: var(--orange); }

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1;
}

.card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--purple-dark);
    margin-bottom: 0.5rem;
}

.card p { color: var(--text-light); font-size: 0.97rem; }

/* ── Why Us ── */
.why-section { background: var(--purple-light); }

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.why-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.75rem;
    text-align: center;
    box-shadow: var(--shadow);
}

.why-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.why-icon.purple { background: var(--purple); }
.why-icon.green  { background: var(--green); }
.why-icon.orange { background: var(--orange); }

.why-item h4 { font-weight: 800; color: var(--purple-dark); margin-bottom: 0.4rem; }
.why-item p  { font-size: 0.93rem; color: var(--text-light); }

/* ── CTA Banner ── */
.cta-section {
    background: linear-gradient(135deg, var(--green) 0%, #3d7020 100%);
    color: var(--white);
    text-align: center;
    padding: 4rem 0;
}

.cta-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 0.75rem;
}

.cta-section p { opacity: 0.9; margin-bottom: 2rem; font-size: 1.05rem; }

/* ── About page ── */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-intro img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 100%;
}

.about-values { background: var(--purple-light); }

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.value-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow);
}
.value-card .value-icon { font-size: 2.2rem; margin-bottom: 0.75rem; }
.value-card h4 { color: var(--purple-dark); font-weight: 800; margin-bottom: 0.4rem; }
.value-card p  { font-size: 0.93rem; color: var(--text-light); }

/* ── Services page ── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 32px rgba(107,45,139,0.18);
}

.service-card-header {
    padding: 1.75rem;
    color: var(--white);
}
.service-card-header.purple { background: var(--purple); }
.service-card-header.green  { background: var(--green); }
.service-card-header.orange { background: var(--orange); }

.service-card-header .service-icon { font-size: 2.5rem; margin-bottom: 0.5rem; }
.service-card-header h3 { font-size: 1.3rem; font-weight: 800; }
.service-card-header p  { opacity: 0.9; font-size: 0.95rem; margin-top: 0.25rem; }

.service-card-body { padding: 1.75rem; }
.service-card-body ul { display: flex; flex-direction: column; gap: 0.6rem; }
.service-card-body ul li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.97rem;
    color: var(--text-light);
}
.service-card-body ul li::before {
    content: '✓';
    color: var(--green);
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ── Contact page ── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-options { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; }

.contact-option {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.contact-option-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.contact-option-icon.green  { background: #e6f7ee; }
.contact-option-icon.purple { background: var(--purple-light); }

.contact-option h4 { font-weight: 800; color: var(--purple-dark); margin-bottom: 0.2rem; }
.contact-option p  { font-size: 0.93rem; color: var(--text-light); }
.contact-option a  { color: var(--purple); font-weight: 700; }

.contact-cta-box {
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
    color: var(--white);
    border-radius: var(--radius);
    padding: 3rem 2.5rem;
    text-align: center;
}
.contact-cta-box h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}
.contact-cta-box p { opacity: 0.9; margin-bottom: 2rem; }

/* ── Page Hero (inner pages) ── */
.page-hero {
    background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dark) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}
.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.75rem;
}
.page-hero p { opacity: 0.88; font-size: 1.1rem; max-width: 580px; margin: 0 auto; }

/* ── Footer ── */
.site-footer {
    background: #1a0a2e;
    color: rgba(255,255,255,0.8);
}

.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 3rem;
    padding: 4rem 0 2rem;
}

.footer-brand { display: flex; gap: 1rem; align-items: flex-start; }
.footer-logo  { width: 52px; height: 52px; object-fit: contain; flex-shrink: 0; }
.footer-name  { font-size: 1.1rem; font-weight: 800; }
.footer-sub   { font-size: 0.6rem; letter-spacing: 0.18em; color: rgba(255,255,255,0.5); font-weight: 700; }
.footer-tagline { font-size: 0.8rem; color: rgba(255,255,255,0.55); font-style: italic; margin-top: 2px; }

.footer-links h4,
.footer-contact h4 { color: var(--white); font-weight: 800; margin-bottom: 1rem; font-size: 0.95rem; letter-spacing: 0.05em; }

.footer-links ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { color: rgba(255,255,255,0.7); font-size: 0.93rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }

.footer-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #25D366;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.25rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .about-intro,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 700px) {
    .nav-toggle { display: flex; }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
        padding: 1rem 5%;
    }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; gap: 0.25rem; }
    .main-nav a { display: block; }

    .hero { padding: 4rem 0 3.5rem; }
    .hero-buttons { flex-direction: column; align-items: center; }

    .footer-inner { grid-template-columns: 1fr; }
    .footer-brand { flex-direction: column; }

    section { padding: 3.5rem 0; }
}
