* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Hide scrollbar for all browsers */
html::-webkit-scrollbar {
    display: none;
}

html {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

body::-webkit-scrollbar {
    display: none;
}

body {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    height: 100%;
    width: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #fff;
    overflow-x: hidden;
}

/* Announcement Banner */
.announcement-banner {
    background: linear-gradient(90deg, #1a2a4e, #13171e);
    color: #ffd700;
    padding: 5px 20px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    border-bottom: 2px solid #4a90e2;
    width: 100%;
}

.announcement-banner-track {
    display: flex;
    white-space: nowrap;
    animation: scroll 6s linear infinite;
}

.announcement-banner-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

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

.announcement-banner p {
    font-size: 16px;
    font-weight: 600;
    padding: 0 50px;
    display: inline-block;
    color: #ffd700;
}

.announcement-banner i {
    margin-right: 10px;
}

/* Navigation */
nav {
    background: rgba(10, 22, 40, 0.98);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #4a90e2;
    width: 100%;
}

.navbar-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    overflow: visible;
}

.nav-left-section {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.logo-item {
    width: 90px;
    height: 90px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

/* Right Logos */
.nav-right-section {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}

.right-logo {
    height: 90px;
    width: 90px;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-shrink: 0;
}

/* Hide mobile close button on desktop */
.mobile-close-btn {
    display: none !important;
}

.hamburger-menu span {
    width: 30px;
    height: 3px;
    background: #60a5fa;
    border-radius: 3px;
    transition: 0.3s;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Navigation Menu */
.nav-center-section {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
    align-items: center;
}

.nav-item {
    position: relative;
}

.nav-item-row {
    display: flex;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 18px;
    color: #e5e7eb;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    border-radius: 30px;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}

.nav-link:hover {
    background: linear-gradient(90deg, #4a90e2, #60a5fa);
    color: #fff;
}

/* ── Dropdown Toggle Button — HIDDEN on desktop ── */
.dropdown-toggle-btn {
    display: none; /* Hidden by default (desktop) */
}

/* Badge */
.badge-new {
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: white;
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

/* Dropdown Menu */
.dropdown-menu-custom {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: rgba(26, 42, 78, 0.98);
    border-radius: 15px;
    padding: 12px 0;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 2px solid #4a90e2;
    z-index: 1050;
}

/* Desktop: hover opens dropdown */
.dropdown:hover .dropdown-menu-custom {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu-custom a {
    display: block;
    padding: 12px 24px;
    color: #e5e7eb;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: 0.2s;
}

.dropdown-menu-custom a:hover {
    background: rgba(74, 144, 226, 0.2);
    color: #60a5fa;
    padding-left: 30px;
}

/* ══════════════════════════════════════════
   RESPONSIVE — Tablet & Mobile (≤ 992px)
══════════════════════════════════════════ */
@media (max-width: 992px) {
    .hamburger-menu {
        display: flex;
    }

    .nav-center-section {
        position: fixed;
        top: 0;
        left: -100%;
        width: 90%;
        max-width: 360px;
        height: 100vh;
        background: #0a1628;
        transition: left 0.3s ease;
        padding: 80px 0 30px;
        overflow-y: auto;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .nav-center-section.active {
        left: 0;
    }

    .mobile-close-btn {
        display: block !important;
        position: absolute;
        top: 20px;
        right: 20px;
        background: transparent;
        border: none;
        color: #60a5fa;
        font-size: 32px;
        cursor: pointer;
        width: 40px;
        height: 40px;
        padding: 0;
        line-height: 1;
        z-index: 1001;
    }

    .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 0;
        align-items: stretch;
    }

    .nav-item {
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .nav-item-row {
        display: flex;
        align-items: center;
        border-bottom: 1px solid rgba(74, 144, 226, 0.15);
    }

    .nav-link {
        flex: 1;
        padding: 18px 24px;
        border-radius: 0;
        font-size: 16px;
        font-weight: 600;
        color: #fff;
        white-space: normal;
        line-height: 1.5;
        letter-spacing: 0.3px;
        border-bottom: none;
    }

    .nav-link:hover {
        background: rgba(74, 144, 226, 0.2);
        border-radius: 0;
    }

    /* ── Dropdown Toggle Button — SHOW only on mobile ── */
    .dropdown-toggle-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 18px 16px;
        border-left: 1px solid rgba(74, 144, 226, 0.2);
        border-radius: 0;
        transition: background 0.2s;
        line-height: 1;
    }

    .dropdown-toggle-btn:hover {
        background: rgba(74, 144, 226, 0.15);
    }

    .dropdown-toggle-btn svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: #60a5fa;
        stroke-width: 2.5;
        stroke-linecap: round;
        stroke-linejoin: round;
        transition: transform 0.25s ease;
        display: block;
    }

    .dropdown.active .dropdown-toggle-btn svg {
        transform: rotate(180deg);
    }

    /* Dropdown panel — accordion on mobile */
    .dropdown-menu-custom {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        margin-top: 0;
        background: rgba(30, 58, 90, 0.4);
        border: none;
        border-radius: 0;
        padding: 0;
        box-shadow: none;
        transform: none;
        transition: max-height 0.35s ease, opacity 0.3s ease;
        z-index: auto;
    }

    .dropdown.active .dropdown-menu-custom {
        opacity: 1;
        visibility: visible;
        max-height: 600px;
        padding: 8px 0;
    }

    /* Remove hover-open on mobile (only JS .active controls it) */
    .dropdown:hover .dropdown-menu-custom {
        opacity: 0;
        visibility: hidden;
        transform: none;
    }

    .dropdown.active .dropdown-menu-custom {
        opacity: 1;
        visibility: visible;
    }

    .dropdown-menu-custom a {
        padding: 15px 24px 15px 44px;
        font-size: 15px;
        border-bottom: 1px solid rgba(74, 144, 226, 0.08);
        color: #e0e7ff;
    }

    .dropdown-menu-custom a:hover {
        background: rgba(74, 144, 226, 0.18);
        padding-left: 50px;
        color: #fff;
    }

    /* Logos */
    .nav-right-section {
        display: flex;
        gap: 10px;
    }

    .right-logo {
        height: 70px;
        width: 70px;
    }

    .logo-item {
        width: 70px;
        height: 70px;
    }
}

/* ══════════════════════════════════════════
   RESPONSIVE — Small Mobile (≤ 768px)
══════════════════════════════════════════ */
@media (max-width: 768px) {
    .announcement-banner p {
        font-size: 14px;
    }

    .navbar-container {
        padding: 12px 20px;
    }

    .logo-item {
        width: 55px;
        height: 55px;
    }

    .right-logo {
        height: 55px;
        width: 55px;
    }
}

/* ══════════════════════════════════════════
   RESPONSIVE — Extra Small (≤ 480px)
══════════════════════════════════════════ */
@media (max-width: 480px) {
    .announcement-banner p {
        font-size: 12px;
    }

    .navbar-container {
        padding: 10px 12px;
        gap: 8px;
    }

    .logo-item {
        width: 40px;
        height: 40px;
    }

    .nav-right-section {
        display: flex;
        gap: 6px;
    }

    .right-logo {
        height: 40px;
        width: 40px;
    }
}

/* ============================================ */
/* HERO SECTION - COMPACT FIT (no scroll) */
/* ============================================ */

.hero-section {
    position: relative;
    background: linear-gradient(140deg, #e8f0ff 0%, #dce8ff 30%, #cfe1ff 60%, #c3dbff 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 4%;
    gap: 8px;
    overflow: hidden;
    height: auto;
    min-height: unset;
    box-sizing: border-box;
    width: 100%;
    z-index: 1;
}

/* ============================================ */
/* BACKGROUND SHAPES */
/* ============================================ */

.shape-circle-1, .shape-circle-2, .shape-blob-1, .shape-blob-2 {
    position: absolute;
    border-radius: 50%;
    opacity: 0.2;
    z-index: 0;
    pointer-events: none;
    box-shadow: 0 0 80px rgba(59, 130, 246, 0.5),
                0 0 150px rgba(59, 130, 246, 0.4),
                inset 0 0 60px rgba(255, 255, 255, 0.25);
    filter: brightness(1.3) blur(0.5px);
}

.shape-circle-1 {
    width: 420px; height: 420px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
    top: -120px; left: -120px;
}

.shape-circle-2 {
    width: 320px; height: 320px;
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 50%, #22d3ee 100%);
    bottom: -80px; right: 8%;
}

.shape-blob-1 {
    width: 480px; height: 480px;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
    top: 8%; right: -160px;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
}

.shape-blob-2 {
    width: 360px; height: 360px;
    background: linear-gradient(135deg, #3730a3 0%, #6366f1 50%, #818cf8 100%);
    bottom: 8%; left: 3%;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

/* ============================================ */
/* HEADING SECTION — compact */
/* ============================================ */

.hero-heading-section {
    width: 100%;
    padding: 0;
    background: transparent;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    order: -1;
    position: relative;
    z-index: 10;
    flex-shrink: 0;
}

.hero-heading-container {
    max-width: 1000px;
    width: 100%;
}

.hero-main-title {
    font-size: clamp(0.95rem, 1.6vw, 1.5rem);
    font-weight: 900;
    color: #1e3a8a;
    margin-bottom: 6px;
    line-height: 1.2;
    white-space: nowrap;
    position: relative;
    background: rgba(191, 219, 254, 0.85);
    border: 2.5px solid rgba(59, 130, 246, 0.6);
    padding: 10px 24px;
    border-radius: 12px;
    display: inline-block;
}

.hero-main-title .gradient-text {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 50%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(0.65rem, 1vw, 0.8rem);
    color: #64748b;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    position: relative;
    background: rgba(206, 235, 253, 0.8);
    border: 2px solid rgba(59, 130, 246, 0.5);
    padding: 8px 18px;
    border-radius: 10px;
    display: inline-block;
}

/* ============================================ */
/* HERO CARDS CONTAINER */
/* ============================================ */

.hero-cards-wrapper {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 14px;
    width: 100%;
    flex: 1;
    min-height: 0;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

/* ============================================ */
/* HERO CARDS */
/* ============================================ */

.hero-card {
    flex: 1 1 0;
    max-width: 500px;
    min-width: 0;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    min-height: 0;
}

.hero-left  { animation: slideInLeft  0.6s ease-out; }
.hero-right { animation: slideInRight 0.6s ease-out; }

/* ============================================ */
/* SLIDER */
/* ============================================ */

.hero-slider-container {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #0f1c3f;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15),
                0 0 25px rgba(59, 130, 246, 0.2);
    flex-shrink: 0;
    height: 380px;
    border: 2px solid rgba(59, 130, 246, 0.2);
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.slider-item {
    min-width: 100%;
    width: 100%;
    height: 100%;
    position: relative;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}

.slider-item.active { opacity: 1; }

.slider-item img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    object-position: center top;
    display: block;
    filter: brightness(1.05);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.95);
    border: none;
    width: 32px; height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 3px 12px rgba(0,0,0,0.15);
}

.slider-nav:hover {
    background: white;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 5px 20px rgba(59,130,246,0.4);
}

.slider-nav i { font-size: 16px; color: #1e3a8a; }
.slider-prev { left: 8px; }
.slider-next { right: 8px; }

.slider-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}

.slider-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: white;
    width: 22px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.5);
}

/* ============================================ */
/* PERSON CONTAINER */
/* ============================================ */

.person-container {
    position: relative;
    width: 100%;
    height: 380px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15),
                0 0 25px rgba(59, 130, 246, 0.2);
    border: 2px solid rgba(59, 130, 246, 0.2);
    flex-shrink: 0;
}

.gradient-shape-1, .gradient-shape-2, .gradient-shape-3 {
    position: absolute;
    border-radius: 50%;
    z-index: 2;
}

.gradient-shape-1 {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(59,130,246,0.2), rgba(30,64,175,0.2));
    box-shadow: inset 0 0 50px rgba(59, 130, 246, 0.3);
}

.gradient-shape-2 {
    width: 80%; height: 80%;
    background: linear-gradient(135deg, rgba(14,165,233,0.25), rgba(6,182,212,0.25));
    box-shadow: inset 0 0 40px rgba(14, 165, 233, 0.3);
}

.gradient-shape-3 {
    width: 60%; height: 60%;
    background: linear-gradient(135deg, rgba(30,58,138,0.3), rgba(59,130,246,0.3));
    box-shadow: inset 0 0 30px rgba(59, 130, 246, 0.4);
}

.center-image {
    position: absolute;
    z-index: 6;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    object-fit: fill;
    display: block;
    top: 0; left: 0;
    filter: brightness(1.05);
}

/* ============================================ */
/* FLOATING TECH ICONS */
/* ============================================ */

.tech-icons-container {
    position: absolute;
    width: 100%; height: 100%;
    inset: 0;
    pointer-events: none;
    z-index: 20;
}

.tech-icon {
    position: absolute;
    width: 44px; height: 44px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 50%, #e0f2fe 100%);
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 28px rgba(0,0,0,0.15),
                0 0 35px rgba(59, 130, 246, 0.5),
                inset 0 0 25px rgba(59, 130, 246, 0.15);
    z-index: 20;
    border: 2px solid rgba(59,130,246,0.5);
    transition: opacity 0.5s ease, transform 0.5s ease;
    opacity: 0;
    transform: scale(0);
    filter: brightness(1.2);
}

.tech-icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(135deg, rgba(59,130,246,0.4) 0%, rgba(147,197,253,0.3) 50%, rgba(59,130,246,0.4) 100%);
    border-radius: 15px;
    z-index: -1;
    filter: blur(8px);
}

.tech-icon.show {
    opacity: 1;
    transform: scale(1);
    animation: floatIcon 3s ease-in-out infinite;
}

.tech-icon img {
    width: 100%; height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* ============================================ */
/* ICON POSITIONS — Arc beside cards            */
/* ============================================ */

/* LEFT SIDE */
.icon-left-1 { top: 8%;     left: 6%; }   /* top — pushed inward */
.icon-left-2 { top: 35%;    left: 3%; }   /* upper middle */
.icon-left-3 { bottom: 28%; left: 3%; }   /* lower middle */
.icon-left-4 { bottom: 6%;  left: 6%; }   /* bottom — pushed inward */

/* RIGHT SIDE */
.icon-right-1 { top: 8%;     right: 6%; } /* top — pushed inward */
.icon-right-2 { top: 35%;    right: 3%; } /* upper middle */
.icon-right-3 { bottom: 28%; right: 3%; } /* lower middle */
.icon-right-4 { bottom: 6%;  right: 6%; } /* bottom — pushed inward */

/* Staggered float delays */
.icon-left-1  { animation-delay: 0s;    }
.icon-left-2  { animation-delay: 0.5s;  }
.icon-left-3  { animation-delay: 1s;    }
.icon-left-4  { animation-delay: 1.5s;  }
.icon-right-1 { animation-delay: 0.25s; }
.icon-right-2 { animation-delay: 0.75s; }
.icon-right-3 { animation-delay: 1.25s; }
.icon-right-4 { animation-delay: 1.75s; }

/* ============================================ */
/* FLOAT ANIMATION */
/* ============================================ */

@keyframes floatIcon {
    0%, 100% { transform: translateY(0) scale(1); }
    50%       { transform: translateY(-10px) scale(1.04); }
}

/* ============================================ */
/* ANIMATIONS */
/* ============================================ */

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-60px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(60px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideInUp {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================ */
/* RESPONSIVE */
/* ============================================ */

@media (max-width: 1023px) {
    .hero-section {
        padding: 16px 4%;
        gap: 16px;
    }

    .hero-cards-wrapper { flex-wrap: wrap; }

    .hero-card {
        flex: none;
        max-width: 100%;
        width: 100%;
    }

    .hero-slider-container,
    .person-container {
        height: 320px;
    }
}

@media (max-width: 768px) {
    /* Hide all tech icons on mobile */
    .tech-icons-container {
        display: none;
    }

    .hero-heading-section { padding: 0; }

    .hero-main-title {
        font-size: 1.1rem;
        padding: 9px 16px;
        margin-bottom: 5px;
        white-space: normal;
    }

    .hero-subtitle {
        font-size: 0.72rem;
        padding: 7px 14px;
    }

    .hero-section { padding: 12px 4%; gap: 12px; }

    .hero-cards-wrapper { flex-direction: column; }
    .hero-card { max-width: 100%; width: 100%; }

    .hero-slider-container,
    .person-container { height: 270px; }
}

@media (max-width: 480px) {
    .hero-main-title {
        font-size: 0.95rem;
        padding: 8px 12px;
    }

    .hero-subtitle { font-size: 0.68rem; padding: 6px 10px; }
    .hero-section { padding: 10px 4%; gap: 10px; }

    .hero-slider-container,
    .person-container { height: 230px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
/* ===============================
   CONTAINER
================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===============================
   HEADER
================================= */
.academy-header {
    background-color: #0b2a4a;
    padding: 9px 0;
}

.academy-header .header-title {
    color: #ffffff;
    font-size: 34px;
    font-weight: 700;
    text-align: center;
}

.academy-subheader {
    background-color: #143d66;
    padding: 10px 0;
}

.academy-subheader .subheader-title {
    color: #e6eef7;
    font-size: 16px;
    text-align: center;
}

/* ===============================
   APPLY SECTION
================================= */
.apply-section {
    background-color: #f4f7fb;
    padding: 50px 0;
    overflow: hidden;
}

/* Row */
.apply-row {
    display: flex;
    gap: 15px;
    justify-content: space-between;
}

/* Columns */
.apply-col {
    flex: 1;
    min-width: 0;
}

/* Anchor Link */
.apply-link {
    text-decoration: none;
    display: block;
    height: 100%;
}

/* Card */
.apply-box {
    background-color: #ffffff;
    border-radius: 18px;
    padding: 30px 15px;
    text-align: center;
    height: 100%;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    position: relative;
}

/* Hover background effect */
.apply-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0b2a4a;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 1;
}

/* Icon */
.apply-box i {
    font-size: 32px;
    color: #0b2a4a;
    margin-bottom: 12px;
    display: block;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

/* Text */
.apply-box p {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: #0b2a4a;
    line-height: 1.4;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

/* Hover */
.apply-box:hover {
    transform: translateY(-6px);
}

.apply-box:hover::before {
    transform: translateY(0);
}

.apply-box:hover i,
.apply-box:hover p {
    color: #ffffff;
}

/* Dark Highlight Card */
.dark-box {
    background-color: #0b2a4a;
}

.dark-box i,
.dark-box p {
    color: #ffffff;
}

/* Dark box hover effect - lighter blue */
.dark-box::before {
    background-color: #1a4d7a;
}

/* ===============================
   RESPONSIVE
================================= */
@media (max-width: 1200px) {
    .apply-row {
        gap: 12px;
    }

    .apply-box {
        padding: 28px 12px;
    }

    .apply-box i {
        font-size: 30px;
    }

    .apply-box p {
        font-size: 12px;
    }
}

@media (max-width: 992px) {
    .apply-row {
        flex-wrap: wrap;
    }

    .apply-col {
        flex: 0 1 calc(33.333% - 10px);
    }

    .academy-header .header-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .apply-col {
        flex: 0 1 calc(50% - 10px);
    }
}

@media (max-width: 576px) {
    .apply-row {
        flex-direction: column;
    }

    .apply-col {
        flex: 1 1 100%;
    }

    .academy-header .header-title {
        font-size: 24px;
    }

    .apply-section {
        padding: 40px 0;
    }

    .apply-box {
        padding: 35px 25px;
    }

    .apply-box i {
        font-size: 36px;
    }

    .apply-box p {
        font-size: 14px;
    }
}

/* ==================Program Section========================== */

.program-section {
    padding: 30px 0;
    background: #f4f7fb;
}

/* ===== Center Row with 3 Cards ===== */
.program-section .row {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center;
    gap: 20px;
    overflow-x: visible;
}

/* ===== Card Width ===== */
.program-section .col-md-4 {
    flex: 0 0 auto !important;
    width: 350px;
    max-width: 350px !important;
    padding: 0 !important;
}

/* ===== Card Link Wrapper ===== */
.program-card-link {
    text-decoration: none;
    display: block;
    height: 100%;
}

/* ===== Card ===== */
.program-card {
    height: 100%;
    min-height: 400px;
    padding: 32px 24px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(6px);
    box-shadow: 0 12px 35px rgba(13, 110, 253, 0.12);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    position: relative;
    transition: 0.35s;
    overflow: hidden;
}

.program-card-link:hover .program-card {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(13, 110, 253, 0.18);
}

/* ===== Gradient Border ===== */
.program-card::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: 20px;
    background: linear-gradient(135deg, #0d6efd, #6f42c1);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: 0.3s;
    
}

.program-card-link:hover .program-card::before {
    opacity: 1;
}

/* ===== Icon Base ===== */
.program-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 34px;
    background: #fff;
    animation: float 4s ease-in-out infinite;
    flex-shrink: 0;
}

/* ===== Icon Colors ===== */
.icon-blue {
    color: #0d6efd;
    box-shadow: 0 0 0 9px rgba(13, 110, 253, 0.1);
}

.icon-pink {
    color: #e83e8c;
    box-shadow: 0 0 0 9px rgba(232, 62, 140, 0.12);
}

.icon-green {
    color: #198754;
    box-shadow: 0 0 0 9px rgba(25, 135, 84, 0.12);
}

/* ===== Text ===== */
.program-card h4 {
    font-size: 19px;
    font-weight: 700;
    color: #001c4a;
    margin-bottom: 14px;
    line-height: 1.3;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.program-card p {
    font-size: 14px;
    line-height: 1.65;
    color: #555;
    margin-bottom: 24px;
    flex-grow: 1;
}


/* ===== Button ===== */
.apply-btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 30px;
    background: linear-gradient(135deg, #0d6efd, #6f42c1);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(13, 110, 253, 0.35);
    transition: 0.3s;
    margin-top: auto;
}

.program-card-link:hover .apply-btn {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(13, 110, 253, 0.45);
}

/* ===== Mobile & Tablet ===== */
@media (max-width: 1200px) {
    .program-section .row {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .program-section .row::-webkit-scrollbar {
        display: none;
    }

    .program-section .col-md-4 {
        min-width: 300px;
        width: 300px;
        max-width: 300px !important;
    }
}

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

    .program-section .container {
        padding: 0 15px;
    }

    /* Stack cards one by one vertically */
    .program-section .row {
        flex-wrap: wrap !important;
        flex-direction: column !important;
        overflow-x: visible !important;
        align-items: center;
        gap: 16px;
    }

    .program-section .col-md-4 {
        width: 100% !important;
        min-width: unset !important;
        max-width: 100% !important;
    }

    .program-card {
        padding: 28px 20px;
        min-height: 380px;
    }

    .program-icon {
        width: 70px;
        height: 70px;
        font-size: 32px;
    }

    .program-card h4 {
        font-size: 18px;
        min-height: 48px;
    }

    .program-card p {
        font-size: 13.5px;
    }
}

/* ============================================ */

/* =========================
   GLOBAL FONT
========================= */
.about-notice-section,
.about-notice-section * {
    font-family: "Poppins", "Segoe UI", Roboto, Arial, sans-serif;
}

/* =========================
   KEYFRAMES
========================= */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 rgba(15, 42, 102, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(15, 42, 102, 0.5);
    }
    100% {
        box-shadow: 0 0 0 rgba(15, 42, 102, 0.3);
    }
}

/* =========================
   SECTION WRAPPER
========================= */
.about-notice-section {
    padding: 40px 0;
    background: #f4f6fb;
    animation: fadeUp 0.8s ease forwards;
}

/* =========================
   ROW ALIGNMENT
========================= */
.about-notice-row {
    display: flex;
    gap: 25px;
    align-items: stretch;
}

/* =========================
   CARD BASE
========================= */
.notice-card,
.about-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    animation: fadeUp 0.9s ease forwards;
}

/* =========================
   NOTICE SECTION
========================= */
.notice-card {
    flex: 1;
}

.notice-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 18px;
    color: #0f2a66;
    border-bottom: 3px solid #0f2a66;
    display: inline-block;
    padding-bottom: 6px;
}

.notice-body {
    max-height: 320px;
    overflow: hidden;
    position: relative;
}

/* Notice Items */
.notice-item {
    padding: 16px;
    border-left: 4px solid #c7d2fe;
    margin-bottom: 14px;
    background: #f8faff;
    border-radius: 8px;
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

/* Stagger animation */
.notice-item:nth-child(1) {
    animation-delay: 0.2s;
}

.notice-item:nth-child(2) {
    animation-delay: 0.35s;
}

.notice-item:nth-child(3) {
    animation-delay: 0.5s;
}

.notice-item:nth-child(4) {
    animation-delay: 0.65s;
}

.notice-item:nth-child(5) {
    animation-delay: 0.8s;
}

.notice-item:nth-child(6) {
    animation-delay: 0.95s;
}

.notice-item:hover {
    background: #eef2ff;
    transform: translateY(-2px);
}

.notice-item.highlight {
    border-left-color: #0f2a66;
    background: #eef2ff;
}

.notice-item .date {
    font-size: 13px;
    font-weight: 500;
    color: #0f2a66;
    display: block;
    margin-bottom: 6px;
}

.notice-item p {
    margin: 0;
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

/* =========================
   ABOUT SECTION
========================= */
.about-card {
    flex: 1.2;
    display: flex;
    flex-direction: column;
}

.about-card h2 {
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 18px;
    color: #0f2a66;
}

.about-card p {
    font-size: 14px;
    line-height: 1.8;
    color: #333;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
}

/* =========================
   APPLY BUTTON
========================= */
.about-actions {
    margin-top: 25px;
}

.about-card .apply-btn {
    display: inline-block;
    background: #0f2a66;
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulseGlow 3s infinite;
}

.about-card .apply-btn:hover {
    background: #081c4a;
    transform: translateY(-2px);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 991px) {
    .about-notice-row {
        flex-direction: column;
    }

    .about-card h2 {
        font-size: 26px;
    }
}

@media (max-width: 576px) {
    .notice-card,
    .about-card {
        padding: 22px;
    }

    .about-card h2 {
        font-size: 24px;
    }

    .about-card p,
    .notice-item p {
        text-align: left;
        text-align: justify;
        hyphens: none;
    }

    .about-card .apply-btn {
        width: 100%;
        text-align: center;
    }
}

/* ===================Industrial Training / Internship Programs======================== */

/* ==========Why Academy of Skill Development (ASD)? */

/* Section Layout */
.asd-section {
    position: relative;
    padding: 30px 20px;
    overflow: hidden;
    background: white;
}

/* Animated gradient background */
.asd-bg-animation {
    position: absolute;
    inset: 0;
    background: linear-gradient(-45deg, #0a3d62, #3c6382, #60a3bc, #82ccdd);
    background-size: 400% 400%;
    animation: gradientMove 12s ease infinite;
    opacity: 0.12;
    z-index: 0;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Container */
.asd-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    gap: 40px;
    position: relative;
    z-index: 1;
    align-items: center;
}

/* Left Content */
.asd-left {
    flex: 1;
}

.asd-left h2 {
    font-size: clamp(22px, 4vw, 30px);
    margin-bottom: 20px;
}

/* Accordion (UPDATED CLASS NAMES) */
.faq-item {
    border-bottom: 1px solid #ddd;
    margin-bottom: 10px;
}

.faq-title {
    background: none;
    border: none;
    font-size: clamp(16px, 3vw, 18px);
    font-weight: 600;
    padding: 15px 0;
    cursor: pointer;
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Accordion Content */
.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    color: #555;
    font-size: clamp(14px, 2.5vw, 16px);
}

/* Active State */
.faq-item.active .faq-content {
    max-height: 1000px;
    padding-bottom: 15px;
}

/* Icon */
.faq-icon {
    font-size: 22px;
    font-weight: bold;
}

/* Right Image */
.asd-right {
    flex: 1;
    text-align: center;
}

.asd-right img {
    width: 100%;
    max-width: 520px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    animation: floatUpDown 4s ease-in-out infinite;
}

/* Floating Image Keyframes */
@keyframes floatUpDown {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* Pause animation on hover */
.asd-right img:hover {
    animation-play-state: paused;
}

/* ---------- RESPONSIVE BREAKPOINTS ---------- */

/* Large Tablets */
@media (max-width: 1024px) {
    .asd-container {
        gap: 25px;
    }
}

/* Tablets */
@media (max-width: 900px) {
    .asd-container {
        flex-direction: column;
        text-align: center;
    }

    .faq-title {
        text-align: left;
    }

    .asd-right {
        margin-top: 30px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .asd-section {
        padding: 50px 15px;
    }

    .faq-title {
        padding: 12px 0;
    }

    .asd-right img {
        max-width: 100%;
    }
}

/* Small Mobile */
@media (max-width: 400px) {
    .asd-left h2 {
        font-size: 20px;
    }

    .faq-icon {
        font-size: 18px;
    }
}

/* ========================================
   WORKSHOP & WEBINAR + PARTNER SECTION
======================================== */
.workshop-section {
    padding: 30px 0;
    text-align: center;
    background: #fff;
}
.section-title {
    font-size: 36px;
    color: #0b2c4a;
    margin-bottom: 10px;
}
.section-desc {
    max-width: 850px;
    margin: 0 auto 40px;
    color: #555;
    line-height: 1.7;
}
.slider-wrapper {
    position: relative;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
}

/* CRITICAL: overflow-x scroll, NO scroll-behavior, touch-action pan-x */
.slider {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
    overflow-x: scroll;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    /* NO scroll-behavior: smooth — breaks JS scrollLeft on mobile */
}
.slider::-webkit-scrollbar { display: none; }

.slider img {
    min-width: 280px;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
    display: block;
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}

/* Nav buttons */
.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    color: #fff;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    z-index: 5;
    transition: background 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}
.nav-btn:hover { background: rgba(0,0,0,0.85); }
.prev { left: 10px; }
.next { right: 10px; }

/* Partner */
.partners-title { margin-top: 30px; text-align: center; }
.single-partner {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.single-partner img {
    width: 100%;
    max-width: 800px;
    height: auto;
    object-fit: contain;
    transition: filter 0.3s ease, transform 0.3s ease;
    filter: grayscale(100%);
}
.single-partner img:hover { filter: grayscale(0%); transform: scale(1.05); }
.partners-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    align-items: center;
}

/* Responsive */
@media (max-width: 1024px) {
    .single-partner img { max-width: 180px; }
}
@media (max-width: 768px) {
    .section-title { font-size: 24px; }
    .single-partner img { max-width: 150px; }
    .slider img { min-width: 220px; height: 180px; }
    .nav-btn { display: none; }
}
@media (max-width: 480px) {
    .section-title { font-size: 20px; }
    .single-partner img { max-width: 400px; }
    .slider img { min-width: 180px; height: 150px; }
}

/* ===========vision and mission========== */

/* ===== Section ===== */
.vision-mission {
    position: relative;
    padding: 60px 20px;
    color: #fff;
    overflow: hidden;
    background: linear-gradient(135deg, #0f2a66 0%, #1a3d8f 50%, #0f2a66 100%);
}

/* Animated Background Pattern */
.vision-mission::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 30, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 30, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 40%);
    z-index: 1;
    animation: backgroundPulse 15s ease-in-out infinite;
}

.vision-mission::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(45deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255, 255, 255, 0.02) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, 0.02) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, 0.02) 75%);
    background-size: 60px 60px;
    background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
    z-index: 1;
    opacity: 0.3;
}

@keyframes backgroundPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* Background Image (optional fallback) */
.vm-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.2;
    display: none; /* Hidden by default, no image required */
}

/* Overlay */
.vm-overlay {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: auto;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.45) 0%, 
        rgba(15, 42, 102, 0.35) 50%, 
        rgba(0, 0, 0, 0.45) 100%
    );
    backdrop-filter: blur(8px);
    border-radius: 18px;
    padding: 50px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInScale 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Grid */
.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* LEFT CARDS */
.vm-cards {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.vm-card {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.12) 0%, 
        rgba(255, 255, 255, 0.06) 100%
    );
    border-left: 4px solid #ff1e00;
    padding: 25px;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.vm-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.6s ease;
}

.vm-card:hover::before {
    left: 100%;
}

.vm-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: #ffd700;
    transition: height 0.4s ease;
    border-radius: 0 2px 2px 0;
}

.vm-card:hover::after {
    height: 100%;
}

.vm-card:hover {
    transform: translateY(-8px) translateX(4px);
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.18) 0%, 
        rgba(255, 255, 255, 0.10) 100%
    );
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 30, 0, 0.3);
    border-left-color: #ff4500;
}

.vm-card h3 {
    color: #dbd7af;
    margin-bottom: 12px;
    font-size: 22px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
    text-shadow: 0 2px 8px rgba(255, 30, 0, 0.3);
}

.vm-card h3::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ecec63, #e8f05a);
    transition: width 0.4s ease;
}

.vm-card:hover h3::after {
    width: 100%;
}

.vm-card p {
    font-size: 15px;
    line-height: 1.8;
    color: #f0f0f0;
    text-align: justify;
    position: relative;
    z-index: 1;
}

/* RIGHT BANNER */
.vm-banner {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    height: 320px;
    box-shadow: 
        0 12px 35px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.banner-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.banner-track img {
    width: 100%;
    min-width: 100%;
    height: 100%;
    object-fit: fill;
    border-radius: 14px;
    filter: brightness(0.9) contrast(1.1);
    transition: filter 0.4s ease;
}

.vm-banner:hover .banner-track img {
    filter: brightness(1) contrast(1.15);
}

/* Banner Navigation Dots (optional) */
.vm-banner::after {
    content: '';
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

/* Floating Animation for Cards */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.vm-card:nth-child(1) {
    animation: float 6s ease-in-out infinite;
    animation-delay: 0s;
}

.vm-card:nth-child(2) {
    animation: float 6s ease-in-out infinite;
    animation-delay: 0.5s;
}

/* Responsive */
@media (max-width: 992px) {
    .vm-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .vm-banner {
        height: 280px;
    }

    .vm-overlay {
        padding: 35px;
    }

    .vm-card:hover {
        transform: translateY(-6px) translateX(0);
    }
}

@media (max-width: 576px) {
    .vision-mission {
        padding: 40px 15px;
    }

    .vm-overlay {
        padding: 25px;
        border-radius: 12px;
    }

    .vm-card {
        padding: 20px;
    }

    .vm-card h3 {
        font-size: 20px;
    }

    .vm-card p {
        font-size: 14px;
        text-align: left;
    }

    .vm-banner {
        height: 220px;
    }

    .vm-card:nth-child(1),
    .vm-card:nth-child(2) {
        animation: none; 
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

.vm-card:focus-within {
    outline: 3px solid #ff1e00;
    outline-offset: 3px;
}

/*course section ka css yha start hua hai*/

.course-section {
  padding: 50px 0;
  background: linear-gradient(135deg, #f0f6ff 0%, #e6f0ff 50%, #dbeafe 100%);
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

#particleCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

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

.course-heading-container {
  margin-bottom: 30px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.course-heading-container h3 {
  font-size: 2rem;
  font-weight: 700;
  color: #1e3a5f;
  margin-bottom: 25px;
  letter-spacing: -0.5px;
  transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.course-heading-container h3:hover {
  color: #2563eb;
  transform: translateY(-2px);
}

.course-description {
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
  border-radius: 0;
  border: none;
  box-shadow: none;
  transition: none;
  position: relative;
  overflow: visible;
}

.course-description::before {
  display: none;
}

.course-description:hover::before {
  opacity: 0;
}

.course-description:hover {
  transform: none;
  box-shadow: none;
  border-color: transparent;
}

.course-description > * {
  position: static;
  z-index: auto;
}

.course-description p {
  color: #475569;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 18px;
  text-align: justify;
  transition: color 0.3s ease;
}

.course-description p:last-child {
  margin-bottom: 0;
}

.course-description p:hover {
  color: #1e3a5f;
}

.programs-highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 16px 10px;
  margin: 30px auto;
  max-width: 100%;
  width: 100%;
  padding: 30px 14px;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  border: 1.5px solid #dbeafe;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  align-content: start;
  overflow-x: hidden;
}

.program-category {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  align-items: flex-start;
}

.program-category:last-child {
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  overflow: visible;
  width: auto;
}

.program-category:last-child .program-category-title {
  width: auto;
  margin-bottom: 0;
  padding-bottom: 0;
  padding-right: 10px;
  border-bottom: none;
  border-right: 2.5px solid #dbeafe;
  flex-shrink: 0;
  font-size: 0.88rem;
}

.program-category:last-child .program-badge {
  flex: 0 0 auto;
  width: auto;
  padding: 6px 10px;
  min-width: max-content;
  font-size: 0.75rem;
  white-space: nowrap;
  flex-shrink: 1;
}

.program-category-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1e3a5f;
  padding-bottom: 14px;
  border-bottom: 2.5px solid #dbeafe;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  white-space: normal;
  line-height: 1.35;
  width: 100%;
  word-break: break-word;
  overflow-wrap: break-word;
  margin-bottom: 6px;
}

.program-category-title i {
  font-size: 0.95rem;
  flex-shrink: 0;
}

.program-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  padding: 8px 11px;
  border-radius: 18px;
  font-size: 0.73rem;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  flex-shrink: 1;
  min-height: 32px;
  text-align: center;
  letter-spacing: 0.2px;
  margin: 0;
  width: auto;
  line-height: 1.15;
  min-width: fit-content;
}

.search-bar-wrapper {
  position: relative;
  max-width: 700px;
  margin: 0 auto 0;
}

.course-search-bar {
  width: 100%;
  padding: 18px 60px 18px 28px;
  border: 2.5px solid #bfdbfe;
  border-radius: 50px;
  font-size: 16px;
  outline: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.10);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  color: #1e3a5f;
}

.course-search-bar::placeholder {
  color: #93c5fd;
}

.course-search-bar:focus {
  border-color: #3b82f6;
  box-shadow: 0 6px 24px rgba(59, 130, 246, 0.22);
  transform: translateY(-2px);
  background: #fff;
}

.search-icon {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #93c5fd;
  pointer-events: none;
  transition: all 0.3s ease;
}

.course-search-bar:focus + .search-icon {
  color: #3b82f6;
}

.course-grid-wrapper {
  position: relative;
  display: block;
  margin-top: 28px;
  width: 100%;
}

.course-slider-container {
  position: relative;
  width: 100%;
  overflow: visible;
}

.course-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  width: 100%;
  align-items: stretch;
}

.course-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(59, 130, 246, 0.10);
  transition: all 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1.5px solid #dbeafe;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.course-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.06), transparent);
  opacity: 0;
  transition: opacity 0.45s ease;
  z-index: 1;
  pointer-events: none;
}

.course-card:hover::before {
  opacity: 1;
}

.course-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 14px 40px rgba(59, 130, 246, 0.22);
  border-color: #3b82f6;
}

.card-image-wrapper {
  width: 100%;
  height: 150px;
  background: linear-gradient(135deg, #dbeafe, #eff6ff);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
  overflow: hidden;
}

.card-image-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(59, 130, 246, 0.12), transparent 70%);
  z-index: 1;
}

.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  object-position: center;
  position: relative;
  z-index: 2;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

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

.card-content {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 1px;
}

.course-card h2 {
  font-size: 13px;
  font-weight: 600;
  color: #1e3a5f;
  margin-bottom: 4px;
  min-height: 36px;
  line-height: 1.35;
  transition: color 0.3s ease;
  display: flex;
  align-items: flex-start;
}

.course-card h2 a {
  display: block;
  width: 100%;
}

.course-card:hover h2 {
  color: #2563eb;
}

.rating {
  font-size: 11px;
  color: #64748b;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.rating i {
  color: #f59e0b;
  font-size: 13px;
}

.rating strong {
  color: #1e3a5f;
  font-size: 12px;
}

.price {
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
}

.price .old {
  text-decoration: line-through;
  color: #94a3b8;
  font-size: 11px;
}

.price .discount {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
}

.price .new {
  color: #2563eb;
  font-size: 17px;
  font-weight: 700;
}

.enroll-btn {
  width: 100%;
  padding: 7px 10px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  position: relative;
  overflow: hidden;
  margin-top: 6px;
  min-height: 34px;
}

.enroll-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.enroll-btn:hover::before {
  width: 280px;
  height: 280px;
}

.enroll-btn:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.40);
}

.enroll-btn i {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 13px;
  position: relative;
  z-index: 1;
}

.enroll-btn:hover i {
  transform: translateX(5px);
}

.swipe-indicators {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  padding: 12px;
  flex-wrap: wrap;
}

.swipe-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #bfdbfe;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}

.swipe-dot:hover {
  background: #93c5fd;
  transform: scale(1.2);
}

.swipe-dot.active {
  width: 26px;
  border-radius: 4px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.40);
}

.view-more-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 0;
  padding: 15px 20px;
}

.view-more-btn {
  display: flex;
  padding: 14px 40px;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
}

.view-more-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.view-more-btn:hover::before {
  width: 400px;
  height: 400px;
}

.view-more-btn:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.45);
}

.view-more-btn:active {
  transform: scale(0.97);
}

.view-more-btn i {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 16px;
  position: relative;
  z-index: 1;
}

.view-more-btn:hover i {
  transform: translateY(3px);
}

.no-courses {
  text-align: center;
  padding: 60px 20px;
  color: #64748b;
  grid-column: 1 / -1;
}

.no-courses h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #475569;
}

.hidden {
  display: none !important;
}

/* ==========================================
   MEDIA QUERIES
   ========================================== */

@media (max-width: 1200px) {
  .course-section {
    padding: 70px 24px;
  }

  .course-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .programs-highlights {
    grid-template-columns: repeat(3, minmax(200px, 1fr));
    gap: 16px 10px;
    padding: 28px 14px;
    margin: 24px auto;
    max-width: 100%;
    width: 100%;
  }

  .search-bar-wrapper {
    max-width: 600px;
    margin-bottom: 0;
  }

  .card-image-wrapper {
    height: 160px;
  }

  .course-card h2 {
    font-size: 13px;
    min-height: 38px;
  }

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

  .enroll-btn {
    padding: 9px;
    font-size: 12px;
  }

  .course-heading-container h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .course-description {
    padding: 0;
    max-width: 100%;
    margin: 0 auto;
  }

  .program-badge {
    font-size: 0.76rem;
    padding: 7px 11px;
    min-height: 33px;
    width: auto;
    min-width: max-content;
  }

  .program-category-title {
    font-size: 0.88rem;
    padding-bottom: 11px;
    gap: 6px;
    white-space: normal;
    line-height: 1.3;
  }

  .program-category-title i {
    font-size: 1rem;
  }

  .program-category {
    gap: 11px;
  }

  .program-category:last-child {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    overflow: visible;
  }

  .program-category:last-child .program-category-title {
    width: auto;
    margin-bottom: 0;
    padding-bottom: 0;
    padding-right: 12px;
    border-bottom: none;
    border-right: 2.5px solid #dbeafe;
    flex-shrink: 0;
    font-size: 0.88rem;
  }

  .program-category:last-child .program-badge {
    flex: 0 1 auto;
    width: auto;
    padding: 8px 12px;
    font-size: 0.75rem;
    white-space: nowrap;
    flex-shrink: 1;
  }
}

@media (max-width: 900px) {
  .course-section {
    padding: 60px 20px;
  }

  .search-bar-wrapper {
    max-width: 500px;
    margin-bottom: 0;
  }

  .programs-highlights {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 14px 8px;
    padding: 24px 12px;
    margin: 20px auto;
    max-width: 100%;
    width: 100%;
  }

  .course-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .course-search-bar {
    font-size: 15px;
    padding: 15px 50px 15px 22px;
  }

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

  .card-image-wrapper {
    height: 150px;
  }

  .course-card h2 {
    font-size: 13px;
    min-height: 38px;
  }

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

  .enroll-btn {
    padding: 9px;
    font-size: 12px;
  }

  .view-more-btn {
    padding: 12px 32px;
    font-size: 14px;
  }

  .course-heading-container h3 {
    font-size: 1.6rem;
    margin-bottom: 18px;
  }

  .course-description {
    padding: 0;
    margin: 0;
  }

  .course-description p {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .program-badge {
    font-size: 0.74rem;
    padding: 7px 10px;
    min-height: 32px;
    width: auto;
    min-width: max-content;
  }

  .program-category-title {
    font-size: 0.88rem;
    padding-bottom: 10px;
    gap: 6px;
  }

  .program-category-title i {
    font-size: 1rem;
  }

  .program-category {
    gap: 10px;
  }

  .program-category:last-child {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 8px;
    overflow: visible;
  }

  .program-category:last-child .program-category-title {
    width: auto;
    margin-bottom: 0;
    padding-bottom: 0;
    padding-right: 10px;
    border-bottom: none;
    border-right: 2.5px solid #dbeafe;
    flex-shrink: 0;
    font-size: 0.85rem;
  }

  .program-category:last-child .program-badge {
    flex: 0 1 auto;
    width: auto;
    padding: 7px 11px;
    font-size: 0.72rem;
    white-space: nowrap;
    flex-shrink: 1;
  }
}

@media (max-width: 640px) {
  .course-section {
    padding: 48px 12px;
  }

  .search-bar-wrapper {
    max-width: 95%;
    margin-bottom: 0;
  }

  .course-search-bar {
    padding: 13px 45px 13px 18px;
    font-size: 14px;
  }

  .search-icon {
    right: 16px;
    font-size: 16px;
  }

  .course-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .programs-highlights {
    grid-template-columns: 1fr;
    gap: 12px 0;
    padding: 16px 14px;
    margin: 16px auto;
    align-content: start;
    max-width: 100%;
    width: 100%;
  }

  /* Fix: All categories stack vertically */
  .program-category {
    flex-direction: column;
    gap: 8px;
    width: 100%;
  }

  /* Fix: "Other Programs" last child — title on top, badges wrap below */
  .program-category:last-child {
    flex-direction: column !important;
    flex-wrap: wrap !important;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    overflow: visible;
  }

  .program-category:last-child .program-category-title {
    width: 100% !important;
    padding-right: 0 !important;
    padding-bottom: 10px !important;
    border-right: none !important;
    border-bottom: 2.5px solid #dbeafe !important;
    margin-bottom: 4px;
    font-size: 0.87rem;
  }

  /* Badges in last-child wrap in a row */
  .program-category:last-child .program-badge {
    flex: 0 0 auto !important;
    white-space: normal !important;
    width: auto !important;
    min-width: unset !important;
    font-size: 0.72rem !important;
    padding: 7px 11px !important;
  }

  .card-image-wrapper {
    height: 140px;
  }

  .card-content {
    padding: 13px;
  }

  .view-more-wrapper {
    margin-top: 28px;
    padding: 16px;
  }

  .view-more-btn {
    padding: 11px 28px;
    font-size: 13px;
  }

  .course-heading-container h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
  }

  .course-description {
    padding: 0;
    margin: 0 12px;
    border-radius: 0;
  }

  .course-description p {
    font-size: 13px;
    margin-bottom: 12px;
  }

  .program-badge {
    font-size: 0.76rem;
    padding: 8px 12px;
    min-height: 34px;
    width: auto;
  }

  .program-category-title {
    font-size: 0.87rem;
    padding-bottom: 11px;
    gap: 7px;
  }

  .program-category-title i {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .course-section {
    padding: 36px 10px;
  }

  .search-bar-wrapper {
    max-width: 100%;
    margin-bottom: 0;
  }

  .course-search-bar {
    padding: 12px 40px 12px 16px;
    font-size: 13px;
  }

  .course-slider-container {
    overflow: visible;
    width: 100%;
  }

  .course-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 0;
  }

  .course-card {
    flex: 1 1 100%;
    min-width: 100%;
    max-width: 100%;
    margin: 0;
  }

  .course-card:last-child {
    margin-right: 0;
  }

  .programs-highlights {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px 12px;
    margin: 14px auto;
    max-width: 100%;
    width: 100%;
  }

  /* Fix: "Other Programs" last child on small screens */
  .program-category:last-child {
    flex-direction: column !important;
    flex-wrap: wrap !important;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
  }

  .program-category:last-child .program-category-title {
    width: 100% !important;
    padding-right: 0 !important;
    padding-bottom: 8px !important;
    border-right: none !important;
    border-bottom: 2px solid #dbeafe !important;
    font-size: 0.8rem;
  }

  .program-category:last-child .program-badge {
    flex: 0 0 auto !important;
    white-space: normal !important;
    width: auto !important;
    min-width: unset !important;
    font-size: 0.65rem !important;
    padding: 6px 10px !important;
  }

  .card-image-wrapper {
    height: 160px;
  }

  .card-content {
    padding: 12px;
  }

  .course-card h2 {
    font-size: 12px;
    min-height: 35px;
    margin-bottom: 8px;
  }

  .rating {
    font-size: 11px;
    margin-bottom: 8px;
  }

  .price {
    margin-bottom: 10px;
    gap: 5px;
  }

  .price .old {
    font-size: 10px;
  }

  .price .discount {
    font-size: 9px;
  }

  .price .new {
    font-size: 14px;
  }

  .enroll-btn {
    padding: 9px;
    font-size: 12px;
  }

  .view-more-wrapper {
    display: flex;
    margin-top: 8px;
    padding: 10px 6px;
  }

  .view-more-btn {
    display: flex;
    padding: 9px 20px;
    font-size: 12px;
    gap: 5px;
  }

  .course-heading-container h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
  }

  .course-description {
    padding: 0;
    margin: 0 10px;
    border-radius: 0;
  }

  .course-description p {
    font-size: 12px;
    margin-bottom: 10px;
    line-height: 1.6;
  }

  .program-badge {
    font-size: 0.6rem;
    padding: 5px 11px;
    min-height: 28px;
    width: auto;
  }

  .program-category-title {
    font-size: 0.7rem;
    padding-bottom: 7px;
  }

  .program-category {
    gap: 7px;
  }

  .swipe-indicators {
    display: none;
  }
}

@media (max-width: 375px) {
  .course-section {
    padding: 30px 8px;
  }

  .course-search-bar {
    padding: 10px 36px 10px 14px;
    font-size: 12px;
  }

  .search-icon {
    right: 12px;
    font-size: 14px;
  }

  .card-image-wrapper {
    height: 160px;
  }

  .course-card h2 {
    font-size: 11px;
    min-height: 32px;
  }

  .price .new {
    font-size: 13px;
  }

  .enroll-btn {
    padding: 8px;
    font-size: 11px;
  }

  .view-more-btn {
    padding: 9px 20px;
    font-size: 11px;
  }

  .swipe-dot {
    width: 6px;
    height: 6px;
  }

  .swipe-dot.active {
    width: 16px;
  }

  .programs-highlights {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 12px 10px;
    margin: 10px auto;
    max-width: 100%;
    width: 100%;
  }

  /* Fix: "Other Programs" last child on very small screens */
  .program-category:last-child {
    flex-direction: column !important;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
  }

  .program-category:last-child .program-category-title {
    width: 100% !important;
    padding-right: 0 !important;
    padding-bottom: 6px !important;
    border-right: none !important;
    border-bottom: 2px solid #dbeafe !important;
    font-size: 0.65rem;
  }

  .program-category:last-child .program-badge {
    flex: 0 0 auto !important;
    white-space: normal !important;
    width: auto !important;
    min-width: unset !important;
    font-size: 0.58rem !important;
    padding: 5px 9px !important;
  }

  .course-heading-container h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
  }

  .course-description {
    padding: 0;
    margin: 0 8px;
  }

  .course-description p {
    font-size: 11px;
    margin-bottom: 8px;
  }

  .program-badge {
    font-size: 0.55rem;
    padding: 4px 10px;
    min-height: 26px;
    width: auto;
  }

  .program-category-title {
    font-size: 0.65rem;
    padding-bottom: 6px;
  }

  .program-category {
    gap: 6px;
  }
}

@media (hover: none) and (pointer: coarse) {
  .view-more-btn:hover {
    transform: none;
  }

  .view-more-btn:active {
    transform: scale(0.9);
  }

  .course-card:hover {
    transform: none;
  }

  .enroll-btn:hover {
    transform: none;
  }

  .enroll-btn:active {
    transform: scale(0.95);
  }

  .view-more-btn {
    min-width: 44px;
    min-height: 44px;
  }

  .enroll-btn {
    min-height: 44px;
  }

  .swipe-dot {
    min-width: 28px;
    min-height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .course-heading-container h3:hover {
    transform: none;
  }

  .course-description:hover {
    transform: none;
    box-shadow: none;
  }
}

/*course section ka css yha khatam hua hai*/

/*  Footer section css yha se start hua hai */

.business-card-footer {
    background: #e8eef3;
    padding: 60px 20px 0;
    position: relative;
    overflow: hidden;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr 1fr 320px;
    gap: 60px;
    align-items: start;
    padding-bottom: 130px;
    position: relative;
    z-index: 1;
}

.footer-logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding-top: 10px;
}

.logo-circle {
    width: 240px;
    height: 240px;
    border-radius: 50%;
    border: 6px solid #2d4a6f;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(45, 74, 111, 0.15);
    position: relative;
    overflow: hidden;
}

.logo-image {
    width: 85%;
    height: 85%;
    object-fit: contain;
    display: block;
}

.logo-text {
    font-size: 60px;
    font-weight: 800;
    color: #2d4a6f;
    margin: 0;
    letter-spacing: 3px;
    display: none;
}

.logo-circle:not(:has(img[src])) .logo-text,
.logo-image:not([src]) + .logo-text {
    display: block;
}

.footer-heading {
    font-size: 17px;
    font-weight: 700;
    color: #2d4a6f;
    margin-bottom: 30px;
    letter-spacing: 1.5px;
}

.footer-contact-section {
    padding-top: 10px;
}

.contact-details p {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
    font-size: 16px;
    color: #5a6c7d;
    line-height: 1.6;
}

.icon-wrapper {
    width: 48px;
    height: 48px;
    background: #3d5a7f;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-wrapper i {
    color: #ffffff;
    font-size: 20px;
}

.footer-office-section {
    padding-top: 10px;
}

.office-details p {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 10px;
    font-size: 16px;
    color: #5a6c7d;
    line-height: 1.8;
}

.footer-social-section {
    padding-top: 10px;
}

.social-icons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.social-link {
    width: 58px;
    height: 58px;
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(45, 74, 111, 0.12);
}

.social-link i {
    font-size: 28px;
    color: #2d4a6f;
    transition: color 0.3s ease;
}

/* ✅ Fixed: All social hover backgrounds */
.social-link.facebook:hover {
    background: #1877f2;
}

.social-link.instagram:hover {
    background: linear-gradient(135deg, #e4405f 0%, #c13584 50%, #833ab4 100%);
}

.social-link.youtube:hover {
    background: #ff0000;
}

.social-link.linkedin:hover {
    background: #0077b5;
}

.social-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(45, 74, 111, 0.25);
}

/* ✅ Fixed: Icon turns white on hover for all social links */
.social-link:hover i.bi {
    color: #ffffff !important;
}

.quality-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #3d5a7f;
    color: #ffffff;
    padding: 15px 28px;
    border-radius: 35px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 3px 12px rgba(61, 90, 127, 0.25);
}

.quality-badge i {
    font-size: 24px;
    color: #fbbf24;
}

.footer-wave {
    position: absolute;
    bottom: 62px;
    left: 0;
    width: 100%;
    height: 120px;
    pointer-events: none;
    z-index: 0;
}

.footer-wave svg {
    width: 100%;
    height: 100%;
    display: block;
}

.footer-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #1e3142;
    padding: 20px 30px;
    z-index: 1;
}

.footer-bottom-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.copyright-left p {
    margin: 0;
    font-size: 14px;
    color: #cbd5e1;
    line-height: 1.7;
}

.company-name {
    font-weight: 600;
    color: #ffffff;
    margin-top: 2px;
}

.copyright-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.copyright-right a {
    font-size: 14px;
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.copyright-right a:hover {
    color: #ffffff;
}

.separator {
    color: #5a6c7d;
    font-size: 14px;
}

@media (max-width: 1200px) {
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        padding-bottom: 150px;
    }

    .footer-logo-section {
        grid-column: 1 / -1;
    }

    .logo-circle {
        width: 220px;
        height: 220px;
    }

    .footer-wave {
        bottom: 72px;
    }
}

@media (max-width: 768px) {
    .business-card-footer {
        padding: 40px 20px 0;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
        padding-bottom: 170px;
    }

    .logo-circle {
        width: 200px;
        height: 200px;
    }

    .logo-text {
        font-size: 50px;
    }

    .footer-heading {
        font-size: 16px;
    }

    .contact-details p,
    .office-details p {
        font-size: 15px;
    }

    .icon-wrapper {
        width: 44px;
        height: 44px;
    }

    .icon-wrapper i {
        font-size: 18px;
    }

    .social-link {
        width: 54px;
        height: 54px;
    }

    .social-link i {
        font-size: 26px;
    }

    .footer-wave {
        bottom: 82px;
        height: 100px;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .copyright-left p {
        font-size: 13px;
    }

    .copyright-right {
        flex-wrap: wrap;
        justify-content: center;
    }

    .copyright-right a {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .footer-container {
        padding-bottom: 190px;
    }

    .logo-circle {
        width: 180px;
        height: 180px;
    }

    .logo-text {
        font-size: 44px;
    }

    .quality-badge {
        padding: 13px 24px;
        font-size: 14px;
    }

    .quality-badge i {
        font-size: 22px;
    }

    .footer-bottom {
        padding: 18px 20px;
    }

    .footer-wave {
        bottom: 92px;
        height: 90px;
    }
}

/* Footer section css yha khatam hua hai */