:root {
    --primary: #8d0b86;
    --secondary: #f59a23;
    --navy: #081632;
    --navy-dark: #041026;
    --text-dark: #16233b;
    --text-muted: #5a6473;
    --white: #ffffff;
    --hero-bg: #f7f3f2;
    --line: #e8e5e5;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-soft: 0 6px 20px rgba(0, 0, 0, 0.07);
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: var(--text-muted);
    padding-top: 118px;
}

/* Top bar styling */
.topbar {
    background: var(--primary);
    color: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    transition: transform 0.4s ease;
}

.topbar-inner {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.topbar-left,
.topbar-right {
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.topbar a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

    .topbar a i {
        margin-right: 8px;
    }

/* Main fixed header */
.main-header {
    position: fixed;
    top: 46px;
    left: 0;
    width: 100%;
    z-index: 1040;
    background: transparent;
    transition: top 0.4s ease;
}

/* Scroll hide classes */
.topbar.hide-topbar {
    transform: translateY(-100%);
}

.main-header.topbar-hidden {
    top: 0 !important;
}

/* Professional compact navbar */
.custom-navbar {
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    min-height: 72px;
    padding: 8px 0;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

/* Brand and logo area */
.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
    margin-right: 16px;
    max-width: 220px;
}

.brand-wrap {
    text-decoration: none;
}

.brand-title {
    color: var(--primary);
    font-size: 24px;
    font-weight: 800;
    line-height: 1.1;
}

.brand-subtitle {
    color: #202938;
    font-size: 15px;
    font-weight: 500;
    margin-top: 4px;
}

/* Logo image sizing */
.logo-img {
    height: 68px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    display: block;
}

/* Navigation layout */
.navbar-nav {
    gap: 14px;
}

/* Header navigation links */
.nav-link {
    color: #1b2434 !important;
    font-size: 16px;
    font-weight: 700;
    padding: 10px 4px !important;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    white-space: nowrap;
}

    .nav-link:hover,
    .nav-link.active-link {
        color: var(--primary) !important;
    }

        .nav-link.active-link::after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            height: 3px;
            border-radius: 10px;
            background: var(--primary);
        }

/* Header CTA button */
.enquiry-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 148px;
    min-height: 48px;
    padding: 11px 22px;
    border-radius: 12px;
    background: var(--secondary);
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    border: none;
    transition: 0.3s ease;
    white-space: nowrap;
}

    .enquiry-btn:hover {
        background: #df8513;
        color: #fff;
    }

/* Mobile navbar toggle button */
.custom-toggler {
    border: none;
    box-shadow: none !important;
    outline: none !important;
    padding: 6px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    position: relative;
}

    .custom-toggler .navbar-toggler-icon {
        background-image: none !important;
        width: 28px;
        height: 20px;
        position: relative;
        display: inline-block;
        vertical-align: middle;
    }

    .custom-toggler .navbar-toggler-icon {
        border-top: 3px solid #666666;
        border-radius: 10px;
        transition: all 0.3s ease;
    }

        .custom-toggler .navbar-toggler-icon::before,
        .custom-toggler .navbar-toggler-icon::after {
            content: "";
            position: absolute;
            left: 0;
            width: 28px;
            border-top: 3px solid #666666;
            border-radius: 10px;
            transition: all 0.3s ease;
        }

        .custom-toggler .navbar-toggler-icon::before {
            top: 7px;
        }

        .custom-toggler .navbar-toggler-icon::after {
            top: 14px;
        }

    .custom-toggler[aria-expanded="true"] .navbar-toggler-icon {
        border-top-color: transparent;
    }

        .custom-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
            top: 8px;
            transform: rotate(45deg);
        }

        .custom-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
            top: 8px;
            transform: rotate(-45deg);
        }

.page-content {
    min-height: 60vh;
}

/* =========================================
   HERO SECTION (non-premium)
========================================= */
.hero-section {
    position: relative;
    overflow: hidden;
    background: var(--hero-bg);
    padding: 2px 0 70px; /* FIX: was 110px bottom */
    min-height: auto; /* FIX: was 560px — let content decide */
}

.hero-shape {
    position: absolute;
    background: #f2e6df;
    opacity: 0.9;
    z-index: 0;
}

.hero-shape-left {
    width: 360px;
    height: 360px;
    left: -110px;
    top: 0;
    border-radius: 0 0 180px 0;
}

.hero-shape-right {
    width: 420px;
    height: 300px;
    right: -80px;
    bottom: 40px;
    border-radius: 220px 0 0 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
    margin: 0 auto;
    padding-top: 30px;
}

.hero-badge {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 999px;
    background: rgba(141, 11, 134, 0.1);
    color: var(--primary);
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 18px;
}

.hero-content h1 {
    color: var(--text-dark);
    font-size: 72px;
    font-weight: 800;
    line-height: 1.08;
    margin-bottom: 22px;
}

.hero-content p {
    color: #5f6f82;
    font-size: 25px;
    line-height: 1.45;
    max-width: 760px;
    margin: 0 auto 34px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
}

.primary-btn,
.secondary-btn,
.read-more-btn {
    min-width: 220px;
    min-height: 60px;
    padding: 14px 30px;
    border-radius: 14px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 800;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s ease;
}

.primary-btn {
    background: var(--primary);
    color: #fff;
    border: 2px solid var(--primary);
}

    .primary-btn:hover {
        background: #760670;
        border-color: #760670;
        color: #fff;
        transform: translateY(-2px);
    }

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

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

.small-btn {
    min-width: 180px;
    min-height: 54px;
    font-size: 16px;
}

.stats-wrapper {
    position: relative;
    z-index: 2;
    margin-top: 40px; /* FIX: was 60px */
}

.stats-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: var(--shadow);
    padding: 28px 22px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 26px;
    border-right: 1px solid #e7e3e3;
}

    .stat-item:last-child {
        border-right: none;
    }

.stat-icon {
    min-width: 62px;
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
}

    .stat-icon.purple {
        color: var(--primary);
    }

    .stat-icon.orange {
        color: var(--secondary);
    }

.stat-text h3 {
    margin: 0 0 6px;
    font-size: 30px;
    font-weight: 800;
    line-height: 1;
}

.stat-text p {
    margin: 0;
    color: #303949;
    font-size: 15px;
    font-weight: 500;
}

.stat-item:nth-child(1) .stat-text h3,
.stat-item:nth-child(3) .stat-text h3 {
    color: var(--primary);
}

.stat-item:nth-child(2) .stat-text h3,
.stat-item:nth-child(4) .stat-text h3 {
    color: var(--secondary);
}

/* =========================================
   SECTION PADDINGS — FIX: was 90px
========================================= */
.home-about-section,
.popular-courses-section,
.why-choose-section,
.testimonial-section,
.contact-strip-section {
    padding: 60px 0; /* FIX: was 90px */
}

.home-image-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 18px;
}

.image-placeholder {
    width: 100%;
    min-height: 420px;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #f4e7f3, #fdf6ef);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 96px;
}

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

.section-heading {
    margin-bottom: 28px;
}

    .section-heading.text-center {
        max-width: 760px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 40px; /* FIX: was 48px */
    }

.section-tag {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(245, 154, 35, 0.12);
    color: var(--secondary);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 14px;
}

.section-heading h2 {
    color: var(--text-dark);
    font-size: 46px;
    font-weight: 800;
    line-height: 1.18;
    margin-bottom: 16px;
}

.section-heading p {
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 0;
}

.about-points {
    display: grid;
    gap: 14px;
    margin-bottom: 28px;
}

.about-point {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #273247;
    font-size: 17px;
    font-weight: 600;
}

    .about-point i {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: rgba(141, 11, 134, 0.12);
        color: var(--primary);
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

.read-more-btn {
    min-width: 170px;
    background: var(--secondary);
    color: #fff;
    border: 2px solid var(--secondary);
}

    .read-more-btn:hover {
        background: #df8513;
        border-color: #df8513;
        color: #fff;
    }

.course-card,
.why-card,
.testimonial-card {
    background: #fff;
    border-radius: 22px;
    padding: 30px 24px;
    box-shadow: var(--shadow-soft);
    height: 100%;
    transition: 0.3s ease;
}

    .course-card:hover,
    .why-card:hover,
    .testimonial-card:hover {
        transform: translateY(-8px);
        box-shadow: var(--shadow);
    }

.course-icon,
.why-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 22px;
}

.purple-bg {
    background: rgba(141, 11, 134, 0.1);
    color: var(--primary);
}

.orange-bg {
    background: rgba(245, 154, 35, 0.12);
    color: var(--secondary);
}

.course-card h4,
.why-card h4,
.testimonial-card h5 {
    color: var(--text-dark);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 14px;
}

.course-card p,
.why-card p,
.testimonial-card p {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.75;
    margin-bottom: 18px;
}

.course-card a {
    color: var(--primary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
}

    .course-card a i {
        margin-left: 6px;
    }

.why-icon {
    background: linear-gradient(135deg, rgba(141, 11, 134, 0.12), rgba(245, 154, 35, 0.15));
    color: var(--primary);
}

.stars {
    display: flex;
    gap: 6px;
    color: #f59a23;
    margin-bottom: 18px;
    font-size: 17px;
}

.contact-strip {
    background: linear-gradient(135deg, #8d0b86, #b13baa);
    border-radius: 28px;
    padding: 42px 36px;
    color: #fff;
    box-shadow: var(--shadow);
}

    .contact-strip h2 {
        font-size: 38px;
        font-weight: 800;
        line-height: 1.2;
        margin-bottom: 12px;
    }

    .contact-strip p {
        font-size: 18px;
        line-height: 1.7;
        margin: 0;
        color: rgba(255, 255, 255, 0.92);
    }

.contact-strip-actions {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
    flex-wrap: wrap;
}

.contact-strip .secondary-btn {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.55);
}

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

/* =========================================
   FOOTER
========================================= */
.main-footer {
    background: linear-gradient(90deg, var(--navy), var(--navy-dark));
    color: #fff;
    padding: 62px 0 0;
}

.footer-card h3 {
    color: #da61d3;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
}

.footer-card h6 {
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 18px;
}

.footer-card h4 {
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 18px;
}

.footer-card p {
    color: #f1f2f6;
    font-size: 17px;
    line-height: 1.75;
    margin-bottom: 0;
}

.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

    .footer-social a {
        width: 46px;
        height: 46px;
        border-radius: 50%;
        border: 1.5px solid #b94eb4;
        color: #e96ee2;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        font-size: 18px;
        transition: 0.3s ease;
    }

        .footer-social a:hover {
            background: var(--primary);
            border-color: var(--primary);
            color: #fff;
        }

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

        .footer-links li a {
            color: #ffffff;
            text-decoration: none;
            font-size: 17px;
            position: relative;
            padding-left: 16px;
            transition: 0.3s ease;
        }

            .footer-links li a::before {
                content: "›";
                position: absolute;
                left: 0;
                top: 0;
                color: #da61d3;
                font-size: 22px;
                line-height: 1;
            }

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

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
}

    .footer-contact-item i {
        color: #da61d3;
        font-size: 22px;
        margin-top: 4px;
        min-width: 22px;
    }

    .footer-contact-item span {
        color: #ffffff;
        font-size: 17px;
        line-height: 1.6;
    }

.footer-bottom {
    margin-top: 30px;
    padding: 18px 0;
    background: rgba(0, 0, 0, 0.22);
    text-align: center;
}

    .footer-bottom p {
        margin: 0;
        color: #fff;
        font-size: 16px;
        font-weight: 500;
        line-height: 1.8;
    }

.dev-link {
    color: var(--secondary);
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    margin-left: 4px;
    transition: all 0.3s ease;
}

    .dev-link:hover {
        color: #ffffff;
        text-decoration: underline;
    }

/* =========================================
   FLOATING BUTTONS
========================================= */
.floating-call-btn {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    background: #fff;
    border-radius: 0 0 12px 0;
    box-shadow: var(--shadow-soft);
    text-decoration: none;
    z-index: 1100;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.call-icon {
    width: 56px;
    height: 52px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.call-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: #1d2434;
    font-size: 17px;
    font-weight: 500;
    padding: 14px 0;
}

.call-arrow {
    color: #1d2434;
    font-size: 22px;
    padding: 8px 0 12px;
}

.floating-whatsapp-wrap {
    position: fixed;
    right: 18px;
    bottom: 86px;
    z-index: 1100;
    display: flex;
    align-items: center;
    gap: 10px;
}

.whatsapp-text-box {
    background: #fff;
    color: #444;
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 16px;
    line-height: 1.4;
    box-shadow: var(--shadow-soft);
}

    .whatsapp-text-box strong {
        color: #25d366;
    }

.floating-whatsapp-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    font-size: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: var(--shadow);
    animation: pulse 2s infinite;
}

    .floating-whatsapp-btn:hover {
        color: #fff;
        background: #1cb857;
    }

.scroll-top-btn {
    position: fixed;
    right: 18px;
    bottom: 12px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    z-index: 1100;
    box-shadow: var(--shadow-soft);
}

    .scroll-top-btn:hover {
        color: #fff;
        background: #760670;
    }

/* =========================================
   FADE UP ANIMATION (non-premium)
========================================= */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s ease;
}

    .fade-up.show {
        opacity: 1;
        transform: translateY(0);
    }

/* =========================================
   ANIMATIONS
========================================= */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
    }

    70% {
        transform: scale(1.08);
        box-shadow: 0 0 0 16px rgba(37, 211, 102, 0);
    }

    100% {
        transform: scale(1);
    }
}

.achievers-link {
    color: #ff9800 !important;
    font-weight: 700;
    position: relative;
    animation: glowBlink 1.5s infinite;
}

@keyframes glowBlink {
    0% {
        opacity: 1;
        text-shadow: 0 0 5px rgba(255, 152, 0, 0.5);
    }

    50% {
        opacity: 0.7;
        text-shadow: 0 0 15px rgba(255, 152, 0, 1);
    }

    100% {
        opacity: 1;
        text-shadow: 0 0 5px rgba(255, 152, 0, 0.5);
    }
}

.achievers-link:hover {
    color: #ff6f00 !important;
    transform: scale(1.03);
}

/* =========================================
   RESPONSIVE — Large tablet / small desktop
   max-width: 1199.98px
========================================= */
@media (max-width: 1199.98px) {
    body {
        padding-top: 120px;
    }

    .hero-content h1 {
        font-size: 60px;
    }

    .hero-content p {
        font-size: 22px;
    }

    .stats-card {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px 0;
    }

    .stat-item:nth-child(2) {
        border-right: none;
    }

    .stat-item:nth-child(1),
    .stat-item:nth-child(2) {
        padding-bottom: 20px;
        border-bottom: 1px solid #e7e3e3;
    }

    .section-heading h2 {
        font-size: 40px;
    }
}

/* =========================================
   RESPONSIVE — Tablet / mobile navbar
   max-width: 991.98px
========================================= */
@media (max-width: 991.98px) {
    body {
        padding-top: 78px;
    }

    .topbar {
        display: none;
    }

    .main-header {
        top: 0;
    }

    .custom-navbar {
        min-height: 76px;
        padding: 8px 0;
        border-radius: 0;
    }

    .navbar-brand {
        max-width: 180px;
    }

    .logo-img {
        height: 56px;
    }

    .brand-title {
        font-size: 22px;
    }

    .brand-subtitle {
        font-size: 13px;
    }

    .navbar-collapse {
        margin-top: 14px;
        background: #fff;
        padding: 16px 12px 18px;
        border-radius: 16px;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    }

    .navbar-nav {
        gap: 4px;
        margin-bottom: 16px;
        align-items: stretch !important;
    }

        .navbar-nav .nav-link {
            display: flex;
            width: 100%;
            justify-content: flex-start;
            padding: 12px 14px !important;
            border-radius: 10px;
            font-size: 15px;
        }

            .navbar-nav .nav-link:hover,
            .navbar-nav .nav-link.active-link {
                background: rgba(141, 11, 134, 0.08);
            }

                .navbar-nav .nav-link.active-link::after {
                    display: none;
                }

    .header-cta {
        width: 100%;
    }

    .enquiry-btn {
        width: 100%;
        min-height: 48px;
    }

    /* Non-premium hero */
    .hero-section {
        padding: 30px 0 50px; /* FIX: was 50px 0 70px */
        min-height: auto;
    }

    .hero-content h1 {
        font-size: 48px;
    }

    .hero-content p {
        font-size: 20px;
    }

    .stats-card {
        grid-template-columns: 1fr;
    }

    .stat-item,
    .stat-item:nth-child(1),
    .stat-item:nth-child(2) {
        border-right: none;
        border-bottom: 1px solid #e7e3e3;
        padding: 0 10px 18px;
    }

        .stat-item:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }

    .image-placeholder {
        min-height: 320px;
        font-size: 76px;
    }

    .section-heading h2 {
        font-size: 34px;
    }

    .contact-strip h2 {
        font-size: 30px;
    }

    .contact-strip-actions {
        justify-content: flex-start;
    }

    .floating-call-btn {
        display: none;
    }

    .footer-card h3 {
        font-size: 24px;
    }

    /* Premium hero — tablet range */
    .premium-home .hero-section {
        padding: 40px 0 60px; /* FIX: was 130px 0 90px */
    }
}

/* =========================================
   RESPONSIVE — Mobile
   max-width: 767.98px
========================================= */
@media (max-width: 767.98px) {
    .hero-content {
        padding-top: 10px;
    }

        .hero-content h1 {
            font-size: 38px;
        }

        .hero-content p {
            font-size: 18px;
        }

    .hero-actions {
        flex-direction: column;
        gap: 14px;
    }

    .primary-btn,
    .secondary-btn,
    .read-more-btn {
        width: 100%;
        min-width: 100%;
    }

    .stats-wrapper {
        margin-top: 30px; /* FIX: was 40px */
    }

    .stats-card {
        padding: 22px 18px;
    }

    /* Section paddings — mobile */
    .home-about-section,
    .popular-courses-section,
    .why-choose-section,
    .testimonial-section,
    .contact-strip-section {
        padding: 50px 0; /* FIX: was 70px */
    }

    .section-heading h2 {
        font-size: 30px;
    }

    .course-card,
    .why-card,
    .testimonial-card {
        padding: 24px 20px;
    }

    .whatsapp-text-box {
        display: none;
    }

    .floating-whatsapp-btn {
        width: 60px;
        height: 60px;
        font-size: 34px;
    }

    .scroll-top-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .footer-bottom p {
        font-size: 15px;
        line-height: 1.7;
    }

    .dev-link {
        display: inline;
        margin-left: 0;
    }
}

/* =========================================
   RESPONSIVE — Small mobile
   max-width: 575.98px
========================================= */
@media (max-width: 575.98px) {
    body {
        padding-top: 74px;
    }

    .navbar-brand {
        max-width: 150px;
    }

    .logo-img {
        height: 48px;
    }

    .brand-title {
        font-size: 18px;
    }

    .brand-subtitle {
        font-size: 12px;
    }

    .hero-section {
        padding: 20px 0 40px; /* FIX: was 36px 0 56px */
    }

    .hero-content h1 {
        font-size: 31px;
    }

    .hero-content p {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .stat-item {
        gap: 14px;
    }

    .stat-icon {
        min-width: 50px;
        min-height: 50px;
        font-size: 28px;
    }

    .stat-text h3 {
        font-size: 24px;
    }

    .section-heading h2 {
        font-size: 26px;
    }

    .section-heading p,
    .stat-text p,
    .footer-links li a,
    .footer-contact-item span,
    .footer-card p,
    .course-card p,
    .why-card p,
    .testimonial-card p,
    .contact-strip p {
        font-size: 15px;
    }

    .contact-strip {
        padding: 30px 22px;
    }

        .contact-strip h2 {
            font-size: 24px;
        }

    .main-footer {
        padding-top: 46px;
    }

    .footer-bottom {
        padding: 16px 0;
    }
}

/* =========================================
   PREMIUM HOME PAGE
========================================= */
.premium-home {
    background: radial-gradient(circle at top left, rgba(141,11,134,0.05), transparent 25%), radial-gradient(circle at bottom right, rgba(245,154,35,0.05), transparent 25%);
}

    /* =========================================
   PREMIUM HERO SECTION
========================================= */
    .premium-home .hero-section {
        padding: 60px 0 80px; /* FIX: was 170px 0 120px — main spacing fix */
        position: relative;
        overflow: hidden;
        background: linear-gradient(135deg, #ffffff 0%, #fcf6ff 50%, #fff9f1 100%);
    }

        .premium-home .hero-section::before {
            content: "";
            position: absolute;
            width: 550px;
            height: 550px;
            background: radial-gradient(circle, rgba(141,11,134,0.14), transparent 70%);
            top: -180px;
            left: -120px;
            border-radius: 50%;
            animation: blobMove 8s ease-in-out infinite;
        }

        .premium-home .hero-section::after {
            content: "";
            position: absolute;
            width: 500px;
            height: 500px;
            background: radial-gradient(circle, rgba(245,154,35,0.14), transparent 70%);
            bottom: -200px;
            right: -120px;
            border-radius: 50%;
            animation: blobMove 10s ease-in-out infinite;
        }

@keyframes blobMove {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-30px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* =========================================
   PREMIUM HERO CONTENT
========================================= */
.premium-home .hero-content {
    position: relative;
    z-index: 2;
}

.premium-home .hero-badge {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 999px;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    color: #8d0b86;
    font-weight: 700;
    margin-bottom: 28px;
    font-size: 15px;
}

.premium-home .hero-content h1 {
    font-size: 88px;
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -4px;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #111827, #8d0b86);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.premium-home .hero-content p {
    font-size: 22px;
    line-height: 1.9;
    color: #5f6673;
    max-width: 900px;
    margin: auto auto 45px;
}

/* =========================================
   PREMIUM BUTTONS
========================================= */
.premium-home .hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.premium-home .primary-btn,
.premium-home .secondary-btn,
.premium-home .read-more-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

    .premium-home .primary-btn::before,
    .premium-home .secondary-btn::before,
    .premium-home .read-more-btn::before {
        content: "";
        position: absolute;
        top: 0;
        left: -120%;
        width: 70%;
        height: 100%;
        background: rgba(255,255,255,0.25);
        transform: skewX(25deg);
        transition: 0.8s;
    }

    .premium-home .primary-btn:hover::before,
    .premium-home .secondary-btn:hover::before,
    .premium-home .read-more-btn:hover::before {
        left: 130%;
    }

    .premium-home .primary-btn:hover,
    .premium-home .secondary-btn:hover,
    .premium-home .read-more-btn:hover {
        transform: translateY(-6px) scale(1.03);
        box-shadow: 0 25px 55px rgba(141,11,134,0.22);
    }

/* =========================================
   PREMIUM CARDS
========================================= */
.premium-home .course-card,
.premium-home .why-card,
.premium-home .testimonial-card,
.premium-home .stats-card,
.premium-home .home-image-card {
    background: rgba(255,255,255,0.74);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow: 0 15px 45px rgba(0,0,0,0.06);
    transition: all 0.45s ease;
    overflow: hidden;
    position: relative;
}

    .premium-home .course-card::before,
    .premium-home .why-card::before,
    .premium-home .testimonial-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(141,11,134,0.06), rgba(245,154,35,0.06));
        opacity: 0;
        transition: 0.4s ease;
    }

    .premium-home .course-card:hover::before,
    .premium-home .why-card:hover::before,
    .premium-home .testimonial-card:hover::before {
        opacity: 1;
    }

    .premium-home .course-card:hover,
    .premium-home .why-card:hover,
    .premium-home .testimonial-card:hover,
    .premium-home .home-image-card:hover {
        transform: translateY(-12px) scale(1.02);
        box-shadow: 0 30px 70px rgba(0,0,0,0.12), 0 15px 35px rgba(141,11,134,0.14);
    }

/* =========================================
   PREMIUM ICONS
========================================= */
.premium-home .course-icon,
.premium-home .why-icon,
.premium-home .stat-icon {
    transition: all 0.4s ease;
}

.premium-home .course-card:hover .course-icon,
.premium-home .why-card:hover .why-icon,
.premium-home .stat-item:hover .stat-icon {
    transform: rotate(-8deg) scale(1.12);
}

/* =========================================
   PREMIUM IMAGE EFFECT
========================================= */
.premium-home .custom-img {
    transition: transform 0.8s ease;
}

.premium-home .home-image-card:hover .custom-img {
    transform: scale(1.08);
}

/* =========================================
   PREMIUM ABOUT POINTS
========================================= */
.premium-home .about-point {
    transition: all 0.35s ease;
}

    .premium-home .about-point:hover {
        transform: translateX(10px);
    }

/* =========================================
   PREMIUM TESTIMONIAL
========================================= */
.premium-home .testimonial-card {
    background: linear-gradient(180deg, #ffffff, #fcf8ff);
}

/* =========================================
   PREMIUM CONTACT STRIP
========================================= */
.premium-home .contact-strip {
    position: relative;
    overflow: hidden;
}

    .premium-home .contact-strip::before {
        content: "";
        position: absolute;
        width: 350px;
        height: 350px;
        background: rgba(255,255,255,0.08);
        border-radius: 50%;
        top: -120px;
        right: -120px;
    }

/* =========================================
   PREMIUM FADE-UP ANIMATION
========================================= */
.premium-home .fade-up {
    opacity: 1;
    transform: translateY(0);
    transition: none;
    animation: fadeUp 1s ease both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   PREMIUM MOBILE — max-width: 768px
   FIX: was 130px 0 90px on both breakpoints
========================================= */
@media (max-width: 768px) {
    .premium-home .hero-section {
        padding: 30px 0 50px; /* FIX: was 130px 0 90px */
    }

    .premium-home .hero-content h1 {
        font-size: 52px;
        letter-spacing: -2px;
    }

    .premium-home .hero-content p {
        font-size: 18px;
    }

    .premium-home .course-card:hover,
    .premium-home .why-card:hover,
    .premium-home .testimonial-card:hover {
        transform: translateY(-6px);
    }
}
