/* ==========================================================================
   ICARE FORMATIONS - Professional Header Design System
   ========================================================================== */

/* --------------------------------------------------------------------------
   AOS FIX: Force all elements visible even if AOS JS fails
   -------------------------------------------------------------------------- */
[data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* --------------------------------------------------------------------------
   CUSTOM PROPERTIES (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
    --icare-primary: #1a2a5e;
    --icare-primary-light: #2d4a9e;
    --icare-accent: #4e8cff;
    --icare-gradient: linear-gradient(135deg, #1a2a5e 0%, #2d4a9e 50%, #4e8cff 100%);
    --icare-gradient-btn: linear-gradient(135deg, #2d4a9e 0%, #4e8cff 100%);
    --icare-shadow-sm: 0 2px 8px rgba(26, 42, 94, 0.12);
    --icare-shadow-md: 0 4px 20px rgba(26, 42, 94, 0.18);
    --icare-shadow-lg: 0 8px 32px rgba(26, 42, 94, 0.22);
    --icare-radius: 12px;
    --icare-radius-pill: 50px;
    --icare-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   LOGO
   -------------------------------------------------------------------------- */
.icare-logo {
    max-width: 170px;
    height: auto;
    transition: var(--icare-transition);
}
.icare-logo:hover {
    transform: scale(1.03);
}

/* --------------------------------------------------------------------------
   SEPARATOR (vertical line between cart and auth buttons)
   -------------------------------------------------------------------------- */
.icare-separator {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.3);
    margin: 0 16px;
}

/* --------------------------------------------------------------------------
   DESKTOP AUTH BUTTONS (.icare-btn)
   -------------------------------------------------------------------------- */
.icare-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 22px;
    border-radius: var(--icare-radius-pill);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    letter-spacing: 0.3px;
    transition: var(--icare-transition);
    white-space: nowrap;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}
.icare-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; right: 0; bottom: 0;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}
.icare-btn:hover::before {
    left: 100%;
}

/* Connexion - outline style, élégant */
.icare-btn-login {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}
.icare-btn-login:hover {
    background: #fff;
    color: var(--icare-primary);
    border-color: #fff;
    box-shadow: var(--icare-shadow-md);
    transform: translateY(-1px);
}

/* Inscription - gradient, bold */
.icare-btn-register {
    background: var(--icare-gradient-btn);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(78, 140, 255, 0.35);
}
.icare-btn-register:hover {
    box-shadow: 0 6px 22px rgba(78, 140, 255, 0.5);
    transform: translateY(-2px);
    color: #fff;
}

/* Déconnexion */
.icare-btn-logout {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 100, 100, 0.4);
    font-size: 13px;
    padding: 7px 16px;
}
.icare-btn-logout:hover {
    background: #dc3545;
    color: #fff;
    border-color: #dc3545;
    transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   ICON BUTTONS (cart, language, dark mode)
   -------------------------------------------------------------------------- */
.icare-icon-btn > a {
    transition: var(--icare-transition) !important;
}
.icare-icon-btn > a:hover {
    transform: scale(1.1);
    box-shadow: var(--icare-shadow-sm) !important;
}

/* --------------------------------------------------------------------------
   DROPDOWN STYLING
   -------------------------------------------------------------------------- */
.icare-dropdown {
    border-radius: var(--icare-radius) !important;
    overflow: hidden;
    animation: icareDropIn 0.25s ease-out;
}
@keyframes icareDropIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.icare-dropdown .dropdown-item:hover {
    background: rgba(26, 42, 94, 0.08);
}

/* --------------------------------------------------------------------------
   NAV LINK HOVER EFFECTS (desktop)
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
    header .main-nav > li > a {
        position: relative;
        transition: var(--icare-transition);
    }
    header .main-nav > li > a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 2px;
        background: var(--icare-accent);
        transition: all 0.3s ease;
        transform: translateX(-50%);
        border-radius: 2px;
    }
    header .main-nav > li > a:hover::after,
    header .main-nav > li.active > a::after {
        width: 70%;
    }
    header .main-nav > li > a:hover {
        color: var(--icare-accent) !important;
    }
}

/* --------------------------------------------------------------------------
   SUBMENU STYLING
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
    header .main-nav > li .submenu {
        border-radius: var(--icare-radius) !important;
        box-shadow: var(--icare-shadow-lg) !important;
        border: none !important;
        overflow: hidden;
        animation: icareDropIn 0.25s ease-out;
    }
    header .main-nav > li .submenu li a {
        transition: var(--icare-transition);
        padding: 10px 18px !important;
    }
    header .main-nav > li .submenu li a:hover {
        background: rgba(26, 42, 94, 0.06);
        padding-left: 24px !important;
        color: var(--icare-primary) !important;
    }
    header .main-nav > li .submenu li a i {
        color: var(--icare-accent);
        width: 20px;
        text-align: center;
    }
}

/* --------------------------------------------------------------------------
   DESKTOP (>= 992px) — Override theme rules that hide .btn
   -------------------------------------------------------------------------- */
@media (min-width: 992px) {
    /* The theme hides .header-btn .btn below 1200px — override with our custom buttons */
    header .header-btn .icare-btn {
        display: inline-flex !important;
    }
}

/* Also override at 1200px+ since theme uses display:none on .btn */
@media (min-width: 992px) and (max-width: 1199.98px) {
    header .header-btn .btn {
        display: none !important;
    }
}

/* --------------------------------------------------------------------------
   MOBILE MENU BUTTONS (.icare-mobile-btn)
   -------------------------------------------------------------------------- */
.icare-mobile-btn {
    display: flex !important;
    width: 100%;
    align-items: center;
    padding: 13px 18px;
    border-radius: var(--icare-radius);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    transition: var(--icare-transition);
    letter-spacing: 0.2px;
    border: none;
}
.icare-mobile-btn i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}
.icare-mobile-btn:active {
    transform: scale(0.97);
}

/* Connexion / Dashboard mobile */
.icare-mobile-btn-primary {
    background: linear-gradient(135deg, #1a2a5e, #2d4a9e);
    color: #fff !important;
}
.icare-mobile-btn-primary:hover {
    box-shadow: 0 4px 12px rgba(26, 42, 94, 0.3);
}

/* Inscription mobile */
.icare-mobile-btn-accent {
    background: var(--icare-gradient-btn);
    color: #fff !important;
}
.icare-mobile-btn-accent:hover {
    box-shadow: 0 4px 12px rgba(78, 140, 255, 0.35);
}

/* Panier mobile */
.icare-mobile-btn-outline {
    background: transparent;
    color: var(--gray-500, #6c757d) !important;
    border: 2px solid rgba(0, 0, 0, 0.12) !important;
}
.icare-mobile-btn-outline:hover {
    background: rgba(26, 42, 94, 0.05);
    border-color: var(--icare-primary) !important;
    color: var(--icare-primary) !important;
}

/* Déconnexion mobile */
.icare-mobile-btn-logout {
    background: transparent;
    color: #dc3545 !important;
    border: 2px solid rgba(220, 53, 69, 0.2) !important;
}
.icare-mobile-btn-logout:hover {
    background: #dc3545;
    color: #fff !important;
    border-color: #dc3545 !important;
}

/* Admin danger mobile */
.icare-mobile-btn-danger {
    background: linear-gradient(135deg, #dc3545, #ff6b6b);
    color: #fff !important;
}

/* --------------------------------------------------------------------------
   TABLET & MOBILE (< 992px)
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    /* Hide desktop icare-btn — mobile uses li.login-link in the slide menu */
    header .header-btn .icare-btn {
        display: none !important;
    }
    header .header-btn .icare-separator {
        display: none !important;
    }
    header .header-btn > .d-inline-flex {
        display: none !important;
    }

    /* Hide language & dark mode on mobile header bar */
    header .header-btn > .icare-icon-btn:not(.position-relative) {
        display: none !important;
    }

    /* Keep cart icon visible in mobile header bar */
    header .header-btn > .icare-icon-btn.position-relative {
        display: inline-flex !important;
    }

    /* Mobile login-link list items */
    header .main-nav li.login-link {
        padding: 4px 0;
        list-style: none;
    }
    header .main-nav li.login-link:first-of-type {
        margin-top: 6px;
    }

    /* Better mobile menu styling */
    header .main-menu-wrapper {
        box-shadow: 4px 0 25px rgba(0, 0, 0, 0.15) !important;
    }
}

/* --------------------------------------------------------------------------
   SMALL PHONES (< 576px)
   -------------------------------------------------------------------------- */
@media (max-width: 575.98px) {
    /* Theme hides .header-btn entirely — override to show cart */
    header .header-btn {
        display: flex !important;
        align-items: center;
    }
    header .header-btn .icare-btn,
    header .header-btn .icare-separator,
    header .header-btn > .d-inline-flex {
        display: none !important;
    }

    /* Keep ONLY cart icon */
    header .header-btn > .icare-icon-btn.position-relative {
        display: inline-flex !important;
    }
    header .header-btn > .icare-icon-btn:not(.position-relative) {
        display: none !important;
    }

    /* Smaller logo */
    .icare-logo {
        max-width: 130px !important;
    }

    /* Mobile btn smaller on very small screens */
    .icare-mobile-btn {
        padding: 11px 15px;
        font-size: 14px;
    }
}

/* --------------------------------------------------------------------------
   OVERRIDE THEME PURPLE (.home-six) → WHITE + BLUE HEADER
   -------------------------------------------------------------------------- */
.home-six {
    background: #fff !important;
}

/* Header - deep blue background */
header.icare-header {
    background: linear-gradient(135deg, #0a1628 0%, #0f1b3d 50%, #162550 100%) !important;
}

/* Fixed/sticky header on scroll - deep blue */
header.icare-header.fixed,
header.icare-header.scrolled {
    background: rgba(15, 27, 61, 0.97) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}
header.icare-header.fixed .icare-logo,
header.icare-header.scrolled .icare-logo {
    max-width: 140px;
}

/* Fixed header keeps white text */
header.icare-header.fixed .main-nav > li > a {
    color: #fff !important;
}
header.icare-header.fixed .main-nav > li.active > a,
header.icare-header.fixed .main-nav > li:hover > a {
    color: var(--icare-accent) !important;
}

/* --------------------------------------------------------------------------
   HAMBURGER ANIMATION
   -------------------------------------------------------------------------- */
.bar-icon span {
    transition: var(--icare-transition);
}
#mobile_btn:hover .bar-icon span {
    background: var(--icare-accent) !important;
}

/* ==========================================================================
   ICARE HERO SECTION
   ========================================================================== */
.icare-hero {
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.icare-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0f1b3d 0%, #1a2a5e 40%, #2d4a9e 100%);
    z-index: 0;
}
.icare-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(78, 140, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(45, 74, 158, 0.2) 0%, transparent 50%);
}
.icare-hero-bg::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, #fff 0%, transparent 100%);
    z-index: 1;
}

/* Hero Content (Left) */
.icare-hero-content {
    position: relative;
    z-index: 2;
}

.icare-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(78, 140, 255, 0.15);
    border: 1px solid rgba(78, 140, 255, 0.3);
    color: #93bbff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}
.icare-hero-badge i {
    font-size: 14px;
    color: #fbbf24;
}

.icare-hero-title {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}
.icare-hero-highlight {
    background: linear-gradient(135deg, #4e8cff, #93bbff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.icare-hero-subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 500px;
}
.icare-hero-subtitle strong {
    color: #fff;
}

/* Search Bar */
.icare-hero-search {
    margin-bottom: 40px;
    max-width: 520px;
}
.icare-hero-search-inner {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 60px;
    padding: 6px 6px 6px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    transition: var(--icare-transition);
}
.icare-hero-search-inner:focus-within {
    box-shadow: 0 8px 40px rgba(78, 140, 255, 0.3);
    transform: translateY(-2px);
}
.icare-hero-search-icon {
    color: #9ca3af;
    font-size: 16px;
    margin-right: 12px;
    flex-shrink: 0;
}
.icare-hero-search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 15px;
    color: #1a2a5e;
    background: transparent;
    padding: 10px 0;
    min-width: 0;
}
.icare-hero-search-input::placeholder {
    color: #9ca3af;
}
.icare-hero-search-btn {
    background: var(--icare-gradient-btn);
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--icare-transition);
    white-space: nowrap;
    flex-shrink: 0;
}
.icare-hero-search-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(78, 140, 255, 0.4);
}

/* Stats Row */
.icare-hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.icare-hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.icare-hero-stat-number {
    font-size: 26px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.icare-hero-stat-label {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
    font-weight: 500;
}
.icare-hero-stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
}

/* Hero Image (Right) */
.icare-hero-image {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}
.icare-hero-image-frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.icare-hero-image-frame::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    border: 2px solid rgba(78, 140, 255, 0.3);
    z-index: 1;
    pointer-events: none;
}
.icare-hero-img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 480px;
    object-fit: cover;
    border-radius: 24px;
}

/* Floating Badges */
.icare-hero-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    padding: 14px 22px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    font-size: 14px;
    font-weight: 700;
    color: var(--icare-primary);
    z-index: 3;
    animation: floatBadge 3s ease-in-out infinite;
}
.icare-hero-float i {
    font-size: 20px;
    color: var(--icare-accent);
}
.icare-hero-float-1 {
    top: 20%;
    left: -20px;
    animation-delay: 0s;
}
.icare-hero-float-2 {
    bottom: 15%;
    right: -20px;
    animation-delay: 1.5s;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* --------------------------------------------------------------------------
   HERO RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
    .icare-hero-title {
        font-size: 40px;
    }
    .icare-hero-img {
        max-height: 400px;
    }
}

@media (max-width: 991.98px) {
    .icare-hero {
        padding: 100px 0 60px;
        min-height: auto;
        text-align: center;
    }
    .icare-hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .icare-hero-title {
        font-size: 34px;
    }
    .icare-hero-subtitle {
        max-width: 100%;
    }
    .icare-hero-search {
        max-width: 100%;
    }
    .icare-hero-stats {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .icare-hero {
        padding: 90px 0 50px;
    }
    .icare-hero-title {
        font-size: 28px;
    }
    .icare-hero-subtitle {
        font-size: 15px;
    }
    .icare-hero-search-inner {
        flex-direction: column;
        border-radius: 16px;
        padding: 12px;
        gap: 10px;
    }
    .icare-hero-search-icon {
        display: none;
    }
    .icare-hero-search-input {
        width: 100%;
        text-align: center;
    }
    .icare-hero-search-btn {
        width: 100%;
        border-radius: 12px;
    }
    .icare-hero-stats {
        gap: 16px;
    }
    .icare-hero-stat-number {
        font-size: 22px;
    }
    .icare-hero-stat-label {
        font-size: 11px;
    }
    .icare-hero-stat-divider {
        height: 28px;
    }
}

/* ==========================================================================
   ILS NOUS FONT CONFIANCE - Trust Section
   ========================================================================== */

.icare-trust-section {
    position: relative;
    padding: 70px 0 60px;
    background: linear-gradient(180deg, #f8faff 0%, #ffffff 50%, #f0f4ff 100%);
    overflow: hidden;
}

/* Header */
.icare-trust-header {
    text-align: center;
    margin-bottom: 50px;
}

.icare-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #e8eeff 0%, #dce6ff 100%);
    color: var(--icare-primary, #1a2a5e);
    font-size: 13px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 18px;
    letter-spacing: 0.3px;
    border: 1px solid rgba(26, 42, 94, 0.08);
}

.icare-trust-badge svg {
    width: 16px;
    height: 16px;
    color: #2d6cf6;
}

.icare-trust-title {
    font-size: 34px;
    font-weight: 800;
    color: #0f1b3d;
    margin-bottom: 14px;
    letter-spacing: -0.5px;
}

.icare-trust-title span {
    background: linear-gradient(135deg, #2d6cf6 0%, #1a4fd6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.icare-trust-subtitle {
    font-size: 16px;
    color: #5a6a8a;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Marquee / Infinite scroll */
.icare-trust-marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.icare-trust-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.icare-trust-fade-left {
    left: 0;
    background: linear-gradient(90deg, #f8faff 0%, transparent 100%);
}

.icare-trust-fade-right {
    right: 0;
    background: linear-gradient(270deg, #f0f4ff 0%, transparent 100%);
}

.icare-trust-marquee {
    overflow: hidden;
    width: 100%;
}

.icare-trust-track {
    display: flex;
    align-items: center;
    gap: 60px;
    width: max-content;
    animation: icare-marquee 25s linear infinite;
}

.icare-trust-track:hover {
    animation-play-state: paused;
}

.icare-trust-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid rgba(26, 42, 94, 0.06);
    border-radius: 16px;
    padding: 18px 32px;
    min-width: 170px;
    height: 80px;
    box-shadow: 0 2px 12px rgba(26, 42, 94, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.icare-trust-logo:hover {
    border-color: rgba(45, 108, 246, 0.2);
    box-shadow: 0 8px 30px rgba(45, 108, 246, 0.1);
    transform: translateY(-4px);
}

.icare-trust-logo img {
    max-height: 42px;
    max-width: 140px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.5);
    transition: all 0.4s ease;
}

.icare-trust-logo:hover img {
    filter: grayscale(0%) opacity(1);
}

@keyframes icare-marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive */
@media (max-width: 991.98px) {
    .icare-trust-section {
        padding: 50px 0 40px;
    }
    .icare-trust-title {
        font-size: 28px;
    }
    .icare-trust-logo {
        padding: 14px 24px;
        min-width: 140px;
        height: 66px;
    }
    .icare-trust-logo img {
        max-height: 36px;
    }
    .icare-trust-track {
        gap: 40px;
    }
    .icare-trust-fade {
        width: 80px;
    }
}

@media (max-width: 575.98px) {
    .icare-trust-section {
        padding: 40px 0 30px;
    }
    .icare-trust-header {
        margin-bottom: 30px;
    }
    .icare-trust-title {
        font-size: 24px;
    }
    .icare-trust-subtitle {
        font-size: 14px;
    }
    .icare-trust-logo {
        padding: 12px 20px;
        min-width: 120px;
        height: 56px;
        border-radius: 12px;
    }
    .icare-trust-logo img {
        max-height: 30px;
        max-width: 100px;
    }
    .icare-trust-track {
        gap: 24px;
        animation-duration: 18s;
    }
    .icare-trust-fade {
        width: 40px;
    }
}

/* ==========================================================================
   ABOUT US PAGE - Professional Dynamic Design
   ========================================================================== */

/* --------------------------------------------------------------------------
   ABOUT HERO
   -------------------------------------------------------------------------- */
.icare-about-hero {
    position: relative;
    overflow: hidden;
    padding: 120px 0 80px;
    min-height: 560px;
    display: flex;
    align-items: center;
}
.icare-about-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0a1628 0%, #0f1b3d 35%, #1a2a5e 65%, #2d4a9e 100%);
    z-index: 0;
}
.icare-about-hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 70% 20%, rgba(78, 140, 255, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse at 20% 80%, rgba(45, 74, 158, 0.15) 0%, transparent 50%);
}
.icare-about-hero-bg::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, #fff 0%, transparent 100%);
    z-index: 1;
}

/* Hero Content */
.icare-about-hero-content {
    position: relative;
    z-index: 2;
}
.icare-about-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(78, 140, 255, 0.12);
    border: 1px solid rgba(78, 140, 255, 0.25);
    color: #93bbff;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 24px;
    backdrop-filter: blur(8px);
}
.icare-about-badge i {
    font-size: 14px;
    color: #fbbf24;
}
.icare-about-hero-title {
    font-size: 46px;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}
.icare-about-highlight {
    background: linear-gradient(135deg, #4e8cff, #93bbff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.icare-about-hero-desc {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.75;
    margin-bottom: 32px;
    max-width: 520px;
}
.icare-about-hero-desc strong {
    color: #fff;
}
.icare-about-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.icare-about-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #2d4a9e 0%, #4e8cff 100%);
    color: #fff !important;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none !important;
    box-shadow: 0 6px 20px rgba(78, 140, 255, 0.35);
    transition: all 0.3s ease;
}
.icare-about-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(78, 140, 255, 0.5);
}
.icare-about-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #fff !important;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none !important;
    border: 2px solid rgba(255, 255, 255, 0.35);
    transition: all 0.3s ease;
}
.icare-about-btn-outline:hover {
    background: #fff;
    color: #1a2a5e !important;
    border-color: #fff;
    transform: translateY(-2px);
}

/* Hero Visual (Right) */
.icare-about-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}
.icare-about-hero-img-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(78, 140, 255, 0.2);
}
.icare-about-hero-img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 420px;
    object-fit: cover;
    border-radius: 22px;
}

/* Floating Cards */
.icare-about-float {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    padding: 14px 22px;
    border-radius: 16px;
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.15);
    z-index: 3;
    animation: aboutFloat 3s ease-in-out infinite;
}
.icare-about-float strong {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: #0f1b3d;
    line-height: 1.1;
}
.icare-about-float span {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}
.icare-about-float-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    flex-shrink: 0;
}
.icare-about-float-1 {
    top: 10%;
    left: -30px;
    animation-delay: 0s;
}
.icare-about-float-2 {
    bottom: 15%;
    right: -25px;
    animation-delay: 1.5s;
}
@keyframes aboutFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* --------------------------------------------------------------------------
   SECTION COMMON
   -------------------------------------------------------------------------- */
.icare-about-section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #e8eeff 0%, #dce6ff 100%);
    color: #1a2a5e;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
    border: 1px solid rgba(26, 42, 94, 0.08);
}
.icare-about-section-badge i {
    color: #2d6cf6;
}
.icare-about-section-title {
    font-size: 36px;
    font-weight: 800;
    color: #0f1b3d;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}
.icare-about-section-title span {
    background: linear-gradient(135deg, #2d6cf6, #1a4fd6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.icare-about-section-desc {
    font-size: 16px;
    color: #5a6a8a;
    max-width: 540px;
    margin: 0 auto;
    line-height: 1.65;
}

/* --------------------------------------------------------------------------
   MISSION / VISION / VALEURS CARDS
   -------------------------------------------------------------------------- */
.icare-about-mission {
    padding: 80px 0;
    background: #fff;
}
.icare-about-card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(26, 42, 94, 0.06);
    border-radius: 20px;
    padding: 36px 30px;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}
.icare-about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 20px 20px 0 0;
    transition: height 0.4s ease;
}
.icare-about-card-mission::before {
    background: linear-gradient(90deg, #2d4a9e, #4e8cff);
}
.icare-about-card-vision::before {
    background: linear-gradient(90deg, #059669, #34d399);
}
.icare-about-card-values::before {
    background: linear-gradient(90deg, #dc2626, #fb7185);
}
.icare-about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(26, 42, 94, 0.12);
    border-color: transparent;
}
.icare-about-card:hover::before {
    height: 6px;
}
.icare-about-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}
.icare-about-card-mission .icare-about-card-icon {
    background: linear-gradient(135deg, #e8eeff, #dce6ff);
    color: #2d4a9e;
}
.icare-about-card-vision .icare-about-card-icon {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #059669;
}
.icare-about-card-values .icare-about-card-icon {
    background: linear-gradient(135deg, #ffe4e6, #fecdd3);
    color: #dc2626;
}
.icare-about-card:hover .icare-about-card-icon {
    transform: scale(1.1);
}
.icare-about-card-number {
    position: absolute;
    top: 20px;
    right: 24px;
    font-size: 52px;
    font-weight: 900;
    color: rgba(26, 42, 94, 0.04);
    line-height: 1;
    pointer-events: none;
}
.icare-about-card h4 {
    font-size: 20px;
    font-weight: 700;
    color: #0f1b3d;
    margin-bottom: 10px;
}
.icare-about-card p {
    font-size: 15px;
    color: #5a6a8a;
    line-height: 1.65;
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   POURQUOI NOUS CHOISIR
   -------------------------------------------------------------------------- */
.icare-about-why {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}
.icare-about-why-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, #f0f4ff 0%, #f8faff 50%, #fff 100%);
    z-index: 0;
}
.icare-about-why-image {
    position: relative;
    z-index: 2;
}
.icare-about-why-image img {
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(26, 42, 94, 0.12);
}
.icare-about-why-experience {
    position: absolute;
    bottom: -20px;
    right: -15px;
    background: linear-gradient(135deg, #1a2a5e, #2d4a9e);
    color: #fff;
    padding: 20px 28px;
    border-radius: 20px;
    box-shadow: 0 12px 36px rgba(26, 42, 94, 0.3);
    text-align: center;
    z-index: 3;
}
.icare-about-why-experience strong {
    display: block;
    font-size: 36px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 2px;
}
.icare-about-why-experience span {
    font-size: 12px;
    font-weight: 500;
    opacity: 0.85;
    letter-spacing: 0.3px;
}
.icare-about-why-content {
    position: relative;
    z-index: 2;
}

/* Features */
.icare-about-features {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.icare-about-feature {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    background: #fff;
    padding: 22px 24px;
    border-radius: 16px;
    border: 1px solid rgba(26, 42, 94, 0.06);
    transition: all 0.3s ease;
}
.icare-about-feature:hover {
    transform: translateX(6px);
    box-shadow: 0 8px 28px rgba(26, 42, 94, 0.08);
    border-color: rgba(78, 140, 255, 0.15);
}
.icare-about-feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 14px;
    background: linear-gradient(135deg, #e8eeff, #dce6ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2d4a9e;
    font-size: 20px;
    transition: all 0.3s ease;
}
.icare-about-feature:hover .icare-about-feature-icon {
    background: linear-gradient(135deg, #2d4a9e, #4e8cff);
    color: #fff;
    transform: scale(1.08);
}
.icare-about-feature h5 {
    font-size: 17px;
    font-weight: 700;
    color: #0f1b3d;
    margin-bottom: 4px;
}
.icare-about-feature p {
    font-size: 14px;
    color: #5a6a8a;
    line-height: 1.6;
    margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   COUNTERS
   -------------------------------------------------------------------------- */
.icare-about-counters {
    padding: 60px 0;
    background: #fff;
}
.icare-about-counters-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: linear-gradient(135deg, #0f1b3d 0%, #1a2a5e 50%, #2d4a9e 100%);
    border-radius: 24px;
    padding: 48px 40px;
    box-shadow: 0 20px 60px rgba(15, 27, 61, 0.25);
    position: relative;
    overflow: hidden;
}
.icare-about-counters-grid::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(78, 140, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(45, 74, 158, 0.08) 0%, transparent 50%);
    pointer-events: none;
}
.icare-about-counter {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}
.icare-about-counter-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    border-radius: 16px;
    background: rgba(78, 140, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #93bbff;
}
.icare-about-counter-value {
    font-size: 34px;
    font-weight: 900;
    color: #fff;
    margin-bottom: 4px;
    letter-spacing: -0.5px;
}
.icare-about-counter-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}
.icare-about-counter-divider {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   CTA SECTION
   -------------------------------------------------------------------------- */
.icare-about-cta {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}
.icare-about-cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0f1b3d 0%, #1a2a5e 50%, #2d4a9e 100%);
    z-index: 0;
}
.icare-about-cta-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 50%, rgba(78, 140, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(147, 187, 255, 0.1) 0%, transparent 50%);
}
.icare-about-cta-content {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.icare-about-cta-content h2 {
    font-size: 38px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}
.icare-about-cta-content p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: 32px;
    line-height: 1.7;
}
.icare-about-cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.icare-about-cta-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #1a2a5e !important;
    padding: 15px 34px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}
.icare-about-cta-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}
.icare-about-cta-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: #fff !important;
    padding: 15px 34px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none !important;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}
.icare-about-cta-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   ABOUT RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
    .icare-about-hero-title {
        font-size: 38px;
    }
    .icare-about-section-title {
        font-size: 30px;
    }
}

@media (max-width: 991.98px) {
    .icare-about-hero {
        padding: 100px 0 60px;
        min-height: auto;
        text-align: center;
    }
    .icare-about-hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .icare-about-hero-desc {
        max-width: 100%;
    }
    .icare-about-hero-actions {
        justify-content: center;
    }
    .icare-about-hero-title {
        font-size: 34px;
    }
    .icare-about-mission {
        padding: 60px 0;
    }
    .icare-about-why {
        padding: 60px 0;
    }
    .icare-about-why-content {
        margin-top: 30px;
    }
    .icare-about-section-title {
        font-size: 28px;
    }
    .icare-about-counters-grid {
        flex-wrap: wrap;
        gap: 24px;
        padding: 36px 24px;
    }
    .icare-about-counter {
        flex: 0 0 calc(50% - 12px);
    }
    .icare-about-counter-divider {
        display: none;
    }
    .icare-about-cta-content h2 {
        font-size: 30px;
    }
}

@media (max-width: 575.98px) {
    .icare-about-hero {
        padding: 90px 0 50px;
    }
    .icare-about-hero-title {
        font-size: 28px;
    }
    .icare-about-hero-desc {
        font-size: 15px;
    }
    .icare-about-hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .icare-about-btn-primary,
    .icare-about-btn-outline {
        width: 100%;
        justify-content: center;
    }
    .icare-about-mission {
        padding: 40px 0;
    }
    .icare-about-card {
        padding: 28px 22px;
    }
    .icare-about-section-title {
        font-size: 24px;
    }
    .icare-about-features {
        gap: 14px;
    }
    .icare-about-feature {
        padding: 18px;
    }
    .icare-about-counter {
        flex: 0 0 100%;
    }
    .icare-about-counter-value {
        font-size: 28px;
    }
    .icare-about-counters-grid {
        border-radius: 16px;
        padding: 30px 20px;
    }
    .icare-about-cta {
        padding: 60px 0;
    }
    .icare-about-cta-content h2 {
        font-size: 24px;
    }
    .icare-about-cta-actions {
        flex-direction: column;
    }
    .icare-about-cta-btn-primary,
    .icare-about-cta-btn-outline {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   UDEMY-STYLE COURSE CARDS
   ========================================================================== */

/* Section */
.udemy-courses-section {
    background: #fff;
    padding: 60px 0 40px;
}

/* Section Header */
.udemy-section-header {
    margin-bottom: 30px;
}
.udemy-section-header h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 6px;
}
.udemy-section-header p {
    font-size: 15px;
    color: #6a6f73;
    margin: 0;
}

/* Tabs */
.udemy-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    border-bottom: 1px solid #d1d7dc;
    margin-bottom: 30px;
}
.udemy-tab {
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    color: #6a6f73;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
    white-space: nowrap;
}
.udemy-tab:hover {
    color: #1a1a1a;
}
.udemy-tab.active {
    color: #1a1a1a;
    border-bottom-color: #1a1a1a;
}

/* Grid — 5 per row */
.udemy-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* Card column */
.udemy-col {
    min-width: 0;
}

/* Card */
.udemy-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    height: 100%;
    border: 1px solid #e8e9eb;
    border-radius: 0;
    overflow: hidden;
    transition: box-shadow 0.2s;
    background: #fff;
}
.udemy-card:hover {
    color: inherit;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.06);
}

/* Card Image */
.udemy-card-img {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 ratio */
    overflow: hidden;
    background: #f7f9fa;
    border-bottom: 1px solid #e8e9eb;
}
.udemy-card-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.udemy-card:hover .udemy-card-img img {
    transform: scale(1.03);
}

/* Card Body */
.udemy-card-body {
    padding: 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Title */
.udemy-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.4;
    margin: 0 0 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Instructor */
.udemy-card-instructor {
    font-size: 11px;
    color: #6a6f73;
    margin: 0 0 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Rating */
.udemy-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 6px;
    flex-wrap: nowrap;
}
.udemy-rating-num {
    font-size: 13px;
    font-weight: 700;
    color: #b4690e;
}
.udemy-stars {
    display: flex;
    gap: 1px;
}
.udemy-stars i {
    font-size: 11px;
    color: #e59819;
}
.udemy-rating-count {
    font-size: 11px;
    color: #6a6f73;
}

/* Price */
.udemy-card-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}
.udemy-price-current {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
}
.udemy-price-old {
    font-size: 13px;
    color: #6a6f73;
    text-decoration: line-through;
}
.udemy-price-free {
    font-size: 15px;
    font-weight: 700;
    color: #1a8a1a;
}

/* Badges */
.udemy-card-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: auto;
}
.udemy-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 2px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.udemy-badge-best {
    background: #eceb98;
    color: #3d3c0a;
}
.udemy-badge-premium {
    background: #e0d0f7;
    color: #371783;
}

/* See All Button */
.udemy-see-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    border: 1px solid #1a1a1a;
    text-decoration: none;
    transition: all 0.2s;
}
.udemy-see-all-btn:hover {
    background: #1a1a1a;
    color: #fff;
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   UDEMY CARDS RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
    .udemy-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 991.98px) {
    .udemy-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .udemy-courses-section {
        padding: 40px 0 30px;
    }
}
@media (max-width: 767.98px) {
    .udemy-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
    .udemy-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 2px;
    }
    .udemy-section-header h2 {
        font-size: 22px;
    }
}
@media (max-width: 479.98px) {
    .udemy-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .udemy-card-body {
        padding: 8px;
    }
    .udemy-card-title {
        font-size: 13px;
    }
    .udemy-price-current {
        font-size: 13px;
    }
}

/* ==========================================================================
   CONTACT PAGE
   ========================================================================== */

/* Contact Info Cards */
.contact-address-section {
    padding: 50px 0 30px;
}
.contact-info {
    background: #fff;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    height: 100%;
    overflow: hidden;
}
.contact-info:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(26,111,181,0.12);
    border-color: #1a6fb5;
}
.contact-pd {
    padding: 30px 24px;
    text-align: center;
}
.contact-pd i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    font-size: 22px;
    margin-bottom: 16px;
    color: #fff;
    background: linear-gradient(135deg, #1a6fb5, #2d4a9e);
    box-shadow: 0 4px 16px rgba(26,111,181,0.3);
}
.contact-pd h4 {
    font-size: 20px;
    font-weight: 700;
    color: #0a1628;
    margin-bottom: 10px;
}
.contact-pd p {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 4px;
    line-height: 1.6;
}
.contact-pd a {
    display: block;
    color: #475569;
    font-size: 14px;
    text-decoration: none;
    margin-bottom: 4px;
    transition: color 0.3s;
    word-break: break-all;
}
.contact-pd a:hover {
    color: #1a6fb5;
}

/* Contact Form Section */
.contact-comment-section {
    padding: 10px 0 80px;
}
.contact-form-wrapper {
    background: #fff;
    border-radius: 20px;
    padding: 45px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
}
.form-header { margin-bottom: 30px; }
.form-badge {
    display: inline-flex; align-items: center;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #1a6fb5; padding: 6px 16px; border-radius: 20px;
    font-size: 13px; font-weight: 600; margin-bottom: 12px;
}
.form-title {
    font-size: 30px; font-weight: 800;
    color: #0a1628; margin-bottom: 8px;
}
.form-title .text-gradient {
    background: linear-gradient(135deg, #1a6fb5, #5ba3d9);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.form-subtitle {
    color: #64748b; font-size: 15px;
}

/* Custom floating inputs */
.form-floating-custom {
    position: relative;
    transition: all 0.3s;
}
.form-floating-custom .input-icon {
    position: absolute; left: 16px; top: 50%;
    transform: translateY(-50%);
    color: #94a3b8; font-size: 16px;
    z-index: 2; transition: color 0.3s;
    pointer-events: none;
}
.form-floating-custom.textarea-custom .input-icon {
    top: 20px; transform: none;
}
.form-floating-custom .form-control {
    padding: 14px 16px 14px 46px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    background: #f8fafc;
    transition: all 0.3s;
    color: #1e293b;
}
.form-floating-custom .form-control::placeholder {
    color: #94a3b8;
}
.form-floating-custom .form-control:focus {
    border-color: #1a6fb5;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(26,111,181,0.1);
}
.form-floating-custom.focused .input-icon {
    color: #1a6fb5;
}

/* Submit button */
.contact-submit-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 100%; margin-top: 24px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #1a6fb5, #2d4a9e);
    color: #fff; border: none; border-radius: 12px;
    font-size: 16px; font-weight: 700;
    cursor: pointer;
    position: relative; overflow: hidden;
    transition: all 0.4s;
}
.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(26,111,181,0.4);
}
.contact-submit-btn .btn-shine {
    position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s;
}
.contact-submit-btn:hover .btn-shine { left: 100%; }

/* --- Contact Responsive --- */
@media (max-width: 991.98px) {
    .contact-form-wrapper { padding: 30px; }
    .form-title { font-size: 26px; }
    .contact-pd { padding: 24px 18px; }
}
@media (max-width: 767.98px) {
    .contact-address-section { padding: 30px 0 20px; }
    .contact-address-section .col-md-4 { margin-bottom: 16px; }
    .contact-comment-section { padding: 10px 0 60px; }
    .contact-form-wrapper { padding: 24px 20px; }
    .form-title { font-size: 22px; }
    .contact-pd { padding: 20px 16px; }
    .contact-pd i { width: 46px; height: 46px; font-size: 18px; }
    .contact-pd h4 { font-size: 17px; }
}
@media (max-width: 575.98px) {
    .contact-submit-btn { font-size: 14px; padding: 14px 20px; }
}

/* ============================================================
   COURSES ALL PAGE
   ============================================================ */
.ca-section {
    padding: 40px 0 80px;
    background: #fff;
}

/* Top Bar */
.ca-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
    padding: 16px 24px;
    background: #f8f9fc;
    border-radius: 12px;
    border: 1px solid #e8ecf2;
}
.ca-topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}
.ca-result-count {
    font-size: 15px;
    color: #555;
}
.ca-result-count strong {
    color: #1a3c6e;
    font-weight: 700;
}
.ca-clear-filters {
    font-size: 13px;
    color: #e74c3c;
    text-decoration: none;
    transition: all .2s;
}
.ca-clear-filters:hover { color: #c0392b; text-decoration: underline; }
.ca-topbar-right {
    display: flex;
    align-items: center;
    gap: 0;
}
.ca-search-form {
    display: flex;
    align-items: center;
    gap: 0;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #dde2ea;
    overflow: hidden;
    transition: border-color .2s;
}
.ca-search-form:focus-within { border-color: #1a6fb5; box-shadow: 0 0 0 3px rgba(26,111,181,.1); }
.ca-search-input-wrap {
    display: flex;
    align-items: center;
    padding: 0 12px;
    flex: 1;
}
.ca-search-input-wrap i { color: #999; font-size: 14px; }
.ca-search-input {
    border: none;
    outline: none;
    padding: 10px 8px;
    font-size: 14px;
    background: transparent;
    min-width: 200px;
}
.ca-sort-select {
    border: none;
    border-left: 1px solid #dde2ea;
    padding: 10px 16px;
    font-size: 14px;
    color: #555;
    background: #f8f9fc;
    cursor: pointer;
    outline: none;
}
.ca-search-btn {
    border: none;
    background: linear-gradient(135deg, #1a6fb5, #1a3c6e);
    color: #fff;
    padding: 10px 16px;
    cursor: pointer;
    transition: opacity .2s;
}
.ca-search-btn:hover { opacity: .85; }

/* Layout */
.ca-layout {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

/* Sidebar */
.ca-sidebar {
    width: 260px;
    flex-shrink: 0;
    position: sticky;
    top: 100px;
}
.ca-sidebar-inner {
    background: #fff;
    border: 1px solid #e8ecf2;
    border-radius: 12px;
    padding: 24px 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.ca-sidebar-title {
    font-size: 17px;
    font-weight: 700;
    color: #1a3c6e;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e8ecf2;
}
.ca-sidebar-title i { margin-right: 8px; }
.ca-filter-group {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f2f5;
}
.ca-filter-group:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.ca-filter-label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}
.ca-check {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    cursor: pointer;
    transition: color .2s;
}
.ca-check:hover { color: #1a6fb5; }
.ca-check input { display: none; }
.ca-check-box {
    width: 18px;
    height: 18px;
    border: 2px solid #ccd0d8;
    border-radius: 4px;
    flex-shrink: 0;
    position: relative;
    transition: all .2s;
}
.ca-check input:checked + .ca-check-box {
    background: #1a6fb5;
    border-color: #1a6fb5;
}
.ca-check input:checked + .ca-check-box::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: #fff;
    font-size: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.ca-check-text {
    font-size: 13px;
    color: #555;
    flex: 1;
}
.ca-check-count {
    font-size: 12px;
    color: #999;
    background: #f0f2f5;
    padding: 1px 8px;
    border-radius: 10px;
}
.ca-check-stars {
    display: flex;
    align-items: center;
    gap: 2px;
    font-size: 13px;
    color: #f4a623;
}
.ca-check-stars span { color: #777; font-size: 12px; margin-left: 4px; }

/* Content */
.ca-content { flex: 1; min-width: 0; }

/* Filter toggle mobile */
.ca-filter-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    padding: 10px 20px;
    border: 1px solid #1a6fb5;
    border-radius: 8px;
    background: #fff;
    color: #1a6fb5;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all .2s;
}
.ca-filter-toggle:hover { background: #1a6fb5; color: #fff; }

/* Grid 4 columns */
.ca-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Card */
.ca-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e8ecf2;
    transition: all .3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.ca-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(26,111,181,.12);
    border-color: #1a6fb5;
}
.ca-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.ca-card-img {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #f0f2f5;
}
.ca-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.ca-card:hover .ca-card-img img { transform: scale(1.06); }
.ca-card-badge {
    position: absolute;
    top: 10px;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    letter-spacing: .3px;
}
.ca-badge-promo {
    right: 10px;
    background: #e74c3c;
    color: #fff;
}
.ca-badge-free {
    left: 10px;
    background: #27ae60;
    color: #fff;
}

/* Card body */
.ca-card-body { padding: 16px; }
.ca-card-cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #1a6fb5;
    background: rgba(26,111,181,.08);
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: .3px;
}
.ca-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #1a2a44;
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.ca-card:hover .ca-card-title { color: #1a6fb5; }
.ca-card-instructor {
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
}
.ca-card-instructor i { margin-right: 4px; color: #aaa; }
.ca-card-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 10px;
}
.ca-rating-num {
    font-size: 13px;
    font-weight: 700;
    color: #b4690e;
}
.ca-rating-stars {
    display: flex;
    gap: 1px;
    font-size: 12px;
    color: #f4a623;
}
.ca-rating-count {
    font-size: 11px;
    color: #999;
}
.ca-card-footer {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding-top: 10px;
    border-top: 1px solid #f0f2f5;
}
.ca-price {
    font-size: 16px;
    font-weight: 800;
    color: #1a3c6e;
}
.ca-price-green { color: #27ae60; }
.ca-price-old {
    font-size: 13px;
    color: #bbb;
    text-decoration: line-through;
}

/* Empty state */
.ca-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px 20px;
    color: #999;
}
.ca-empty i { color: #ddd; margin-bottom: 20px; }
.ca-empty h4 { color: #555; margin-bottom: 8px; }
.ca-empty .btn { margin-top: 16px; }

/* Pagination */
.ca-pagination { margin-top: 40px; }
.ca-pagination .pagination { justify-content: center; gap: 4px; }
.ca-pagination .page-link {
    border-radius: 8px;
    border: 1px solid #e8ecf2;
    color: #555;
    padding: 8px 14px;
    font-size: 14px;
    transition: all .2s;
}
.ca-pagination .page-link:hover,
.ca-pagination .page-item.active .page-link {
    background: #1a6fb5;
    border-color: #1a6fb5;
    color: #fff;
}

/* Responsive */
@media (max-width: 1199.98px) {
    .ca-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .ca-sidebar { width: 240px; }
}
@media (max-width: 991.98px) {
    .ca-sidebar {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 300px;
        height: 100vh;
        z-index: 1050;
        background: #fff;
        padding: 24px;
        overflow-y: auto;
        box-shadow: 4px 0 20px rgba(0,0,0,.15);
    }
    .ca-sidebar.ca-sidebar-open { display: block; }
    .ca-sidebar-inner { border: none; box-shadow: none; padding: 0; }
    .ca-filter-toggle { display: flex; }
    .ca-grid { grid-template-columns: repeat(3, 1fr); }
    .ca-topbar { flex-direction: column; align-items: stretch; }
    .ca-search-input { min-width: 140px; }
}
@media (max-width: 767.98px) {
    .ca-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .ca-section { padding: 24px 0 60px; }
    .ca-search-form { flex-wrap: wrap; }
    .ca-search-input { min-width: 120px; }
    .ca-sort-select { border-left: 0; border-top: 1px solid #dde2ea; flex: 1; }
}
@media (max-width: 479.98px) {
    .ca-grid { grid-template-columns: 1fr; }
    .ca-card-title { font-size: 14px; }
    .ca-topbar { padding: 12px 16px; }
}

/* ==========================================================================
   ICARE FOOTER - Professional Design
   ========================================================================== */
.icare-footer {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* --- Main Section --- */
.icare-footer-main {
    background: linear-gradient(180deg, #0a1628 0%, #0f1b3d 60%, #162550 100%);
    padding: 70px 0 50px;
    position: relative;
    overflow: hidden;
}
.icare-footer-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2d4a9e, #4e8cff, #2d4a9e);
}

/* Brand */
.icare-footer-brand {}
.icare-footer-logo img {
    max-width: 220px;
    height: auto;
    filter: brightness(1.1);
    transition: var(--icare-transition);
}
.icare-footer-logo:hover img { filter: brightness(1.3); }
.icare-footer-desc {
    color: rgba(255,255,255,.6);
    font-size: 14px;
    line-height: 1.7;
    margin: 20px 0 24px;
}

/* Social icons */
.icare-footer-socials {
    display: flex;
    gap: 10px;
}
.icare-footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.6);
    font-size: 15px;
    transition: var(--icare-transition);
}
.icare-footer-socials a:hover {
    background: var(--icare-gradient-btn);
    border-color: transparent;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(78, 140, 255, .35);
}

/* Widget heading */
.icare-footer-heading {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
    letter-spacing: .3px;
}
.icare-footer-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 3px;
    border-radius: 2px;
    background: var(--icare-gradient-btn);
}

/* Links */
.icare-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.icare-footer-links li { margin-bottom: 12px; }
.icare-footer-links a {
    color: rgba(255,255,255,.55);
    font-size: 14px;
    text-decoration: none;
    transition: var(--icare-transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.icare-footer-links a::before {
    content: '';
    width: 0;
    height: 2px;
    background: #4e8cff;
    border-radius: 1px;
    transition: width .3s ease;
}
.icare-footer-links a:hover {
    color: #fff;
    transform: translateX(4px);
}
.icare-footer-links a:hover::before { width: 12px; }

/* Newsletter */
.icare-footer-nl-text {
    color: rgba(255,255,255,.55);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
}
.icare-footer-nl-form {}
.icare-footer-nl-input-wrap {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    padding: 4px 4px 4px 16px;
    transition: var(--icare-transition);
}
.icare-footer-nl-input-wrap:focus-within {
    border-color: #4e8cff;
    background: rgba(255,255,255,.1);
    box-shadow: 0 0 0 3px rgba(78,140,255,.15);
}
.icare-footer-nl-input-wrap > i {
    color: rgba(255,255,255,.35);
    font-size: 14px;
    flex-shrink: 0;
}
.icare-footer-nl-input-wrap input {
    flex: 1;
    border: none;
    background: transparent;
    color: #fff;
    font-size: 14px;
    padding: 10px 12px;
    outline: none;
}
.icare-footer-nl-input-wrap input::placeholder { color: rgba(255,255,255,.35); }
.icare-footer-nl-input-wrap button {
    flex-shrink: 0;
    border: none;
    background: var(--icare-gradient-btn);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--icare-transition);
}
.icare-footer-nl-input-wrap button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(78,140,255,.4);
}
.icare-footer-nl-msg {
    font-size: 13px;
    margin-top: 8px;
    padding: 6px 12px;
    border-radius: 8px;
}

/* Contact info */
.icare-footer-contact-info {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.icare-footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,.5);
    font-size: 13px;
}
.icare-footer-contact-item i {
    color: #4e8cff;
    font-size: 13px;
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

/* --- Bottom Bar --- */
.icare-footer-bottom {
    background: rgba(5, 10, 25, .6);
    border-top: 1px solid rgba(255,255,255,.06);
    padding: 20px 0;
}
.icare-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.icare-footer-copy {
    color: rgba(255,255,255,.4);
    font-size: 13px;
    margin: 0;
}
.icare-footer-copy strong { color: rgba(255,255,255,.7); }
.icare-footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 8px;
}
.icare-footer-bottom-links a {
    color: rgba(255,255,255,.4);
    font-size: 13px;
    text-decoration: none;
    transition: var(--icare-transition);
}
.icare-footer-bottom-links a:hover { color: #4e8cff; }
.icare-footer-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
}

/* Footer Responsive */
@media (max-width: 991.98px) {
    .icare-footer-main { padding: 50px 0 40px; }
    .icare-footer-bottom-inner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}
@media (max-width: 575.98px) {
    .icare-footer-main { padding: 40px 0 30px; }
    .icare-footer-heading { font-size: 15px; margin-bottom: 18px; }
    .icare-footer-nl-input-wrap {
        flex-direction: column;
        padding: 8px;
        gap: 0;
    }
    .icare-footer-nl-input-wrap > i { display: none; }
    .icare-footer-nl-input-wrap input { padding: 10px; }
    .icare-footer-nl-input-wrap button { width: 100%; justify-content: center; margin-top: 4px; }
    .icare-footer-socials { justify-content: center; }
    .icare-footer-brand { text-align: center; }
    .icare-footer-desc { text-align: center; }
    .icare-footer-logo { display: flex; justify-content: center; }
}

/* ========================================
   STUDENT DASHBOARD — MOBILE RESPONSIVE
   ======================================== */

/* Sidebar mobile toggle */
@media (max-width: 991.98px) {
    .theiaStickySidebar {
        position: relative !important;
        width: 100% !important;
        margin-bottom: 1rem;
    }

    .settings-sidebar {
        border-radius: 12px;
        border: 1px solid #e5e7eb;
        background: #fff;
        box-shadow: 0 2px 8px rgba(0,0,0,.06);
        overflow: hidden;
    }

    .settings-sidebar > div {
        padding: 0;
    }

    .settings-sidebar h6 {
        background: linear-gradient(135deg, #0a1628, #162550);
        color: #fff;
        margin: 0;
        padding: 14px 18px;
        font-size: 14px;
        cursor: pointer;
        position: relative;
    }

    .settings-sidebar h6::after {
        content: '\f078';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        right: 18px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 12px;
        transition: transform .3s ease;
    }

    .settings-sidebar h6.open::after {
        transform: translateY(-50%) rotate(180deg);
    }

    .settings-sidebar ul {
        display: none;
        padding: 8px 12px;
        margin: 0;
    }

    .settings-sidebar ul.show {
        display: block;
    }

    .settings-sidebar hr {
        margin: 0;
    }

    .settings-sidebar ul li {
        margin-bottom: 4px;
    }

    .settings-sidebar ul li a {
        padding: 10px 14px;
        border-radius: 8px;
        font-size: 14px;
        display: flex !important;
        width: 100%;
        transition: all .2s ease;
    }

    .settings-sidebar ul li a:hover,
    .settings-sidebar ul li a.active {
        background: #f0f4ff;
    }

    /* Stats cards */
    .col-xl-4.col-md-6 .card {
        margin-bottom: 12px;
    }

    .col-xl-4.col-md-6 .card .card-body {
        padding: 16px;
    }

    .col-xl-4.col-md-6 .card .icon-box {
        width: 44px;
        height: 44px;
    }

    .col-xl-4.col-md-6 .card .icon-box img {
        width: 22px;
        height: 22px;
    }

    .col-xl-4.col-md-6 .card h4 {
        font-size: 20px;
    }

    .col-xl-4.col-md-6 .card span {
        font-size: 13px;
    }

    /* Course cards */
    .course-item-two {
        margin-bottom: 16px;
    }

    .course-item .course-content {
        padding: 14px;
    }

    .course-item .course-content .title {
        font-size: 14px;
        line-height: 1.4;
    }

    .course-content .d-flex.justify-content-between {
        flex-wrap: wrap;
        gap: 6px;
    }

    .course-content .d-flex.align-items-center.justify-content-between {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 10px;
    }

    .course-content .d-flex.align-items-center.justify-content-between .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    /* Stack stat cards */
    .content .col-md-6.col-xl-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Course cards full width */
    .content .col-xl-4.col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    /* Certificate cards */
    .card .col-md-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .card .d-flex.align-items-center.justify-content-between.p-3 {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 10px;
    }

    .card .d-flex.align-items-center.justify-content-between.p-3 .btn {
        width: 100%;
        text-align: center;
    }

    /* Breadcrumb */
    .breadcrumb-bar {
        padding: 20px 0;
    }

    .breadcrumb-bar h2 {
        font-size: 22px;
    }

    /* Content padding */
    .content > .container {
        padding-left: 12px;
        padding-right: 12px;
    }
}

@media (max-width: 575.98px) {
    /* Stat cards spacing */
    .col-xl-4.col-md-6 .card .d-flex.align-items-center {
        gap: 10px;
    }

    .col-xl-4.col-md-6 .card .card-body {
        padding: 12px;
    }

    .col-xl-4.col-md-6 .card .icon-box {
        width: 40px;
        height: 40px;
        border-radius: 8px;
    }

    .col-xl-4.col-md-6 .card h4 {
        font-size: 18px;
    }

    /* Course image height */
    .course-item .course-img img {
        height: 180px;
        object-fit: cover;
    }

    /* Progress bar */
    .progress {
        height: 6px;
        border-radius: 3px;
    }

    /* Section titles */
    .content h5.fs-18 {
        font-size: 16px !important;
    }
}
