/* ==========================================================================
   PETCIX ACADEMY — HOME PAGE STYLES
   ==========================================================================
   Located at: static/css/home.css
   Used by: templates/home.html
   Table of Contents:
     1. Hero Section & Background Carousel
     2. Metrics Counter Bar
     3. Flagship Courses
     4. Micro-Certificates
     5. Career Journey Roadmap
     6. Split Feature Section (Why PetCix & Batches)
     7. Testimonials Carousel
     8. CTA Banner
     9. Responsive Breakpoints (Home Sections)
   ========================================================================== */


/* ==========================================================================
   1. HERO SECTION & BACKGROUND CAROUSEL
   ========================================================================== */
.hero {
    padding-top: 7rem;
    padding-bottom: 3rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    width: calc(100% - 3rem);
    max-width: calc(var(--container-max) - 3rem);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

/* --- Hero Background Carousel --- */
.hero-bg-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    will-change: opacity, transform;
}

.hero-bg-slide.active {
    opacity: 1;
}

/* Ken Burns subtle zoom/pan animations — 4 variations */
@keyframes kenBurns1 {
    0% {
        transform: scale(1) translate(0, 0);
    }

    100% {
        transform: scale(1.08) translate(-1%, -0.5%);
    }
}

@keyframes kenBurns2 {
    0% {
        transform: scale(1.05) translate(-1%, 0.5%);
    }

    100% {
        transform: scale(1) translate(0.5%, -0.5%);
    }
}

@keyframes kenBurns3 {
    0% {
        transform: scale(1) translate(0.5%, 0);
    }

    100% {
        transform: scale(1.06) translate(-0.5%, 0.5%);
    }
}

@keyframes kenBurns4 {
    0% {
        transform: scale(1.04) translate(0, 0.5%);
    }

    100% {
        transform: scale(1) translate(0, -0.5%);
    }
}

.hero-bg-slide:nth-child(1) {
    animation: kenBurns1 12s ease-in-out infinite alternate;
}

.hero-bg-slide:nth-child(2) {
    animation: kenBurns2 12s ease-in-out infinite alternate;
}

.hero-bg-slide:nth-child(3) {
    animation: kenBurns3 12s ease-in-out infinite alternate;
}

.hero-bg-slide:nth-child(4) {
    animation: kenBurns4 12s ease-in-out infinite alternate;
}

/* Overlay for text readability */
.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(49, 27, 23, 0.55) 0%,
            rgba(49, 27, 23, 0.35) 40%,
            rgba(49, 27, 23, 0.2) 70%,
            rgba(49, 27, 23, 0.15) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Hero container sits above the background */
.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 680px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    background: linear-gradient(135deg, rgba(248, 216, 236, 0.25), rgba(206, 78, 222, 0.3));
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-full);
    width: fit-content;
}

.hero h1 {
    line-height: 1.15;
    letter-spacing: -0.5px;
    color: #fff;
}

.hero h1 span {
    background: linear-gradient(135deg, #F8D8EC, #e8a0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    max-width: 520px;
    color: rgba(255, 255, 255, 0.88);
}

.hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}


/* ==========================================================================
   2. METRICS COUNTER BAR
   ========================================================================== */
.metrics {
    padding: 0 0 2rem;
    margin-top: 0;
    position: relative;
    z-index: 5;
}

.metrics-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    padding: 2.5rem 3rem;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    border: 1px solid rgba(206, 78, 222, 0.08);
}

.metric-item {
    text-align: center;
    position: relative;
}

.metric-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: 15%;
    height: 70%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--color-soft-pink), transparent);
}

.metric-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--color-primary-magenta), var(--color-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.metric-label {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--color-text-muted);
    margin-top: 0.5rem;
}


/* ==========================================================================
   3. FLAGSHIP COURSES (COMPACT PREMIUM TWO-CARD LAYOUT)
   ========================================================================== */
.courses {
    background: linear-gradient(180deg, var(--bg-canvas) 0%, #f6e6f9 100%);
    position: relative;
    overflow: hidden;
}

/* Subtle paw print ambient watermarks on section edges */
.courses::before,
.courses::after {
    content: '🐾';
    position: absolute;
    font-size: 2.5rem;
    color: rgba(206, 78, 222, 0.12);
    pointer-events: none;
    z-index: 1;
}

.courses::before {
    top: 55%;
    left: 2%;
    transform: rotate(-15deg);
}

.courses::after {
    top: 50%;
    right: 2%;
    transform: rotate(20deg);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.65rem;
    max-width: 1040px;
    margin: 0 auto;
    align-items: stretch;
    position: relative;
    z-index: 2;
}

/* Watermark in center between cards */
.courses-grid::after {
    content: '🐾';
    position: absolute;
    top: 52%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(10deg);
    font-size: 2rem;
    color: rgba(206, 78, 222, 0.1);
    pointer-events: none;
    z-index: 0;
}

.course-card {
    background: #ffffff;
    border-radius: 24px;
    border: 1.5px solid rgba(220, 185, 245, 0.55);
    overflow: hidden;
    box-shadow: 0 10px 32px -4px rgba(109, 61, 210, 0.09), 0 3px 12px rgba(206, 78, 222, 0.05);
    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;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px -6px rgba(109, 61, 210, 0.16), 0 8px 20px rgba(206, 78, 222, 0.12);
    border-color: rgba(206, 78, 222, 0.45);
}

/* 1. HERO IMAGE */
.course-card-image {
    position: relative;
    width: 100%;
    height: 215px;
    overflow: hidden;
    background: #f5e4f7;
    border-top-left-radius: 22px;
    border-top-right-radius: 22px;
}

.course-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.course-card:hover .course-card-image img {
    transform: scale(1.04);
}

/* Certified Badge on Image */
.course-certified-badge {
    position: absolute;
    top: 13px;
    left: 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(206, 78, 222, 0.25);
    border-radius: 9999px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #6D3DD2;
    box-shadow: 0 3px 10px rgba(49, 27, 23, 0.1);
}

.course-certified-badge i {
    font-size: 0.72rem;
    color: #CE4EDE;
}

/* 2. PROMINENT FREE BONUS OFFER BANNER */
.course-offer-banner {
    position: relative;
    z-index: 6;
    margin-top: -24px;
    margin-bottom: 0.5rem;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 3D Gift Box Visual */
.offer-gift-visual {
    position: relative;
    margin-right: -10px;
    z-index: 2;
    width: 52px;
    height: 52px;
    flex-shrink: 0;
}

.offer-gift-visual .gift-box-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 6px 14px rgba(206, 78, 222, 0.45));
    animation: giftFloat 3.2s ease-in-out infinite;
    transform-origin: center bottom;
}

/* Sparkle elements around gift box */
.gift-sparkle {
    position: absolute;
    pointer-events: none;
    line-height: 1;
}

.gift-sparkle.sparkle-1 {
    top: -2px;
    left: 1px;
    font-size: 0.85rem;
    color: #ffe600;
    animation: sparkleTwinkle 2.4s ease-in-out infinite;
}

.gift-sparkle.sparkle-2 {
    bottom: 0px;
    right: 2px;
    font-size: 0.9rem;
    color: #ff7be5;
    animation: sparkleTwinkle 2.8s ease-in-out infinite 0.6s;
}

.gift-sparkle.sparkle-3 {
    top: -5px;
    right: 8px;
    font-size: 0.75rem;
    color: #ffffff;
    animation: sparkleTwinkle 2.1s ease-in-out infinite 1.2s;
}

/* Glowing Offer Pill Badge */
.offer-pill-badge {
    position: relative;
    background: linear-gradient(90deg, #d82bba 0%, #a022d2 50%, #6d3dd2 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    border-radius: 9999px;
    box-shadow: 0 0 20px rgba(217, 38, 169, 0.6), 0 4px 16px rgba(109, 61, 210, 0.4);
    animation: badgePulse 3.2s ease-in-out infinite;
    padding: 0.38rem 1.25rem 0.38rem 1.15rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Shimmer beam traveling across pill */
.offer-pill-badge::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transform: skewX(-20deg);
    animation: badgeShimmer 4.5s ease-in-out infinite;
    pointer-events: none;
}

.offer-headline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    color: #ffffff;
    white-space: nowrap;
}

.offer-emoji-gift {
    font-size: 0.85rem;
    line-height: 1;
}

.offer-emoji-bow {
    font-size: 0.85rem;
    line-height: 1;
    display: inline-block;
    animation: bowSway 3s ease-in-out infinite;
}

.offer-headline-text {
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.offer-headline-free {
    color: #ffe600;
    font-weight: 900;
    letter-spacing: 0.6px;
    text-shadow: 0 0 10px rgba(255, 230, 0, 0.85), 0 0 18px rgba(255, 120, 240, 0.7);
    animation: textGlowPulse 2.8s ease-in-out infinite;
    margin-right: 2px;
}

.offer-subtext {
    font-size: 0.62rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.94);
    letter-spacing: 0.2px;
    line-height: 1.1;
    margin-top: 1px;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

/* CARD BODY */
.course-card-body {
    padding: 0.75rem 1.35rem 1.35rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* 3. PATHWAY LABEL */
.course-pathway-label {
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: #6D3DD2;
    margin-bottom: 0.2rem;
}

/* 4. COURSE TITLE & CODE */
.course-card-title {
    font-size: 1.22rem;
    font-weight: 800;
    line-height: 1.28;
    color: #1e1b4b;
    margin-bottom: 0.3rem;
    letter-spacing: -0.2px;
}

.course-code-pill {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    color: #6D3DD2;
    background: rgba(109, 61, 210, 0.08);
    border: 1px solid rgba(109, 61, 210, 0.16);
    padding: 2px 8px;
    border-radius: 6px;
    letter-spacing: 0.8px;
    margin-bottom: 0.65rem;
    width: fit-content;
}

/* 5. COURSE META INFORMATION */
.course-meta-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem 1.1rem;
    flex-wrap: wrap;
    padding: 0.52rem 0.85rem;
    background: #faf6fd;
    border: 1px solid rgba(206, 78, 222, 0.14);
    border-radius: 12px;
    margin-bottom: 0.65rem;
}

.course-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #1e1b4b;
}

.course-meta-item .meta-icon {
    font-size: 0.84rem;
    color: #6D3DD2;
}

.course-meta-item.course-meta-fee {
    font-weight: 800;
    color: #6D3DD2;
}

/* 6. PRACTICAL & CERTIFICATE TAGS */
.course-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}

.course-tag {
    padding: 3px 12px;
    font-size: 0.72rem;
    font-weight: 700;
    border-radius: 9999px;
    color: #6D3DD2;
    background: rgba(109, 61, 210, 0.07);
    border: 1px solid rgba(109, 61, 210, 0.16);
    line-height: 1.25;
}

/* 7. HIGHLIGHTED BONUS COURSES PANEL */
.bonus-panel {
    background: linear-gradient(135deg, rgba(254, 242, 255, 0.9) 0%, rgba(246, 238, 255, 0.86) 100%);
    border: 1px solid rgba(206, 78, 222, 0.28);
    box-shadow: 0 4px 18px rgba(206, 78, 222, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 16px;
    padding: 0.75rem 0.95rem;
    margin-bottom: 0.8rem;
    position: relative;
    overflow: hidden;
}

.bonus-corner-ribbon {
    position: absolute;
    top: -4px;
    right: 8px;
    font-size: 1.1rem;
    opacity: 0.7;
    transform: rotate(15deg);
    pointer-events: none;
}

.bonus-panel-inner {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    position: relative;
    z-index: 2;
}

.bonus-gift-thumb {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
}

.bonus-gift-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: giftFloat 3.8s ease-in-out infinite;
    transform-origin: center bottom;
}

.bonus-panel-content {
    flex: 1;
    min-width: 0;
}

.bonus-panel-header {
    margin-bottom: 0.35rem;
}

.bonus-panel-title {
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #6D3DD2;
    display: block;
}

.bonus-courses-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.22rem;
}

.bonus-courses-list li {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #1e1b4b;
}

.bonus-check-icon {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #6D3DD2;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.55rem;
    font-weight: 900;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(109, 61, 210, 0.3);
}

.bonus-item-name {
    line-height: 1.25;
}

.bonus-panel-note {
    font-size: 0.7rem;
    color: #8b5cf6;
    font-style: italic;
    margin-top: 0.3rem;
    line-height: 1.25;
}

.bonus-sparkle-star {
    position: absolute;
    right: 28px;
    top: 12px;
    font-size: 0.85rem;
    color: #CE4EDE;
    opacity: 0.75;
    animation: sparkleTwinkle 3s ease-in-out infinite;
    pointer-events: none;
}

.bonus-paw-watermark {
    position: absolute;
    right: 10px;
    bottom: 4px;
    font-size: 1.85rem;
    color: #CE4EDE;
    opacity: 0.16;
    pointer-events: none;
}

/* 8. CAREER OUTCOMES */
.course-careers {
    margin-bottom: 0.85rem;
}

.course-careers-title {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #7c3aed;
    margin-bottom: 0.35rem;
}

.course-career-list {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.career-pill {
    padding: 3px 10px;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 9999px;
    color: #1e1b4b;
    background: rgba(165, 143, 200, 0.12);
    border: 1px solid rgba(165, 143, 200, 0.22);
    line-height: 1.25;
}

.career-pill.more {
    color: #CE4EDE;
    background: rgba(206, 78, 222, 0.1);
    border-color: rgba(206, 78, 222, 0.25);
    font-weight: 700;
}

/* 9. CTA BUTTONS */
.course-card-footer {
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(206, 78, 222, 0.12);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.course-card-footer .btn {
    width: 100%;
    padding: 10px 16px;
    font-size: 0.86rem;
    font-weight: 700;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    letter-spacing: 0.2px;
    border: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

/* Specular glassy highlight on buttons */
.course-card-footer .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 48%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 9999px 9999px 0 0;
    pointer-events: none;
}

/* View Course Button: Bright pink-to-magenta gradient */
.btn-view-course {
    background: linear-gradient(135deg, #e448be 0%, #c432d4 50%, #b026df 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(228, 72, 190, 0.35);
}

.btn-view-course:hover {
    background: linear-gradient(135deg, #eb5ac7 0%, #d13cdb 50%, #bc38ea 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(228, 72, 190, 0.52);
    color: #ffffff !important;
}

/* Enroll Now Button: Deep purple-to-violet gradient */
.btn-enroll-now {
    background: linear-gradient(135deg, #6d3dd2 0%, #4a1d96 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 16px rgba(109, 61, 210, 0.38);
}

.btn-enroll-now:hover {
    background: linear-gradient(135deg, #7c44e8 0%, #5824aa 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(109, 61, 210, 0.58);
    color: #ffffff !important;
}

.course-card-footer .btn:active {
    transform: translateY(0);
}

/* Backward-compatibility alias for other button selectors */
.course-card-footer .btn-primary {
    background: linear-gradient(135deg, #e448be 0%, #c432d4 50%, #b026df 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(228, 72, 190, 0.35);
}

.course-card-footer .btn-purple {
    background: linear-gradient(135deg, #6d3dd2 0%, #4a1d96 100%);
    color: #fff;
    box-shadow: 0 4px 16px rgba(109, 61, 210, 0.38);
}

/* ==========================================================================
   ANIMATION KEYFRAMES FOR COURSE CARDS
   ========================================================================== */
@keyframes giftFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-5px) rotate(-2deg);
    }
}

@keyframes bowSway {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(5deg);
    }
    75% {
        transform: rotate(-5deg);
    }
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 0 18px rgba(217, 38, 169, 0.55), 0 4px 14px rgba(109, 61, 210, 0.35);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 26px rgba(217, 38, 169, 0.8), 0 6px 18px rgba(109, 61, 210, 0.45);
        transform: scale(1.015);
    }
}

@keyframes badgeShimmer {
    0%, 70% {
        transform: translateX(-150%) skewX(-20deg);
    }
    100% {
        transform: translateX(250%) skewX(-20deg);
    }
}

@keyframes textGlowPulse {
    0%, 100% {
        text-shadow: 0 0 8px rgba(255, 230, 0, 0.7), 0 0 16px rgba(255, 120, 240, 0.5);
        filter: drop-shadow(0 0 2px rgba(255, 230, 0, 0.4));
    }
    50% {
        text-shadow: 0 0 14px rgba(255, 240, 100, 0.95), 0 0 24px rgba(255, 100, 230, 0.8);
        filter: drop-shadow(0 0 6px rgba(255, 230, 0, 0.7));
    }
}

@keyframes sparkleTwinkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.75) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.2) rotate(180deg);
    }
}

/* Accessibility: respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {
    .offer-pill-badge,
    .offer-gift-visual .gift-box-img,
    .gift-sparkle,
    .offer-headline-free,
    .offer-emoji-bow,
    .bonus-gift-img,
    .bonus-sparkle-star,
    .course-card,
    .course-card-image img {
        animation: none !important;
        transition: none !important;
    }
}


/* ==========================================================================
   4. MICRO-CERTIFICATES (QUICK CERTIFICATIONS — COMING SOON)
   ========================================================================== */
.micro-certs {
    background: var(--bg-canvas);
    position: relative;
    padding: var(--section-py) 0;
}

.micro-certs-header {
    margin-bottom: 2.25rem;
}

.micro-certs-badge {
    background: rgba(245, 218, 250, 0.45);
    border: 1px solid rgba(217, 70, 239, 0.25);
    color: #c026d3;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.4px;
    padding: 6px 18px;
    border-radius: var(--radius-full);
}

.micro-certs-heading {
    margin-top: 0.85rem;
    margin-bottom: 0.45rem;
    font-size: clamp(1.85rem, 3.5vw, 2.45rem);
    font-weight: 800;
    color: #2b1437;
    letter-spacing: -0.02em;
}

.micro-certs-subtext {
    max-width: 620px;
    margin: 0 auto;
    font-size: 1rem;
    color: #74607e;
    line-height: 1.6;
}

/* --- Wide Horizontal Coming Soon Announcement Card --- */
.micro-coming-soon-card {
    position: relative;
    max-width: 1080px;
    width: 100%;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.82) 0%, rgba(255, 245, 253, 0.6) 100%);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1.5px solid rgba(255, 255, 255, 0.9);
    border-radius: 26px;
    box-shadow:
        0 20px 45px -12px rgba(195, 130, 225, 0.2),
        0 4px 16px rgba(195, 130, 225, 0.08),
        inset 0 1px 2px rgba(255, 255, 255, 0.95);
    padding: 2.25rem 3.5rem;
    display: flex;
    align-items: center;
    gap: 3.5rem;
    overflow: hidden;
    transition: transform 0.4s var(--ease-premium), box-shadow 0.4s var(--ease-premium);
}

.micro-coming-soon-card:hover {
    transform: translateY(-4px);
    box-shadow:
        0 26px 50px -12px rgba(195, 130, 225, 0.28),
        0 6px 20px rgba(195, 130, 225, 0.12),
        inset 0 1px 2px rgba(255, 255, 255, 1);
}

/* Decorative Background Accents in Card */
.card-deco-cloud-br {
    position: absolute;
    right: -30px;
    bottom: -40px;
    width: 220px;
    height: 150px;
    background: radial-gradient(ellipse at center, rgba(240, 185, 252, 0.35) 0%, rgba(245, 210, 255, 0.15) 50%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.card-deco-paw {
    position: absolute;
    color: #c026d3;
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
    transition: opacity 0.3s ease;
}

.card-deco-paw-tl {
    top: 24px;
    left: 28px;
    font-size: 1.6rem;
    transform: rotate(-15deg);
}

.card-deco-paw-tr {
    top: 36px;
    right: 48px;
    font-size: 1.75rem;
    transform: rotate(20deg);
}

.card-deco-sparkle-br {
    position: absolute;
    bottom: 24px;
    right: 32px;
    color: #d946ef;
    opacity: 0.35;
    font-size: 1rem;
    pointer-events: none;
}

/* Left Visual: 3D Rocket in Glass Sphere */
.micro-visual-wrapper {
    position: relative;
    flex-shrink: 0;
    width: 190px;
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.micro-rocket-sphere {
    position: relative;
    width: 175px;
    height: 175px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.95) 0%, rgba(250, 235, 255, 0.75) 45%, rgba(235, 195, 252, 0.35) 80%, rgba(220, 170, 248, 0.15) 100%);
    box-shadow:
        0 10px 28px -4px rgba(185, 115, 225, 0.28),
        inset 0 2px 6px rgba(255, 255, 255, 0.9),
        inset 0 -3px 8px rgba(200, 140, 235, 0.25);
    border: 1.5px solid rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
}

.micro-rocket-anim {
    width: 135px;
    height: 135px;
    animation: rocketFloat 3.8s ease-in-out infinite;
    filter: drop-shadow(0 6px 12px rgba(147, 51, 234, 0.22));
    display: block;
}

@keyframes rocketFloat {

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

    50% {
        transform: translateY(-6px) rotate(2deg);
    }
}

/* Sparkles on Sphere */
.micro-sparkle {
    position: absolute;
    color: #c026d3;
    pointer-events: none;
    z-index: 2;
    animation: sparkleTwinkle 2.8s ease-in-out infinite;
}

.micro-sparkle-1 {
    top: 8px;
    right: 12px;
    font-size: 1.15rem;
    animation-delay: 0s;
}

.micro-sparkle-2 {
    top: 50%;
    right: -10px;
    font-size: 0.85rem;
    animation-delay: 0.9s;
}

.micro-sparkle-3 {
    bottom: 12px;
    left: 8px;
    font-size: 0.95rem;
    animation-delay: 1.8s;
}

@keyframes sparkleTwinkle {

    0%,
    100% {
        opacity: 0.45;
        transform: scale(0.85);
    }

    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}

/* Right / Center Content Stack */
.micro-content-stack {
    position: relative;
    z-index: 1;
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.micro-cs-badge {
    display: inline-block;
    background: linear-gradient(135deg, #c084fc 0%, #d946ef 100%);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    padding: 4px 18px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 12px rgba(217, 70, 239, 0.32);
    margin-bottom: 0.85rem;
}

.micro-cs-heading {
    font-size: clamp(1.25rem, 2.2vw, 1.55rem);
    font-weight: 800;
    color: #261135;
    margin-bottom: 0.55rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.micro-cs-desc {
    font-size: clamp(0.88rem, 1.2vw, 0.96rem);
    color: #63506d;
    line-height: 1.55;
    max-width: 540px;
    margin: 0 auto 1rem auto;
}

.micro-cs-stay-tuned {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(243, 232, 255, 0.85);
    border: 1px solid rgba(216, 180, 254, 0.65);
    color: #9333ea;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 5px 18px;
    border-radius: var(--radius-full);
    box-shadow: 0 2px 8px rgba(147, 51, 234, 0.08);
}


/* ==========================================================================
   5. CAREER JOURNEY ROADMAP
   ========================================================================== */
.career-journey {
    background: linear-gradient(135deg, #f5e6f8, #ece4f5, #e6edf9);
}

.roadmap {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
    padding: 2rem 0;
}

/* Connecting line */
.roadmap::before {
    content: '';
    position: absolute;
    top: calc(2rem + 32px);
    left: 8%;
    right: 8%;
    height: 3px;
    background: linear-gradient(90deg,
            var(--color-primary-magenta),
            var(--color-purple),
            var(--color-royal-blue),
            var(--color-sky-blue),
            var(--color-teal),
            var(--color-green));
    border-radius: 2px;
    z-index: 0;
    transform: translateY(-50%);
}

.roadmap-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 1;
}

.roadmap-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background: var(--bg-card);
    border: 3px solid var(--color-primary-magenta);
    box-shadow: var(--shadow-md);
    margin-bottom: 1rem;
    transition: all 0.3s var(--ease-premium);
}

.roadmap-step:nth-child(2) .roadmap-circle {
    border-color: var(--color-purple);
}

.roadmap-step:nth-child(3) .roadmap-circle {
    border-color: var(--color-royal-blue);
}

.roadmap-step:nth-child(4) .roadmap-circle {
    border-color: var(--color-sky-blue);
}

.roadmap-step:nth-child(5) .roadmap-circle {
    border-color: var(--color-teal);
}

.roadmap-step:nth-child(6) .roadmap-circle {
    border-color: var(--color-green);
}

.roadmap-step:hover .roadmap-circle {
    transform: scale(1.15);
    box-shadow: var(--shadow-glow-magenta);
}

.roadmap-title {
    font-size: 0.88rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.roadmap-desc {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}


/* ==========================================================================
   6. SPLIT FEATURE SECTION (WHY PETCIX & BATCHES)
   ========================================================================== */
.split-feature {
    background: var(--bg-canvas);
    padding: 4.5rem 0;
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: stretch;
}

.split-grid.no-batches,
.split-grid:has(> .why-card:only-child) {
    grid-template-columns: 1fr;
    max-width: 1040px;
    margin: 0 auto;
}

.split-grid.no-batches .why-card,
.split-grid:has(> .why-card:only-child) .why-card {
    padding: 2rem 2.25rem;
}

.split-grid.no-batches .feature-grid,
.split-grid:has(> .why-card:only-child) .feature-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem 1rem;
}

@media (max-width: 900px) {

    .split-grid.no-batches .feature-grid,
    .split-grid:has(> .why-card:only-child) .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {

    .split-grid.no-batches .why-card,
    .split-grid:has(> .why-card:only-child) .why-card {
        padding: 1.35rem 1.25rem;
    }

    .split-grid.no-batches .feature-grid,
    .split-grid:has(> .why-card:only-child) .feature-grid {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }
}

/* Card Shared Shell */
.why-card,
.batches-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(253, 245, 253, 0.95) 100%);
    border-radius: var(--radius-xl);
    padding: 1.75rem 1.85rem;
    border: 1px solid rgba(206, 78, 222, 0.12);
    box-shadow: 0 10px 30px rgba(206, 78, 222, 0.05), 0 2px 8px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s var(--ease-premium), box-shadow 0.3s var(--ease-premium), border-color 0.3s ease;
}

.why-card:hover,
.batches-card:hover {
    border-color: rgba(206, 78, 222, 0.22);
    box-shadow: 0 14px 36px rgba(206, 78, 222, 0.09), 0 4px 12px rgba(0, 0, 0, 0.03);
}

.card-header-compact {
    margin-bottom: 1.15rem;
}

.card-header-compact .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--color-primary-magenta, #ce4ede);
    background: rgba(206, 78, 222, 0.08);
    border: 1px solid rgba(206, 78, 222, 0.18);
    border-radius: 50px;
    margin-bottom: 0.4rem;
    letter-spacing: 0.02em;
}

.card-header-compact .section-heading {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--color-text, #1e1b4b);
    line-height: 1.25;
    margin: 0;
    letter-spacing: -0.015em;
}

/* ── Why PetCix Feature Grid ── */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem 0.85rem;
    flex: 1;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 0.75rem 0.85rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(206, 78, 222, 0.09);
    transition: all 0.25s var(--ease-premium);
}

.feature-item:hover {
    border-color: rgba(206, 78, 222, 0.28);
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(206, 78, 222, 0.08);
}

.feature-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: rgba(206, 78, 222, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.feature-text {
    flex: 1;
    min-width: 0;
}

.feature-text strong {
    display: block;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--color-text, #1e1b4b);
    margin-bottom: 2px;
    line-height: 1.25;
}

.feature-text span {
    display: block;
    font-size: 0.72rem;
    color: var(--color-text-muted, #64748b);
    line-height: 1.35;
}

/* ── Upcoming Batches Dynamic List ── */
.batch-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
}

.batch-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1.1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(206, 78, 222, 0.12);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    transition: all 0.25s var(--ease-premium);
    gap: 1rem;
}

.batch-item:hover {
    border-color: rgba(206, 78, 222, 0.3);
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(206, 78, 222, 0.08);
}

.batch-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    flex: 1;
}

.batch-headline {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
}

.batch-course-code {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--color-text, #1e1b4b);
    letter-spacing: -0.01em;
}

.batch-name-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--color-primary-magenta, #ce4ede);
    background: rgba(206, 78, 222, 0.08);
    border: 1px solid rgba(206, 78, 222, 0.18);
    border-radius: 50px;
    letter-spacing: 0.02em;
}

.batch-course-title {
    font-size: 0.76rem;
    font-weight: 500;
    color: var(--color-text-muted, #64748b);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 270px;
}

.batch-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.72rem;
    color: var(--color-text-muted, #6b7280);
    margin-top: 2px;
    flex-wrap: wrap;
}

.batch-date,
.batch-timing {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.batch-date i,
.batch-timing i {
    color: var(--color-primary-magenta, #ce4ede);
    font-size: 0.75rem;
}

.batch-action {
    flex-shrink: 0;
}

.batch-btn {
    white-space: nowrap;
    padding: 7px 16px;
    font-size: 0.78rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(206, 78, 222, 0.2);
    transition: all 0.25s ease;
}

.batch-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(206, 78, 222, 0.3);
}

/* ── Batches Empty State (Clean Coming Soon) ── */
.batches-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.65);
    border: 1px dashed rgba(206, 78, 222, 0.25);
    border-radius: var(--radius-lg);
    flex: 1;
    gap: 0.75rem;
}

.empty-state-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(206, 78, 222, 0.14), rgba(139, 92, 246, 0.14));
    border: 1px solid rgba(206, 78, 222, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    position: relative;
    box-shadow: 0 4px 16px rgba(206, 78, 222, 0.1);
    margin-bottom: 0.2rem;
}

.empty-icon-sparkle {
    position: absolute;
    top: -4px;
    right: -4px;
    font-size: 0.85rem;
    animation: pulseSparkle 2s ease-in-out infinite;
}

@keyframes pulseSparkle {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.9;
    }

    50% {
        transform: scale(1.25);
        opacity: 1;
    }
}

.empty-state-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-text, #1e1b4b);
    margin: 0;
}

.empty-state-desc {
    font-size: 0.82rem;
    color: var(--color-text-muted, #64748b);
    line-height: 1.45;
    margin: 0;
}

.btn-stay-tuned {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 18px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--color-primary-magenta, #ce4ede);
    background: rgba(206, 78, 222, 0.08);
    border: 1px solid rgba(206, 78, 222, 0.25);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.25s ease;
    margin-top: 0.25rem;
}

.btn-stay-tuned:hover {
    background: linear-gradient(135deg, var(--color-primary-magenta), var(--color-purple));
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(206, 78, 222, 0.25);
}


/* ==========================================================================
   7. TESTIMONIALS CAROUSEL
   ========================================================================== */
.testimonials {
    background: linear-gradient(180deg, #f3e0f5 0%, var(--bg-canvas) 100%);
}

.carousel-wrapper {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 1rem 0 2rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    min-width: 320px;
    max-width: 340px;
    flex-shrink: 0;
    scroll-snap-align: start;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.35s var(--ease-premium);
}

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

.testimonial-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.testimonial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-salary {
    position: absolute;
    bottom: 12px;
    right: 12px;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--color-green), #16a34a);
    border-radius: var(--radius-full);
    box-shadow: 0 2px 10px rgba(34, 197, 94, 0.4);
}

.testimonial-body {
    padding: 1.5rem;
}

.testimonial-story {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 0.5rem;
}

.testimonial-quote {
    font-size: 0.82rem;
    font-style: italic;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.testimonial-name {
    font-size: 0.85rem;
    font-weight: 700;
}

.testimonial-course {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--color-primary-magenta);
    padding: 4px 10px;
    background: rgba(206, 78, 222, 0.08);
    border-radius: var(--radius-full);
}

/* Carousel Navigation */
.carousel-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.carousel-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--color-lavender);
    background: var(--bg-card);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--color-text-muted);
    transition: all 0.25s var(--ease-premium);
}

.carousel-btn:hover {
    border-color: var(--color-primary-magenta);
    color: var(--color-primary-magenta);
    box-shadow: var(--shadow-glow-magenta);
}


/* ==========================================================================
   8. CTA BANNER
   ========================================================================== */
.cta-banner {
    padding: 4rem 0;
}

.cta-banner-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    padding: 4rem 3rem;
    text-align: center;
    background: linear-gradient(135deg, var(--color-primary-magenta), var(--color-purple));
    box-shadow: var(--shadow-lg);
}

.cta-banner-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.cta-banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
}

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

.cta-banner h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 540px;
    margin: 0 auto 2rem;
    font-size: 1.05rem;
}

.cta-banner-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}


/* ==========================================================================
   9. RESPONSIVE BREAKPOINTS (HOME SECTIONS)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        align-items: center;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-trust {
        justify-content: center;
    }

    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
        max-width: 920px;
    }

    .course-card-image {
        height: 185px;
    }

    .course-card-body {
        padding: 0.7rem 1.1rem 1.2rem;
    }

    .offer-pill-badge {
        padding: 0.35rem 1rem;
    }

    .offer-headline {
        font-size: 0.78rem;
    }

    .offer-gift-visual {
        width: 46px;
        height: 46px;
    }

    .course-card-title {
        font-size: 1.14rem;
    }

    .micro-coming-soon-card {
        padding: 2rem 2.5rem;
        gap: 2.5rem;
    }

    .micro-visual-wrapper {
        width: 165px;
        height: 165px;
    }

    .micro-rocket-sphere {
        width: 155px;
        height: 155px;
    }

    .micro-rocket-anim {
        width: 120px;
        height: 120px;
    }

    .split-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 5.5rem;
        padding-bottom: 2.5rem;
        min-height: auto;
        margin-bottom: 1.5rem;
    }

    .hero-bg-carousel {
        overflow: hidden;
    }

    .hero-bg-slide {
        background-position: center center;
    }

    .metrics-card {
        grid-template-columns: repeat(2, 1fr);
        padding: 2rem;
    }

    .metric-item:nth-child(2)::after {
        display: none;
    }

    .courses-grid {
        grid-template-columns: 1fr;
        max-width: 460px;
        margin: 0 auto;
        gap: 1.35rem;
    }

    .course-card-image {
        height: 175px;
    }

    .course-card-body {
        padding: 0.7rem 1.15rem 1.2rem;
    }

    .course-offer-banner {
        margin-top: -22px;
        margin-bottom: 0.45rem;
    }

    .offer-gift-visual {
        width: 46px;
        height: 46px;
    }

    .offer-pill-badge {
        padding: 0.35rem 1.1rem;
    }

    .offer-headline {
        font-size: 0.78rem;
    }

    .offer-subtext {
        font-size: 0.6rem;
    }

    .bonus-panel {
        padding: 0.65rem 0.85rem;
    }

    .bonus-gift-thumb {
        width: 38px;
        height: 38px;
    }

    .course-card-footer {
        grid-template-columns: 1fr 1fr;
        gap: 0.65rem;
    }

    .course-card-footer .btn {
        padding: 9px 12px;
        font-size: 0.82rem;
    }

    .micro-coming-soon-card {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
        border-radius: 20px;
    }

    .micro-visual-wrapper {
        width: 145px;
        height: 145px;
        margin-bottom: 0.25rem;
    }

    .micro-rocket-sphere {
        width: 135px;
        height: 135px;
    }

    .micro-rocket-anim {
        width: 105px;
        height: 105px;
    }

    .card-deco-paw-tl {
        top: 14px;
        left: 16px;
        font-size: 1.3rem;
    }

    .card-deco-paw-tr {
        top: 14px;
        right: 18px;
        font-size: 1.3rem;
    }

    .micro-cs-heading {
        font-size: 1.25rem;
    }

    .micro-cs-desc {
        font-size: 0.88rem;
    }

    .roadmap {
        flex-direction: column;
        gap: 2rem;
        align-items: flex-start;
    }

    .roadmap::before {
        top: calc(2rem + 32px);
        bottom: calc(2rem + 32px);
        left: 32px;
        right: auto;
        width: 3px;
        height: auto;
        transform: translateX(-50%);
    }

    .roadmap-step {
        flex-direction: row;
        text-align: left;
        gap: 1rem;
        width: 100%;
    }

    .roadmap-circle {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .split-feature {
        padding: 3.5rem 0;
    }

    .split-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .why-card,
    .batches-card {
        padding: 1.35rem 1.25rem;
        border-radius: 20px;
    }

    .card-header-compact {
        margin-bottom: 0.95rem;
    }

    .card-header-compact .section-heading {
        font-size: 1.25rem;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 0.55rem;
    }

    .feature-item {
        padding: 0.65rem 0.75rem;
        gap: 10px;
    }

    .batch-list {
        gap: 0.65rem;
    }

    .batch-item {
        padding: 0.8rem 1rem;
        gap: 0.75rem;
    }

    .batch-course-title {
        max-width: 100%;
        white-space: normal;
    }

    .batch-btn {
        padding: 6px 14px;
        font-size: 0.75rem;
    }

    .cta-banner-card {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        width: calc(100% - 2rem);
        padding-top: 5rem;
        padding-bottom: 2rem;
        margin-bottom: 1.25rem;
    }

    .hero .container {
        padding: 0 1rem;
    }

    .metrics-card {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem 1rem;
        padding: 1.5rem 1rem;
    }

    .metric-number {
        font-size: 1.75rem;
    }

    .metric-label {
        font-size: 0.75rem;
    }

    .metric-item::after {
        display: none !important;
    }

    .split-feature {
        padding: 2.5rem 0;
    }

    .split-grid {
        gap: 1rem;
    }

    .why-card,
    .batches-card {
        padding: 1.15rem 0.95rem;
        border-radius: 18px;
    }

    .card-header-compact {
        margin-bottom: 0.8rem;
    }

    .card-header-compact .section-heading {
        font-size: 1.15rem;
    }

    .feature-item {
        padding: 0.55rem 0.65rem;
        gap: 8px;
    }

    .feature-icon {
        width: 28px;
        height: 28px;
        font-size: 0.95rem;
        border-radius: 7px;
    }

    .feature-text strong {
        font-size: 0.8rem;
    }

    .feature-text span {
        font-size: 0.69rem;
    }

    .batch-item {
        flex-direction: column;
        align-items: stretch;
        gap: 0.65rem;
        padding: 0.75rem 0.85rem;
    }

    .batch-info {
        width: 100%;
    }

    .batch-course-title {
        max-width: 100%;
        white-space: normal;
    }

    .batch-action {
        width: 100%;
    }

    .batch-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        display: flex;
        padding: 7px 12px;
    }

    .empty-state-icon {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
    }

    .course-card {
        border-radius: 20px;
    }

    .course-card-image {
        height: 155px;
    }

    .course-card-body {
        padding: 0.65rem 0.95rem 1.1rem;
    }

    .course-offer-banner {
        margin-top: -20px;
        padding: 0 0.5rem;
    }

    .offer-gift-visual {
        width: 42px;
        height: 42px;
        margin-right: -8px;
    }

    .offer-pill-badge {
        padding: 0.3rem 0.85rem;
    }

    .offer-headline {
        font-size: 0.72rem;
        gap: 3px;
    }

    .offer-subtext {
        font-size: 0.56rem;
    }

    .course-card-title {
        font-size: 1.08rem;
    }

    .course-meta-bar {
        padding: 0.45rem 0.65rem;
        gap: 0.4rem 0.75rem;
    }

    .course-meta-item {
        font-size: 0.74rem;
    }

    .bonus-panel {
        padding: 0.6rem 0.75rem;
    }

    .bonus-gift-thumb {
        width: 34px;
        height: 34px;
    }

    .bonus-panel-title {
        font-size: 0.72rem;
    }

    .bonus-courses-list li {
        font-size: 0.74rem;
    }

    .course-card-footer {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .course-card-footer .btn {
        padding: 8px 8px;
        font-size: 0.78rem;
        gap: 5px;
    }

    .micro-coming-soon-card {
        padding: 1.75rem 1rem;
        gap: 1.25rem;
        border-radius: 18px;
    }

    .micro-visual-wrapper {
        width: 125px;
        height: 125px;
    }

    .micro-rocket-sphere {
        width: 120px;
        height: 120px;
    }

    .micro-rocket-anim {
        width: 92px;
        height: 92px;
    }

    .micro-cs-heading {
        font-size: 1.15rem;
    }

    .micro-cs-desc {
        font-size: 0.84rem;
        margin-bottom: 0.85rem;
    }

    .micro-cs-stay-tuned {
        font-size: 0.78rem;
        padding: 4px 14px;
    }
}

@media (max-width: 375px) {
    .hero {
        width: calc(100% - 1.5rem);
        padding-top: 4.5rem;
        padding-bottom: 1.75rem;
        margin-bottom: 1rem;
    }

    .hero .container {
        padding: 0 0.5rem;
    }
}