/* ===== DESIGN TOKENS (Vibrant & Clean Theme) ===== */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&family=Inter:wght@400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&display=swap');

:root {
    /* Vibrant Colors */
    --clr-primary: #1E3A8A;
    /* Royal Blue */
    --clr-primary-light: #3B82F6;
    --clr-secondary: #E91E63;
    /* Vibrant Pink */
    --clr-accent: #F59E0B;
    /* Amber/Orange */

    /* UI Colors */
    --clr-bg: #FFFFFF;
    --clr-bg-light: #F8FAFC;
    --clr-text-main: #334155;
    --clr-text-muted: #64748B;
    --clr-heading: #0F172A;
    --clr-white: #FFFFFF;
    --clr-card-bg: var(--clr-white);

    /* Accents */
    --clr-pink: #EC4899;
    --clr-purple: #8B5CF6;
    --clr-blue: #3B82F6;
    --clr-orange: #F97316;
    --clr-teal: #14B8A6;
    --clr-yellow: #EAB308;

    /* Typography */
    --font-main: 'Outfit', sans-serif;

    /* Spacing & Utilities */
    --transition: 0.3s ease;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.12);
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--clr-text-main);
    background-color: var(--clr-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--clr-heading);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.bg-light {
    background-color: var(--clr-bg-light);
}

.text-center {
    text-align: center;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--clr-secondary);
    color: var(--clr-white);
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
}

.btn-primary:hover {
    background-color: #D81B60;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(233, 30, 99, 0.4);
    color: var(--clr-white);
}

.btn-outline {
    background-color: transparent;
    color: var(--clr-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background-color: var(--clr-white);
    color: var(--clr-primary);
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--clr-primary-light);
    font-weight: 600;
    font-size: 0.95rem;
}

.btn-text:hover {
    color: var(--clr-secondary);
    gap: 0.5rem;
}

/* ===== TOPBAR & NAVBAR ===== */
.topbar-ticker-link {
    display: block;
    width: 100%;
    text-decoration: none;
    color: inherit;
    background-color: var(--clr-primary);
    transition: background-color 0.3s ease;
}

.topbar-ticker-link:hover {
    background-color: #162e70;
    /* Slightly darker shade on hover to show interactivity */
}

.topbar {
    background-color: transparent;
    /* Background handled by the link wrapper */
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.875rem;
    padding: 0.6rem 0;
    overflow: hidden;
}

.ticker-wrap {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.ticker-track {
    display: inline-flex;
    animation: ticker-scroll 25s linear infinite;
    width: max-content;
}

.ticker-content {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.ticker-content span {
    padding: 0 1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.ticker-highlight {
    color: var(--clr-accent);
    /* Amber highlight for call-to-action */
    font-weight: 700;
    text-decoration: underline;
}

.ticker-star {
    color: var(--clr-accent);
    /* Accent color for the star separator */
    font-size: 0.95rem;
}

@keyframes ticker-scroll {
    0% {
        transform: translate3d(-50%, 0, 0);
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

.topbar-ticker-link:hover .ticker-track {
    animation-play-state: paused;
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 1.5rem;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.icon-sm {
    width: 16px;
    height: 16px;
}

.social-links a:hover {
    color: var(--clr-secondary);
}

.navbar {
    background-color: var(--clr-card-bg);
    padding: 1rem 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: padding 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
    padding: 0.35rem 0 !important;
    background-color: rgba(255, 255, 255, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
}

.navbar .main-logo {
    height: 120px !important;
    transition: height 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.navbar.scrolled .main-logo {
    height: 65px !important;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar .main-logo {
    height: 130px !important;
}

.footer .main-logo {
    height: 80px !important;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4)) !important;
    opacity: 1 !important;
    transition: opacity 0.3s ease;
}

.footer .main-logo:hover {
    opacity: 0.9 !important;
}

.logo-icon-box {
    background-color: var(--clr-secondary);
    color: var(--clr-white);
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon {
    width: 24px;
    height: 24px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--clr-primary);
    line-height: 1;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: var(--clr-text-muted);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links {
    display: none;
    gap: 2rem;
}

@media (min-width: 992px) {
    .nav-links {
        display: flex;
    }
}

.nav-links a {
    font-weight: 500;
    color: var(--clr-heading);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--clr-secondary);
}

/* ===== NAVIGATION DROPDOWN ===== */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
    font-weight: 500;
    color: var(--clr-heading);
    transition: var(--transition);
}

.nav-dropdown-toggle svg {
    width: 14px;
    height: 14px;
    stroke-width: 2.5px;
    transition: transform 0.3s ease;
}

.nav-dropdown-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: var(--clr-card-bg);
    min-width: 180px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}

.nav-dropdown-menu a {
    padding: 0.5rem 1.25rem !important;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--clr-text-main) !important;
    display: block;
    width: 100%;
    transition: var(--transition);
}

.nav-dropdown-menu a:hover {
    background-color: var(--clr-bg-light);
    color: var(--clr-secondary) !important;
}

.nav-dropdown-menu a.active {
    color: var(--clr-secondary) !important;
    font-weight: 600;
}

/* Desktop Hover Interaction */
@media (min-width: 992px) {
    .nav-dropdown:hover .nav-dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateX(-50%) translateY(5px);
    }

    .nav-dropdown:hover .nav-dropdown-toggle {
        color: var(--clr-secondary);
    }

    .nav-dropdown:hover .nav-dropdown-toggle svg {
        transform: rotate(180deg);
    }
}

/* Mobile Dropdown styles */
@media (max-width: 991.98px) {
    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown-toggle {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 0;
    }

    .nav-dropdown-menu {
        position: static;
        display: none;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0.5rem 0 0 1rem;
        background: transparent;
        min-width: auto;
        opacity: 1;
        visibility: visible;
        gap: 0.75rem;
    }

    .nav-dropdown-menu.active {
        display: flex;
    }

    .nav-dropdown.open .nav-dropdown-toggle {
        color: var(--clr-secondary);
    }

    .nav-dropdown.open .nav-dropdown-toggle svg {
        transform: rotate(180deg);
    }

    .nav-dropdown-menu a {
        padding: 0.25rem 0 !important;
        font-size: 1rem;
        color: var(--clr-text-muted) !important;
    }

    .nav-dropdown-menu a:hover,
    .nav-dropdown-menu a.active {
        color: var(--clr-secondary) !important;
        background: transparent;
    }
}

/* ===== HERO SECTION ===== */
.hero {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.82) 0%, rgba(21, 42, 102, 0.82) 100%), url('assets/hero_bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 5rem 0 10rem;
    color: var(--clr-white);
    overflow: hidden;
}

.hero-mesh {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0.55;
}

.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 4rem;
    align-items: center;
}

.course-hero {
    position: relative;
    overflow: hidden;
}

.course-hero-container {
    position: relative;
    z-index: 2;
}

@media (min-width: 992px) {
    .hero-container {
        grid-template-columns: 1.1fr 0.9fr;
    }
}

.hero-content {
    z-index: 2;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #F8FAFC;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero h1 {
    font-size: 3rem;
    color: var(--clr-white);
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--clr-accent);
}

@media (min-width: 992px) {
    .hero h1 {
        font-size: 4rem;
    }
}

.hero p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* ===== ORBITAL CONSTELLATION ===== */
.constellation {
    position: relative;
    width: 100%;
    max-width: 460px;
    aspect-ratio: 1 / 1;
    margin: 0 auto 4.5rem;
    z-index: 2;
}

/* SVG lines & ring */
.constellation-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.conn-line {
    stroke: rgba(255, 255, 255, 0.15);
    stroke-width: 1.5;
    stroke-dasharray: 8 6;
    stroke-dashoffset: 0;
    animation: dash-flow 20s linear infinite;
}

.orbit-ring {
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 1;
    stroke-dasharray: 6 10;
    fill: none;
    animation: dash-flow 40s linear infinite reverse;
}

@keyframes dash-flow {
    to {
        stroke-dashoffset: -200;
    }
}

/* Central Hub */
.hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hub-logo {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border-radius: 50%;
    background: var(--clr-white);
    padding: 10px;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.25), 0 0 60px rgba(59, 130, 246, 0.15);
    position: relative;
    z-index: 2;
}

.hub-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: pulse-ring 2.5s ease-out infinite;
    z-index: 1;
}

@keyframes pulse-ring {
    0% {
        width: 100px;
        height: 100px;
        opacity: 0.6;
    }

    100% {
        width: 180px;
        height: 180px;
        opacity: 0;
    }
}

/* Orbiting Nodes */
.orbit-node {
    position: absolute;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    cursor: pointer;
    transform: translate(-50%, -50%);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
    animation: gentle-bob 4s ease-in-out infinite;
}

.node-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.25), 0 0 0 3px rgba(255, 255, 255, 0.15);
    transition: box-shadow 0.4s ease, background 0.4s ease, transform 0.4s ease;
}

.node-icon i,
.node-icon img {
    transition: color 0.3s ease, transform 0.3s ease;
}

.node-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--clr-white);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
    transition: color 0.3s ease;
}

/* Per-node brand colors */
.n1 .node-icon {
    background: linear-gradient(135deg, #E31837, #C0392B);
}

/* Stitching - Singer Red */
.n2 .node-icon {
    background: linear-gradient(135deg, #004B87, #00A651);
}

/* IT - NIIT Blue/Green */
.n3 .node-icon {
    background: linear-gradient(135deg, #D81B60, #8E24AA);
}

/* Beauty - Pink/Purple */
.n4 .node-icon {
    background: linear-gradient(135deg, #FF6B00, #FF983F);
}

/* Tally - Orange */
.n5 .node-icon {
    background: linear-gradient(135deg, #FFFFFF, #E2E8F0);
}

/* Electrician - White/Light Gray */
.n6 .node-icon {
    background: linear-gradient(135deg, #FFB300, #FFC107);
}

/* JCB - Yellow */
.n6 .node-icon i {
    color: #212121;
}

/* Dark icon for JCB yellow bg */

/* Hover: glow burst */
.orbit-node:hover {
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.4));
    animation-play-state: paused;
}

.orbit-node:hover .node-icon {
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.4), 0 0 0 5px rgba(255, 255, 255, 0.25);
    transform: scale(1.2) rotate(-8deg);
}

.orbit-node:hover .node-icon i,
.orbit-node:hover .node-icon img {
    transform: scale(1.1);
}

.orbit-node:hover .node-label {
    color: var(--clr-accent);
}

/* Positions: perfectly aligned to 500x500 SVG circle of radius 190, centered at 250,250 */
.n1 {
    top: 12%;
    left: 50%;
}

.n2 {
    top: 31%;
    left: 83%;
}

.n3 {
    top: 69%;
    left: 83%;
}

.n4 {
    top: 88%;
    left: 50%;
}

.n5 {
    top: 69%;
    left: 17%;
}

.n6 {
    top: 31%;
    left: 17%;
}

/* Animate nodes individually with offset delay on the icon */
.n1 {
    animation-delay: 0s;
}

.n2 {
    animation-delay: 0.7s;
}

.n3 {
    animation-delay: 1.4s;
}

.n4 {
    animation-delay: 2.1s;
}

.n5 {
    animation-delay: 2.8s;
}

.n6 {
    animation-delay: 3.5s;
}

@keyframes gentle-bob {

    0%,
    100% {
        margin-top: 0;
    }

    50% {
        margin-top: -8px;
    }
}

.hero-shape {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
    z-index: 1;
}

.hero-shape svg {
    width: 100%;
    height: 120px;
}

/* ===== STATS SECTION ===== */
.stats-section {
    padding: 0;
    margin-top: -4rem;
    position: relative;
    z-index: 10;
}

.stats-wrapper {
    background-color: var(--clr-card-bg);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    padding: 2.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    gap: 2rem;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--clr-secondary);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--clr-text-main);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 2px;
    height: 60px;
    background-color: var(--clr-bg-light);
    display: none;
}

@media (min-width: 992px) {
    .stats-wrapper {
        flex-wrap: nowrap;
    }

    .stat-divider {
        display: block;
    }
}

/* ===== SECTION TITLES ===== */
.sub-title {
    color: var(--clr-secondary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.section-title {
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--clr-text-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== COURSES SHOWCASE SECTION & AMBIENT DECOR ===== */
.courses-showcase-section {
    position: relative;
    padding: 6.5rem 0 7rem;
    background-color: #F8FAFC;
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 40%, #F8FAFC 100%);
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

/* Ambient Decor Layer - contains all background elements without affecting card flow */
.courses-ambient-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* Mountain Silhouette Background */
.decor-mountains {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 350px;
    z-index: 0;
    pointer-events: none;
}

.decor-mountains svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Soft Bokeh Pastel Gradient Circles */
.decor-bokeh {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    filter: blur(2px);
}

.bokeh-purple-top-left {
    width: 175px;
    height: 175px;
    left: 1.5%;
    top: 25px;
    background: radial-gradient(circle, rgba(216, 180, 254, 0.52) 0%, rgba(233, 213, 255, 0.25) 55%, transparent 75%);
}

.bokeh-yellow-top-right {
    width: 135px;
    height: 135px;
    right: 17%;
    top: 48px;
    background: radial-gradient(circle, rgba(254, 240, 138, 0.65) 0%, rgba(253, 224, 71, 0.25) 55%, transparent 75%);
}

.bokeh-blue-top-right {
    width: 115px;
    height: 115px;
    right: 10.5%;
    top: 28px;
    background: radial-gradient(circle, rgba(186, 230, 253, 0.65) 0%, rgba(147, 197, 253, 0.25) 55%, transparent 75%);
}

.bokeh-lavender-left {
    width: 155px;
    height: 155px;
    left: 0.5%;
    top: 36%;
    background: radial-gradient(circle, rgba(224, 231, 255, 0.6) 0%, rgba(238, 242, 255, 0.25) 55%, transparent 75%);
}

.bokeh-peach-bottom-left {
    width: 165px;
    height: 165px;
    left: 1.5%;
    bottom: 85px;
    background: radial-gradient(circle, rgba(254, 215, 170, 0.55) 0%, rgba(255, 237, 213, 0.2) 55%, transparent 75%);
}

.bokeh-blue-bottom-left {
    width: 115px;
    height: 115px;
    left: 0.5%;
    bottom: 30px;
    background: radial-gradient(circle, rgba(186, 230, 253, 0.6) 0%, rgba(224, 242, 254, 0.2) 55%, transparent 75%);
}

.bokeh-yellow-right {
    width: 135px;
    height: 135px;
    right: 1.5%;
    top: 48%;
    background: radial-gradient(circle, rgba(254, 240, 138, 0.55) 0%, rgba(254, 249, 195, 0.2) 55%, transparent 75%);
}

.bokeh-blue-right {
    width: 145px;
    height: 145px;
    right: 1.8%;
    bottom: 85px;
    background: radial-gradient(circle, rgba(186, 230, 253, 0.55) 0%, rgba(224, 242, 254, 0.2) 55%, transparent 75%);
}

/* Dot Grid Decorations */
.decor-dot-grid {
    position: absolute;
    pointer-events: none;
    z-index: 2;
}

.dot-grid-top-left {
    left: 2.8%;
    top: 25px;
}

.dot-grid-top-right {
    right: 3.2%;
    top: 30px;
}

.dot-grid-bottom-right {
    right: 2%;
    bottom: 60px;
}

/* Minimalist Clouds */
.decor-cloud {
    position: absolute;
    pointer-events: none;
    z-index: 2;
}

.cloud-left {
    left: 5%;
    top: 110px;
}

.cloud-right {
    right: 7%;
    top: 90px;
}

/* Left Side Decorative Annotation: 'Better Skills Better Opportunities' */
.decor-side-left {
    position: absolute;
    left: calc(50% - 690px);
    top: 175px;
    pointer-events: none;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (max-width: 1460px) {
    .decor-side-left {
        left: 1.5rem;
        top: 170px;
        transform: scale(0.92);
        transform-origin: left top;
    }
}

@media (max-width: 1220px) {
    .decor-side-left {
        display: none;
    }
}

.side-skills-text {
    font-family: 'Caveat', cursive;
    font-size: 1.45rem;
    font-weight: 700;
    color: #1E293B;
    line-height: 1.12;
    transform: rotate(-8deg);
    text-align: center;
    margin-bottom: -10px;
}

.side-skills-text span {
    display: block;
}

.side-skills-arrow-svg {
    transform: rotate(-10deg) translate(-10px, 0);
}

/* Left Lower Margin Dashed Arc Arrow */
.decor-side-lower-left {
    position: absolute;
    left: calc(50% - 690px);
    bottom: 220px;
    pointer-events: none;
    z-index: 3;
}

@media (max-width: 1460px) {
    .decor-side-lower-left {
        left: 1rem;
        bottom: 200px;
        transform: scale(0.9);
    }
}

@media (max-width: 1220px) {
    .decor-side-lower-left {
        display: none;
    }
}

/* Right Side Looping Dashed Flight Trajectory */
.decor-side-right {
    position: absolute;
    right: calc(50% - 690px);
    top: 220px;
    pointer-events: none;
    z-index: 3;
}

@media (max-width: 1460px) {
    .decor-side-right {
        right: 1.2rem;
        top: 215px;
        transform: scale(0.92);
        transform-origin: right top;
    }
}

@media (max-width: 1220px) {
    .decor-side-right {
        display: none;
    }
}

/* Courses Container & Header */
.courses-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 3;
}

.courses-header-wrapper {
    position: relative;
    text-align: center;
    margin-bottom: 4rem;
}

.courses-title-container {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.badge-our-courses {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #2563EB;
    background-color: #EFF6FF;
    border: 1.5px solid #DBEAFE;
    border-radius: 9999px;
    padding: 0.4rem 1.3rem;
    margin-bottom: 1.2rem;
    text-transform: uppercase;
}

.courses-main-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.85rem;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.25;
    margin-bottom: 1.1rem;
    letter-spacing: -0.5px;
}

.courses-main-title .highlight-blue,
.courses-main-title .highlight-gradient {
    background: linear-gradient(90deg, #2563EB 0%, #8B5CF6 50%, #EC4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
    white-space: nowrap;
}

.title-swoosh-svg {
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 100%;
    height: 14px;
    pointer-events: none;
}

.courses-subheading {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.6;
    max-width: 660px;
    margin: 0 auto;
}

/* Handwritten Note with Pink Origami Airplane */
.handwritten-annotation {
    position: absolute;
    right: 1.5%;
    top: -15px;
    pointer-events: none;
    z-index: 3;
}

.handwritten-note-group {
    display: flex;
    align-items: flex-start;
    gap: 0.2rem;
    transform: rotate(2deg);
}

.handwritten-text {
    font-family: 'Caveat', cursive;
    font-size: 1.55rem;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.15;
    text-align: left;
}

.handwritten-text span {
    display: block;
}

.handwritten-text .indent-1 {
    padding-left: 1.2rem;
}

.handwritten-text .indent-2 {
    padding-left: 0.6rem;
}

.paper-airplane-unit {
    position: relative;
    display: flex;
    align-items: center;
    margin-top: -15px;
    margin-left: -5px;
}

.plane-flight-trail-svg {
    transform: translateY(12px);
    flex-shrink: 0;
}

.origami-plane-svg {
    transform: translateY(-8px) translateX(-6px);
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(244, 63, 94, 0.25));
}

@media (max-width: 1150px) {
    .handwritten-annotation {
        display: none;
    }
}

@media (max-width: 768px) {
    .courses-main-title {
        font-size: 2.1rem;
    }

    .courses-showcase-section {
        padding: 4.5rem 0 5rem;
    }
}

/* ===== COURSES GRID ===== */
.courses-grid-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem 2rem;
    position: relative;
    z-index: 2;
}

@media (max-width: 1024px) {
    .courses-grid-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .courses-grid-cards {
        grid-template-columns: 1fr;
    }
}

/* Base Card */
.modern-course-card {
    background-color: #FFFFFF;
    border-radius: 20px;
    border: 1px solid #E2E8F0;
    box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.05), 0 4px 6px -2px rgba(15, 23, 42, 0.02);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: visible;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
    text-decoration: none;
    color: inherit;
}

.modern-course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px -8px rgba(15, 23, 42, 0.12), 0 6px 10px -2px rgba(15, 23, 42, 0.04);
    border-color: #CBD5E1;
}

/* Card Media */
.card-media-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #E2E8F0;
    border-radius: 20px 20px 0 0;
}

.card-media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    image-rendering: -webkit-optimize-contrast;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

.modern-course-card:hover .card-media-img {
    transform: scale(1.06);
}

/* Duration Pill (CSS) */
.duration-pill {
    position: absolute;
    top: 14px;
    right: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 3;
    backdrop-filter: blur(4px);
}

.duration-pill svg {
    flex-shrink: 0;
}

.theme-pink .duration-pill {
    background: #FF3B8D;
}

.theme-purple .duration-pill {
    background: #8B5CF6;
}

.theme-blue .duration-pill {
    background: #3B82F6;
}

.theme-orange .duration-pill {
    background: #F97316;
}

.theme-teal .duration-pill {
    background: #10B981;
}

.theme-yellow .duration-pill {
    background: #F59E0B;
}

/* Floating Category Icon (CSS squircle) */
.floating-category-icon {
    position: absolute;
    top: 176px;
    left: 20px;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    z-index: 5;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modern-course-card:hover .floating-category-icon {
    transform: scale(1.1) rotate(-3deg);
}

.theme-pink .floating-category-icon {
    background: linear-gradient(135deg, #FF3B8D, #FF6BB5);
    box-shadow: 0 8px 20px -2px rgba(255, 59, 141, 0.5);
}

.theme-purple .floating-category-icon {
    background: linear-gradient(135deg, #8B5CF6, #A78BFA);
    box-shadow: 0 8px 20px -2px rgba(139, 92, 246, 0.5);
}

.theme-blue .floating-category-icon {
    background: linear-gradient(135deg, #3B82F6, #60A5FA);
    box-shadow: 0 8px 20px -2px rgba(59, 130, 246, 0.5);
}

.theme-orange .floating-category-icon {
    background: linear-gradient(135deg, #F97316, #FB923C);
    box-shadow: 0 8px 20px -2px rgba(249, 115, 22, 0.5);
}

.theme-teal .floating-category-icon {
    background: linear-gradient(135deg, #10B981, #34D399);
    box-shadow: 0 8px 20px -2px rgba(16, 185, 129, 0.5);
}

.theme-yellow .floating-category-icon {
    background: linear-gradient(135deg, #F59E0B, #FBBF24);
    box-shadow: 0 8px 20px -2px rgba(245, 158, 11, 0.5);
}

/* Card Body */
.card-details-body {
    padding: 2.2rem 1.6rem 1.6rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
}

.card-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0F172A;
    margin-bottom: 0.55rem;
    line-height: 1.3;
}

.card-description {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #64748B;
    line-height: 1.55;
    margin-bottom: 1.4rem;
    min-height: 4rem;
    position: relative;
    z-index: 2;
}

/* CTA Button (CSS pill) */
.card-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0.55rem 1.3rem;
    border-radius: 999px;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #FFFFFF;
    align-self: flex-start;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    margin-top: auto;
}

.card-cta-btn svg {
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.modern-course-card:hover .card-cta-btn svg {
    transform: translateX(4px);
}

.theme-pink .card-cta-btn {
    background: #FF3B8D;
}

.theme-pink .card-cta-btn:hover {
    background: #E02877;
}

.theme-purple .card-cta-btn {
    background: #8B5CF6;
}

.theme-purple .card-cta-btn:hover {
    background: #7C3AED;
}

.theme-blue .card-cta-btn {
    background: #3B82F6;
}

.theme-blue .card-cta-btn:hover {
    background: #2563EB;
}

.theme-orange .card-cta-btn {
    background: #F97316;
}

.theme-orange .card-cta-btn:hover {
    background: #EA580C;
}

.theme-teal .card-cta-btn {
    background: #10B981;
}

.theme-teal .card-cta-btn:hover {
    background: #059669;
}

.theme-yellow .card-cta-btn {
    background: #F59E0B;
}

.theme-yellow .card-cta-btn:hover {
    background: #D97706;
}

/* Card Wave Backdrop (SVG) */
.card-wave-backdrop {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 110px;
    pointer-events: none;
    z-index: 0;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    overflow: hidden;
}

.card-wave-backdrop svg {
    width: 100%;
    height: 100%;
    display: block;
}

.theme-pink .card-wave-backdrop {
    color: rgba(255, 59, 141, 0.08);
}

.theme-purple .card-wave-backdrop {
    color: rgba(139, 92, 246, 0.08);
}

.theme-blue .card-wave-backdrop {
    color: rgba(59, 130, 246, 0.08);
}

.theme-orange .card-wave-backdrop {
    color: rgba(249, 115, 22, 0.08);
}

.theme-teal .card-wave-backdrop {
    color: rgba(16, 185, 129, 0.08);
}

.theme-yellow .card-wave-backdrop {
    color: rgba(245, 158, 11, 0.08);
}

.floating-badge-icon-img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

/* Corner Line Illustration (Section 7) */
.card-corner-watermark-wrap {
    position: absolute;
    bottom: 12px;
    right: 14px;
    width: 78px;
    height: 78px;
    pointer-events: none;
    z-index: 2;
    opacity: 0.85;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
}

.modern-course-card:hover .card-corner-watermark-wrap {
    transform: scale(1.12) translateY(-4px);
    opacity: 1.0;
}

.corner-vector-illustration {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom right;
    display: block;
}

.theme-pink .card-corner-watermark-wrap {
    color: #FF3B8D;
}

.theme-purple .card-corner-watermark-wrap {
    color: #8B5CF6;
}

.theme-blue .card-corner-watermark-wrap {
    color: #3B82F6;
}

.theme-orange .card-corner-watermark-wrap {
    color: #F97316;
}

.theme-teal .card-corner-watermark-wrap {
    color: #10B981;
}

.theme-yellow .card-corner-watermark-wrap {
    color: #F59E0B;
}



/* ===== FOOTER ===== */
.footer {
    background-color: #0F172A;
    color: rgba(255, 255, 255, 0.7);
}

.footer .main-logo {
    filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.45)) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease;
}

.footer .main-logo:hover {
    transform: scale(1.03);
}

.footer-top {
    padding: 5rem 1.5rem;
    display: grid;
    gap: 3rem;
}

@media (min-width: 768px) {
    .footer-top {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.footer .logo-text .logo-title {
    color: var(--clr-white);
}

.footer-col h4 {
    color: var(--clr-white);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col ul a:hover {
    color: var(--clr-secondary);
}

.contact-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-list i {
    color: var(--clr-secondary);
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.footer-bottom {
    background-color: #0B0F19;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.875rem;
}

/* ===== STYLISH MODAL ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 1rem;
}

.modal-overlay.is-open {
    opacity: 1;
    pointer-events: all;
}

.modal-card {
    background: var(--clr-white);
    width: 100%;
    max-width: 500px;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(20px) scale(0.95);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.is-open .modal-card {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--clr-white);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    backdrop-filter: blur(4px);
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--clr-white);
    color: var(--clr-heading);
    transform: rotate(90deg);
}

.modal-close i {
    width: 20px;
    height: 20px;
}

.modal-banner {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-white);
    position: relative;
}

.modal-hero-icon {
    width: 64px;
    height: 64px;
    opacity: 0.9;
}

.modal-content {
    padding: 2rem;
}

.modal-content h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.modal-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--clr-text-muted);
}

.meta-tag {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: var(--clr-bg-light);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
}

.meta-tag i {
    width: 16px;
    height: 16px;
    color: var(--clr-primary-light);
}

.modal-desc {
    margin-bottom: 2rem;
    color: var(--clr-text-main);
    line-height: 1.6;
}

.modal-content h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.modal-highlights {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.modal-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--clr-text-muted);
}

.modal-highlights li::before {
    content: '✓';
    color: var(--clr-teal);
    font-weight: bold;
}

/* ===== 3D SCROLL REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(60px) scale(0.95) rotateX(-20deg);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
    transform-origin: bottom center;
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* Interactive 3D Hover for Cards */
.card-3d-hover {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    transform-style: preserve-3d;
}

.card-3d-hover:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(-5deg);
    box-shadow: -15px 20px 30px rgba(0, 0, 0, 0.15);
}

/* ===== HERO CAROUSEL ===== */
.hero-carousel {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--clr-white);
}

.hero-carousel .carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    border-radius: 0;
    /* Overrides any local img styling */
    border: none;
    box-shadow: none;
}

.hero-carousel .carousel-slide.active {
    opacity: 1;
}

/* ===== GLOBAL APPLICATION MODAL ===== */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: var(--clr-white);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 24px;
    width: 95%;
    max-width: 860px;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.15);
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    display: flex;
    overflow: hidden;
    box-sizing: border-box;
}

.modal-backdrop.active .modal-card {
    transform: scale(1) translateY(0);
}

/* Modal Sidebar */
.modal-sidebar {
    width: 350px;
    background: linear-gradient(135deg, #0F172A 0%, #1E3A8A 100%);
    position: relative;
    padding: 3rem 2.5rem;
    color: var(--clr-white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .modal-sidebar {
        display: none;
        /* Hide sidebar on mobile */
    }
}

.sidebar-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(233, 30, 99, 0.15) 0%, transparent 60%);
    pointer-events: none;
    animation: sidebarPulse 8s ease-in-out infinite alternate;
}

@keyframes sidebarPulse {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(10px, -15px) scale(1.1);
    }
}

.sidebar-logo-container {
    position: relative;
    z-index: 2;
    margin-bottom: 2rem;
}

.sidebar-content {
    position: relative;
    z-index: 2;
    margin-top: auto;
}

.sidebar-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-secondary);
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.sidebar-icon i {
    width: 28px;
    height: 28px;
}

.modal-sidebar h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--clr-white);
    margin: 0 0 1rem;
    letter-spacing: -0.5px;
}

.modal-sidebar p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0 0 2rem;
}

.sidebar-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 0;
    margin: 0;
}

.sidebar-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.sidebar-benefits li i {
    width: 18px;
    height: 18px;
    color: var(--clr-secondary);
}

/* Modal Form Area */
.modal-form-area {
    flex: 1;
    padding: 2.5rem 3rem;
    overflow-y: auto;
    max-height: 90vh;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 576px) {
    .modal-form-area {
        padding: 2rem 1.5rem;
    }
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: #F1F5F9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-heading);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    z-index: 10;
}

.modal-close:hover {
    background: #E2E8F0;
    transform: scale(1.1) rotate(90deg);
}

.modal-close i {
    width: 18px;
    height: 18px;
}

.modal-header h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--clr-heading);
    margin: 0 0 0.25rem;
}

.modal-header p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
    margin: 0 0 1.75rem;
    line-height: 1.4;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.modal-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    position: relative;
}

.modal-form label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--clr-heading);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modal-form input,
.modal-form select,
.modal-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    font-family: inherit;
    font-size: 0.95rem;
    border: 1px solid #CBD5E1;
    border-radius: 12px;
    background-color: #F8FAFC;
    color: var(--clr-heading);
    outline: none;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.modal-form textarea {
    resize: none;
    height: 80px;
}

.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
    border-color: var(--clr-primary);
    background-color: var(--clr-white);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.modal-form button[type="submit"] {
    margin-top: 0.75rem;
    padding: 0.9rem;
    background-color: var(--clr-primary);
    color: var(--clr-white);
    font-weight: 700;
    font-size: 1rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.modal-form button[type="submit"]:hover {
    background-color: #2563EB;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(59, 130, 246, 0.3);
}

.modal-form button[type="submit"]:disabled {
    background-color: #94A3B8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Modal states & success screen */
.modal-success-screen {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1.5rem 0;
}

.checkmark-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #DCFCE7;
    color: #22C55E;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    animation: scaleUpCheck 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.checkmark-circle i {
    width: 36px;
    height: 36px;
}

@keyframes scaleUpCheck {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-success-screen h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--clr-heading);
    margin: 0 0 0.5rem;
}

.modal-success-screen p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
    margin: 0 0 1.5rem;
    line-height: 1.5;
}

/* Spinner Animation Utility */
.spinner {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    width: 14px;
    height: 14px;
    animation: spin 0.8s linear infinite;
    display: inline-block;
    vertical-align: middle;
    margin-left: 8px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* ===== TESTIMONIALS SECTION (ASSET SHEET DESIGN) ===== */
.testimonials-section {
    position: relative;
    scroll-margin-top: 90px;
    padding: 6.5rem 0 6rem;
    background-color: #F8FAFF;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FAFF 40%, #FFFFFF 100%);
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    border-top: 1px solid rgba(226, 232, 240, 0.6);
}

/* Ambient Decor Layer */
.testimonials-ambient-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.testi-bokeh {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(4px);
}

.bokeh-pink-left {
    width: 220px;
    height: 220px;
    left: -40px;
    top: 20px;
    background: radial-gradient(circle, rgba(255, 45, 122, 0.14) 0%, rgba(252, 231, 243, 0.25) 55%, transparent 75%);
}

.bokeh-blue-right {
    width: 240px;
    height: 240px;
    right: -40px;
    top: 40px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.14) 0%, rgba(219, 234, 254, 0.25) 55%, transparent 75%);
}

.testi-dot-matrix {
    position: absolute;
    top: 45px;
    right: 4%;
    pointer-events: none;
    z-index: 1;
}

.testi-ambient-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 220px;
    pointer-events: none;
    z-index: 0;
}

.testi-ambient-wave svg {
    width: 100%;
    height: 100%;
}

.testimonials-container {
    position: relative;
    z-index: 2;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
.testimonials-header {
    margin-bottom: 3.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonials-pretitle {
    display: inline-block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: #FF2D7A;
    margin-bottom: 0.8rem;
    text-transform: uppercase;
}

.testimonials-main-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.85rem;
    font-weight: 700;
    color: #0F172A;
    line-height: 1.25;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.4rem;
    position: relative;
}

.title-ticks-left {
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.3rem;
}

.title-ticks-right {
    display: inline-block;
    vertical-align: middle;
    margin-left: 0.3rem;
}

.highlight-students {
    color: #FF2D7A;
    position: relative;
    display: inline-block;
}

.students-brush-svg {
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 100%;
    height: 12px;
    pointer-events: none;
}

.testimonials-subheading {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    color: #64748B;
    line-height: 1.6;
    max-width: 680px;
    margin: 0 auto;
}

/* Cards Grid */
/* Testimonials Carousel Viewport & Sliding Track */
.testimonials-carousel-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 1.5rem 0.5rem;
    margin: -1.5rem -0.5rem 1.5rem;
    position: relative;
    box-sizing: border-box;
}

.testimonials-grid-v2 {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 1.5rem !important;
    margin-bottom: 0;
    transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
    width: 100%;
    box-sizing: border-box;
}

/* Card Base: EXACTLY 3 PER VIEW ON DESKTOP */
.testimonial-card-v2 {
    flex: 0 0 calc((100% - 3rem) / 3) !important;
    width: calc((100% - 3rem) / 3) !important;
    min-width: calc((100% - 3rem) / 3) !important;
    max-width: calc((100% - 3rem) / 3) !important;
    flex-shrink: 0 !important;
    box-sizing: border-box;
    cursor: pointer;
    background-color: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    border-radius: 24px;
    padding: 2.25rem 2rem 2.25rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
}

@media (max-width: 1024px) {
    .testimonial-card-v2 {
        flex: 0 0 calc((100% - 1.5rem) / 2) !important;
        width: calc((100% - 1.5rem) / 2) !important;
        min-width: calc((100% - 1.5rem) / 2) !important;
        max-width: calc((100% - 1.5rem) / 2) !important;
    }
}

@media (max-width: 680px) {
    .testimonial-card-v2 {
        flex: 0 0 100% !important;
        width: 100% !important;
        min-width: 100% !important;
        max-width: 100% !important;
    }
}

.testimonial-card-v2:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px -4px rgba(15, 23, 42, 0.08);
}

/* Active / Center Card (Card Style 2) */
.testimonial-card-v2.active-featured {
    border: 2px solid #3B82F6;
    box-shadow: 0 16px 36px -6px rgba(59, 130, 246, 0.16), 0 4px 12px rgba(15, 23, 42, 0.04);
    transform: translateY(-4px);
}

.testimonial-card-v2.active-featured:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 42px -6px rgba(59, 130, 246, 0.22);
}

/* Card Top (User + Badge) */
.card-v2-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.card-v2-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar-wrapper {
    position: relative;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    flex-shrink: 0;
}

.avatar-wrapper.ring-pink {
    border: 2.5px solid #FCE7F3;
}

.avatar-wrapper.ring-blue {
    border: 2.5px solid #DBEAFE;
}

.avatar-wrapper.ring-peach {
    border: 2.5px solid #FFE4E6;
}

.user-avatar-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.online-status-dot {
    position: absolute;
    top: 1px;
    right: 1px;
    width: 14px;
    height: 14px;
    background-color: #10B981;
    border: 2.5px solid #FFFFFF;
    border-radius: 50%;
}

.user-meta .user-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.12rem;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 0.15rem;
    line-height: 1.2;
}

.user-meta .user-role {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748B;
    margin-bottom: 0.35rem;
}

.rating-stars {
    color: #F59E0B;
    font-size: 0.85rem;
    letter-spacing: 2px;
}

/* Course Badge Icon */
.course-badge-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.badge-pink {
    background-color: #FDF2F8;
    border: 1.5px solid #FCE7F3;
}

.badge-blue {
    background-color: #EFF6FF;
    border: 1.5px solid #DBEAFE;
}

.badge-peach {
    background-color: #FFF1F2;
    border: 1.5px solid #FFE4E6;
}

/* Quotes */
.rating-stars-svg { display: flex; align-items: center; gap: 3px; margin-top: 2px; } .card-v2-quote-open {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.5rem;
    line-height: 0.8;
    height: 28px;
    margin-bottom: 0.5rem;
    user-select: none;
}

.quote-mark-svg { display: block; } .card-v2-quote-close {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    line-height: 0.8;
    text-align: right;
    margin-top: 0.5rem;
    user-select: none;
}

.quote-pink {
    color: #FF2D7A;
    opacity: 0.4;
}

.quote-blue {
    color: #3B82F6;
    opacity: 0.45;
}

.quote-peach {
    color: #FB7185;
    opacity: 0.45;
}

/* Quote Body */
.card-v2-body {
    position: relative;
    z-index: 1;
    flex-grow: 1;
}

.quote-text {
    font-family: 'Poppins', sans-serif;
    font-size: 0.96rem;
    font-style: italic;
    color: #475569;
    line-height: 1.68;
    margin: 0;
}

/* Card Corner Wave Shapes */
.card-v2-wave {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 180px;
    height: 60px;
    pointer-events: none;
    z-index: 0;
}

.card-v2-wave svg {
    width: 100%;
    height: 100%;
}

/* Navigation Controls / Slider */
.testimonials-nav-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1.5rem;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.nav-arrow-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: #FFFFFF;
    border: 1.5px solid #E2E8F0;
    color: #0F172A;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    pointer-events: auto;
}

.nav-arrow-btn:hover {
    background-color: #FF2D7A;
    border-color: #FF2D7A;
    color: #FFFFFF;
    box-shadow: 0 6px 18px rgba(255, 45, 122, 0.28);
    transform: translateY(-2px);
}

.nav-arrow-btn:active {
    transform: scale(0.92);
}

.slider-track-pills {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.pill-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #CBD5E1;
    border: none;
    outline: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    pointer-events: auto;
}

.pill-dot:hover:not(.active) {
    background-color: #94A3B8;
    transform: scale(1.3);
}

.pill-dot.active {
    width: 34px;
    border-radius: 9999px;
    background-color: #FF2D7A;
    box-shadow: 0 2px 8px rgba(255, 45, 122, 0.35);
}

.testimonial-card-v2 {
    cursor: pointer;
}

@media (max-width: 768px) {
    .testimonials-main-title {
        font-size: 2.1rem;
    }
    .testimonials-section {
        padding: 4.5rem 0;
    }
}

/* ===== PARTNERS CAROUSEL SECTION ===== */
.partners-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, var(--clr-bg-light) 0%, var(--clr-white) 100%);
    overflow: hidden;
    position: relative;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.partners-carousel-container {
    position: relative;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1.5rem 0;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    scrollbar-width: none;
    -ms-overflow-style: none;
    mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

.partners-carousel-container::-webkit-scrollbar {
    display: none;
}

.partners-carousel-container.grabbing {
    cursor: grabbing;
}

.partners-track {
    display: flex;
    width: max-content;
}

.partners-group {
    display: flex;
    gap: 2.2rem;
    padding-right: 2.2rem;
    align-items: center;
}

.partner-logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-width: 110px;
    max-width: 175px;
    height: 75px;
    padding: 0 0.6rem;
    flex-shrink: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.3s ease;
}

.partner-logo-item:hover {
    transform: scale(1.08);
}

.partner-logo-item img {
    height: 58px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    pointer-events: none;
    transition: transform 0.3s ease;
}

@keyframes partnersMarquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Social Icons in Footer */
.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-socials a:hover {
    color: #fff;
    transform: translateY(-3px) scale(1.05);
}

.footer-socials a[aria-label="Facebook"]:hover {
    background-color: #1877F2;
    border-color: #1877F2;
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
}

.footer-socials a[aria-label="Instagram"]:hover {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border-color: #dc2743;
    box-shadow: 0 6px 20px rgba(220, 39, 67, 0.4);
}

.footer-socials a[aria-label="LinkedIn"]:hover {
    background-color: #0A66C2;
    border-color: #0A66C2;
    box-shadow: 0 6px 20px rgba(10, 102, 194, 0.4);
}

.footer-socials a[aria-label="YouTube"]:hover {
    background-color: #FF0000;
    border-color: #FF0000;
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
}

.footer-socials a i,
.footer-socials a svg {
    width: 20px;
    height: 20px;
    display: block;
    stroke: currentColor;
    stroke-width: 2px;
    fill: none;
}

/* Mobile Toggle Button */
.nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--clr-heading);
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
}

.nav-toggle:hover {
    color: var(--clr-secondary);
}

.nav-toggle svg {
    width: 28px;
    height: 28px;
}

@media (max-width: 991.98px) {
    .nav-toggle {
        display: inline-flex;
    }

    .navbar {
        padding: 0.5rem 0;
    }

    .navbar .main-logo {
        height: 70px !important;
    }

    .navbar .btn-primary {
        padding: 0.5rem 1rem !important;
        font-size: 0.875rem !important;
        white-space: nowrap !important;
        margin-left: auto;
        margin-right: 0.75rem;
    }

    /* Navigation Drawer */
    .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background-color: var(--clr-card-bg);
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
        padding: 6rem 2rem 2rem;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 105;
        gap: 1.5rem;
    }

    .nav-links.active {
        right: 0;
    }
}

@media (max-width: 480px) {
    .navbar .main-logo {
        height: 55px !important;
    }

    .navbar .btn-primary {
        padding: 0.40rem 0.8rem !important;
        font-size: 0.8rem !important;
    }
}

@media (min-width: 992px) {
    .nav-toggle {
        display: none;
    }
}
/* Additional Testimonial Themes (Orange & Emerald) */
.avatar-wrapper.ring-orange {
    border: 2.5px solid #FED7AA;
}

.avatar-wrapper.ring-emerald {
    border: 2.5px solid #A7F3D0;
}

.badge-orange {
    background-color: #FFF7ED;
    border: 1.5px solid #FED7AA;
}

.badge-emerald {
    background-color: #ECFDF5;
    border: 1.5px solid #A7F3D0;
}

.quote-orange {
    color: #F97316;
    opacity: 0.45;
}

.quote-emerald {
    color: #10B981;
    opacity: 0.45;
}

/* Distinct Card Borders When Active */
.testimonial-card-v2.theme-pink.active-featured {
    border-color: #FF2D7A;
    box-shadow: 0 16px 36px -6px rgba(255, 45, 122, 0.22), 0 4px 12px rgba(15, 23, 42, 0.04);
}

.testimonial-card-v2.theme-blue.active-featured {
    border-color: #3B82F6;
    box-shadow: 0 16px 36px -6px rgba(59, 130, 246, 0.22), 0 4px 12px rgba(15, 23, 42, 0.04);
}

.testimonial-card-v2.theme-peach.active-featured {
    border-color: #FB7185;
    box-shadow: 0 16px 36px -6px rgba(251, 113, 133, 0.22), 0 4px 12px rgba(15, 23, 42, 0.04);
}

.testimonial-card-v2.theme-orange.active-featured {
    border-color: #F97316;
    box-shadow: 0 16px 36px -6px rgba(249, 115, 22, 0.22), 0 4px 12px rgba(15, 23, 42, 0.04);
}

.testimonial-card-v2.theme-emerald.active-featured {
    border-color: #10B981;
    box-shadow: 0 16px 36px -6px rgba(16, 185, 129, 0.22), 0 4px 12px rgba(15, 23, 42, 0.04);
}
