:root {
    --brand-primary: #2563eb;
    --brand-primary-hover: #1d4ed8;
    --brand-secondary: #0f172a;
    --brand-accent: #06b6d4;
    --text-muted: #64748b;
    --bg-surface: #f8fafc;
    --font-family: 'Poppins', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

html, body {
    font-family: var(--font-family);
    color: var(--brand-secondary);
    background-color: #ffffff;
    overflow-x: hidden;
    max-width: 100%;
    width: 100%;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

/* Fluid Typography Utilities */
h1, .h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2, .h2 { font-size: clamp(1.65rem, 4vw, 2.5rem); }
h3, .h3 { font-size: clamp(1.35rem, 3vw, 2rem); }
.display-5 { font-size: clamp(2rem, 5vw, 3rem); }
.display-6 { font-size: clamp(1.65rem, 4vw, 2.5rem); }

/* Sticky Glassmorphic Navbar */
.site-navbar {
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
    transition: all 0.3s ease;
    z-index: 1030;
}

.navbar-brand {
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.navbar-brand .brand-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
    border-radius: 10px;
    color: #fff;
    font-weight: 800;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.site-navbar .nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: #334155 !important;
    padding: 0.5rem 1rem !important;
    border-radius: 9999px;
    white-space: nowrap !important;
    transition: all 0.2s ease;
}

.site-navbar .nav-link:hover {
    color: var(--brand-primary) !important;
    background-color: rgba(37, 99, 235, 0.07);
}

.site-navbar .nav-link.active {
    color: var(--brand-primary) !important;
    background-color: rgba(37, 99, 235, 0.12);
    font-weight: 700;
}

.navbar-cta-wrapper {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.navbar-cta-wrapper .btn {
    white-space: nowrap !important;
    font-weight: 600;
    border-radius: 9999px;
    padding: 0.55rem 1.35rem;
    font-size: 0.9rem;
    box-shadow: 0 6px 18px -2px rgba(37, 99, 235, 0.35);
}

/* Mobile Navbar Collapsible Card */
@media (max-width: 991.98px) {
    .site-navbar .navbar-collapse {
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-radius: 1rem;
        padding: 1.25rem;
        margin-top: 0.75rem;
        box-shadow: 0 16px 35px -8px rgba(15, 23, 42, 0.14);
        border: 1px solid rgba(226, 232, 240, 0.9);
    }

    .site-navbar .nav-link {
        padding: 0.65rem 0.85rem !important;
        border-radius: 0.5rem;
        width: 100%;
    }

    .site-navbar .nav-link:hover,
    .site-navbar .nav-link.active {
        background-color: #eff6ff;
        color: var(--brand-primary) !important;
        padding-left: 1.1rem !important;
    }

    .navbar-cta-wrapper {
        width: 100%;
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        border-top: 1px solid rgba(226, 232, 240, 0.8);
    }

    .navbar-cta-wrapper .btn {
        width: 100% !important;
    }
}

/* Responsive Width Helpers */
@media (min-width: 576px) { .w-sm-auto { width: auto !important; } }
@media (min-width: 768px) { .w-md-auto { width: auto !important; } }
@media (min-width: 992px) { .w-lg-auto { width: auto !important; } }
@media (min-width: 1200px) { .w-xl-auto { width: auto !important; } }

/* Hero Section */
.hero-section {
    position: relative;
    background: radial-gradient(circle at top right, rgba(37, 99, 235, 0.08) 0%, transparent 60%),
                radial-gradient(circle at bottom left, rgba(6, 182, 212, 0.06) 0%, transparent 50%);
    padding-top: 2.75rem;
    padding-bottom: 3.5rem;
    overflow: hidden;
}

@media (min-width: 992px) {
    .hero-section {
        padding-top: 5rem;
        padding-bottom: 6rem;
    }
}

.hero-badge {
    background-color: #eff6ff;
    color: var(--brand-primary);
    border: 1px solid #dbeafe;
    padding: 0.45rem 1.15rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    max-width: 100%;
}

.hero-title {
    font-weight: 800;
    font-size: clamp(1.85rem, 5vw, 3.75rem);
    line-height: 1.18;
    letter-spacing: -0.025em;
    color: var(--brand-secondary);
}

.text-gradient {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 2.5vw, 1.15rem);
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 580px;
}

/* Buttons */
.btn-brand-primary {
    background: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #ffffff;
    font-weight: 600;
    padding: 0.8rem 1.75rem;
    border-radius: 10px;
    box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.35);
    transition: all 0.25s ease;
}

.btn-brand-secondary {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #1e293b;
    font-weight: 600;
    padding: 0.8rem 1.75rem;
    border-radius: 10px;
    transition: all 0.25s ease;
}

@media (hover: hover) {
    .btn-brand-primary:hover {
        background: var(--brand-primary-hover);
        border-color: var(--brand-primary-hover);
        transform: translateY(-2px);
        box-shadow: 0 15px 30px -5px rgba(37, 99, 235, 0.45);
        color: #ffffff;
    }

    .btn-brand-secondary:hover {
        background: #f8fafc;
        border-color: #cbd5e1;
        color: var(--brand-primary);
        transform: translateY(-2px);
    }
}

/* Hero Visual & Overlay Cards */
.hero-visual-wrapper {
    position: relative;
    max-width: 100%;
}

.hero-img {
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.18);
    width: 100%;
    height: auto;
    object-fit: cover;
}

.floating-stat-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 12px;
    padding: 0.65rem 0.85rem;
    box-shadow: 0 12px 28px -5px rgba(0, 0, 0, 0.1);
    z-index: 2;
}

.floating-stat-card .rounded-circle {
    width: 36px !important;
    height: 36px !important;
}

.floating-stat-card h6 {
    font-size: 0.85rem;
}

.floating-stat-card small {
    font-size: 0.72rem;
}

/* Responsive Stat Cards Placement */
.stat-card-left {
    bottom: 12px;
    left: 12px;
}

.stat-card-right {
    top: 12px;
    right: 12px;
}

@media (min-width: 992px) {
    .floating-stat-card {
        padding: 1rem 1.25rem;
        border-radius: 14px;
    }
    .floating-stat-card .rounded-circle {
        width: 44px !important;
        height: 44px !important;
    }
    .floating-stat-card h6 {
        font-size: 1rem;
    }
    .floating-stat-card small {
        font-size: 0.875rem;
    }
    .stat-card-left {
        bottom: -20px;
        left: -20px;
    }
    .stat-card-right {
        top: 30px;
        right: -20px;
    }
}

/* Surface Background */
.bg-surface {
    background-color: var(--bg-surface);
}

/* About Section */
.about-visual-wrapper {
    position: relative;
    padding-bottom: 2.25rem;
    padding-right: 0;
}

@media (min-width: 992px) {
    .about-visual-wrapper {
        padding-bottom: 2rem;
        padding-right: 1.5rem;
    }
}

.about-img {
    border-radius: 20px;
    width: 100%;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: #ffffff;
    border-radius: 14px;
    padding: 0.65rem 0.9rem;
    box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.14);
    border: 1px solid rgba(226, 232, 240, 0.85);
}

.badge-icon {
    width: 40px;
    height: 40px;
}

@media (min-width: 768px) {
    .about-badge {
        bottom: 0;
        right: 0;
        border-radius: 16px;
        padding: 1rem 1.25rem;
    }
    .badge-icon {
        width: 48px;
        height: 48px;
    }
}

/* Services Section */
.service-hover-box {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.service-icon-box {
    width: 56px;
    height: 56px;
}

.transition-arrow {
    transition: transform 0.25s ease;
}

@media (hover: hover) {
    .service-hover-box:hover {
        transform: translateY(-6px);
        border-color: rgba(37, 99, 235, 0.4) !important;
        box-shadow: 0 18px 35px -8px rgba(37, 99, 235, 0.12) !important;
    }
    .service-hover-box:hover .transition-arrow {
        transform: translateX(4px);
    }
}

/* Courses Section */
.course-card {
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: #ffffff;
}

.course-img {
    height: 190px;
    object-fit: cover;
    transition: transform 0.45s ease;
}

@media (min-width: 992px) {
    .course-img {
        height: 210px;
    }
}

@media (hover: hover) {
    .course-card:hover {
        transform: translateY(-6px);
        border-color: rgba(37, 99, 235, 0.35) !important;
        box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.12) !important;
    }
    .course-card:hover .course-img {
        transform: scale(1.04);
    }
}

/* Work Process Section */
.process-timeline {
    position: relative;
}

.process-track-bg {
    position: absolute;
    top: 28px;
    left: 5%;
    width: 90%;
    height: 3px;
    background: #e2e8f0;
    z-index: 1;
}

.process-track-fill {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
    transform-origin: left center;
    transform: scaleX(0);
}

.step-number-circle {
    position: relative;
    z-index: 2;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 2px solid #e2e8f0;
    color: var(--brand-secondary);
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

@media (min-width: 992px) {
    .step-number-circle {
        width: 58px;
        height: 58px;
        font-size: 1.15rem;
    }
}

@media (hover: hover) {
    .process-step:hover .step-number-circle {
        background-color: var(--brand-primary);
        color: #ffffff;
        border-color: var(--brand-primary);
        box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
        transform: translateY(-3px);
    }
}

/* Why Choose Us */
.usp-card {
    background: #ffffff;
    border-color: rgba(226, 232, 240, 0.8) !important;
    transition: all 0.35s ease;
}

.usp-icon-wrapper {
    width: 50px;
    height: 50px;
}

@media (min-width: 992px) {
    .usp-icon-wrapper {
        width: 54px;
        height: 54px;
    }
}

@media (hover: hover) {
    .usp-card:hover {
        transform: translateY(-6px);
        border-color: rgba(37, 99, 235, 0.4) !important;
        box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.06);
    }
}

/* Impact Counters Banner */
.counters-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.fw-extrabold {
    font-weight: 800;
}

.text-cyan {
    color: #38bdf8;
}

.letter-spacing-1 {
    letter-spacing: 0.08em;
}

.counter-wrapper .display-5 {
    font-size: clamp(1.85rem, 5.5vw, 3rem);
}

/* Responsive Counter Borders in 2x2 grid */
@media (max-width: 991.98px) {
    .counter-item:nth-child(1),
    .counter-item:nth-child(2) {
        margin-bottom: 1.25rem;
        padding-bottom: 1.25rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .counter-item:nth-child(odd) {
        border-right: 1px solid rgba(255, 255, 255, 0.08);
    }
}

@media (min-width: 992px) {
    .border-end-lg {
        border-right: 1px solid rgba(255, 255, 255, 0.12);
    }
}

.ambient-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    pointer-events: none;
    z-index: 1;
}

.glow-1 {
    top: -100px;
    left: -80px;
    background: var(--brand-primary);
}

.glow-2 {
    bottom: -100px;
    right: -80px;
    background: var(--brand-accent);
}

/* Feedback Section */
.feedback-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    transition: all 0.3s ease;
}

.feedback-avatar {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border: 2px solid #e2e8f0;
}

.avatar-component {
    transition: transform 0.25s ease;
}

@media (hover: hover) {
    .feedback-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.08) !important;
        border-color: rgba(37, 99, 235, 0.35) !important;
    }
    .feedback-card:hover .avatar-component {
        transform: scale(1.08);
    }
}

/* FAQ Accordion */
.custom-accordion .accordion-item {
    border: 1px solid rgba(226, 232, 240, 0.8) !important;
    transition: all 0.25s ease;
}

.custom-accordion .accordion-button {
    color: var(--brand-secondary);
    background-color: #ffffff;
    box-shadow: none !important;
    border-radius: 12px;
    font-size: clamp(0.95rem, 2vw, 1.05rem);
    padding: 0.9rem 1.1rem;
}

@media (min-width: 768px) {
    .custom-accordion .accordion-button {
        padding: 1.1rem 1.5rem;
    }
}

.custom-accordion .accordion-button:not(.collapsed) {
    color: var(--brand-primary);
    background-color: #eff6ff;
}

/* Footer */
.bg-secondary-dark {
    background-color: #0b1120;
}

.footer-link {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
    padding: 0.15rem 0;
}

.footer-link:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.social-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.25s ease;
}

.social-icon-btn:hover {
    background: var(--brand-primary);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Contact Page Specific Styles */
.contact-info-card {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.contact-icon-box {
    width: 44px;
    height: 44px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.google-map-ratio {
    min-height: 280px !important;
}

@media (min-width: 768px) {
    .google-map-ratio {
        min-height: 380px !important;
    }
}

@media (min-width: 992px) {
    .google-map-ratio {
        min-height: 450px !important;
    }
}

/* GSAP Initial Reveal Classes */
.gsap-reveal {
    opacity: 0;
    transform: translateY(30px);
}

.gsap-scale-reveal {
    opacity: 0;
    transform: scale(0.92);
}
