/* ============================================
   Design System - Bold & Energetic
   ============================================ */

:root {
    --navy: #0f0c29;
    --navy-light: #1a1744;
    --electric-blue: #4361ee;
    --electric-blue-light: #5a7bff;
    --coral: #ff6b35;
    --coral-light: #ff8a5c;
    --coral-dark: #e55a2b;
    --white: #ffffff;
    --off-white: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-600: #6c757d;
    --gray-800: #343a40;
    --gradient-hero: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    --gradient-accent: linear-gradient(135deg, #ff6b35 0%, #ff8a5c 100%);
    --gradient-blue: linear-gradient(135deg, #4361ee 0%, #5a7bff 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.16);
    --shadow-hover: 0 12px 48px rgba(67, 97, 238, 0.2);
    --radius: 12px;
    --radius-lg: 20px;
}

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

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--gray-800);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* ============================================
   Navbar
   ============================================ */

#mainNav {
    padding: 1rem 0;
    transition: all 0.4s ease;
    background: transparent;
}

#mainNav.navbar-scrolled {
    background: var(--navy) !important;
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
}

.navbar-brand .logo-img {
    border-radius: 8px;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.95);
}

#mainNav.navbar-scrolled .navbar-brand .logo-img {
    background: var(--white);
}

#mainNav .nav-link {
    font-weight: 500;
    font-size: 0.8rem;
    padding: 0.5rem 0.55rem;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

#mainNav .nav-link:hover,
#mainNav .nav-link:focus {
    color: var(--coral);
}

.btn-cta {
    background: var(--gradient-accent);
    color: var(--white) !important;
    border: none;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    color: var(--white) !important;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    background: var(--gradient-hero);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(67, 97, 238, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

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

/* Hero slider */
.hero-slider {
    position: relative;
    width: 100%;
    min-height: 520px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0s linear 0.8s;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.8s ease, visibility 0s linear 0s;
    pointer-events: auto;
    position: relative;
}

.hero-dots {
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.6rem;
    z-index: 3;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot:hover {
    border-color: var(--coral);
}

.hero-dot.active {
    background: var(--coral);
    border-color: var(--coral);
    transform: scale(1.2);
}

/* Scroll-down hint */
.hero-scroll-hint {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    background: rgba(15, 12, 41, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    text-decoration: none;
    animation: heroBounce 2s ease-in-out infinite;
    opacity: 1;
    transition: opacity 0.4s ease, color 0.3s ease, background 0.3s ease;
    z-index: 1030;
    pointer-events: auto;
}

.hero-scroll-hint.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.hero-scroll-hint:hover {
    color: var(--coral);
    background: rgba(255, 255, 255, 0.08);
    animation-play-state: paused;
}

@keyframes heroBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translate(-50%, 0);
    }
    40% {
        transform: translate(-50%, -10px);
    }
    60% {
        transform: translate(-50%, -5px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-scroll-hint {
        animation: none;
    }
}

@media (max-width: 767.98px) {
    .hero-scroll-hint {
        bottom: 1rem;
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
    }
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero h1 .highlight {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 4px solid rgba(255, 255, 255, 0.1);
}

.btn-hero {
    background: var(--gradient-accent);
    color: var(--white);
    border: none;
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.45);
    color: var(--white);
}

.btn-hero-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 0.85rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-hero-outline:hover {
    border-color: var(--coral);
    color: var(--coral);
    transform: translateY(-3px);
}

/* ============================================
   Page Header (inner pages)
   ============================================ */

.page-header {
    background: var(--gradient-hero);
    padding: 10rem 0 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(67, 97, 238, 0.12) 0%, transparent 70%);
    border-radius: 50%;
}

.page-header h1 {
    font-size: 3rem;
    font-weight: 900;
    color: var(--white);
    position: relative;
    z-index: 1;
}

.page-header .subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-top: 0.75rem;
    position: relative;
    z-index: 1;
}

/* ============================================
   Sections
   ============================================ */

.section {
    padding: 5rem 0;
}

.section-alt {
    background-color: var(--off-white);
}

.section-dark {
    background: var(--gradient-hero);
    color: var(--white);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--navy);
}

.section-title .accent {
    color: var(--coral);
}

.section-subtitle {
    color: var(--gray-600);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.section-divider {
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
    margin: 1rem auto 2rem;
    border: none;
}

/* ============================================
   Service Cards
   ============================================ */

.service-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.service-card .icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    background: var(--gradient-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.75rem;
    color: var(--white);
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--navy);
}

.service-card p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin-bottom: 0;
}

/* ============================================
   Feature Cards
   ============================================ */

.feature-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem 2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border-left: 4px solid var(--electric-blue);
    margin-bottom: 1rem;
}

.feature-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--coral);
}

.feature-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--navy);
}

/* ============================================
   Testimonial Cards
   ============================================ */

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
    border-left: 4px solid var(--coral);
    position: relative;
}

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

.testimonial-card .quote-icon {
    font-size: 2.5rem;
    color: var(--coral);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.testimonial-card p {
    font-size: 0.92rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.testimonial-card .author {
    font-weight: 700;
    color: var(--navy);
    font-size: 0.95rem;
}

.testimonial-card .date {
    font-size: 0.8rem;
    color: var(--gray-600);
}

/* ============================================
   Book Cards
   ============================================ */

.book-card {
    text-align: center;
    transition: all 0.3s ease;
}

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

.book-card img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    height: 280px;
    object-fit: cover;
}

.book-card:hover img {
    box-shadow: var(--shadow-lg);
}

.book-card .publish-date {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    color: var(--gray-600);
    font-weight: 500;
}

/* ============================================
   Media / Press
   ============================================ */

.media-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
}

.media-logo:hover {
    box-shadow: var(--shadow-md);
    transform: scale(1.05);
}

.media-logo img {
    max-height: 80px;
    max-width: 180px;
    object-fit: contain;
}

/* ============================================
   Contact
   ============================================ */

.contact-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.contact-card .icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--gradient-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.contact-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.5rem;
}

.contact-card p, .contact-card a {
    font-size: 0.95rem;
    color: var(--gray-600);
}

.contact-card a:hover {
    color: var(--coral);
}

.map-container {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-container iframe {
    width: 100%;
    height: 400px;
    border: none;
}

/* ============================================
   Contact Form
   ============================================ */

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
}

.contact-form-card .form-label {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--navy);
    margin-bottom: 0.4rem;
}

.contact-form-card .form-control {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: inherit;
}

.contact-form-card .form-control:focus {
    border-color: var(--electric-blue);
    box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.15);
    outline: none;
}

.contact-form-card .form-control::placeholder {
    color: #a0aec0;
}

.contact-form-card .btn-hero {
    margin-top: 0.5rem;
    text-align: center;
    cursor: pointer;
}

.contact-form-card .btn-hero:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.field-validation-error {
    color: var(--coral);
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 0.25rem;
    display: block;
}

.contact-form-card .alert-success {
    background: rgba(67, 97, 238, 0.08);
    border: 1px solid rgba(67, 97, 238, 0.2);
    color: var(--navy);
    border-radius: 10px;
    font-weight: 500;
}

.contact-form-card .alert-danger {
    border-radius: 10px;
}

/* ============================================
   Certifications
   ============================================ */

.cert-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(67, 97, 238, 0.08);
    border: 1px solid rgba(67, 97, 238, 0.15);
    border-radius: 50px;
    padding: 0.4rem 1rem;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--electric-blue);
    margin: 0.25rem;
    transition: all 0.3s ease;
}

.cert-badge:hover {
    background: rgba(67, 97, 238, 0.15);
    transform: translateY(-2px);
}

.cert-badge i {
    font-size: 0.75rem;
}

/* ============================================
   Group Class Icons
   ============================================ */

.class-card {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.class-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: rgba(255, 107, 53, 0.3);
}

.class-card img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 0.75rem;
    border-radius: 8px;
}

.class-card h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--white);
    margin: 0;
}

/* ============================================
   Info Badge
   ============================================ */

.info-badge {
    display: inline-block;
    background: rgba(255, 107, 53, 0.1);
    color: var(--coral);
    font-size: 0.78rem;
    font-weight: 500;
    padding: 0.2rem 0.75rem;
    border-radius: 50px;
    margin-left: 0.5rem;
}

/* ============================================
   About Page
   ============================================ */

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

/* ============================================
   Footer
   ============================================ */

.site-footer {
    background: var(--navy);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
}

.footer-logo {
    border-radius: 8px;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.95);
}

.footer-tagline {
    font-size: 1rem;
    font-weight: 600;
    color: var(--coral);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-contact li {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.footer-contact i {
    color: var(--coral);
    margin-right: 0.5rem;
    width: 16px;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--coral);
    padding-left: 5px;
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 2rem 0 1.5rem;
}

.footer-copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* ============================================
   Responsive
   ============================================ */

/* Wide desktop: more room for nav */
@media (min-width: 1300px) {
    #mainNav .nav-link {
        font-size: 0.85rem;
        padding: 0.5rem 0.7rem;
        letter-spacing: 0.5px;
    }
}

/* Tablet + Mobile: collapsed navbar */
@media (max-width: 991.98px) {
    #mainNav {
        background: var(--navy) !important;
        padding: 0.5rem 0;
    }

    .navbar-brand .logo-img {
        height: 36px;
        width: auto;
    }

    .navbar-collapse {
        padding: 1rem 0;
    }

    .btn-cta {
        margin-top: 1rem;
        display: inline-block;
    }

    .hero {
        padding-top: 5rem;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .page-header {
        padding: 6rem 0 3rem;
    }

    .page-header h1 {
        font-size: 2.25rem;
    }
}

/* Tablet: side-by-side hero, tighter spacing */
@media (min-width: 768px) and (max-width: 991.98px) {
    .hero {
        padding: 6rem 0 3rem;
    }

    .hero .col-lg-7 {
        flex: 0 0 58%;
        max-width: 58%;
    }

    .hero .col-lg-5 {
        flex: 0 0 42%;
        max-width: 42%;
    }

    .hero .row {
        display: flex;
        align-items: center;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-img {
        max-height: 320px !important;
    }

    .section {
        padding: 4rem 0;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* Mobile: stacked layout */
@media (max-width: 767.98px) {
    .hero {
        padding: 5.5rem 0 3rem;
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        margin: 0 auto 2rem;
    }

    .hero-img {
        max-height: 300px !important;
    }

    .section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .page-header {
        padding: 5.5rem 0 2.5rem;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .btn-hero, .btn-hero-outline {
        padding: 0.75rem 1.75rem;
        font-size: 0.95rem;
    }
}
