/* ===================================
   ADDON EDUTECH - HOMEPAGE STYLES
   Modern, Clean, Conversion-Optimized
   =================================== */

/* CSS Variables */
:root {
    /* Brand Colors - Using Addon Edutech Palette */
    --primary: #0C4A86;
    --primary-dark: #083560;
    --primary-light: #4572A8;
    --secondary: #F4B43C;
    --accent: #F4B43C;
    --accent-hover: #E9770E;

    /* Neutrals */
    --text-dark: #1a1a1a;
    --text-medium: #4a5568;
    --text-light: #6a6f73;
    --text-muted: rgba(0, 0, 0, 0.65);

    /* Backgrounds */
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-lighter: #f3f6f8;
    --bg-gradient: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);

    /* Section alternating backgrounds - brand tinted */
    --section-bg-brand-subtle: linear-gradient(135deg, #ffffff 0%, #e8eef5 50%, #dce5f0 100%);
    --section-bg-brand-warm: linear-gradient(135deg, #ffffff 0%, #fef9eb 50%, #fdf3d9 100%);

    /* Shadows - Enhanced */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.15);
    --shadow-hover: 0 12px 40px rgba(12, 74, 134, 0.15);

    /* Spacing */
    --section-padding: 48px 0;
    --section-padding-mobile: 32px 0;

    /* Border Radius - Enhanced */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-2xl: 32px;

    /* Transitions - Enhanced */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Base Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 15px;
}

/* Section Padding */
.section-padding {
    padding: var(--section-padding);
}

@media (max-width: 768px) {
    .section-padding {
        padding: var(--section-padding-mobile);
    }
}

.bg-light {
    background-color: var(--bg-light) !important;
}

.bg-gradient {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

/* Alternating section backgrounds - white / brand gradient rhythm */
.section-bg-white {
    background: var(--bg-white) !important;
}

.section-bg-brand-subtle {
    background: var(--section-bg-brand-subtle) !important;
}

.section-bg-brand-warm {
    background: var(--section-bg-brand-warm) !important;
}

.bg-primary {
    background: var(--primary) !important;
}

.text-white {
    color: #ffffff !important;
}

/* Section Headers - Compact */
.section-header {
    margin-bottom: 28px;
}

.section-tag {
    display: inline-block;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
    margin-bottom: 8px;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.section-description {
    font-size: 18px;
    color: var(--text-medium);
    max-width: 650px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 24px;
    }

    .section-description {
        font-size: 15px;
    }

    .section-header {
        margin-bottom: 22px;
    }
}

/* ===================================
   MODERN HERO SECTION - LMS STYLE
   =================================== */

.modern-hero-section {
    position: relative;
    width: 100%;
    min-height: 70vh;
    padding: 50px 0 50px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--primary-light) 100%);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(244, 180, 60, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(69, 114, 168, 0.15) 0%, transparent 50%);
    opacity: 0.6;
}

.hero-content-wrapper {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

/* Left Content */
.hero-left {
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 24px;
}

.hero-badge i {
    color: var(--secondary);
    font-size: 15px;
}

.hero-main-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}

.highlight-text {
    color: var(--secondary);
    position: relative;
    display: inline-block;
}

.highlight-text::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 8px;
    background: rgba(244, 180, 60, 0.3);
    z-index: -1;
}

.hero-description {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 580px;
}

.hero-description strong {
    color: var(--secondary);
    font-weight: 700;
}

/* Search Bar */
.hero-search-wrapper {
    margin-bottom: 40px;
}

.hero-search-form {
    margin-bottom: 18px;
}

.search-input-group {
    display: flex;
    align-items: stretch;
    gap: 12px;
    background: #ffffff;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.search-input-group:focus-within {
    box-shadow: 0 8px 32px rgba(12, 74, 134, 0.2), 0 4px 18px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: rgba(12, 74, 134, 0.2);
}

.search-input-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    min-width: 0;
}

.search-icon {
    position: absolute;
    left: 18px;
    color: #94a3b8;
    font-size: 20px;
    z-index: 1;
    pointer-events: none;
    transition: color 0.3s ease;
}

.search-input-group:focus-within .search-icon {
    color: var(--primary);
}

.search-input {
    flex: 1;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    outline: none;
    padding: 18px 20px 18px 52px;
    font-size: 15px;
    color: var(--text-dark);
    background: #ffffff;
    transition: all 0.3s ease;
    font-weight: 400;
}

.search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(12, 74, 134, 0.1);
    background: #ffffff;
}

.search-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.search-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px 32px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(12, 74, 134, 0.25);
    min-width: 140px;
}

.search-button:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(12, 74, 134, 0.35);
}

.search-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(12, 74, 134, 0.25);
}

.search-button i {
    font-size: 15px;
    transition: transform 0.3s ease;
    font-weight: 700;
}

.search-button:hover i {
    transform: translateX(4px);
}

/* Responsive Search Bar */
@media (max-width: 768px) {
    .search-input-group {
        flex-direction: column;
        gap: 10px;
        padding: 6px;
    }

    .search-input-wrapper {
        width: 100%;
    }

    .search-input {
        width: 100%;
        padding: 14px 18px 14px 48px;
    }

    .search-input:focus {
        transform: none;
    }

    .search-icon {
        left: 18px;
        font-size: 15px;
    }

    .search-button {
        width: 100%;
        justify-content: center;
        padding: 14px 28px;
        min-width: auto;
    }

    .search-input-group:focus-within {
        transform: none;
    }
}

@media (max-width: 480px) {
    .search-input {
        font-size: 15px;
        padding: 12px 18px 12px 44px;
    }

    .search-button {
        padding: 12px 24px;
        font-size: 15px;
    }

    .search-icon {
        left: 14px;
        font-size: 15px;
    }
}

.trending-searches {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.trending-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.trending-tag {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all var(--transition-base);
}

.trending-tag:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-2px);
    text-decoration: none;
}

/* Trust Indicators */
.hero-trust-indicators {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    transition: all var(--transition-base);
}

.trust-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.trust-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(244, 180, 60, 0.2);
    border-radius: 10px;
    color: var(--secondary);
    font-size: 20px;
    flex-shrink: 0;
}

.trust-content {
    flex: 1;
}

.trust-number {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.trust-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 2px;
}

/* CTA Buttons */
.hero-cta-buttons {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    background: #ffffff;
    color: var(--primary);
    border: none;
    border-radius: 12px;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(12, 74, 134, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
    color: var(--primary);
    text-decoration: none;
}

.btn-hero-primary:hover::before {
    left: 100%;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-3px);
}

.btn-hero-secondary i {
    font-size: 20px;
}

/* Right Content - Single Compact Course Preview */
.hero-right {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 20px;
}

/* Floating Teacher Image */
.hero-teacher-image {
    /* position: absolute; */
    /* right: -20px;
    bottom: 0; */
    z-index: 2;
    pointer-events: none;
    /* animation: floatTeacher 3s ease-in-out infinite; */
}

.floating-teacher-img {
    max-width: 500px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
    animation: floatAnimation 3s ease-in-out infinite;
}

@keyframes floatTeacher {

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

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

@keyframes floatAnimation {

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

    25% {
        transform: translateY(-18px) rotate(1deg);
    }

    50% {
        transform: translateY(-20px) rotate(0deg);
    }

    75% {
        transform: translateY(-18px) rotate(-1deg);
    }
}

.single-preview-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transition: all var(--transition-base);
    position: relative;
    max-width: 320px;
    width: 100%;
    opacity: 0.9;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.single-preview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    opacity: 1;
}

.preview-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.preview-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 50%;
    overflow: hidden;
    background: var(--bg-light);
}

.preview-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.single-preview-card:hover .preview-thumbnail img {
    transform: scale(1.05);
}

.preview-content {
    padding: 18px;
}

.preview-category {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 6px;
    opacity: 0.8;
}

.preview-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.preview-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--text-medium);
}

.preview-rating,
.preview-students {
    display: flex;
    align-items: center;
    gap: 4px;
}

.preview-rating i {
    color: #fbbf24;
    font-size: 12px;
}

/* Floating Stats Card - Compact & Subtle */
.floating-stats-card {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 14px 18px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
    min-width: 180px;
    max-width: 200px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    opacity: 0.85;
    transition: all var(--transition-base);
}

.floating-stats-card:hover {
    opacity: 1;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.stats-card-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stats-card-header i {
    color: var(--secondary);
    font-size: 13px;
}

.stats-card-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stat-label {
    font-size: 11px;
    color: var(--text-medium);
}

.stat-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    font-size: 20px;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

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

/* Mobile Responsive */
@media (max-width: 1024px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-right {
        order: -1;
        align-items: center;
    }

    .hero-teacher-image {
        display: none;
    }

    .single-preview-card {
        max-width: 100%;
        opacity: 1;
    }

    .floating-stats-card {
        max-width: 100%;
        margin-top: 0;
    }
}

@media (max-width: 768px) {
    .modern-hero-section {
        min-height: auto;
        padding: 50px 0 40px;
    }

    .hero-main-title {
        font-size: 28px;
    }

    .hero-description {
        font-size: 15px;
    }

    .hero-teacher-image {
        display: none;
    }

    .hero-trust-indicators {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .trust-item {
        padding: 12px;
    }

    .trust-icon {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .trust-number {
        font-size: 15px;
    }

    .trust-label {
        font-size: 11px;
    }

    .search-input-group {
        flex-direction: column;
        gap: 10px;
        padding: 6px;
    }

    .search-input-wrapper {
        width: 100%;
    }

    .search-input {
        width: 100%;
        padding: 14px 18px 14px 48px;
    }

    .search-input:focus {
        transform: none;
    }

    .search-icon {
        left: 18px;
        font-size: 15px;
    }

    .search-button {
        width: 100%;
        justify-content: center;
        padding: 14px 28px;
        font-size: 15px;
        min-width: auto;
    }

    .search-input-group:focus-within {
        transform: none;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        padding: 12px 20px;
        font-size: 13px;
    }

    .single-preview-card {
        max-width: 100%;
    }

    .floating-stats-card {
        max-width: 100%;
        margin-top: 18px;
    }

    .feature-compact-card {
        padding: 20px 18px;
    }

    .feature-compact-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
        margin-bottom: 18px;
    }

    .feature-compact-title {
        font-size: 15px;
    }

    .feature-compact-text {
        font-size: 13px;
    }
}

/* Enhanced Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {

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

    50% {
        transform: scale(1.05);
    }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Enhanced focus states for accessibility */
*:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-carousel-section {
        height: 100vh;
        min-height: 500px;
    }

    .content-wrapper {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }

    .content-left,
    .content-right {
        max-width: 100%;
    }

    .hero-headline {
        font-size: 36px;
    }

    .hero-subheadline {
        font-size: 15px;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .btn-lg {
        width: 100%;
        justify-content: center;
    }

    /* Enhanced mobile touch targets */
    .btn,
    .course-card,
    .category-card,
    .feature-card {
        -webkit-tap-highlight-color: rgba(12, 74, 134, 0.1);
    }
}

/* ===================================
   TRUST BAR
   =================================== */

.trust-bar {
    background: var(--bg-light);
    padding: 32px 0;
    border-bottom: 1px solid #e2e8f0;
}

.trust-bar-content {
    text-align: center;
}

.trust-heading {
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-medium);
    margin-bottom: 24px;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 6px;
    display: inline-block;
}

.stat-suffix {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    display: inline-block;
}

.stat-label {
    font-size: 13px;
    color: var(--text-medium);
    margin-top: 6px;
}

@media (max-width: 768px) {
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .stat-number,
    .stat-suffix {
        font-size: 36px;
    }
}

/* ===================================
   COMPACT FEATURES - LEARNDASH STYLE
   =================================== */

.features-compact {
    background: var(--bg-white);
    padding: 40px 0;
}

/* SVG Icon for Feature Cards */
.feature-compact-icon-svg {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(12, 74, 134, 0.08), rgba(12, 74, 134, 0.03));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all var(--transition-base);
    border: 1px solid rgba(12, 74, 134, 0.08);
}

.feature-compact-card:hover .feature-compact-icon-svg {
    background: linear-gradient(135deg, rgba(12, 74, 134, 0.12), rgba(12, 74, 134, 0.06));
    transform: scale(1.05);
    border-color: rgba(12, 74, 134, 0.15);
}

.feature-compact-card {
    background: var(--bg-white);
    padding: 28px 24px;
    border-radius: 12px;
    border: 1px solid #e8ecf0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-compact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: var(--primary-light);
}

.feature-compact-icon {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 20px;
    transition: all var(--transition-base);
}

.feature-compact-card:hover .feature-compact-icon {
    transform: scale(1.05);
}

.feature-compact-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.feature-compact-title .highlight {
    color: var(--secondary);
}

.feature-compact-text {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-medium);
    margin-bottom: 18px;
    flex: 1;
}

.feature-compact-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: gap var(--transition-fast);
    margin-top: auto;
}

.feature-compact-link:hover {
    gap: 10px;
    color: var(--primary-dark);
}

/* Modal Styles */
.modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}

.modal-body {
    padding: 32px;
}

.modal-body .highlight {
    color: var(--secondary);
    font-weight: 600;
}

/* ===================================
   COMPACT COURSE CATEGORIES
   =================================== */

.course-categories-compact {
    background: var(--bg-white);
    padding: 40px 0;
}

.section-header-compact {
    margin-bottom: 40px;
}

.section-tag-compact {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-title-compact {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.section-description-compact {
    font-size: 18px;
    color: var(--text-medium);
    max-width: 600px;
    margin: 0 auto;
}

.categories-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    max-width: 1200px;
    margin: 0 auto;
}

.category-card-compact {
    background: var(--bg-white);
    border-radius: 10px;
    border: 1px solid #e8ecf0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: all var(--transition-base);
    overflow: hidden;
    position: relative;
    border-top: 5px solid var(--primary);
}

.category-card-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.category-card-compact:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border-color: #d1d7dc;
}

.category-card-compact:hover::before {
    transform: scaleX(1);
}

.category-link-compact {
    display: block;
    padding: 20px;
    text-decoration: none;
    color: inherit;
}

.category-header-compact {
    margin-bottom: 18px;
}

.category-title-compact {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.4;
    min-height: 44px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-footer-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #f0f2f5;
}

.category-count-compact {
    font-size: 15px;
    color: var(--text-medium);
    font-weight: 500;
}

.category-explore {
    font-size: 15px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap var(--transition-fast);
}

.category-link-compact:hover .category-explore {
    gap: 10px;
}

/* Category Colors - Subtle */
.category-primary {
    color: var(--primary);
}

.category-success {
    color: #10b981;
}

.category-info {
    color: #3b82f6;
}

.category-warning {
    color: #f59e0b;
}

.category-danger {
    color: #ef4444;
}

.category-purple {
    color: #8b5cf6;
}

.category-orange {
    color: #f97316;
}

.category-teal {
    color: #14b8a6;
}

@media (max-width: 768px) {
    .section-title-compact {
        font-size: 24px;
    }

    .section-description-compact {
        font-size: 15px;
    }

    .categories-grid-compact {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 12px;
    }

    .category-link-compact {
        padding: 18px;
    }

    .category-title-compact {
        font-size: 15px;
        min-height: 40px;
    }

    .category-count-compact,
    .category-explore {
        font-size: 12px;
    }
}

/* ===================================
   FEATURED COURSES
   =================================== */

.featured-courses {
    background: var(--bg-white);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 36px;
}

@media (max-width: 1200px) {
    .courses-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .courses-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .courses-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.course-card {
    background: var(--bg-white);
    border: 1px solid #e8ecf0;
    border-radius: 10px;
    overflow: hidden;
    transition: all var(--transition-base);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    position: relative;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    border-color: #d1d7dc;
}

.course-card:hover::before {
    transform: scaleX(1);
}

.course-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.course-thumbnail {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 aspect ratio */
    overflow: hidden;
    background: var(--bg-light);
}

.course-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

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

.course-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    color: white;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-bestseller {
    background: rgba(244, 180, 60, 0.95);
    color: var(--text-dark);
}

.badge-new {
    background: var(--primary);
}

.course-content {
    padding: 20px;
}

.course-category {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.course-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-instructor {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 12px;
}

.course-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 15px;
}

.rating-stars {
    color: #fbbf24;
    display: flex;
    gap: 2px;
}

.rating-number {
    color: var(--text-dark);
    font-weight: 600;
    margin-left: 4px;
}

.rating-count {
    color: var(--text-light);
}

.course-stats {
    display: flex;
    gap: 18px;
    font-size: 13px;
    color: var(--text-light);
}

.course-stats span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
}

.course-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.current-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
}

.original-price {
    font-size: 15px;
    color: var(--text-light);
    text-decoration: line-through;
}

.discount-badge {
    font-size: 12px;
    background: var(--secondary);
    color: var(--text-dark);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.enroll-btn {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 4px;
}

@media (max-width: 768px) {
    .courses-grid {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   BRAND COURSE CARDS - INSPIRED DESIGN
   =================================== */

.course-card-brand {
    background: var(--bg-white);
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    transition: all var(--transition-base);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    position: relative;
}

.course-card-brand:hover {
    box-shadow: 0 4px 18px rgba(12, 74, 134, 0.12);
    transform: translateY(-3px);
    border-color: var(--primary-light);
}

.course-link-brand {
    text-decoration: none;
    color: inherit;
    display: block;
}

.course-thumbnail-brand {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    background: var(--bg-light);
}

.course-image-brand {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.course-badge-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, var(--primary) 0%, transparent 100%);
    padding: 8px 12px;
    opacity: 0.9;
}

.course-category-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.course-bestseller-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--secondary);
    color: var(--text-dark);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 2px 6px rgba(244, 180, 60, 0.3);
}

.course-content-brand {
    padding: 18px;
}

.course-title-brand {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 44px;
}

.course-instructor-brand {
    font-size: 12px;
    color: var(--text-medium);
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.course-rating-brand {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.rating-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--secondary);
    line-height: 1.2;
}

.rating-stars-brand {
    display: flex;
    align-items: center;
    gap: 2px;
    color: #fbbf24;
    font-size: 12px;
}

.rating-stars-brand .bi-star-fill {
    color: #fbbf24;
}

.rating-stars-brand .bi-star {
    color: #e5e7eb;
}

.rating-count-brand {
    font-size: 12px;
    color: var(--text-medium);
    margin-left: 2px;
}

.course-stats-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--text-medium);
    flex-wrap: wrap;
}

.stat-item-brand {
    display: flex;
    align-items: center;
    gap: 4px;
}

.stat-item-brand i {
    font-size: 11px;
    color: var(--primary-light);
}

.course-footer-brand {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
    margin-top: 8px;
    gap: 8px;
}

.course-price-brand {
    display: flex;
    align-items: baseline;
}

.price-amount {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.course-action-buttons {
    display: flex;
    align-items: center;
    gap: 6px;
}

.course-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    border: 1px solid transparent;
}

.course-action-btn:first-child {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

.course-action-btn:first-child:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(12, 74, 134, 0.25);
}

.course-wishlist-btn {
    background: transparent;
    color: var(--text-medium);
    border: 1px solid #e2e8f0;
    padding: 8px 12px;
    min-width: 40px;
    justify-content: center;
}

.course-wishlist-btn:hover {
    background: #fee2e2;
    border-color: #ef4444;
    color: #ef4444;
    transform: translateY(-1px);
}

.course-wishlist-btn i {
    font-size: 15px;
}

.course-title-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.course-title-link:hover {
    color: var(--primary);
}

.course-thumbnail-link {
    text-decoration: none;
    display: block;
}

.enroll-btn-brand {
    background: var(--primary);
    color: #ffffff;
    border: none;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.enroll-btn-brand:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(12, 74, 134, 0.25);
}

.enroll-btn-brand:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .course-content-brand {
        padding: 14px;
    }

    .course-title-brand {
        font-size: 15px;
        min-height: 42px;
    }

    .course-footer-brand {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .course-action-buttons {
        width: 100%;
        justify-content: space-between;
    }

    .course-action-btn {
        flex: 1;
        justify-content: center;
        padding: 8px 12px;
        font-size: 12px;
    }

    .course-wishlist-btn {
        flex: 0 0 auto;
        min-width: 44px;
    }

    .enroll-btn-brand {
        padding: 7px 18px;
        font-size: 13px;
    }

    .price-amount {
        font-size: 15px;
    }
}

/* ===================================
   UDEMY-INSPIRED COURSE CARDS (MOST POPULAR)
   =================================== */
.course-card-udemy {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.course-card-udemy:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
    border-color: rgba(12, 74, 134, 0.2);
}

.course-link-udemy {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-thumbnail-udemy {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    background: #f3f4f6;
}

.course-image-udemy {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.course-card-udemy:hover .course-image-udemy {
    transform: scale(1.08);
}

.course-overlay-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    z-index: 2;
}

.course-category-overlay {
    background: rgba(12, 74, 134, 0.9);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
}

.course-bestseller-overlay {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #F4B43C;
    color: #1a1a1a;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    z-index: 2;
    box-shadow: 0 2px 4px rgba(244, 180, 60, 0.3);
}

.course-content-udemy {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.course-title-udemy {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 6px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 44px;
    transition: color 0.3s ease;
}

.course-card-udemy:hover .course-title-udemy {
    color: var(--primary);
}

.course-instructor-udemy {
    font-size: 12px;
    color: #64748b;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.course-rating-udemy {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.rating-number-udemy {
    font-size: 15px;
    font-weight: 700;
    color: #F4B43C;
    line-height: 1.2;
}

.rating-stars-udemy {
    display: flex;
    align-items: center;
    gap: 1px;
    color: #fbbf24;
    font-size: 12px;
}

.rating-stars-udemy .bi-star-fill {
    color: #fbbf24;
}

.rating-stars-udemy .bi-star {
    color: #e5e7eb;
}

.rating-count-udemy {
    font-size: 12px;
    color: #64748b;
    margin-left: 2px;
}

.course-meta-udemy {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 12px;
    color: #64748b;
    flex-wrap: wrap;
}

.meta-item-udemy {
    display: flex;
    align-items: center;
    gap: 4px;
}

.meta-item-udemy i {
    font-size: 11px;
    color: #94a3b8;
}

.course-footer-udemy {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
    margin-top: auto;
}

.course-price-udemy {
    display: flex;
    align-items: baseline;
}

.price-current-udemy {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.enroll-btn-udemy {
    background: var(--primary);
    color: #ffffff;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.enroll-btn-udemy:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(12, 74, 134, 0.3);
}

.enroll-btn-udemy:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .course-content-udemy {
        padding: 14px;
    }

    .course-title-udemy {
        font-size: 15px;
        min-height: 42px;
    }

    .enroll-btn-udemy {
        padding: 7px 18px;
        font-size: 12px;
    }

    .price-current-udemy {
        font-size: 15px;
    }

    .course-meta-udemy {
        font-size: 11px;
        gap: 10px;
    }
}

/* ===================================
   HOW IT WORKS
   =================================== */

/* ===================================
   HOW IT WORKS - UPGRADED VERSION
   =================================== */
.how-it-works-upgraded {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.how-it-works-upgraded::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(12, 74, 134, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(244, 180, 60, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.how-it-works-upgraded .container {
    position: relative;
    z-index: 1;
}

.how-it-works-upgraded .section-header {
    margin-bottom: 50px;
}

.how-it-works-upgraded .section-tag {
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}

.how-it-works-upgraded .section-title {
    color: var(--text-dark);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.how-it-works-upgraded .section-description {
    color: var(--text-medium);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.steps-journey-wrapper {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    align-items: stretch;
}

.step-journey-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-journey-content {
    background: #ffffff;
    border-radius: 18px;
    padding: 28px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e8ecf0;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.step-journey-item:hover .step-journey-content {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(12, 74, 134, 0.15);
    border-color: var(--primary-light);
}

.step-journey-number-bg {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 120px;
    font-weight: 900;
    color: rgba(12, 74, 134, 0.08);
    line-height: 1;
    z-index: 0;
    user-select: none;
    pointer-events: none;
    font-family: 'Arial', sans-serif;
}

.step-journey-icon-wrapper {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.step-journey-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(12, 74, 134, 0.1), rgba(12, 74, 134, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary);
    transition: all 0.3s ease;
    border: 2px solid rgba(12, 74, 134, 0.1);
    position: relative;
    z-index: 2;
}

.step-journey-item:hover .step-journey-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    transform: scale(1.1) rotate(5deg);
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(12, 74, 134, 0.3);
}

.step-journey-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.3;
    position: relative;
    z-index: 1;
    text-align: center;
}

.step-journey-description {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.step-journey-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.step-journey-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: var(--text-medium);
    padding: 6px 10px;
    background: rgba(12, 74, 134, 0.03);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.step-journey-features li:hover {
    background: rgba(12, 74, 134, 0.08);
    transform: translateX(4px);
}

.step-journey-features i {
    color: var(--secondary);
    font-size: 15px;
    flex-shrink: 0;
}

.step-journey-features span {
    flex: 1;
}

.step-connector-horizontal {
    display: none;
}

.connector-dotted-line {
    display: none;
}

.connector-arrow-horizontal {
    display: none;
}

.btn-journey-cta {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 18px rgba(12, 74, 134, 0.25);
}

.btn-journey-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(12, 74, 134, 0.35);
    color: white;
}

.btn-journey-cta i {
    transition: transform 0.3s ease;
}

.btn-journey-cta:hover i {
    transform: translateX(4px);
}

@media (max-width: 1200px) {
    .steps-journey-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .how-it-works-upgraded {
        padding: 50px 0;
    }

    .how-it-works-upgraded .section-title {
        font-size: 28px;
    }

    .how-it-works-upgraded .section-description {
        font-size: 15px;
    }

    .steps-journey-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .step-journey-content {
        padding: 24px 20px;
    }

    .step-journey-number-bg {
        font-size: 100px;
        top: 18px;
        right: 18px;
    }

    .step-journey-icon {
        width: 64px;
        height: 64px;
        font-size: 28px;
    }

    .step-journey-title {
        font-size: 15px;
    }

    .step-journey-description {
        font-size: 13px;
    }

    .step-journey-features li {
        font-size: 12px;
        padding: 6px 8px;
    }

    .step-connector-horizontal {
        display: none;
    }

    .step-journey-item:hover .step-journey-content {
        transform: translateY(-4px);
    }
}

/* ===================================
   STATISTICS
   =================================== */

.statistics-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 50%, var(--primary-light) 100%);
    position: relative;
    overflow: hidden;
    padding: 40px 0;
}

.statistics-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.statistics-section .container {
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.stats-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.stat-icon-svg {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 20px;
    background: transparent;
    border-radius: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    box-shadow: none;
}

.stat-card::before {
    display: none;
}

.stat-card:hover {
    transform: translateY(-4px);
}

.stat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.stat-number-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin-bottom: 18px;
}

.stat-number {
    font-size: 56px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    font-family: 'Arial', sans-serif;
}

.stat-suffix {
    font-size: 40px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    font-family: 'Arial', sans-serif;
}

.stat-label {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin-top: 8px;
    margin-bottom: 4px;
}

.stat-sublabel {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0;
    font-weight: 400;
}

@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stats-grid-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .statistics-section {
        padding: 32px 0;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .statistics-section {
        padding: 28px 0;
    }

    .stat-card {
        padding: 24px 18px;
    }

    .stat-number {
        font-size: 48px;
    }

    .stat-suffix {
        font-size: 36px;
    }

    .stat-label {
        font-size: 15px;
    }

    .stat-sublabel {
        font-size: 13px;
    }
}

/* ===================================
   TESTIMONIALS
   =================================== */

.testimonials-section {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(12, 74, 134, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(244, 180, 60, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.testimonials-section .container {
    position: relative;
    z-index: 1;
}

.testimonials-header {
    margin-bottom: 48px;
}

.testimonials-tag {
    display: block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}

.testimonials-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.testimonials-subtitle {
    font-size: 18px;
    color: var(--text-dark);
    margin: 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-card-compact {
    background: #ffffff;
    padding: 28px 24px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #e8ecf0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.testimonial-card-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.testimonial-card-compact:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 20px rgba(12, 74, 134, 0.12);
    border-color: rgba(12, 74, 134, 0.2);
}

.testimonial-card-compact:hover::before {
    transform: scaleX(1);
}

.testimonial-rating {
    display: flex;
    gap: 4px;
    margin-bottom: 18px;
    font-size: 15px;
}

.testimonial-rating .bi-star-fill {
    color: #fbbf24;
}

.testimonial-text-compact {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0 0 20px 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonial-author-compact {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 18px;
    border-top: 1px solid #f1f5f9;
}

.author-name-compact {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
}

.author-role-compact {
    font-size: 13px;
    color: var(--text-medium);
}

.testimonials-cta {
    margin-top: 40px;
}

.testimonials-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 12px 24px;
    border: 2px solid var(--primary);
    border-radius: 8px;
    background: transparent;
}

.testimonials-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(12, 74, 134, 0.2);
}

.testimonials-link i {
    transition: transform 0.3s ease;
}

.testimonials-link:hover i {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonials-title {
        font-size: 28px;
    }

    .testimonial-card-compact {
        padding: 24px 20px;
    }

    .testimonial-text-compact {
        font-size: 15px;
        -webkit-line-clamp: 5;
    }
}

/* ===================================
   FINAL CTA
   =================================== */

.final-cta {
    background: linear-gradient(135deg, #0c4a86 0%, #083d6b 100%);
    color: white;
    position: relative;
    overflow: hidden;
    padding: 60px 0 50px;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.cta-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-tag {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px;
}

.cta-title {
    font-size: 42px;
    font-weight: 700;
    color: white;
    margin-bottom: 18px;
    line-height: 1.2;
}

.cta-description {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
    align-items: center;
}

.cta-btn-primary,
.cta-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

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

.cta-btn-primary:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.cta-btn-primary i {
    transition: transform 0.3s ease;
}

.cta-btn-primary:hover i {
    transform: translateX(4px);
}

.cta-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.cta-btn-secondary i {
    transition: transform 0.3s ease;
}

.cta-btn-secondary:hover i {
    transform: scale(1.1);
}

.cta-trust {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 24px;
}

.cta-trust .trust-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.cta-trust .trust-item i {
    font-size: 15px;
    opacity: 0.9;
}

.separator {
    color: rgba(255, 255, 255, 0.25);
    font-weight: 300;
}

@media (max-width: 768px) {
    .final-cta {
        padding: 48px 0 40px;
    }

    .cta-title {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .cta-description {
        font-size: 15px;
        margin-bottom: 28px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 24px;
    }

    .cta-btn-primary,
    .cta-btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
        padding: 13px 24px;
    }

    .cta-trust {
        flex-direction: column;
        gap: 12px;
        font-size: 12px;
    }

    .cta-trust .separator {
        display: none;
    }
}

@media (max-width: 480px) {
    .final-cta {
        padding: 40px 0 36px;
    }

    .cta-title {
        font-size: 24px;
    }

    .cta-description {
        font-size: 15px;
    }

    .cta-btn-primary,
    .cta-btn-secondary {
        font-size: 15px;
        padding: 12px 20px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-5 {
    margin-top: 3rem;
}

.ms-2 {
    margin-left: 0.5rem;
}

/* Loading States */
.course-card.loading,
.category-card.loading,
.feature-card.loading {
    animation: pulse 1.5s ease-in-out infinite;
    opacity: 0.7;
}

/* Image Loading */
.course-image,
.hero-visual {
    transition: opacity 0.3s ease;
}

.course-image[loading="lazy"] {
    opacity: 0;
}

.course-image[loading="lazy"].loaded {
    opacity: 1;
}

/* Enhanced Course Badges */
.course-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    color: white;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    animation: fadeInScale 0.5s ease;
}

.badge-bestseller {
    background: linear-gradient(135deg, var(--secondary), var(--accent-hover));
    box-shadow: 0 4px 12px rgba(244, 180, 60, 0.4);
}

.badge-new {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    box-shadow: 0 4px 12px rgba(12, 74, 134, 0.4);
}

/* Enhanced Trust Signals */
.trust-signals {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.trust-signals span {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-base);
}

.trust-signals span:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.trust-signals i {
    color: var(--secondary);
    font-size: 15px;
}

/* Enhanced Social Proof */
.social-proof {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 18px 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Enhanced Statistics Animation */
.stat-number,
.stat-suffix {
    transition: all var(--transition-base);
}

.stat-card:hover .stat-number,
.stat-card:hover .stat-suffix {
    transform: scale(1.1);
}

/* Enhanced Step Items */
.step-item {
    text-align: center;
    position: relative;
    padding: 20px;
    transition: all var(--transition-base);
}

.step-item:hover {
    transform: translateY(-8px);
}

.step-item:hover .step-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
}

.step-item:hover .step-number {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
}

/* Enhanced Final CTA */
.final-cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(244, 180, 60, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

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

/* Enhanced Course Footer */
.course-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
    margin-top: 4px;
}

.enroll-btn {
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all var(--transition-base);
    padding: 8px 18px;
    border-radius: 8px;
}

.enroll-btn:hover {
    background: var(--bg-light);
    color: var(--primary);
    transform: translateX(4px);
}

/* ===================================
   WHAT YOU WILL LEARN - DARK BACKGROUND
   =================================== */
.what-learn {
    background: linear-gradient(135deg, #1a1f2e 0%, #16213e 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.what-learn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(12, 74, 134, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.what-learn .container {
    position: relative;
    z-index: 1;
}

.what-learn .section-header {
    margin-bottom: 40px;
}

.what-learn .section-tag {
    color: var(--bg-white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}

.what-learn .section-title {
    color: #ffffff;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.what-learn .section-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
}

.learn-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 0;
}

.learn-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 24px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.learn-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.learn-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.learn-item:hover::before {
    transform: scaleX(1);
}

.learn-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(12, 74, 134, 0.3);
}

.learn-icon i {
    display: inline-block;
    font-size: 24px;
    line-height: 1;
    color: white;
}

.learn-item:hover .learn-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(12, 74, 134, 0.4);
}

.learn-item h4 {
    font-size: 17px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.3;
}

.learn-item p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .what-learn {
        padding: 50px 0;
    }

    .what-learn .section-title {
        font-size: 28px;
    }

    .what-learn .section-description {
        font-size: 15px;
    }

    .learn-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .learn-item {
        padding: 20px 18px;
    }

    .learn-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
        margin-bottom: 12px;
    }

    .learn-item h4 {
        font-size: 15px;
    }

    .learn-item p {
        font-size: 13px;
    }
}

/* ===================================
   HOW YOU WILL ACHIEVE IT
   =================================== */
.how-achieve {
    background: var(--bg-white);
}

.achieve-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.achieve-item {
    background: var(--bg-white);
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.achieve-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.achieve-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.achieve-item:hover::before {
    transform: scaleX(1);
}

.achieve-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: var(--radius-lg);
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 28px;
    transition: all var(--transition-base);
}

.achieve-item:hover .achieve-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.achieve-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.achieve-item p {
    font-size: 17px;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
}

/* ===================================
   PATH TO GROWTH - SECTION 1: PAP GOALS
   =================================== */
.pap-growth-section {
    background: #ffffff;
    padding: 10px 0;
    overflow: hidden;
}

.pap-growth-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.pap-growth-content {
    max-width: 520px;
}

.pap-growth-lead {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
    line-height: 1.5;
}

.pap-growth-heading {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 20px;
}

.pap-growth-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
    transition: color var(--transition-base);
    border-bottom: 2px solid transparent;
}

.pap-growth-link:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary);
    text-decoration: none;
}

.pap-growth-description {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-medium);
}

/* Right Visual - Growth Pyramid */
.pap-growth-visual {
    position: relative;
}

.pap-visual-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: right;
    margin-bottom: 28px;
    padding-right: 10px;
}

.imgcontainer {
    display: flex;
    align-items: center;
    justify-content: center;
}

.growth-pyramid-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.pap-growth-img {
    min-width: 70%;
    width: 70%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
}

/* Milestone List */
.growth-milestone-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex: 1;
    max-width: 380px;
}

.growth-milestone {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: flex-end;
    transition: transform 0.3s ease;
}

.growth-milestone:hover {
    transform: translateX(-6px);
}

.milestone-text {
    text-align: right;
    display: flex;
    flex-direction: column;
}

.milestone-label {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.3;
}

.milestone-desc {
    font-size: 12px;
    color: var(--text-medium);
    line-height: 1.4;
    margin-top: 2px;
}

.milestone-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 18px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(12, 74, 134, 0.25);
}

.growth-milestone:hover .milestone-icon {
    transform: scale(1.12) rotate(5deg);
    box-shadow: 0 6px 18px rgba(12, 74, 134, 0.35);
}

/* Growth Rings Visual - CSS 3D Torus */
.growth-rings-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
    padding: 10px 0;
}

.ring {
    border-radius: 50%;
    border-width: 12px;
    border-style: solid;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
}

.ring-1 {
    width: 50px;
    height: 28px;
    border-color: #8B4513;
    background: radial-gradient(ellipse at 50% 30%, #D2691E 0%, #8B4513 60%, #5C2E0D 100%);
    box-shadow: 0 4px 12px rgba(139, 69, 19, 0.4), inset 0 -4px 8px rgba(0, 0, 0, 0.2);
    animation: ringFloat 3s ease-in-out infinite;
    animation-delay: 0.8s;
}

.ring-2 {
    width: 65px;
    height: 34px;
    border-color: #FF8C00;
    background: radial-gradient(ellipse at 50% 30%, #FFB347 0%, #FF8C00 60%, #CC7000 100%);
    box-shadow: 0 4px 12px rgba(255, 140, 0, 0.4), inset 0 -4px 8px rgba(0, 0, 0, 0.15);
    animation: ringFloat 3s ease-in-out infinite;
    animation-delay: 0.6s;
}

.ring-3 {
    width: 80px;
    height: 40px;
    border-color: #FFD700;
    background: radial-gradient(ellipse at 50% 30%, #FFEC8B 0%, #FFD700 60%, #DAA520 100%);
    box-shadow: 0 4px 14px rgba(255, 215, 0, 0.4), inset 0 -4px 8px rgba(0, 0, 0, 0.1);
    animation: ringFloat 3s ease-in-out infinite;
    animation-delay: 0.4s;
}

.ring-4 {
    width: 95px;
    height: 46px;
    border-color: #32CD32;
    background: radial-gradient(ellipse at 50% 30%, #90EE90 0%, #32CD32 60%, #228B22 100%);
    box-shadow: 0 4px 14px rgba(50, 205, 50, 0.4), inset 0 -4px 8px rgba(0, 0, 0, 0.12);
    animation: ringFloat 3s ease-in-out infinite;
    animation-delay: 0.2s;
}

.ring-5 {
    width: 110px;
    height: 52px;
    border-color: #228B22;
    background: radial-gradient(ellipse at 50% 30%, #66BB6A 0%, #228B22 60%, #145214 100%);
    box-shadow: 0 5px 16px rgba(34, 139, 34, 0.4), inset 0 -5px 10px rgba(0, 0, 0, 0.15);
    animation: ringFloat 3s ease-in-out infinite;
}

@keyframes ringFloat {

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

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

.growth-rings-visual:hover .ring {
    transform: translateY(-8px) scale(1.05);
}

/* ===================================
   PATH TO GROWTH - SECTION 2: LEARNING TO CERTIFICATION
   =================================== */
.learning-cert-section {
    background: linear-gradient(180deg, #f0f0f0 0%, #e8e8e8 100%);
    padding: 60px 0;
    overflow: hidden;
}

.learning-cert-wrapper {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Journey Visual */
.cert-journey-visual {
    position: relative;
}

.cert-journey-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-medium);
    margin-bottom: 32px;
    font-style: italic;
}

.journey-timeline {
    position: relative;
}

.course-certificate {
    min-width: 70%;
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius-md);
}

.journey-path {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.journey-path-svg {
    width: 100%;
    height: 100%;
}

.journey-path-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawPath 2s ease-in-out forwards;
    animation-delay: 0.5s;
}

@keyframes drawPath {
    to {
        stroke-dashoffset: 0;
    }
}

/* Journey Steps */
.journey-steps {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 60px;
    gap: 8px;
}

.journey-step {
    text-align: center;
    flex: 1;
    max-width: 120px;
    transition: transform 0.3s ease;
}

.journey-step:hover {
    transform: translateY(-8px);
}

.step-icon-wrap {
    width: 56px;
    height: 56px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
    transition: all 0.3s ease;
}

.journey-step:hover .step-icon-wrap {
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.journey-step h5 {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
    line-height: 1.3;
}

.journey-step p {
    font-size: 10px;
    color: var(--text-medium);
    line-height: 1.4;
    margin: 0;
}

/* Position steps along the curve */
.step-1 {
    padding-bottom: 0;
}

.step-2 {
    padding-bottom: 30px;
}

.step-3 {
    padding-bottom: 60px;
}

.step-4 {
    padding-bottom: 90px;
}

.step-5 {
    padding-bottom: 120px;
}

/* Butterfly icon special animation */
.butterfly-icon {
    animation: butterflyFloat 2.5s ease-in-out infinite;
}

@keyframes butterflyFloat {

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

    25% {
        transform: translateY(-3px) rotate(2deg);
    }

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

/* Right Content */
.cert-content {
    max-width: 460px;
}

.cert-accelerate {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
    line-height: 1.2;
}

.cert-heading {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.cert-highlight {
    color: var(--primary);
    display: block;
}

.cert-subheading {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 28px;
    line-height: 1.4;
}

.cert-browse-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    background: var(--secondary);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(244, 180, 60, 0.35);
}

.cert-browse-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(244, 180, 60, 0.45);
    color: #ffffff;
    text-decoration: none;
}

/* ===================================
   RESPONSIVE - PATH TO GROWTH SECTIONS
   =================================== */
@media (max-width: 992px) {
    .pap-growth-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pap-growth-content {
        max-width: 100%;
        text-align: center;
    }

    .pap-visual-title {
        text-align: center;
    }

    .growth-pyramid-wrapper {
        justify-content: center;
    }

    .growth-milestone {
        justify-content: center;
    }

    .milestone-text {
        text-align: center;
    }

    .learning-cert-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cert-content {
        max-width: 100%;
        text-align: center;
    }

    .cert-browse-btn {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {

    .pap-growth-section,
    .learning-cert-section {
        padding: 40px 0;
    }

    .pap-growth-heading {
        font-size: 22px;
    }

    .growth-milestone-list {
        gap: 14px;
    }

    .milestone-icon {
        width: 36px;
        height: 36px;
        font-size: 15px;
    }

    .ring {
        border-width: 8px;
    }

    .ring-1 {
        width: 40px;
        height: 22px;
    }

    .ring-2 {
        width: 52px;
        height: 26px;
    }

    .ring-3 {
        width: 64px;
        height: 32px;
    }

    .ring-4 {
        width: 76px;
        height: 38px;
    }

    .ring-5 {
        width: 88px;
        height: 44px;
    }

    .journey-steps {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
        padding-top: 20px;
    }

    .step-1,
    .step-2,
    .step-3,
    .step-4,
    .step-5 {
        padding-bottom: 0;
        flex: 0 0 calc(50% - 16px);
        max-width: calc(50% - 16px);
    }

    .journey-path {
        display: none;
    }

    .cert-accelerate {
        font-size: 22px;
    }

    .cert-heading {
        font-size: 20px;
    }
}

@media (max-width: 480px) {

    .step-1,
    .step-2,
    .step-3,
    .step-4,
    .step-5 {
        flex: 0 0 100%;
        max-width: 160px;
    }

    .growth-pyramid-wrapper {
        flex-direction: column;
        align-items: center;
    }

    .growth-milestone-list {
        max-width: 100%;
    }

    .growth-milestone {
        flex-direction: column;
    }

    .milestone-text {
        text-align: center;
    }
}



/* ===================================
   YOUR GOALS PAP
   =================================== */
.goals-pap {
    background: var(--bg-light);
}

.pap-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.pap-content {
    max-width: 600px;
}

.pap-subtitle {
    font-size: 15px;
    color: var(--text-medium);
    font-weight: 500;
    margin-bottom: 18px;
}

.pap-description {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 32px;
}

.pap-image {
    text-align: center;
}

.pap-image img {
    border-radius: var(--radius-lg);
    /* box-shadow: var(--shadow-lg); */
    max-width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .pap-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pap-image {
        order: -1;
    }
}

/* ===================================
   WORLD-CLASS SUPPORT
   =================================== */
.support-section {
    background: var(--bg-white);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 40px;
}

.support-item {
    background: var(--bg-white);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.support-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(12, 74, 134, 0.02) 0%, rgba(244, 180, 60, 0.02) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.support-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-light);
}

.support-item:hover::after {
    opacity: 1;
}

.support-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    transition: all var(--transition-base);
    position: relative;
    z-index: 1;
}

.support-item:hover .support-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 24px rgba(12, 74, 134, 0.3);
}

.support-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.support-item p {
    font-size: 17px;
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Compact spacing adjustments */
.section-padding {
    padding: 44px 0;
}

@media (max-width: 768px) {
    .section-padding {
        padding: 30px 0;
    }

    .learn-grid,
    .achieve-grid,
    .support-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

/* SVG icons for learn/achieve sections */
.learn-icon-svg {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.learn-item:hover .learn-icon-svg {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Print Styles */
@media print {

    .hero-carousel-section,
    .swiper-button-prev,
    .swiper-button-next,
    .swiper-pagination {
        display: none;
    }

    .course-card,
    .feature-card,
    .category-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}