    /* 1. Remove container padding ONLY for header menu */
.header-mainmenu .container-fluid {
    padding-left: 0;
    padding-right: 0;
}

/* 2. Kill li spacing */
.mainmenu {
    gap: 0 !important;
}

/* 3. Remove margins added by EduBlink */
.mainmenu > li {
    margin: 0 !important;
    padding: 0 !important;
}

/* 4. Tighten menu links (THIS IS THE KEY) */
.mainmenu > li > a {
    padding-left: 15px !important;
    padding-right: 22px !important;
    margin: 0 !important;
}

/* 5. Fix dropdown arrow spacing */
.mainmenu > li.has-droupdown > a::after {
    margin-left: 6px !important;
}

/* 6. Prevent flex stretch gaps */
.header-mainnav {
    column-gap: 0 !important;
}

/* Strong, visible dropdown arrow */
.mainmenu > li.has-droupdown > a::after {
    content: "\ea4e";               /* EduBlink / Icomoon down arrow */
    font-family: 'icomoon';
    font-size: 12px;
    color: #222;
    margin-left: 6px;
    position: relative;
    top: 1px;
    transition: transform 0.3s ease;
}

/* Rotate arrow on hover (desktop) */
.mainmenu > li.has-droupdown:hover > a::after {
    transform: rotate(180deg);
}
/* Submenu container */
.submenu {
    padding: 6px 0;
}

/* Each submenu item */
.submenu > li {
    padding: 2px 6px;
    position: relative;
}

/* Divider line for every item except last */
.submenu > li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 0;
    height: 1px;
    background: #e6e6e6;
}

/* Submenu links */
.submenu > li > a {
    display: block;
    padding: 2px 0;
    font-size: 12px;
}

/* Allow dropdowns to overflow freely */
.edu-header,
.header-mainmenu,
.header-navbar,
.header-mainnav {
    overflow: visible !important;
}
/* Long dropdown handling */
.submenu {
    max-height: calc(100vh - 160px); /* viewport safe */
    overflow-y: auto;
    overflow-x: hidden;
}
/* Sarjana button in top bar */
.header-info > li.top-cta {
    margin-left: 10px;
}

.header-info > li.top-cta > a.sarjana-btn {
    background: #16a085;
    color: #fff !important;
    padding: 6px 14px;
    border-radius: 4px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.header-info > li.top-cta > a:hover {
    background: #13856b;
}
/* Fix search icon vertical alignment */
.mainmenu > li.menu-search {
    display: flex;
    align-items: center;
}

/* Fix icon alignment */
.mainmenu > li.menu-search > a {
    display: flex;
    align-items: center;
    padding: 0 18px;
    height: 100%;
}

/* Kill inherited line-height */
.mainmenu > li.menu-search i {
    line-height: 1;
    display: block;
}

/* Main Container Styling */
.glossy-breadcrumb {
    position: relative;
    padding: 30px 0;
    overflow: hidden;
    /* Gradient: Deep Purple to Tech Blue (Methodist/Sarjana Theme) */
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #db2777 100%);
    z-index: 1;
}

/* Glassmorphism Overlay */
.glossy-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(255, 255, 255, 0.15), 
        rgba(255, 255, 255, 0)
    );
    pointer-events: none;
    z-index: 2;
}

/* Diagonal Gloss Shine */
.glossy-breadcrumb::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.05) 45%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.05) 55%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(-20deg);
    z-index: 3;
}

.breadcrumb-inner {
    position: relative;
    z-index: 5;
}

/* Typography Styling */
.edu-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
    transition: 0.3s;
}

.edu-breadcrumb .breadcrumb-item a:hover {
    color: #ffffff !important;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.edu-breadcrumb .breadcrumb-item.active {
    color: #ffffff !important;
    font-weight: 700;
}

.edu-breadcrumb .separator {
    color: rgba(255, 255, 255, 0.5);
    margin: 0 10px;
}

.page-title .title {
    color: #ffffff;
    font-size: 28px;
    font-weight: 400;
    letter-spacing: -1px;
    margin-top: 15px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Animated Shapes adjustment for Gloss */
.shape-group li span {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.tour-icon,
.fee-icon,
.grievance-icon {
    stroke-width: 1.2;
}

.tour-icon      { color: #22c55e; } /* green */
.fee-icon       { color: #ec4899; } /* pink */
.grievance-icon { color: #7c3aed; } /* purple */

.features-box a {
    text-decoration: none;
    color: inherit;
}

.logo-container {
gap: 14px;
}
 .logo-item {
                    width: 70px;
                    height: 70px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                }
                .logo-item img {
                    max-width: 100%;
                    max-height: 100%;
                    object-fit: contain;
                }
                .navbar-nav .nav-link {
                    padding-left: 2px !important;
                    padding-right: 2px !important;
                }
                .mobile-header-icons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-header-icons a,
.mobile-header-icons button {
    background: none;
    border: none;
    padding: 0;
    line-height: 1;
}

.mobile-header-icons i {
    font-size: 20px;
    display: block;
}
/* HARD RESET: top bar list */
.header-top-bar .header-info {
    display: flex;
    align-items: center;
    gap: 0 !important;
}

/* Kill all li spacing */
.header-top-bar .header-info > li {
    margin: 0 !important;
    padding: 0 !important;
}

/* Tighten links */
.header-top-bar .header-info > li > a {
    padding: 10px 10px !important;
    margin: 0 !important;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

/* Remove any vertical separators EduBlink injects */
.header-top-bar .header-info > li::after,
.header-top-bar .header-info > li::before {
    display: none !important;
    content: none !important;
}

/* Normalize icon wrapper spacing */
.header-top-bar .nav-icon-wrapper,
.header-top-bar i {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1;
}

/* Keep Sarjana tight */
.header-top-bar .top-cta {
    margin-left: 15px !important;
}
/* Header logo row vertical centering */
header .row {
    align-items: center;
}

/* Main college logo (left) */
.col-md-3.p-2 img {
    max-height: 110px;   /* bigger main logo */
    width: auto;
    display: block;
}

/* Right-side accreditation logos */
.logo-container {
    display: flex;
    align-items: center;     /* vertical centering */
    gap: 14px;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;            /* uniform height */
}

.logo-item img {
    max-height: 70px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 1199px) {

    /* Mobile header container */
    .mobile-header {
        position: relative;
        display: flex;
        align-items: center;
        height: 56px;
        padding: 0 12px;
    }

    /* LEFT: logo */
    .mobile-logo {
        flex: 0 0 auto;
        z-index: 2;
    }

    .mobile-logo img {
        height: 42px;
    }

    /* CENTER: department (true center, not flex center) */
    .dept-title {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        font-size: 16px;
        font-weight: 700;
        color: #ee4a62;
        text-transform: uppercase;
        white-space: nowrap;
        z-index: 1;
        pointer-events: none;
    }

    /* RIGHT: icons locked to right */
    .mobile-header-icons {
        margin-left: auto;
        display: flex;
        align-items: center;
        gap: 14px;
        z-index: 2;
    }

    /* Order inside right group */
    .mobile-header-icons .hamberger-button {
        order: 1;
    }

    .mobile-header-icons .search-trigger {
        order: 2;
    }

    .mobile-header-icons i {
        font-size: 22px;
        line-height: 1;
    }
}

@media (max-width: 1199px) {
    .logo-container,
    .header-top-bar,
    .col-md-3.p-2,
    .col-md-9.p-2 {
        display: none !important;
    }
}
@media (max-width: 1199px) {

    /* Hide desktop-only elements */
    .header-top-bar,
    .logo-container,
    .header-brand.dept-brand,
    .col-md-3.p-2,
    .col-md-9.p-2 {
        display: none !important;
    }

    /* Mobile header container */
    .mobile-header {
        position: relative;
        display: flex;
        align-items: center;
        height: 56px;
        padding: 0 12px;
        background: #f7f5f2;
        border-bottom: 1px solid #ddd;
    }

    /* LEFT: Department */
    .mobile-header .dept-title {
        font-size: 14px;
        font-weight: 700;
        color: #16a085;
        text-transform: uppercase;
        white-space: nowrap;
        flex-shrink: 0;
    }

 .btn-glossy {
    position: relative;
    overflow: hidden;
    /* Base blue gradient for depth */
    background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Inset shadow creates the 3D "rim" light */
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 4px 6px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.3s ease;
}

/* The Glossy Shine Overlay */
.btn-glossy::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50%; /* Only covers top half for the "gloss" look */
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.3) 0%,
        rgba(255, 255, 255, 0) 100%
    );
    pointer-events: none;
}

/* Hover Effect: Glow and slight lift */
.btn-glossy:hover {
    background: linear-gradient(180deg, #3b82f6 0%, #2563eb 100%) !important;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 6px 12px rgba(37, 99, 235, 0.4) !important;
    transform: translateY(-1px);
}

    #searchResults {
    position: absolute;
    background: #fff;
    width: 100%;
    max-height: 320px;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
    border-radius: 6px;
    margin-top: 8px;
    z-index: 9999;
}

#searchResults a {
    display: block;
    padding: 10px 14px;
    text-decoration: none;
    color: #222;
    border-bottom: 1px solid #eee;
}

#searchResults a:hover {
    background: #f5f7fa;
}

.card-header {
    background: linear-gradient(
  135deg,
  #818cf8 0%,   /* lighter indigo */
  #a78bfa 50%,  /* soft violet */
  #e879f9 100%  /* light magenta */
) !important;

    position: relative;
    overflow: hidden;
    border: none;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

/* Signature EduBlink glossy shine */
.card-header::before {
    content: '';
    position: absolute;
    top: -60%;
    left: -60%;
    width: 220%;
    height: 220%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255,255,255,0.45) 50%,
        transparent 70%
    );
    animation: eduBlinkShine 6s infinite;
}

@keyframes eduBlinkShine {
    0%   { transform: translateX(-100%) translateY(-100%); }
    50%  { transform: translateX(100%) translateY(100%); }
    100% { transform: translateX(-100%) translateY(-100%); }
}

/* Premium text for header title */
.card-header h4 {
    font-weight: 500 !important;
    letter-spacing: 0.6px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.45);
    background: linear-gradient(to right, #ffffff, #e0f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Sidebar menu enhancement – matches EduBlink active style */
.edu-course-widget .widget-title {
    background: linear-gradient(to right, #6366f1, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 500;
}

.course-item li a {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.course-item li.active a,
.course-item li a:hover {
    transform: translateX(12px) scale(1.02);
    background: rgba(99, 102, 241, 0.12) !important;
    color: #6366f1 !important;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.18);
}



    /* Accordion Item Styling */
    .edu-accordion-item {
        background: rgba(255, 255, 255, 0.8) !important;
        backdrop-filter: blur(10px);
        transition: 0.3s all ease-in-out;
    }

    /* Button Styling */
    .edu-accordion-item .accordion-button {
        padding: 20px 25px !important;
        font-weight: 700 !important;
        font-size: 16px;
        color: #1e40af;
        background: transparent !important;
        box-shadow: none !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    /* Handle the Icon Rotation (EduBlink style) */
    .edu-accordion-item .accordion-button i {
        font-size: 14px;
        transition: 0.3s;
        color: #EE4A62;
    }

    .edu-accordion-item .accordion-button:not(.collapsed) i {
        transform: rotate(180deg);
    }

    .edu-accordion-item .accordion-button::after {
        display: none; /* Hide default Bootstrap arrow */
    }

    /* Active State Glow */
    .edu-accordion-item:has(.accordion-button:not(.collapsed)) {
        border-left: 4px solid #EE4A62 !important;
        background: #ffffff !important;
    }

    .glossy-body {
        background: rgba(248, 249, 252, 0.5);
        border-top: 1px solid #f0f0f0;
    }

    .btn-extra-small {
        padding: 8px 15px !important;
        font-size: 12px !important;
        height: auto !important;
        line-height: 1 !important;
    }

    .shadow-10 { box-shadow: 0 10px 40px rgba(0,0,0,0.05) !important; }
    .rounded-10 { border-radius: 10px !important; }

/* Universal Table Wrapper */
.edublink-table-container {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(15px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* Desktop Styles */
@media (min-width: 769px) {
    .edu-table-responsive table {
        width: 100%;
        border-collapse: collapse;
    }
    .edu-table-responsive thead th {
        background: #1e40af;
        color: white;
        padding: 20px;
        text-transform: uppercase;
        font-size: 13px;
    }
    .edu-table-responsive td {
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
    }
}

/* Mobile & Tablet Styles (The "Magic" Transformation) */
@media (max-width: 768px) {
    .edu-table-responsive table, 
    .edu-table-responsive thead, 
    .edu-table-responsive tbody, 
    .edu-table-responsive th, 
    .edu-table-responsive td, 
    .edu-table-responsive tr { 
        display: block; 
    }

    /* Hide table headers on mobile */
    .edu-table-responsive thead tr { 
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .edu-table-responsive tr {
        margin-bottom: 20px;
        border: 1px solid rgba(238, 74, 98, 0.2);
        border-radius: 15px;
        background: white;
        padding: 10px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    }

    .edu-table-responsive td { 
        border: none;
        position: relative;
        padding-left: 50% !important; 
        text-align: right !important;
        padding-top: 12px !important;
        padding-bottom: 12px !important;
        border-bottom: 1px solid #f8f9fa;
    }

    /* Label column data */
    .edu-table-responsive td:before { 
        position: absolute;
        left: 15px;
        width: 45%; 
        padding-right: 10px; 
        white-space: nowrap;
        text-align: left;
        font-weight: 700;
        color: #1e40af;
        content: attr(data-label); /* Pulls text from the HTML attribute */
    }
    
    .edu-table-responsive td:last-child { border-bottom: none; }
    
    .pdf-link {
        width: 100%;
        justify-content: center;
        margin-top: 5px;
    }
}

