/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Cardo:ital,wght@0,400;0,700;1,400&family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,700;1,9..40,400&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ============================================
   FOUC (Flash of Unstyled Content) Prevention
   ============================================ */

/* Prevent flash of unstyled content during initial page load */
body {
    opacity: 0;
    animation: smoothBodyFadeIn 0.2s ease-out forwards;
    animation-delay: 0.01s;
}

@keyframes smoothBodyFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Specific page sections that need FOUC prevention */
.programs-hero,
.program-detail-layout,
section.section-programs,
.tf-spacing-1,
main > section:first-of-type {
    opacity: 0;
    animation: smoothSectionFadeIn 0.25s ease-out forwards;
    animation-delay: 0.05s;
}

@keyframes smoothSectionFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

:root {
    /* Colors */
    --color-primary: #1d2330;
    --color-secondary: #B8860B;
    /* Dark Gold/Bronze */
    --color-accent: #EAA400;
    /* Bright Gold/Yellow */
    --color-bg-warm: #fffdf5;
    --color-bg-light: #ffffff;
    --color-text-soft: #666666;
    --color-border: #E4E4E7;

    /* Typography */
    --font-primary: 'DM Sans', sans-serif;
    --font-heading: 'DM Sans', sans-serif;
    --font-accent: 'Cardo', serif;

    /* Spacing */
    --container-max-width: 1428px;
    --header-height-desktop: 90px;
    --header-height-mobile: 70px;
}

/* Global Reset & Base Styles */
body {
    font-family: var(--font-primary);
    color: var(--color-primary);
    margin: 0;
    padding: 0;
    background-color: var(--color-bg-light);
    line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 0.5em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.tf-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 15px;
    width: 100%;
}

/* Typography Utilities */
.font-cardo {
    font-family: var(--font-accent);
}

.text-primary {
    color: var(--color-primary) !important;
}

.text-secondary {
    color: var(--color-secondary) !important;
}

.text-accent {
    color: var(--color-accent) !important;
}

.fw-5 {
    font-weight: 500;
}

.fw-7 {
    font-weight: 700;
}

/* Buttons */
.tf-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    gap: 8px;
}

.btn-theme-primary {
    background-color: var(--color-accent);
    color: #1a1a1a;
    box-shadow: 0 4px 15px rgba(234, 164, 0, 0.3);
}

.btn-theme-primary:hover {
    background-color: #FFB81C;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(234, 164, 0, 0.4);
}

.btn-theme-secondary {
    background-color: var(--color-secondary);
    color: #fff;
}

.btn-theme-secondary:hover {
    background-color: #9A7009;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-primary);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    background: #f8f9fa;
}

/* Header Base Styles */
header#header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    height: var(--header-height-desktop);
    display: flex;
    align-items: center;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-box img {
    height: 50px;
    /* Adjust based on actual logo ratio */
}

/* Navigation (Desktop) */
.main-nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav a {
    font-weight: 500;
    font-size: 16px;
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--color-secondary);
}

/* Footer Base Styles */
footer#footer {
    background-color: var(--color-primary);
    color: #fff;
    padding: 60px 0 20px;
    font-family: var(--font-primary);
}

.footer-logo img {
    height: 50px;
    filter: brightness(0) invert(1);
    /* Ensure white logo if using colored one, or use logo-white.svg */
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.widget-title {
    color: #fff;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #a0a0a0;
    font-size: 15px;
}

.footer-links a:hover {
    color: var(--color-accent);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #888;
    font-size: 14px;
}

/* =================================================
   MOBILE ADJUSTMENTS & LEGACY PARITY
   ================================================= */
@media (max-width: 1024px) {
    header#header {
        height: var(--header-height-mobile);
        padding: 0 15px;
    }

    .desktop-nav {
        display: none !important;
    }
}

/* =================================================
   MOBILE APP BOTTOM MENU (From Site.Master)
   ================================================= */
.bottom_menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0px -4px 24px rgba(0, 0, 0, 0.08);
    z-index: 9999;
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: none;
    border-radius: 20px 20px 0 0;
}

@media (max-width: 1024px) {
    .bottom_menu {
        display: block;
    }
}

.bottom_menu ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    padding: 0 10px;
    margin: 0;
    height: 70px;
}

.bottom_menu li {
    flex: 1;
    text-align: center;
    position: relative;
}

.bottom_menu li.bottom-back {
    flex: 0.8;
}

.bottom_menu li.home-center {
    flex: 1.2;
}

.bottom_menu li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px 0;
    cursor: pointer;
    gap: 4px;
}

.bottom_menu li a i {
    font-size: 20px;
    color: #d4af37;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bottom_menu li.home-center a {
    color: #6b7280;
}

.bottom_menu li.home-center a i {
    font-size: 22px;
}

.bottom_menu li.active a,
.bottom_menu li a:hover {
    color: #d4af37;
}

.bottom_menu li.active a i,
.bottom_menu li a:hover i {
    transform: translateY(-3px);
    color: #d4af37;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

/* =================================================
   FOOTER - PROFESSIONAL RICH STYLE
   ================================================= */
.footer.footer-rich {
    background: linear-gradient(180deg, #1b1f2a 0%, #0f121a 100%);
    color: #e8e9ee;
    padding: 64px 0 32px;
    border-top: 1px solid rgba(230, 163, 0, 0.2);
}

.footer-shell {
    position: relative;
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(240px, 1.2fr) minmax(420px, 2fr) minmax(200px, 0.9fr);
    gap: 32px;
    align-items: start;
}

.footer-logo img {
    height: 44px;
    width: auto;
}

.footer-tagline {
    margin: 16px 0 20px;
    color: rgba(232, 233, 238, 0.8);
    font-size: 13.5px;
    line-height: 1.6;
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.footer-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(230, 163, 0, 0.18);
    color: #f2c55c;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    gap: 20px;
}

.footer-col h5 {
    color: #f7f0d9;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.footer-col a {
    display: block;
    color: rgba(232, 233, 238, 0.75);
    text-decoration: none;
    font-size: 13px;
    margin-bottom: 8px;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: #f2c55c;
}

.footer-cred {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.footer-badges img {
    width: 100%;
    background: #ffffff;
    border-radius: 10px;
    padding: 6px;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    color: #f7f0d9;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
}

.footer-social a:hover {
    background: rgba(230, 163, 0, 0.2);
    border-color: rgba(230, 163, 0, 0.4);
    color: #f2c55c;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 28px 0 16px;
}

.footer-bottom {
    text-align: center;
    font-size: 12.5px;
    color: rgba(232, 233, 238, 0.7);
}

.footer-bottom strong {
    color: #f2c55c;
    font-weight: 600;
}

/* =================================================
   MOBILE DRAWER (Legacy mmenu port)
   ================================================= */
/* Off-canvas Backdrop */
.offcanvas-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(2px);
}

.offcanvas-backdrop.show {
    opacity: 1;
    visibility: visible;
}

/* Drawer Container - Matching .mm-menu logic */
.offcanvas-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    /* Hidden */
    width: 85%;
    max-width: 340px;
    height: 100vh;
    background: #ffffff;
    z-index: 1050;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.15);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.offcanvas-drawer.open {
    right: 0;
}

/* Header - .mm-navbar */
.drawer-header {
    height: 64px;
    padding: 0 16px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
}

.drawer-title {
    font-size: 18px;
    font-weight: 700;
    color: #B8860B;
    letter-spacing: 0.5px;
    margin: 0;
}

.btn-close-drawer {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #333;
    font-size: 20px;
    cursor: pointer;
}

/* Body - .mm-panel */
.drawer-body {
    flex: 1;
    overflow-y: auto;
    background: #fafafa;
    padding: 0;
    /* padding handled by items */
}

/* List Items - .mm-listitem */
.drawer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.drawer-nav-list li {
    border-bottom: 1px solid #f5f5f5;
    background: #ffffff;
}

.drawer-nav-list a {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    /* Legacy padding */
    font-size: 16px;
    font-weight: 500;
    color: #1f2937;
    text-decoration: none;
    transition: all 0.3s ease;
    min-height: 52px;
}

.drawer-nav-list a i {
    width: 24px;
    margin-right: 15px;
    color: #B8860B;
    /* Gold icons */
    text-align: center;
}

/* Hover & Active States */
.drawer-nav-list a:hover,
.drawer-nav-list a.active {
    background-color: #fffbf0;
    color: #B8860B;
    border-left: 4px solid #B8860B;
    padding-left: 16px;
    /* Adjust for border */
}

.drawer-footer {
    padding: 20px;
    background: #ffffff;
    border-top: 1px solid #f0f0f0;
}

/* =========================================
   HOME PAGE REDESIGN STYLES
   ========================================= */

/* UNIVERSAL SECTION HEADINGS */
.heading-section {
    text-align: center;
    margin-bottom: 50px;
}

.heading-section h2 {
    font-size: 42px;
    font-weight: 700;
    color: var(--color-secondary);
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.heading-section p,
.heading-section .sub {
    font-size: 17px;
    font-weight: 400;
    color: var(--color-text-soft);
    line-height: 1.6;
    max-width: 650px;
    margin: 0 auto;
}

@media (max-width: 992px) {
    .heading-section h2 {
        font-size: 36px;
    }

    .heading-section p {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .heading-section {
        margin-bottom: 40px;
    }

    .heading-section h2 {
        font-size: 30px;
    }

    .heading-section p {
        font-size: 15px;
        padding: 0 15px;
    }
}

/* HERO SECTION - REDESIGN */
.page-title-home1-redesign {
    position: relative;
    padding: 120px 0 100px;
    background-color: var(--color-bg-warm);
    background-image: radial-gradient(#B8860B 0.5px, transparent 0.5px);
    background-size: 24px 24px;
    overflow: hidden;
}

.page-title-home1-redesign::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 253, 245, 0.4) 0%, rgba(255, 253, 245, 1) 90%);
    pointer-events: none;
    z-index: 0;
}

.page-title-home1-redesign .content {
    position: relative;
    z-index: 2;
    text-align: center;
    /* Ensure center alignment */
}

/* Hero Shape */
.hero-shape-main {
    position: absolute;
    top: -50px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, #fffcf0 0%, #fff 100%);
    border-radius: 40px;
    transform: rotate(-15deg);
    box-shadow: -20px 20px 60px rgba(184, 134, 11, 0.05);
    z-index: -1;
    overflow: hidden;
}

.hero-shape-main::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: #fffdf5;
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
}

/* AI Tag */
.box-sub-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    margin: 0 auto 24px auto;
}

.sub-tag-icon {
    color: var(--color-secondary);
    display: flex;
    align-items: center;
}

.sub-tag-title p {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    letter-spacing: 0.5px;
}

/* Hero Text Rotator */
.hero-rotator-container {
    position: relative;
    height: 220px;
    margin-bottom: 30px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    width: 100%;
}

.hero-slide.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.hero-title {
    font-size: 42px;
    line-height: 1.25;
    margin-bottom: 20px;
    color: #333333;
    font-family: var(--font-accent);
}

.hero-subtitle {
    font-size: 16px;
    color: #515151;
    line-height: 1.6;
    margin-bottom: 0;
}

.hero-highlight {
    color: var(--color-secondary);
}

/* Action Buttons */
.bottom-btns {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .page-title-home1-redesign {
        padding: 80px 0 60px;
    }

    .hero-rotator-container {
        height: 300px;
    }

    .hero-title {
        font-size: 30px;
    }

    .hero-shape-main {
        width: 300px;
        height: 300px;
        right: -50px;
    }

    .hero-rotator-container {
        height: 320px;
    }

    /* Increased for mobile text wrap */
}

@media (max-width: 576px) {
    .bottom-btns {
        flex-direction: column;
        gap: 16px;
    }

    .btn-theme-primary,
    .btn-theme-secondary {
        width: 100%;
        max-width: 300px;
    }
}

/* =========================================
   HOW IT WORKS - OPTIMIZED REDESIGN
   ========================================= */

.section-how-SCHOLARiQ-works-redesign {
    background: #ffffff;
    position: relative;
    padding: 60px 0;
    overflow: hidden;
}

.relative-steps-container {
    position: relative;
    padding-top: 20px;
}

/* Connecting Line */
.steps-connecting-line {
    position: absolute;
    top: 75px;
    left: 12%;
    width: 76%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #E8DCC4 15%, #E8DCC4 85%, transparent 100%);
    z-index: 0;
}

/* Step Card */
.step-card {
    background: #ffffff;
    border: 1px solid #f5f5f5;
    border-radius: 16px;
    padding: 35px 25px 30px;
    text-align: center;
    position: relative;
    z-index: 1;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(184, 134, 11, 0.12);
    border-color: #E8DCC4;
}

/* Step Header */
.step-header {
    position: relative;
    display: inline-block;
    margin-bottom: 25px;
    background: #fff;
    padding: 0 12px;
    z-index: 1;
}

/* Icon Circle */
.step-icon-circle {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #FFFCF5 0%, #FFF9E5 100%);
    border: 2px solid #E8DCC4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 32px;
    color: var(--color-secondary);
    transition: all 0.35s ease;
    position: relative;
}

.step-card:hover .step-icon-circle {
    background: linear-gradient(135deg, #B8860B 0%, #9A7009 100%);
    color: #ffffff;
    border-color: #B8860B;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(184, 134, 11, 0.25);
}

/* Number Badge */
.step-number-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 30px;
    height: 30px;
    background: var(--color-primary);
    color: #ffffff;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #ffffff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.12);
    z-index: 2;
}

.step-card:hover .step-number-badge {
    background: var(--color-secondary);
    color: #ffffff;
    border-color: #ffffff;
}

/* Content */
.step-content h4 {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.step-content p {
    font-size: 14px;
    color: var(--color-text-soft);
    line-height: 1.65;
    margin: 0;
}

/* =========================================
   TOP CATEGORIES - PREMIUM REDESIGN
   ========================================= */

.section-categories-redesign {
    background: #fff;
    padding-bottom: 60px;
}

.card-link-wrapper {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
    height: 100%;
}

.category-card-premium {
    background: #ffffff;
    border: 1.5px solid #f0f0f0;
    border-radius: 18px;
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    text-align: center;
}

.category-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #B8860B 0%, #EAA400 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.category-card-premium:hover::before {
    transform: scaleX(1);
}

.category-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(184, 134, 11, 0.15);
    border-color: #E8DCC4;
}

/* Category Icon */
.category-icon-wrapper {
    width: 95px;
    height: 95px;
    background: linear-gradient(135deg, #FFFCF5 0%, #FFF9E5 100%);
    border: 2px solid #E8DCC4;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
    transition: all 0.4s ease;
    box-shadow: inset 0 0 20px rgba(184, 134, 11, 0.05);
}

.category-icon-wrapper i {
    color: #b8860b;
    transition: color 0.3s ease;
}

.category-card-premium:hover .category-icon-wrapper {
    background: linear-gradient(135deg, #B8860B 0%, #9A7009 100%);
    border-color: #B8860B;
    transform: scale(1.08) rotate(-2deg);
    box-shadow: 0 8px 20px rgba(184, 134, 11, 0.25);
}

.category-card-premium:hover .category-icon-wrapper i {
    color: #ffffff;
}

.icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.4s ease;
}

.category-card-premium:hover .icon-img {
    transform: scale(1.15);
}

/* Category Content */
.category-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 10px;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-card-premium:hover .category-title {
    color: var(--color-secondary);
}

.course-count {
    font-size: 13px;
    color: #666;
    background: linear-gradient(135deg, #f8f8f8 0%, #f5f5f5 100%);
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    border: 1px solid #f0f0f0;
}

@media (max-width: 991px) {
    .section-categories-redesign {
        padding-bottom: 50px;
    }

    .category-card-premium {
        padding: 26px 20px;
        gap: 18px;
        border-radius: 16px;
    }

    .category-icon-wrapper {
        width: 80px;
        height: 80px;
        border-radius: 16px;
    }

    .category-title {
        font-size: 17px;
    }
}

@media (max-width: 576px) {
    .section-categories-redesign {
        padding-bottom: 40px;
    }

    .section-categories-redesign .heading-section h2 {
        font-size: 28px;
    }

    .section-categories-redesign .heading-section p {
        font-size: 14px;
    }

    .category-card-premium {
        padding: 22px 16px;
        gap: 14px;
        border-radius: 14px;
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
    }

    .category-icon-wrapper {
        width: 70px;
        height: 70px;
        border-radius: 14px;
    }

    .category-icon-wrapper i {
        font-size: 28px;
    }

    .category-title {
        font-size: 15px;
        margin-bottom: 6px;
    }

    .course-count {
        font-size: 12px;
        padding: 5px 12px;
    }
}

@media (max-width: 768px) {
    .steps-connecting-line {
        display: none;
    }

    .step-card {
        margin-bottom: 24px;
    }
}

/* =========================================
   PREMIUM COURSE CARD - CUSTOM DESIGN
   ========================================= */

.section-top-course {
    background-color: #f9f9f9;
    padding: 60px 0;
}

.section-university-programs {
    background-color: #ffffff;
    padding: 60px 0 70px;
}

.course-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 6px;
}

.university-tabs {
    margin-top: 18px;
    gap: 12px;
}

.university-tabs .course-tab-link {
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid #e6e1d3;
    background: #faf7f0;
    color: #6b7280;
    font-weight: 600;
}

.university-tabs .course-tab-link.active {
    background: #b8860b;
    color: #ffffff;
    border-color: #b8860b;
    box-shadow: 0 8px 18px rgba(184, 134, 11, 0.25);
}

.university-slider {
    position: relative;
    margin-top: 10px;
    contain: layout style paint;
}

.university-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding-top: 12px;
    padding-bottom: 20px;
    padding-left: 52px;
    padding-right: 52px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    width: 100%;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    flex-wrap: nowrap;
    position: relative;
    z-index: 1;
    scroll-left: 0;
    scroll-padding-left: 0;
    align-items: flex-start;
}

.university-track:active {
    cursor: grabbing;
}

.university-track::-webkit-scrollbar {
    display: none;
}

/* Smooth tab switching without flicker */
.university-track.track-active {
    opacity: 1;
    visibility: visible;
    height: auto;
    animation: fadeIn 0.2s ease-in-out;
    pointer-events: auto;
    will-change: opacity;
}

.university-track.track-hidden {
    display: none;
    opacity: 0;
    pointer-events: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.uni-card {
    min-width: clamp(260px, 24vw, 340px);
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 18px;
    overflow: hidden;
    scroll-snap-align: start;
    flex: 0 0 auto;
    box-shadow: 0 10px 24px rgba(22, 25, 32, 0.08);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    contain: content;
    margin: 0;
}

.uni-card:first-child {
    margin-left: 0;
}

.uni-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 30px rgba(184, 134, 11, 0.18);
}

.uni-card-media {
    position: relative;
    height: 160px;
    background: #1d2330;
}

.uni-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    will-change: opacity;
    content-visibility: auto;
}

.uni-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ffffff;
    color: #1f2937;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 10px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
}

.uni-duration {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: #1f2937;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.uni-card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.uni-university {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #6b7280;
    font-weight: 600;
}

.uni-logo {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #f6f6f6;
    color: #8b6a13;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
}

.uni-title {
    font-size: 15px;
    font-weight: 700;
    color: #1f2937;
    min-height: 40px;
}

.uni-divider {
    height: 1px;
    background: #f1f1f1;
}

.uni-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: #374151;
}

.uni-meta-label {
    display: block;
    font-size: 10px;
    color: #9ca3af;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.uni-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: #b8860b;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #e5e7eb;
    background: #ffffff;
    color: #1f2937;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    z-index: 3;
    pointer-events: auto;
}

.slider-btn.prev { left: 6px; }
.slider-btn.next { right: 6px; }

.section-bootcamps {
    background-color: #ffffff;
    padding: 60px 0 70px;
}

.bootcamp-slider {
    position: relative;
    margin-top: 16px;
}

.bootcamp-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 12px 52px 20px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    width: 100%;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    flex-wrap: nowrap;
    position: relative;
    z-index: 1;
}

.bootcamp-track:active {
    cursor: grabbing;
}

.bootcamp-track::-webkit-scrollbar {
    display: none;
}

.bootcamp-card {
    min-width: clamp(260px, 24vw, 340px);
    scroll-snap-align: start;
    flex: 0 0 auto;
}

.bootcamp-dots,
.university-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 8px 0 6px;
}

.bootcamp-dots .dot,
.university-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #d1d5db;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.bootcamp-dots .dot.active,
.university-dots .dot.active {
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-color: #1f2937;
    box-shadow: 0 0 0 3px rgba(31, 41, 55, 0.12);
}

.institute-logo-placeholder {
    width: 32px;
    height: 32px;
    background: #eee;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: #1f2937;
}

@media (max-width: 991px) {
    .section-university-programs {
        padding: 48px 0 56px;
    }

    .university-tabs {
        gap: 10px;
        padding: 0 6px;
    }

    .university-tabs .course-tab-link {
        font-size: 13px;
        padding: 9px 16px;
    }

    .university-slider {
        margin-top: 6px;
    }

    .university-track {
        gap: 16px;
        padding: 10px 40px 16px;
        scroll-snap-type: x proximity;
    }

    .uni-card {
        min-width: clamp(230px, 70vw, 320px);
        border-radius: 16px;
    }

    .uni-card-media {
        height: 150px;
    }

    .uni-card-body {
        padding: 16px;
        gap: 8px;
    }

    .uni-title {
        font-size: 14px;
        min-height: 36px;
    }

    .uni-meta {
        font-size: 12px;
    }

    .slider-btn {
        width: 36px;
        height: 36px;
    }

    .section-bootcamps {
        padding: 48px 0 56px;
    }

    .bootcamp-track {
        gap: 16px;
        padding: 10px 40px 16px;
        scroll-snap-type: x proximity;
    }

    .bootcamp-card {
        min-width: clamp(230px, 70vw, 320px);
    }

    .bootcamp-dots,
    .university-dots {
        gap: 8px;
        margin-top: 6px;
    }
}

@media (max-width: 576px) {
    .section-university-programs {
        padding: 40px 0 48px;
    }

    .heading-section h2 {
        font-size: 28px;
    }

    .heading-section p {
        font-size: 14px;
    }

    .university-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding: 0 4px 6px;
        scroll-snap-type: x proximity;
    }

    .university-tabs .course-tab-item {
        scroll-snap-align: start;
    }

    .university-tabs .course-tab-link {
        font-size: 12px;
        padding: 8px 14px;
        white-space: nowrap;
    }

    .university-slider {
        padding: 0 6px;
    }

    .university-track {
        gap: 14px;
        padding: 8px 34px 14px;
    }

    .uni-card {
        min-width: clamp(220px, 82vw, 300px);
        box-shadow: 0 8px 18px rgba(22, 25, 32, 0.08);
    }

    .uni-card-media {
        height: 140px;
    }

    .uni-badge,
    .uni-duration {
        font-size: 10px;
        padding: 5px 8px;
    }

    .uni-university {
        font-size: 11px;
    }

    .uni-logo {
        width: 24px;
        height: 24px;
        font-size: 9px;
    }

    .uni-title {
        font-size: 13px;
        min-height: 34px;
    }

    .uni-meta-label {
        font-size: 9px;
    }

    .slider-btn {
        width: 32px;
        height: 32px;
        border-width: 0.5px;
    }

    .section-bootcamps {
        padding: 40px 0 48px;
    }

    .bootcamp-slider {
        padding: 0 6px;
    }

    .bootcamp-track {
        gap: 14px;
        padding: 8px 34px 14px;
    }

    .bootcamp-card {
        min-width: clamp(220px, 82vw, 300px);
    }

    .bootcamp-dots .dot,
    .university-dots .dot {
        width: 7px;
        height: 7px;
    }

    .bootcamp-dots .dot.active,
    .university-dots .dot.active {
        width: 11px;
        height: 11px;
    }

    .institute-logo-placeholder {
        width: 28px;
        height: 28px;
        font-size: 9px;
    }
}

.course-card-premium {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.course-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(184, 134, 11, 0.12);
    border-color: #E8DCC4;
}

.course-img-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #1d2330;
    /* Placeholder bg */
}

.course-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card-premium:hover .course-img-wrapper img {
    transform: scale(1.05);
}

.course-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-primary);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 6px;
}

.course-badge i {
    color: var(--color-secondary);
}

.course-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-category {
    font-size: 13px;
    color: var(--color-secondary);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.course-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-card-premium:hover .course-title {
    color: var(--color-secondary);
}

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.meta-item {
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-item i {
    color: #aaa;
}

.course-divider {
    height: 1px;
    background: #f0f0f0;
    margin-top: auto;
    margin-bottom: 15px;
}

.course-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.course-institute {
    display: flex;
    align-items: center;
    gap: 10px;
}

.institute-logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: contain;
    border: 1px solid #eee;
    padding: 2px;
}

.institute-name {
    font-size: 13px;
    font-weight: 600;
    color: #444;
}

.course-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
}

.btn-course-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    transition: all 0.3s ease;
}

.course-card-premium:hover .btn-course-arrow {
    background: var(--color-secondary);
    color: #fff;
    transform: rotate(-45deg);
}

@media (max-width: 576px) {
    .section-top-course {
        padding: 40px 0;
    }

    .course-card-premium {
        margin-bottom: 20px;
    }
}

/* =========================================
   AI COUNSELING - ENHANCED REDESIGN
   ========================================= */

.section-ai-counseling-enhanced {
    background-color: #fffdf5;
    position: relative;
    overflow: hidden;
    color: var(--color-primary);
    padding: 80px 0;
}

.section-ai-counseling-enhanced::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(184, 134, 11, 0.05) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.section-ai-counseling-enhanced::after {
    content: '';
    position: absolute;
    bottom: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.05) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}

.ai-counseling-content-wrapper {
    position: relative;
    z-index: 2;
    row-gap: 32px;
}

.ai-counseling-content-wrapper > [class*="col-"] {
    display: flex;
    align-items: center;
}

.ai-cta-content,
.ai-report-card-enhanced {
    width: 100%;
}

.ai-cta-content {
    max-width: 540px;
}

/* AI Badge */
.ai-powered-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 50px;
    background: #ffffff;
    border: 1px solid rgba(184, 134, 11, 0.2);
    color: var(--color-secondary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.ai-hero-heading {
    font-size: 42px;
    line-height: 1.2;
    color: var(--color-primary);
    margin-bottom: 24px;
}

.ai-highlight-text {
    background: linear-gradient(90deg, #B8860B 0%, #d4a017 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.ai-hero-subtext {
    color: var(--color-text-soft);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 540px;
}

/* Feature List */
.ai-feature-list {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
}

.ai-feature-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    color: var(--color-primary);
    font-size: 16px;
    font-weight: 500;
}

.ai-feature-icon {
    width: 32px;
    height: 32px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-secondary);
    font-size: 14px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Glassmorphism Report Card */
.ai-report-card-enhanced {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(250, 246, 235, 0.9) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 30px 70px -18px rgba(15, 23, 42, 0.25);
    margin: 0 auto;
    max-width: 540px;
    min-height: 620px;
    display: flex;
    flex-direction: column;
    transform: perspective(1200px) rotateY(-8deg) rotateX(2deg) translateZ(0);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    position: relative;
}

.ai-report-card-enhanced:hover {
    transform: perspective(1200px) rotateY(-2deg) rotateX(0deg) scale(1.02);
    box-shadow: 0 36px 90px -20px rgba(15, 23, 42, 0.3);
}

.ai-report-card-enhanced::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.35), rgba(255, 255, 255, 0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.7;
}

.ai-report-card-enhanced::after {
    content: "";
    position: absolute;
    right: -40px;
    top: -40px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(184, 134, 11, 0.25), transparent 70%);
    filter: blur(8px);
    pointer-events: none;
}

.card-header-enhanced {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.9);
    flex-shrink: 0;
}

.ai-brain-icon {
    width: 48px;
    height: 48px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff7e6 0%, #f6e3b0 100%);
    border-radius: 12px;
    color: var(--color-secondary);
    font-size: 24px;
    border: 1px solid rgba(184, 134, 11, 0.35);
}

.ai-pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 12px;
    border: 2px solid rgba(184, 134, 11, 0.3);
    animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
    0% {
        width: 100%;
        height: 100%;
        opacity: 1;
    }

    100% {
        width: 180%;
        height: 180%;
        opacity: 0;
    }
}

.header-text h4 {
    margin: 0;
    font-weight: 700;
    color: var(--color-primary);
}

.header-text p {
    margin: 0;
    color: #666;
    font-size: 13px;
}

.verified-badge {
    font-size: 13px;
    color: #10b981;
    font-weight: 600;
}

.verified-badge i {
    margin-right: 4px;
}

.program-recommendation {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    flex: 0 0 auto;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.program-icon {
    width: 48px;
    height: 48px;
    background: #f1f5f9;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 20px;
}

.program-recommendation h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.program-recommendation p {
    margin: 0;
    font-size: 14px;
    color: #666;
}

.ai-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 20px 24px;
    flex-shrink: 0;
}

.stat-block {
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-icon-wrapper {
    width: 36px;
    height: 36px;
    background: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.career-match .stat-icon-wrapper {
    color: #db2777;
}

.salary .stat-icon-wrapper {
    color: #059669;
}

.stat-icon-wrapper.salary-icon {
    color: #059669;
}

.stat-content {
    display: flex;
    flex-direction: column;
}

.stat-label {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.stat-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--color-primary);
}

.progress-bar-mini {
    width: 100%;
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    margin-top: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--color-secondary);
}

/* Enhanced Assessment Card Sections */
.assessment-snapshot {
    padding: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(255, 255, 255, 0.95);
    flex-shrink: 0;
}

.snapshot-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 12px;
}

.snapshot-title h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.snapshot-title p {
    margin: 0;
    font-size: 13px;
    color: #666;
}

.verified-badge-inline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #10b981;
    font-weight: 600;
}

.verified-badge-inline i {
    font-size: 14px;
}

/* Target Role Section */
.target-role-section {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--color-primary);
    font-size: 15px;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.target-role-section i {
    font-size: 18px;
    color: #B8860B;
}

/* Recommended Path Section */
.recommended-path-section {
    padding: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}

.path-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.path-icon {
    width: 48px;
    height: 48px;
    background: #f0f4f8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
    font-size: 20px;
    flex-shrink: 0;
}

.path-info h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
}

.path-info p {
    margin: 4px 0 0 0;
    font-size: 13px;
    color: #666;
}

/* Enhanced Stats Grid */
.ai-stats-grid-enhanced {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 20px 24px;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.stat-block-enhanced {
    background: #f8fafc;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-icon-wrapper-enhanced {
    width: 40px;
    height: 40px;
    background: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #db2777;
    font-size: 18px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.fit-score .stat-icon-wrapper-enhanced {
    color: #db2777;
}

.salary-entry .stat-icon-wrapper-enhanced {
    color: #059669;
}

.stat-icon-wrapper-enhanced.salary-icon {
    color: #059669;
}

.stat-content-enhanced {
    display: flex;
    flex-direction: column;
}

.stat-label-enhanced {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
}

.stat-value-enhanced {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-primary);
}

/* Time to Entry */
.time-to-entry {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 24px;
    font-size: 14px;
    color: var(--color-primary);
    flex-shrink: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.time-to-entry i {
    width: 36px;
    height: 36px;
    background: #f1f5f9;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #B8860B;
    font-size: 16px;
}

.time-to-entry strong {
    font-weight: 600;
}

/* View Full Plan Button */
.view-full-plan-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: calc(100% - 48px);
    margin: 20px 24px;
    padding: 14px 24px;
    border: 2px solid var(--color-secondary);
    border-radius: 12px;
    background: transparent;
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.view-full-plan-btn:hover {
    background: var(--color-secondary);
    color: #ffffff;
}

.view-full-plan-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.view-full-plan-btn:hover i {
    transform: translateX(3px);
}

@media (max-width: 991px) {
    .ai-report-card-enhanced {
        margin: 40px auto 0;
        transform: none;
    }

    .ai-hero-heading {
        font-size: 32px;
        text-align: center;
    }

    .ai-hero-subtext,
    .ai-powered-badge {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        justify-content: center;
    }

    .ai-feature-list {
        margin-left: auto;
        margin-right: auto;
        width: fit-content;
        text-align: left;
    }

    .section-ai-counseling-enhanced .btn-theme-primary {
        margin: 0 auto;
        display: flex;
        width: fit-content;
    }
}

/* =========================================
   EXPERTS & PARTNERS - MARQUEE
   ========================================= */

.section-experts-premium {
    padding: 60px 0;
    background: #ffffff;
    overflow: hidden;
}

.experts-marquee-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.experts-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: marquee 40s linear infinite;
}

.experts-track:hover {
    animation-play-state: paused;
}

.logo-card-premium {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 20px;
    height: 100px;
    width: 200px;
    /* Fixed width for consistency */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
    flex-shrink: 0;
}

.logo-card-premium:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    border-color: #E8DCC4;
}

.logo-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.logo-card-premium:hover .logo-img {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .experts-track {
        gap: 20px;
        animation-duration: 30s;
    }

    .logo-card-premium {
        width: 160px;
        height: 80px;
        padding: 15px;
    }
}

/* =========================================
   HEADER BRANDING & PREMIUM STYLES
   ========================================= */

:root {
    --brand-categories-green: #e6a300;
    /* Gold */
    --brand-search-blue: #e6a300;
    /* Gold */
    --brand-cta-orange: #e6a300;
    /* Gold */
    --brand-account-bg: #fffdf5;
    /* Warm light */
    --brand-account-text: #111111;
}

/* 1. Categories Button - Gold */
.header-catalog>a {
    background-color: #fffdf5 !important;
    color: #111111 !important;
    padding: 8px 14px !important;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #e4e4e7;
}

.header-catalog>a:hover {
    background-color: #ffffff !important;
    color: #e6a300 !important;
    border-color: #e6a300 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(230, 163, 0, 0.2);
}

.header-catalog>a i {
    color: #e6a300 !important;
    font-size: 12px;
}

/* 2. Search Bar - Gold Outline & Button */
.header-search .form-search {
    border: 1px solid #e4e4e7 !important;
    border-radius: 12px;
    background: #ffffff;
    height: 40px;
    display: flex;
    align-items: center;
    padding: 0 4px;
    /* Padding for button */
    overflow: visible;
    /* Restore overflow for shadow */
    transition: all 0.3s ease;
}

.header-search .form-search:focus-within {
    box-shadow: 0 0 0 3px rgba(230, 163, 0, 0.15);
    border-color: #e6a300 !important;
}

.header-search input.form-control {
    border: none !important;
    background: transparent !important;
    height: 100%;
    padding-left: 16px !important;
    /* Icon handled by blue button */
    font-size: 14px;
    color: #111111;
}

.header-search input.form-control:focus {
    box-shadow: none;
}

.header-search .btn {
    background: #e6a300 !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
    border: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.header-search .btn:hover {
    background: #ffb81c !important;
    transform: scale(1.03);
}

/* Align search icon to the right */
.header-search .form-search>i.fa-search {
    color: #e6a300 !important;
    right: 12px !important;
    left: auto !important;
}

/* 3. Navigation Links - Clean Dark */
.header-right .navigation a {
    color: #1d2330 !important;
    font-weight: 600;
    font-size: 14px;
}

.header-right .navigation a:hover {
    color: #e6a300 !important;
}

/* 4. Account Button - Soft Background */
.btn-account {
    background-color: var(--brand-account-bg) !important;
    color: var(--brand-account-text) !important;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid #e4e4e7;
}

.btn-account:hover {
    background-color: #ffffff !important;
    border-color: #e6a300;
}

/* 5. AI Career Path - Gold Gradient/Solid */
.btn-theme-primary {
    background: var(--brand-cta-orange) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(255, 182, 6, 0.3);
    border-radius: 6px !important;
    /* Consistent radius */
    padding: 10px 24px !important;
    font-weight: 700;
}

.btn-theme-primary:hover {
    background: #e6a300 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 182, 6, 0.4);
    color: #ffffff !important;
}

/* Logo Fixes Reinforcement */
#logo-header,
.logo-img {
    filter: none !important;
    opacity: 1 !important;
    height: 45px !important;
    /* Slightly adjusted height */
    width: auto;
}

/* =========================================
   UPGRAD-STYLE HERO SECTION
   ========================================= */

.hero-section-upgrad-style {
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 50%, #f9f9f9 100%);
    position: relative;
    overflow: hidden;
    padding: 40px 0 50px;
    min-height: auto;
}

.hero-section-upgrad-style::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(240, 245, 250, 0.3) 100%);
    z-index: 0;
    pointer-events: none;
}

/* Hero Main Row */
.hero-upgrad-row {
    position: relative;
    z-index: 1;
    align-items: flex-start;
}

/* Left Column */
.hero-upgrad-left {
    max-width: 700px;
}

/* Hero Tagline */
.hero-tagline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, rgba(184, 134, 11, 0.1), rgba(255, 215, 0, 0.08));
    border: 1px solid rgba(184, 134, 11, 0.2);
    border-radius: 50px;
    color: var(--color-secondary);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-tagline i {
    font-size: 14px;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

/* Upgrad Hero Headline */
.hero-upgrad-headline {
    font-size: 56px;
    line-height: 1.2;
    color: var(--color-primary);
    margin-bottom: 12px;
    font-weight: 900;
    position: relative;
}

/* Upgrad Hero Subtext */
.hero-upgrad-subtext {
    font-size: 16px;
    line-height: 1.5;
    color: #555;
    margin-bottom: 24px;
    font-weight: 500;
}

/* Search Wrapper with Dropdown */
.hero-search-wrapper {
    position: relative;
    margin-bottom: 20px;
}

/* Search Bar */
.hero-search-box {
    display: flex;
    align-items: center;
    background: #ffffff;
    border-radius: 10px;
    padding: 6px 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border: 1.5px solid #e0e0e0;
    transition: all 0.3s ease;
}

.hero-search-box form {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 0;
}

.hero-search-box:focus-within {
    border-color: var(--color-secondary);
    box-shadow: 0 4px 16px rgba(184, 134, 11, 0.1);
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 10px 14px;
    font-size: 14px;
    color: #333;
    background: transparent;
}

.search-input::placeholder {
    color: #999;
}

.search-btn {
    background: var(--color-secondary);
    border: none;
    border-radius: 6px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.search-btn:hover {
    background: #9d7608;
    transform: scale(1.05);
}

/* Search Dropdown */
.search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.3s ease;
    z-index: 100;
}

.search-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Trending Items in Dropdown */
.trending-label {
    font-size: 12px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.trending-items-horizontal {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 12px;
}

.trending-item-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    padding: 8px 14px;
    border: 1.5px solid #ddd;
    border-radius: 20px;
    transition: all 0.3s ease;
    white-space: nowrap;
    background: #ffffff;
    font-weight: 500;
}

.trending-item-tag:hover {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
    background: #fefbf5;
}

/* Goals Section */
.hero-goals-section {
    margin-bottom: 14px;
}

.goals-grid-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.goal-btn-pill {
    background: #ffffff;
    border: 1.5px solid #ddd;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

.goal-btn-pill:hover {
    border-color: var(--color-secondary);
    color: var(--color-secondary);
    background: #fefbf5;
}

/* Trending Searches Box */
.hero-trending-box {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.trending-label {
    font-size: 13px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
}

.trending-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.trending-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #666;
    text-decoration: none;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.trending-item:hover {
    background: #f5f5f5;
    color: #e31c3d;
}

.trending-item i {
    font-size: 10px;
    color: #e31c3d;
}

/* Primary CTA Section */
.hero-cta-primary {
    margin-bottom: 16px;
}

.cta-row {
    display: flex;
    gap: 12px;
}

.cta-card {
    background: linear-gradient(135deg, #fefbf5 0%, #fff8f0 100%);
    border: 2px solid var(--color-secondary);
    border-radius: 14px;
    padding: 20px 20px;
    text-align: center;
    flex: 1;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(184, 134, 11, 0.08);
}

.cta-card:hover {
    border-color: var(--color-secondary);
    box-shadow: 0 6px 18px rgba(184, 134, 11, 0.18);
    transform: translateY(-3px);
}

.cta-card i {
    font-size: 32px;
    color: var(--color-secondary);
    margin-bottom: 10px;
    display: block;
}

.cta-label {
    font-size: 14px;
    color: #333;
    margin: 0 0 6px 0;
    font-weight: 700;
}

.cta-highlight {
    font-size: 16px;
    color: var(--color-secondary);
    font-weight: 800;
    margin: 0 0 12px 0;
}

.cta-link {
    color: var(--color-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-link:hover {
    gap: 4px;
    transform: translateX(3px);
}

/* Secondary CTA Section */
.hero-cta-secondary {
    margin-bottom: 12px;
}

.cta-row-secondary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.cta-secondary-card {
    background: #ffffff;
    border: 1.5px solid #e0e0e0;
    border-radius: 10px;
    padding: 14px 14px;
    text-align: center;
    transition: all 0.3s ease;
}

.cta-secondary-card:hover {
    border-color: var(--color-secondary);
    background: #fefbf5;
    box-shadow: 0 3px 10px rgba(184, 134, 11, 0.1);
}

.cta-secondary-card i {
    font-size: 22px;
    color: var(--color-secondary);
    margin-bottom: 6px;
    display: block;
}

.cta-secondary-label {
    font-size: 12px;
    color: #333;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.cta-secondary-link {
    color: var(--color-secondary);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    transition: color 0.3s ease;
    display: inline-block;
}

.cta-secondary-link:hover {
    color: #9d7608;
}

/* Unified CTA Section with Featured Middle Card */
.hero-cta-unified {
    margin-bottom: 16px;
}

.cta-row-three-featured {
    display: grid;
    grid-template-columns: 1fr 1.4fr 1fr;
    gap: 14px;
    align-items: center;
}

/* Featured Middle Card - AI Career Path */
.cta-card-featured {
    background: linear-gradient(135deg, #fefbf5 0%, #fff4e0 100%);
    border: 3px solid var(--color-secondary);
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

.cta-card-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-secondary) 0%, #d4a12a 100%);
}

.cta-card-featured:hover {
    border-color: var(--color-secondary);
    box-shadow: 0 8px 28px rgba(184, 134, 11, 0.25);
    transform: translateY(-5px) scale(1.02);
}

.cta-card-featured i {
    font-size: 42px;
    color: var(--color-secondary);
    margin-bottom: 14px;
    display: block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.cta-label-featured {
    font-size: 17px;
    color: #222;
    margin: 0 0 8px 0;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.cta-card-featured .cta-highlight {
    font-size: 18px;
    color: var(--color-secondary);
    font-weight: 900;
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-button-primary {
    background: var(--color-secondary);
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 28px;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(184, 134, 11, 0.2);
}

.cta-button-primary:hover {
    background: #9d7608;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(184, 134, 11, 0.3);
    color: #ffffff;
}

/* Side Cards - UG-PG Programs & Tech Offline Training */
.cta-card-side {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border: 2px solid var(--color-secondary);
    border-radius: 14px;
    padding: 16px 14px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(184, 134, 11, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 145px;
    max-height: 145px;
    position: relative;
    overflow: hidden;
}

.cta-card-side::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--color-secondary) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-card-side:hover::after {
    opacity: 1;
}

.cta-card-side:hover {
    border-color: var(--color-secondary);
    background: linear-gradient(135deg, #fefbf5 0%, #fff8f0 100%);
    box-shadow: 0 6px 16px rgba(184, 134, 11, 0.15);
    transform: translateY(-4px);
}

.cta-card-side i {
    font-size: 30px;
    color: var(--color-secondary);
    margin-bottom: 8px;
    display: block;
    transition: transform 0.3s ease;
}

.cta-card-side:hover i {
    transform: scale(1.1) rotate(5deg);
}

.cta-card-side .cta-label {
    font-size: 14px;
    color: #222;
    margin: 0 0 8px 0;
    font-weight: 700;
    line-height: 1.3;
}

.cta-card-side .cta-link {
    color: var(--color-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
    padding-bottom: 2px;
}

.cta-card-side .cta-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: width 0.3s ease;
}

.cta-card-side .cta-link:hover {
    color: #9d7608;
}

.cta-card-side .cta-link:hover::after {
    width: 100%;
}

/* Legacy equal-width card styles kept for compatibility */
.cta-row-three {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.cta-card-equal {
    background: linear-gradient(135deg, #fefbf5 0%, #fff8f0 100%);
    border: 2px solid var(--color-secondary);
    border-radius: 14px;
    padding: 20px 16px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(184, 134, 11, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 160px;
}

.cta-card-equal:hover {
    border-color: var(--color-secondary);
    box-shadow: 0 6px 18px rgba(184, 134, 11, 0.18);
    transform: translateY(-3px);
}

.cta-card-equal i {
    font-size: 32px;
    color: var(--color-secondary);
    margin-bottom: 10px;
    display: block;
}

.cta-card-equal .cta-label {
    font-size: 14px;
    color: #333;
    margin: 0 0 6px 0;
    font-weight: 700;
}

.cta-card-equal .cta-highlight {
    font-size: 16px;
    color: var(--color-secondary);
    font-weight: 800;
    margin: 0 0 12px 0;
}

.cta-card-equal .cta-link {
    color: var(--color-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
}

.cta-card-equal .cta-link:hover {
    transform: translateX(3px);
}


/* Carousel Wrapper */
.hero-carousel-wrapper {
    position: relative;
    height: 400px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

/* Square Carousel Variant */
.hero-carousel-square {
    aspect-ratio: 1 / 1;
    height: auto;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-item {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-item.active {
    display: block;
    opacity: 1;
}

.carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.75) 50%, rgba(0, 0, 0, 0.95) 100%);
    padding: 32px 20px 20px;
    color: #ffffff;
    text-align: center;
}

.carousel-overlay h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 4px 0;
}

.carousel-overlay p {
    font-size: 13px;
    color: #ffd699;
    margin: 0 0 10px 0;
    font-weight: 500;
}

.carousel-cta {
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: color 0.3s ease;
    display: inline-block;
}

.carousel-cta:hover {
    color: var(--color-secondary);
}

/* Carousel Navigation */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(184, 134, 11, 0.8);
    border: none;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-nav:hover {
    background: var(--color-secondary);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav.prev {
    left: 12px;
}

.carousel-nav.next {
    right: 12px;
}

/* Carousel Dots */
.carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #ffffff;
    width: 24px;
    border-radius: 4px;
}



/* Responsive Design */
@media (max-width: 991px) {
    .hero-section-upgrad-style {
        padding: 30px 0 40px;
    }

    .hero-upgrad-headline {
        font-size: 46px;
        margin-bottom: 10px;
    }

    .hero-upgrad-subtext {
        margin-bottom: 18px;
        font-size: 15px;
    }

    .hero-carousel-wrapper {
        height: 350px;
        margin-top: 30px;
    }

    .hero-carousel-square {
        max-width: 400px;
    }

    .goals-grid-pills {
        gap: 6px;
    }

    .goal-btn-pill {
        padding: 7px 14px;
        font-size: 12px;
    }

    .trending-items-horizontal {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-row-secondary {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-row-three {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .cta-row-three-featured {
        grid-template-columns: 1fr 1.3fr 1fr;
        gap: 10px;
    }

    .cta-card-featured {
        padding: 24px 18px;
        min-height: 180px;
    }

    .cta-card-featured i {
        font-size: 36px;
    }

    .cta-label-featured {
        font-size: 15px;
    }

    .cta-button-primary {
        font-size: 13px;
        padding: 10px 22px;
    }

    .cta-card-side {
        padding: 14px 12px;
        min-height: 130px;
        max-height: 130px;
    }

    .cta-card-side i {
        font-size: 26px;
    }

    .cta-card-equal {
        padding: 16px 12px;
        min-height: 140px;
    }

    .cta-card-equal i {
        font-size: 28px;
    }

    .cta-card-equal .cta-label {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .hero-section-upgrad-style {
        padding: 24px 0 32px;
    }

    .hero-upgrad-headline {
        font-size: 36px;
        margin-bottom: 8px;
    }

    .hero-upgrad-subtext {
        margin-bottom: 14px;
        font-size: 14px;
    }

    .hero-search-wrapper {
        margin-bottom: 14px;
    }

    .goals-grid-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .goals-grid-pills::-webkit-scrollbar {
        display: none;
    }

    .goal-btn-pill {
        flex-shrink: 0;
    }

    .trending-items-horizontal {
        grid-template-columns: 1fr;
    }

    .cta-row-secondary {
        grid-template-columns: 1fr;
    }

    .cta-row-three {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .cta-row-three-featured {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .cta-card-featured {
        grid-column: 1 / -1;
        order: -1;
        min-height: auto;
    }

    .cta-card-side {
        min-height: auto;
        max-height: none;
    }

    .cta-card-equal {
        min-height: 120px;
    }

    .hero-carousel-wrapper {
        height: 280px;
        margin-top: 20px;
    }

    .hero-carousel-square {
        max-width: 100%;
        aspect-ratio: 1 / 1;
    }

    .carousel-overlay {
        padding: 24px 16px 14px;
    }

    .carousel-overlay h3 {
        font-size: 18px;
    }

    .carousel-overlay p {
        font-size: 12px;
    }
}

/* Print Styles */
@media print {
    .hero-section-upgrad-style {
        background: #ffffff;
        padding: 20px 0;
    }

    .carousel-nav,
    .carousel-dots,
    .search-dropdown {
        display: none;
    }
}
