/* ============================================================
   Added by Siddhesh
   Fixes: Sticky Search Bar Offset, Removed White Header Gap,
          Protected Floating Calculator, Screen-Safe Modals, Product Sans
   ============================================================ */

:root {
    --orange: #fe570f;
    --orange-dark: #dd4909;
    --red: #e02735;
    --green: #26787c;
    --green-dark: #125d5f;
    --green-deep: #14666a;
    --ink: #0f0f11;
    --body-txt: #696969;
    --paper: #fbfbfb;
    --mist: #f9f9f9;
    --peach: #ffe9e0;
    --line: #878787;
    --line-soft: #b7b7b7;
}

/* Allow sticky positioning inside page-wrapper */
.page-wrapper {
    overflow: visible !important;
}

/* Sticky Header adjustment to prevent obscuring sticky filter bar */
.sticky-header,
.sticky-header.sticky-fixed,
.sticky-header.is-scrolled {
    position: relative !important;
    top: auto !important;
    background: transparent !important;
    box-shadow: none !important;
    min-height: 0 !important;
}

.sticky-header.is-scrolled .top-section,
.sticky-header.is-scrolled .nav-spacer {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Main website's floating buttons remain on top */
.floating-btn-wrapper { z-index: 9990 !important; }
.calculator-box { z-index: 9995 !important; }

/* Product Sans font mapping */
.hero-section,
.section,
.detail-hero-pad,
.filter-bar,
.course-card,
.panel,
.fee-card,
.info-tile,
.step-card,
.faq-item,
.overlay-modal {
    font-family: var(--font-regular, 'Product Sans Regular', sans-serif);
}

.font-display { font-family: var(--font-bold, 'Product Sans Bold', sans-serif); }
.font-serif-accent { font-family: var(--font-medium, 'Product Sans Medium', sans-serif); font-style: italic; }
.font-mono-brand { font-family: var(--font-medium, 'Product Sans Medium', sans-serif); }
.font-body { font-family: var(--font-regular, 'Product Sans Regular', sans-serif); }

.h-display {
    font-family: var(--font-bold, 'Product Sans Bold', sans-serif);
    font-weight: 700;
    letter-spacing: -0.01em;
    line-height: 1.15;
    color: var(--ink);
}
.h1-hero { font-size: clamp(38px, 4.4vw, 68px); }
.h2-section { font-size: clamp(26px, 3vw, 44px); line-height: 1.15; }
.h1-detail { font-size: clamp(32px, 3.6vw, 56px); }

/* Colors */
.bg-paper { background-color: var(--paper) !important; }
.bg-mist { background-color: var(--mist) !important; }
.c-orange { color: var(--orange) !important; }
.c-green { color: var(--green) !important; }
.c-ink { color: var(--ink) !important; }
.c-body { color: var(--body-txt) !important; }

/* Container wrap */
.wrap {
    max-width: 1280px;
    margin: 0 auto;
    padding-left: clamp(1rem, 3vw, 2rem);
    padding-right: clamp(1rem, 3vw, 2rem);
}

.section {
    padding-top: clamp(3.5rem, 6vw, 6rem);
    padding-bottom: clamp(3.5rem, 6vw, 6rem);
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    background-color: var(--paper);
    padding-top: clamp(2.5rem, 5vw, 4.5rem);
    padding-bottom: clamp(3rem, 6vw, 5rem);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(135,135,135,0.06) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(135,135,135,0.06) 1px, transparent 1px);
    background-size: 56px 56px;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    opacity: 0.55;
}
.blob-peach { background: radial-gradient(circle, rgba(255,233,224,0.9) 0%, rgba(254,87,15,0.18) 70%, transparent 100%); }
.blob-mint { background: radial-gradient(circle, rgba(38,120,124,0.18) 0%, transparent 70%); }

/* Breadcrumb */
.breadcrumb-c {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 13px;
    color: var(--body-txt);
    margin-bottom: 1.5rem;
}
.breadcrumb-c a { color: var(--body-txt); text-decoration: none; }
.breadcrumb-c a:hover { color: var(--orange); }
.breadcrumb-c .sep { color: var(--line-soft); }
.breadcrumb-c .current { color: var(--ink); font-weight: 600; }

/* Tabs / Switcher */
.home-tabs {
    display: inline-flex;
    background: #eef1f2;
    padding: 4px;
    border-radius: 999px;
    gap: 4px;
}
.home-tab {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: var(--body-txt);
    text-decoration: none;
    transition: all 0.2s ease;
}
.home-tab i { width: 15px; height: 15px; }
.home-tab-active {
    background: #ffffff;
    color: var(--green) !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* Chips */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    border: 1px solid transparent;
    cursor: pointer;
    background: #fff;
    color: var(--body-txt);
    transition: all 0.2s ease;
    white-space: nowrap;
}
.chip:hover { border-color: var(--orange); color: var(--orange); }
.chip-active { background: var(--orange) !important; color: #fff !important; border-color: var(--orange) !important; }
.chip-peach { background: var(--peach); color: var(--orange); border-color: rgba(254,87,15,0.25); }
.chip-static { cursor: default !important; }
.chip-static:hover { border-color: transparent; }
.chip-white { background: #fff; border: 1px solid var(--line-soft); color: var(--ink); }

/* Buttons */
.btn-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--orange);
    color: #fff !important;
    padding: 12px 26px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.1s ease;
}
.btn-brand:hover { background: var(--orange-dark); color: #fff !important; }
.btn-pill { border-radius: 999px !important; }
.btn-pill-sm { border-radius: 999px !important; padding: 8px 18px !important; font-size: 13px !important; }
.btn-outline-light-c {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border-radius: 999px;
    border: 1px solid var(--line-soft);
    background: #fff;
    color: var(--ink);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn-outline-light-c:hover { border-color: var(--ink); color: var(--ink); }
.btn-dark-c {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--ink);
    color: #fff !important;
    padding: 14px 30px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s ease;
}
.btn-dark-c:hover { opacity: 0.9; }

/* Hero Media & Polaroid */
.hero-media {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}
.hero-media img { width: 100%; height: 380px; object-fit: cover; display: block; }
.hero-media-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,15,17,0.7) 0%, transparent 60%);
}
.polaroid {
    width: 130px;
    height: 150px;
    padding: 6px 6px 20px 6px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
    transform: rotate(-6deg);
}
.polaroid img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.float-chip {
    position: absolute;
    background: #fff;
    border-radius: 14px;
    padding: 10px 16px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.06);
    z-index: 3;
}
.float-chip .chip-value { font-family: var(--font-bold, 'Product Sans Bold', sans-serif); font-size: 20px; font-weight: 700; color: var(--green); }
.float-chip .chip-value-orange { font-family: var(--font-bold, 'Product Sans Bold', sans-serif); font-size: 20px; font-weight: 700; color: var(--orange); }
.float-chip .chip-label { font-size: 11px; color: var(--body-txt); text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }

/* Stat Grid */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 1.75rem 2rem;
    border-top: 1px solid var(--line-soft);
}
@media (min-width: 768px) {
    .stat-grid { grid-template-columns: repeat(4, 1fr); }
}
.stat-value { font-family: var(--font-bold, 'Product Sans Bold', sans-serif); font-size: clamp(26px, 2.5vw, 36px); font-weight: 700; color: var(--green); line-height: 1; }
.stat-label { font-size: 12px; color: var(--body-txt); margin-top: 6px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }

/* Marquee Band */
.marquee-band { background: var(--green); color: #fff; padding: 14px 0; overflow: hidden; white-space: nowrap; }
.marquee-track { display: flex; width: max-content; animation: marquee 35s linear infinite; }
.marquee-half { display: flex; align-items: center; gap: 2.5rem; padding-right: 2.5rem; }
.marquee-item { display: inline-flex; align-items: center; gap: 0.8rem; font-size: 14px; font-weight: 600; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Panels & Grid */
.grid-12 { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.5rem; }
.span-8 { grid-column: span 12; }
.span-4 { grid-column: span 12; }
@media (min-width: 992px) {
    .span-8 { grid-column: span 8; }
    .span-4 { grid-column: span 4; }
}
.panel {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e8e8e8;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.panel-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(0,0,0,0.07);
}
.panel-pad { padding: 1.75rem; }
.panel-pad-lg { padding: 2.5rem; }
.ghost-num {
    position: absolute;
    top: 1.25rem;
    right: 1.5rem;
    font-family: var(--font-bold, 'Product Sans Bold', sans-serif);
    font-size: 40px;
    color: rgba(0,0,0,0.05);
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}
.icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(38,120,124,0.1);
    color: var(--green);
}
.icon-badge-peach {
    background: var(--peach);
    color: var(--orange);
}

/* ============================================================
   Start: Ultra-Slim Mobile Sticky Bar & Sheet by Siddhesh
   ============================================================ */

.filter-bar {
    position: sticky;
    top: var(--header-height, 80px);
    z-index: 800;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-block: 1px solid #e5e7eb;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    transition: top 0.2s ease;
}

/* Search Bar Input Alignment */
.search-wrap {
    position: relative;
    flex: 1 1 280px;
    min-width: 200px;
    margin: 0 !important;
}

.search-wrap .form-control {
    padding-left: 2.75rem !important;
    padding-right: 1rem !important;
    width: 100%;
    height: 46px !important;
    min-height: 46px !important;
    border-radius: 10px !important;
    border: 1px solid var(--line-soft) !important;
    font-size: 14px !important;
    font-family: var(--font-regular, 'Product Sans Regular', sans-serif);
    background-color: #fff !important;
    color: var(--ink) !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.search-wrap .form-control:focus {
    border-color: var(--orange) !important;
    box-shadow: 0 0 0 0.2rem rgba(254, 87, 15, 0.18) !important;
    outline: none !important;
}

.search-wrap .search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px !important;
    height: 18px !important;
    color: var(--line);
    pointer-events: none;
    z-index: 3;
}

/* Dropdowns Select Wrap */
.select-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    flex: 1 1 auto;
    min-width: 140px;
    margin: 0 !important;
}

.select-wrap .form-select {
    padding-left: 2.8rem !important;
    padding-right: 2rem !important;
    height: 46px !important;
    min-height: 46px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    cursor: pointer;
    width: 100%;
    border: 1px solid var(--line-soft) !important;
    font-family: var(--font-regular, 'Product Sans Regular', sans-serif);
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    background-color: #fff !important;
}

.select-wrap.has-spec .form-select {
    padding-left: 3.2rem !important;
}

.select-wrap .select-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px !important;
    height: 16px !important;
    color: var(--line);
    pointer-events: none;
    z-index: 2;
}

.select-uni-tag,
.select-spec-tag {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-bold, 'Product Sans Bold', sans-serif);
    font-size: 10px;
    text-transform: uppercase;
    color: var(--line);
    pointer-events: none;
    font-weight: 700;
    z-index: 2;
}

/* Reset Button */
.btn-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    border-radius: 10px;
    height: 46px !important;
    min-height: 46px !important;
    padding: 0 1.25rem !important;
    font-size: 13px;
    font-weight: 600;
    font-family: var(--font-bold, 'Product Sans Bold', sans-serif);
    border: 1px solid var(--red);
    color: var(--red);
    background: transparent;
    transition: all 0.25s ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn-reset:hover:not(:disabled) {
    background: var(--red);
    color: #fff;
}

.btn-reset:disabled {
    border-color: #e8e8e8;
    color: var(--line-soft);
    cursor: not-allowed;
}

/* Level Segmented Control */
.segmented-control {
    display: inline-flex;
    align-items: center;
    background: #f1f3f5;
    padding: 3px;
    border-radius: 999px;
    gap: 2px;
    border: 1px solid #e5e7eb;
}

.btn-segmented {
    border: none;
    background: transparent;
    border-radius: 999px;
    padding: 5px 14px;
    font-family: var(--font-bold, 'Product Sans Bold', sans-serif);
    font-size: 11.5px;
    font-weight: 700;
    color: var(--body-txt);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    line-height: 1.4;
}

.btn-segmented:hover { color: var(--green); }
.btn-segmented.active {
    background: #ffffff;
    color: var(--green) !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

/* Degree Chips Row */
.chips-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.chips-row::-webkit-scrollbar { display: none; }

/* Desktop Presentation (>= 992px) */
@media (min-width: 992px) {
    .filter-row {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0.65rem;
        width: 100%;
    }
    .filter-sheet-container {
        display: flex !important;
        align-items: center;
        flex: 2 1 auto;
        position: static !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: transparent !important;
        width: auto !important;
        height: auto !important;
        z-index: auto !important;
        pointer-events: auto !important;
    }
    .filter-sheet-backdrop {
        display: none !important;
    }
    .filter-sheet-body {
        display: flex !important;
        align-items: center;
        width: 100%;
        background: transparent !important;
        padding: 0 !important;
        box-shadow: none !important;
        transform: none !important;
    }
    .sheet-scroll-content {
        display: flex !important;
        align-items: center;
        width: 100%;
        gap: 0.5rem;
    }
    .dropdowns-wrap {
        display: flex !important;
        align-items: center;
        gap: 0.5rem;
        flex: 1 1 auto;
    }
    .sheet-header,
    .sheet-actions,
    .mobile-level-selector,
    .btn-mobile-filter {
        display: none !important;
    }
}

/* 100% Full Screen Mobile Filter View (< 992px) */
@media (max-width: 991px) {
    .filter-bar {
        top: var(--header-height, 70px);
        background: #ffffff !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    .filter-bar .wrap {
        padding-block: 0.45rem 0.5rem !important;
    }
    .filter-row {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 0.5rem !important;
        width: 100% !important;
    }
    .search-wrap {
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }
    .search-wrap .form-control {
        height: 40px !important;
        min-height: 40px !important;
        font-size: 13px !important;
        padding-left: 2.25rem !important;
        padding-right: 0.75rem !important;
    }
    .search-wrap .search-icon {
        left: 10px !important;
        width: 16px !important;
        height: 16px !important;
    }

    /* Mobile Filter Button */
    .btn-mobile-filter {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 0.35rem;
        height: 40px;
        min-height: 40px;
        padding: 0 0.85rem;
        border-radius: 10px;
        background: #fff;
        border: 1px solid var(--line-soft);
        color: var(--ink);
        font-family: var(--font-bold, 'Product Sans Bold', sans-serif);
        font-size: 12.5px;
        font-weight: 700;
        cursor: pointer;
        flex-shrink: 0;
        white-space: nowrap;
        transition: all 0.2s ease;
    }
    .btn-mobile-filter:hover,
    .btn-mobile-filter.has-filters {
        background: var(--peach);
        color: var(--orange);
        border-color: rgba(254, 87, 15, 0.4);
    }
    .btn-mobile-filter .filter-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: var(--orange);
        color: #fff;
        font-size: 10.5px;
        font-weight: 800;
        line-height: 1;
    }

    /* True 100% Full-Screen Filter Modal Overlay on Mobile */
    .filter-sheet-container {
        position: fixed !important;
        inset: 0 !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        z-index: 999999 !important;
        display: flex !important;
        flex-direction: column !important;
        background: #ffffff !important;
        visibility: hidden;
        opacity: 0;
        transition: opacity 0.2s ease, visibility 0.2s ease;
        pointer-events: none;
    }

    .filter-sheet-container.is-open {
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .filter-sheet-backdrop {
        display: none !important;
    }

    .filter-sheet-body {
        position: relative !important;
        z-index: 2 !important;
        background: #ffffff !important;
        border-radius: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        height: 100% !important;
        max-height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        transform: none !important;
        box-shadow: none !important;
        overflow: hidden !important;
    }

    /* Fixed Header */
    .sheet-header {
        flex-shrink: 0;
        padding: 1.15rem 1.25rem !important;
        border-bottom: 1px solid #e5e7eb !important;
        background: #ffffff !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    .btn-sheet-close {
        background: #f1f3f5;
        border: none;
        border-radius: 50%;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        color: var(--ink);
    }
    .btn-sheet-close:hover {
        background: #e5e7eb;
    }

    /* Scrollable Middle Content */
    .sheet-scroll-content {
        flex: 1 1 auto;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 1.25rem;
        display: flex;
        flex-direction: column;
        gap: 1.25rem;
    }

    /* Full-width Stacked Selects in Modal */
    .dropdowns-wrap {
        display: flex;
        flex-direction: column;
        gap: 1.15rem;
        width: 100%;
    }
    .dropdowns-wrap .select-wrap {
        width: 100% !important;
        min-width: 0 !important;
    }
    .dropdowns-wrap .form-select {
        height: 48px !important;
        min-height: 48px !important;
        width: 100% !important;
        font-size: 14px !important;
        border-radius: 12px !important;
    }

    /* Fixed Bottom Action Bar */
    .sheet-actions {
        flex-shrink: 0;
        padding: 1rem 1.25rem !important;
        border-top: 1px solid #e5e7eb !important;
        background: #ffffff !important;
        display: flex !important;
        gap: 0.75rem !important;
    }

    .chips-row {
        mask-image: linear-gradient(to right, black calc(100% - 36px), transparent 100%);
        -webkit-mask-image: linear-gradient(to right, black calc(100% - 36px), transparent 100%);
        padding-right: 1.75rem;
    }
}
/* ============================================================
   End: Ultra-Slim Mobile Sticky Bar & Sheet by Siddhesh
   ============================================================ */

/* Course Cards Catalog Grid */
.results-count {
    font-family: var(--font-bold, 'Product Sans Bold', sans-serif);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--body-txt);
    margin-bottom: 1.5rem;
}

.catalog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
@media (min-width: 640px) { .catalog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .catalog-grid { grid-template-columns: repeat(3, 1fr); } }

.course-card {
    display: flex;
    flex-direction: column;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e7eb;
}
.card-media {
    position: relative;
    display: block;
    height: 180px;
    overflow: hidden;
    background: #eaeaea;
}
.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.course-card:hover .card-media img { transform: scale(1.04); }
.card-badges {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    gap: 6px;
}
.card-badge {
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.card-badge-orange { background: var(--orange); color: #fff; }
.card-badge-white { background: #fff; color: var(--ink); box-shadow: 0 2px 6px rgba(0,0,0,0.1); }

.card-body-c {
    display: flex;
    flex-direction: column;
    padding: 1.25rem;
    flex: 1 1 auto;
}
.card-uni {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--body-txt);
    margin-bottom: 0.5rem;
}
.card-uni .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); display: inline-block; }
.card-title-c {
    font-family: var(--font-bold, 'Product Sans Bold', sans-serif);
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
    line-height: 1.3;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-title-c:hover { color: var(--orange); }

.card-meta {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px dashed #e5e7eb;
}
.card-price {
    font-family: var(--font-bold, 'Product Sans Bold', sans-serif);
    font-size: 18px;
    font-weight: 700;
    color: var(--green-dark);
}
.card-meta small { display: block; font-size: 11px; color: var(--body-txt); }
.card-duration {
    display: inline-flex;
    align-items: center;
    gap: 4px;   
    font-size: 12px;
    color: var(--body-txt);
    font-weight: 500;
}
.card-duration i { width: 14px; height: 14px; color: var(--orange); }

.card-actions {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 6px;
    margin-top: 1rem;
}
.btn-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}
.btn-card-gray { background: #f1f3f5; color: var(--ink); }
.btn-card-gray:hover { background: #e5e7eb; color: var(--ink); }
.btn-icon-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #f1f3f5;
    border: none;
    color: var(--ink);
    cursor: pointer;
}
.btn-icon-card:hover { background: var(--peach); color: var(--orange); }

/* Details Page Styles - Redesigned by Siddhesh */
.detail-hero-pad {
    position: relative;
    overflow: hidden;
    background: var(--paper);
    padding-top: clamp(2rem, 4vw, 3.5rem);
    padding-bottom: clamp(3rem, 5vw, 4.5rem);
}
/* Start: Responsive Media Frame & Offset Border by Siddhesh */
.detail-media-frame {
    position: relative;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    overflow: visible !important;
}
.detail-media-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid var(--green);
    border-radius: 120px 0 24px 0;
    transform: translate(12px, 12px);
    pointer-events: none;
    z-index: 0;
}

@media (max-width: 575px) {
    .detail-media-frame {
        margin-right: 10px;
        margin-bottom: 12px;
    }
    .detail-media-frame::before {
        transform: translate(8px, 8px);
        border-radius: 80px 0 18px 0;
    }
    .detail-media {
        border-radius: 80px 0 18px 0 !important;
        height: 320px !important;
    }
}
/* End: Responsive Media Frame & Offset Border by Siddhesh */
.detail-media {
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: linear-gradient(135deg, var(--orange), var(--green-dark));
    border-radius: 150px 0 25px 0 !important;
    height: 380px !important;
}
@media (min-width: 640px) {
    .detail-media {
        height: 420px !important;
    }
}
.detail-media img {
    width: 100%;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}
.price-block {
    display: inline-flex;
    flex-direction: row;
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 8px 16px;
    border-radius: 12px;
}
.price-block .value { font-family: var(--font-bold, 'Product Sans Bold', sans-serif); font-size: 22px; font-weight: 700; color: var(--green-dark); }
.price-block .per { font-size: 11px; color: var(--body-txt); }

/* Fee Grid */
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.fee-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    padding: 2rem;
    text-align: center;
    position: relative;
    height: 100%;
}
.fee-card.featured {
    border-color: var(--orange);
    box-shadow: 0 12px 32px rgba(254,87,15,0.12);
}
.fee-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--body-txt); margin-bottom: 0.5rem; }
.fee-value { font-family: var(--font-bold, 'Product Sans Bold', sans-serif); font-size: 32px; font-weight: 700; color: var(--ink); margin-bottom: 0.25rem; }
.fee-note { font-size: 12px; color: var(--line); margin-bottom: 0; }

/* Info Tile */
.info-tile {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fff;
    border-radius: 14px;
    padding: 1.25rem;
    border: 1px solid #e5e7eb;
}
.tile-k { font-size: 11px; text-transform: uppercase; color: var(--body-txt); font-weight: 700; letter-spacing: 0.05em; }
.tile-v { font-family: var(--font-bold, 'Product Sans Bold', sans-serif); font-size: 16px; font-weight: 700; color: var(--ink); }

/* Accordions (Curriculum & FAQ) */
.faq-item {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    margin-bottom: 0.75rem;
}
.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-family: var(--font-bold, 'Product Sans Bold', sans-serif);
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    user-select: none;
    list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { transition: transform 0.25s ease; width: 18px; height: 18px; color: var(--body-txt); }
.faq-item[open] summary i.chevron-icon { transform: rotate(180deg); }
.faq-item summary i:not(.chevron-icon) { transform: none !important; }
.faq-a { padding: 0 1.5rem 1.25rem 1.5rem; font-size: 14.5px; color: var(--body-txt); line-height: 1.65; margin: 0; }

/* Eligibility Lists */
.eligibility-list { list-style: none; padding: 0; margin: 0; }
.eligibility-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    padding: 0.5rem 0;
    font-size: 14px;
    color: var(--body-txt);
    line-height: 1.55;
}
.eligibility-list .bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange);
    margin-top: 7px;
    flex-shrink: 0;
}

/* 5-Step Process */
.grid-5 { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .grid-5 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .grid-5 { grid-template-columns: repeat(5, 1fr); } }
.step-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    padding: 1.5rem;
    height: 100%;
}
.step-num { font-family: var(--font-bold, 'Product Sans Bold', sans-serif); font-size: 12px; font-weight: 700; color: var(--orange); }
.step-card h3 { font-family: var(--font-bold, 'Product Sans Bold', sans-serif); font-size: 16px; font-weight: 700; color: var(--ink); margin: 0.75rem 0 0.5rem 0; }
.step-card p { font-size: 13px; color: var(--body-txt); line-height: 1.5; margin: 0; }

/* Modals */
.overlay-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(15, 15, 17, 0.65);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.overlay-modal.open {
    opacity: 1;
    visibility: visible;
}
.overlay-modal.hidden {
    opacity: 0;
    visibility: hidden;
}
.modal-panel-c {
    position: relative;
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 520px;
    padding: 2.25rem;
    box-shadow: 0 24px 60px rgba(0,0,0,0.25);
    max-height: 90vh;
    overflow-y: auto;
}
.btn-close-c {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    background: #f1f3f5;
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--ink);
}
.btn-close-c:hover { background: #e5e7eb; }
.btn-close-c i { width: 18px; height: 18px; }

/* End: Online Degree Courses Redesign CSS by Siddhesh */

/* ============================================================
   Start: Course Details UI Enhancements by Siddhesh
   ============================================================ */

/* Curved detail media image frame matching reference project */
.detail-media {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--orange), var(--green-dark));
    border-radius: 120px 0 24px 0 !important;
    height: 380px !important;
}

.detail-media img {
    width: 100%;
    height: 100% !important;
    object-fit: cover !important;
    display: block;
}

/* Peach Accent Price Block */
.price-block {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    background: var(--peach) !important;
    border: 1px solid rgba(254, 87, 15, 0.25) !important;
    border-radius: 12px !important;
    padding: 10px 18px !important;
}

.price-block .value {
    font-family: var(--font-bold, 'Product Sans Bold', sans-serif);
    font-size: 24px !important;
    font-weight: 700 !important;
    color: var(--orange) !important;
}

.price-block .per {
    font-size: 11.5px;
    color: var(--body-txt);
    font-weight: 600;
}

/* Featured Green Card for Semester Fee */
.fee-card.featured {
    background: var(--green) !important;
    border-color: var(--green) !important;
    box-shadow: 0 20px 45px -16px rgba(38, 120, 124, 0.5) !important;
}

.fee-card.featured .fee-label {
    color: var(--peach) !important;
}

.fee-card.featured .fee-value {
    color: #ffffff !important;
}

.fee-card.featured .fee-note {
    color: rgba(255, 255, 255, 0.85) !important;
}

/* Teal Panel & Next Step Orange Banner */
.panel-teal {
    background: var(--green) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 20px 45px -16px rgba(38, 120, 124, 0.5) !important;
}

.panel-orange {
    background: var(--orange) !important;
    border: none !important;
    box-shadow: 0 20px 50px -16px rgba(254, 87, 15, 0.4) !important;
}

/* Step Card Numbers */
.step-card {
    position: relative;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 2.25rem 1.4rem 1.4rem;
    height: 100%;
    transition: all 0.3s ease;
}

.step-card:hover {
    border-color: var(--orange);
    transform: translateY(-3px);
}

.step-card .step-num {
    position: absolute;
    top: 0.75rem;
    left: 1.25rem;
    font-family: var(--font-bold, 'Product Sans Bold', sans-serif);
    font-weight: 800;
    font-size: 32px;
    color: rgba(38, 120, 124, 0.15);
}

/* Hiring Partners Strip */
.hiring-strip {
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 2.5rem;
    margin-top: 2.5rem;
}

.hiring-strip img {
    height: 44px;
    width: auto;
    object-fit: contain;
    transition: transform 0.25s ease;
}

.hiring-strip img:hover {
    transform: translateY(-2px);
}
/* End: Course Details UI Enhancements by Siddhesh */

/* ============================================================
   Start: Official Accreditation Trust Cards by Siddhesh
   ============================================================ */
.accreditation-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 1.25rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.accreditation-card:hover {
    transform: translateY(-3px);
    border-color: var(--orange);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.07);
}

.accred-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.accred-icon-peach {
    background: var(--peach);
    color: var(--orange);
    border: 1px solid rgba(254, 87, 15, 0.25);
}

.accred-icon-teal {
    background: rgba(38, 120, 124, 0.1);
    color: var(--green);
    border: 1px solid rgba(38, 120, 124, 0.2);
}

.accred-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    font-family: var(--font-bold, 'Product Sans Bold', sans-serif);
}

.accred-badge-green {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.accred-badge-teal {
    background: #f0fdfa;
    color: #115e59;
    border: 1px solid #99f6e4;
}

.accred-title {
    font-family: var(--font-bold, 'Product Sans Bold', sans-serif);
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    margin-top: 0.75rem;
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

.accred-desc {
    font-size: 12.5px;
    color: var(--body-txt);
    line-height: 1.55;
    margin: 0;
}

.accred-footer {
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px dashed #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
}

.accred-footer .council-tag {
    color: var(--line);
    font-weight: 500;
}

.accred-footer .trust-tag {
    color: var(--green);
    font-weight: 700;
    font-family: var(--font-bold, 'Product Sans Bold', sans-serif);
}

.accred-callout {
    background: #fff8f5;
    border: 1px solid rgba(254, 87, 15, 0.25);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
/* ============================================================
   End: Official Accreditation Trust Cards by Siddhesh
   ============================================================ */