/* Custom Redesign CSS for IP Gyan University */
:root {
    /* =============================================
       BRAND COLORS — Royal Blue + Orange Palette
       Matching reference image design
    ============================================= */
    --brand-yellow: #FF5C00;
    /* Vibrant orange — buttons, highlights */
    --brand-yellow-hover: #E04E00;
    /* Darker orange on hover */
    --brand-blue: #1B41AA;
    /* Main royal blue — hero bg, nav, headers */
    --brand-dark-navy: #142E88;
    /* Deep blue — top bar, depth areas */
    --brand-accent-blue: #2352C8;
    /* Lighter accent blue */
    --brand-card-blue: #1E4AB8;
    /* Card blue inside hero */
    --brand-card-dark: #193DAF;
    /* Darker blue for mini category cards */
    --brand-light-blue: #EEF4FF;
    /* Pale blue — section bg tints */
    --brand-white: #ffffff;
    --brand-text-dark: #1e293b;
    --brand-text-muted: #64748b;
    --brand-orange: #FF5C00;
    --brand-orange-soft: #FFD0AE;
    --brand-gradient-start: #142E88;
    --brand-gradient-end: #FF5C00;

    --font-primary: 'Outfit', sans-serif;
    --font-serif: 'Outfit', sans-serif;

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 8px 16px rgba(0, 0, 0, 0.10);
    --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.14);
    --glass-bg: rgba(255, 255, 255, 0.90);
    --glass-border: rgba(255, 255, 255, 0.45);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Font Override */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
a,
button,
input,
select,
textarea {
    font-family: 'Outfit', sans-serif !important;
}

body {
    font-family: var(--font-primary);
    color: var(--brand-text-dark);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* ================================================
   GLOBAL BUTTON HOVER — Left-to-Right Sliding Fill
   Uses gradient + background-position (no z-index issues)
   Works BOTH directions: hover-in (L→R) and hover-out (R→L)
   ================================================ */

/* ---- ORANGE buttons: slide in WHITE fill on hover ---- */
.btn-pill-yellow,
.btn-cta-primary,
.btn-cta-submit,
.btn-search-submit,
.talk-experts-btn,
.form-submit-btn,
.btn-uni-counselling,
.custom-nav-btn,
.btn-cta-explore {
    background: linear-gradient(to right, #ffffff 50%, var(--brand-yellow) 50%) !important;
    background-size: 220% 100% !important;
    background-position: 100% center !important;
    background-repeat: no-repeat !important;
    color: var(--brand-white) !important;
    border: 1px solid transparent;
    overflow: hidden;
    cursor: pointer;
    transition:
        background-position 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        color 0.1s ease,
        border-color 0.35s ease 0.05s,
        box-shadow 0.35s ease,
        transform 0.25s ease !important;
}

.btn-pill-yellow:hover,
.btn-cta-primary:hover,
.btn-cta-submit:hover,
.btn-search-submit:hover,
.talk-experts-btn:hover,
.form-submit-btn:hover,
.btn-uni-counselling:hover,
.custom-nav-btn:hover,
.btn-cta-explore:hover {
    background-position: 0% center !important;
    color: var(--brand-yellow) !important;
    border-color: var(--brand-yellow) !important;
    box-shadow: 0 6px 18px rgba(255, 92, 0, 0.22) !important;
    transform: translateY(-2px);
}

.ti-map-pin {
    --bs-text-opacity: 1;
    color: var(--brand-yellow) !important;
}

/* ---- BLUE outline buttons: slide in BLUE fill on hover ---- */
.btn-pill-outline,
.btn-uni-outline,
.btn-uni-brochure,
.btn-horizontal-details,
.newsletter-btn {
    background-size: 220% 100% !important;
    background-position: 100% center !important;
    background-repeat: no-repeat !important;
    color: var(--brand-white) !important;
    border: 1px solid var(--brand-white);
    overflow: hidden;
    cursor: pointer;
    transition:
        background-position 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        color 0.1s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.25s ease !important;
}

.btn-pill-outline:hover,
.btn-uni-outline:hover,
.btn-uni-brochure:hover,
.btn-horizontal-details:hover,
.newsletter-btn:hover {
    background-position: 0% center !important;
    color: var(--brand-white) !important;
    border-color: var(--brand-blue) !important;
    box-shadow: 0 6px 18px rgba(27, 65, 170, 0.22) !important;
    transform: translateY(-2px);
}

/* ---- SECONDARY CTA: white bg → brand-blue fill ---- */
.btn-cta-secondary {
    background: linear-gradient(to right, var(--brand-blue) 50%, var(--brand-white) 50%) !important;
    background-size: 220% 100% !important;
    background-position: 100% center !important;
    background-repeat: no-repeat !important;
    color: var(--brand-blue) !important;
    border: 1px solid var(--brand-blue);
    overflow: hidden;
    cursor: pointer;
    transition:
        background-position 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        color 0.1s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.25s ease !important;
}

.btn-cta-secondary:hover {
    background-position: 0% center !important;
    color: var(--brand-white) !important;
    border-color: var(--brand-blue) !important;
    transform: translateY(-2px);
}

/* ---- COMPARE button: blue → white fill ---- */
.btn-horizontal-compare {
    background: linear-gradient(to right, #ffffff 50%, var(--brand-blue) 50%) !important;
    background-size: 220% 100% !important;
    background-position: 100% center !important;
    background-repeat: no-repeat !important;
    color: var(--brand-white) !important;
    border: 1px solid var(--brand-blue);
    overflow: hidden;
    cursor: pointer;
    transition:
        background-position 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        color 0.1s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.25s ease !important;
}

.btn-horizontal-compare:hover {
    background-position: 0% center !important;
    color: var(--brand-blue) !important;
    border-color: var(--brand-blue) !important;
    transform: translateY(-2px);
}

/* ---- SCROLL-TOP button: orange → white fill ---- */
.scroltop {
    background: linear-gradient(to right, #ffffff 50%, var(--brand-yellow) 50%) !important;
    background-size: 220% 100% !important;
    background-position: 100% center !important;
    background-repeat: no-repeat !important;
    overflow: hidden;
    transition:
        background-position 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        color 0.1s ease,
        box-shadow 0.35s ease,
        transform 0.25s ease !important;
}

.scroltop:hover {
    background-position: 0% center !important;
    color: var(--brand-yellow) !important;
    transform: translateY(-2px);
}

/* ---- CTA Banner override: orange btn → blue fill ---- */
.cta-banner-content .btn-cta-submit {
    background: linear-gradient(to right, var(--brand-blue) 50%, var(--brand-yellow) 50%) !important;
    background-size: 220% 100% !important;
    background-position: 100% center !important;
    background-repeat: no-repeat !important;
}

.cta-banner-content .btn-cta-submit:hover {
    background-position: 0% center !important;
    color: var(--brand-white) !important;
    border-color: var(--brand-blue) !important;
}

/* ---- Countries section submit: orange → white ---- */
.countries-section-redesign .btn-cta-submit {
    background: linear-gradient(to right, #ffffff 50%, var(--brand-yellow) 50%) !important;
    background-size: 220% 100% !important;
    background-position: 100% center !important;
    background-repeat: no-repeat !important;
}

.countries-section-redesign .btn-cta-submit:hover {
    background-position: 0% center !important;
    color: var(--brand-blue) !important;
    border-color: var(--brand-blue) !important;
}

/* ================================================
   HEADER — Fix scroll blink / flash on slow scroll
   ================================================ */
.main-bar,
.header-style-redesign .main-bar,
.site-header,
.sticky-header {
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    contain: layout style;
    will-change: background-color, box-shadow;
    transition: background-color 0.3s ease, box-shadow 0.3s ease !important;
}

.main-bar.color-fill {
    animation: none !important;
    background-color: rgba(255, 255, 255, 0.99) !important;
    box-shadow: 0 4px 20px rgba(27, 65, 170, 0.10) !important;
    transition: background-color 0.3s ease, box-shadow 0.3s ease !important;
}

/* Force Tabler Icons font family to override Themify conflicts */
.ti {
    font-family: 'tabler-icons' !important;
}


/* Global Section Dividers */
.section-badge {
    color: var(--brand-yellow);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: inline-block;
}

.section-title {
    font-family: var(--font-primary);
    color: var(--brand-blue);
    font-weight: 600;
    font-size: 32px;
    margin-bottom: 24px;
}

/* Custom Header Top & Main Navbar */
/* Custom Header Top & Main Navbar */
.top-bar-custom {
    background-color: #142E88 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 8px 0;
    font-size: 13px;
}

.top-bar-custom a,
.top-bar-custom span {
    color: var(--brand-white) !important;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.top-bar-custom a:hover {
    color: var(--brand-yellow) !important;
}

/* Increase top social icon size */
.top-bar-custom .d-flex.align-items-center.gap-3 a i {
    font-size: 18px !important;
    transition: var(--transition-smooth);
}

.top-bar-custom .d-flex.align-items-center.gap-3 a:hover i {
    transform: scale(1.15);
}

.header-style-redesign {
    background-color: var(--brand-white) !important;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid #f1f5f9 !important;
}

/* Ensure sticky header is on top of other content */
.sticky-top {
    z-index: 1030;
}

/* Main bar wrapper for header background */
.site-header .main-bar {
    background-color: var(--brand-white) !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.custom-nav-btn {
    color: var(--brand-white) !important;
    border: 1px solid transparent !important;
    border-radius: 8px !important;
    padding: 10px 24px !important;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(255, 92, 0, 0.3) !important;
}

.custom-nav-btn:hover {
    color: var(--brand-yellow) !important;
    border: 1px solid var(--brand-yellow) !important;
    box-shadow: 0 6px 14px rgba(255, 92, 0, 0.15) !important;
    transform: translateY(-2px);
}

.navbar-nav .nav-link {
    font-weight: 550;
    color: var(--brand-blue) !important;
    padding: 12px 18px !important;
    transition: var(--transition-smooth);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-item.active .nav-link {
    color: var(--brand-yellow) !important;
}

.dropdown-toggle::after {
    color: var(--brand-blue) !important;
}

/* Styled Dropdown Menu (Blue background, white text) */
.header-style-redesign .dropdown-menu {
    background-color: #dee2ec !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    /* Centering dropdown */
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin-top: 10px !important;
}

.header-style-redesign .dropdown-item {
    color: #003af7 !important;
    transition: var(--transition-smooth);
}

.header-style-redesign .dropdown-item:hover {
    background-color: var(--brand-yellow) !important;
    color: var(--brand-white) !important;
}

.header-style-redesign .dropdown-menu hr.dropdown-divider {
    border-color: rgba(255, 255, 255, 0.15) !important;
}

.header-style-redesign .dropdown-item.text-primary {
    background-color: rgba(255, 255, 255, 0.08) !important;
    color: var(--brand-yellow) !important;
}

.header-style-redesign .dropdown-item.text-primary:hover {
    background-color: var(--brand-yellow) !important;
    color: var(--brand-white) !important;
}

/* Responsive fix for mega dropdown heading on mobile */
@media (max-width: 991px) {
    .header-style-redesign .mega-dropdown-heading {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

/* Mega menu dropdown */
.header-style-redesign .mega-dropdown-menu {
    width: auto;
    min-width: 600px;
    background: var(--brand-white) !important;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(27, 65, 170, 0.15) !important;
    /* Centering mega menu */
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin-top: 10px !important;
}

.header-style-redesign .mega-dropdown-body {
    display: flex;
    flex-wrap: wrap;
    min-height: 340px;
}

.header-style-redesign .mega-dropdown-left,
.header-style-redesign .mega-dropdown-right {
    padding: 0;
}

.header-style-redesign .mega-dropdown-left {
    background: #F0F4FF;
}

.header-style-redesign .mega-dropdown-heading {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--brand-blue);
    background: rgba(255, 255, 255, 0.95);
}

.header-style-redesign .mega-dropdown-list {
    max-height: 380px;
}

.header-style-redesign .mega-dropdown-item {
    color: var(--brand-dark-navy) !important;
    border: none !important;
    background: transparent !important;
    transition: all 0.25s ease;
}

.header-style-redesign .mega-dropdown-item:hover {
    background: rgba(27, 65, 170, 0.08) !important;
    color: var(--brand-blue) !important;
}

.header-style-redesign .mega-dropdown-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 0;
}

.header-style-redesign .mega-dropdown-detail {
    min-height: 100%;
}



@media (max-width: 1199px) {
    .header-style-redesign .mega-dropdown-menu {
        min-width: 100% !important;
    }

    .header-style-redesign .mega-dropdown-body {
        flex-direction: column;
    }

    .header-style-redesign .mega-dropdown-left,
    .header-style-redesign .mega-dropdown-right {
        width: 100%;
    }
}

/* Mobile drawer burger lines */
.navbar-toggler span.icon-bar {
    background-color: var(--brand-blue) !important;
}

/* Hero Section — Royal Blue matching reference image */
.hero-redesign {
    background: linear-gradient(135deg, #2348c5 0%, #143ba3 40%, #14389d 100%) !important;
    padding: 50px 0 60px 0;
    position: relative;
    overflow: hidden;
}

.hero-redesign::before {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    top: -150px;
    left: -100px;
    z-index: 0;
    pointer-events: none;
}

.hero-redesign::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 92, 0, 0.12) 0%, transparent 70%);
    bottom: -100px;
    right: 0;
    z-index: 0;
    pointer-events: none;
}

/* Background elements */
.hero-dots-left {
    position: absolute;
    top: 40px;
    left: 40px;
    width: 140px;
    height: 140px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1.5px, transparent 1.5px);
    background-size: 14px 14px;
    opacity: 0.9;
    z-index: 1;
    pointer-events: none;
}

.hero-dots-right {
    position: absolute;
    top: 60px;
    right: 40px;
    width: 120px;
    height: 180px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1.5px, transparent 1.5px);
    background-size: 15px 15px;
    opacity: 0.8;
    z-index: 1;
    pointer-events: none;
}

/* Curved Lines */
.hero-curved-line-left {
    position: absolute;
    left: -220px;
    bottom: -150px;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.hero-curved-line-right {
    position: absolute;
    right: -250px;
    top: 10%;
    width: 600px;
    height: 600px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.hero-stethoscope-image {
    position: absolute;
    left: -60px;
    top: 12%;
    height: 78%;
    max-height: 480px;
    opacity: 0.08;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 2;
}

.hero-stethoscope-watermark {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-pill-badge {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: var(--brand-white) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 20px;
}

.hero-title-main {
    font-family: var(--font-primary);
    font-size: 54px;
    font-weight: 700;
    color: var(--brand-white) !important;
    line-height: 1.15;
    margin-bottom: 25px;
}

.hero-title-main span {
    font-family: var(--font-primary);
    color: var(--brand-yellow) !important;
    position: relative;
}

.hero-description {
    font-size: 16px;
    line-height: 1.6;
    color: #cbd5e1 !important;
    margin-bottom: 35px;
    max-width: 550px;
}

.btn-pill-yellow {
    color: var(--brand-white) !important;
    border-radius: 8px !important;
    padding: 12px 30px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(255, 92, 0, 0.25);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-pill-yellow:hover {
    color: var(--brand-yellow) !important;
    border-color: var(--brand-yellow) !important;
    box-shadow: 0 6px 18px rgba(255, 92, 0, 0.18);
}

.btn-pill-outline {
    color: var(--brand-white) !important;
    border-radius: 8px !important;
    padding: 12px 30px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-pill-outline:hover {
    color: var(--brand-yellow) !important;
    border-color: var(--brand-blue) !important;
}

/* Quick Cards Row */
.quick-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 50px;
}

.quick-card-item {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    color: var(--brand-white) !important;
}

.quick-card-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--brand-yellow) !important;
    background: rgba(255, 255, 255, 0.15) !important;
}

.quick-card-icon {
    font-size: 40px;
    color: var(--brand-yellow) !important;
    margin-bottom: 8px;
}

.quick-card-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--brand-white) !important;
    margin-bottom: 0;
}

/* Right Search & Stats Card */
.hero-search-card-outer {
    position: relative;
    z-index: 2;
}

.hero-search-card {
    background: #1E4AB8 !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    border-radius: 20px;
    padding: 32px 28px;
    box-shadow: 0 24px 60px rgba(20, 46, 136, 0.35);
}

.search-card-title-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.search-icon-circle {
    width: 44px;
    height: 44px;
    color: var(--brand-white) !important;
    background-color: var(--brand-yellow) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.search-card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--brand-white) !important;
    margin-bottom: 0;
}

.search-row-form {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.search-input-field {
    background: var(--brand-white) !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    border-radius: 8px !important;
    padding: 12px 16px;
    font-size: 14px;
    outline: none;
    color: var(--brand-text-dark) !important;
    flex-grow: 1;
}

.search-input-field::placeholder {
    color: #94a3b8 !important;
}

.search-input-field:focus {
    border-color: var(--brand-yellow) !important;
    box-shadow: 0 0 0 2px rgba(255, 92, 0, 0.15) !important;
    outline: none;
}

.btn-search-submit {
    color: var(--brand-white) !important;
    border-radius: 8px !important;
    padding: 12px 28px;
    font-weight: 600;
    font-size: 14px;
}

.btn-search-submit:hover {
    color: var(--brand-yellow) !important;
    border-color: var(--brand-yellow) !important;
    box-shadow: 0 6px 18px rgba(255, 92, 0, 0.18) !important;
}

/* Categories Grid inside Search Card */
.categories-mini-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 25px;
}

.category-mini-card {
    background: #193DAF !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    border-radius: 10px;
    padding: 16px 6px;
    text-align: center;
    text-decoration: none;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.category-mini-card:hover {
    border-color: var(--brand-yellow) !important;
    transform: translateY(-2px);
    color: var(--brand-yellow) !important;
    box-shadow: var(--shadow-sm);
}

.category-mini-card i,
.category-mini-card svg {
    font-size: 22px;
    width: 22px;
    height: 22px;
    color: var(--brand-white) !important;
    transition: var(--transition-smooth);
}

.category-mini-card:hover i,
.category-mini-card:hover svg,
.category-mini-card:hover span {
    color: var(--brand-yellow) !important;
}

.category-mini-card span {
    font-size: 11px;
    font-weight: 600;
    color: var(--brand-white) !important;
}

.talk-experts-btn {
    color: var(--brand-white) !important;
    text-align: center;
    width: 100%;
    display: block;
    padding: 14px;
    border-radius: 8px !important;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(255, 92, 0, 0.2) !important;
}

.talk-experts-btn:hover {
    color: var(--brand-yellow) !important;
    border-color: var(--brand-yellow) !important;
}

/* Mini Counters Grid */
.mini-counters-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.mini-counter-item {
    background: #1E4AB8 !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 14px;
    padding: 20px 8px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(20, 46, 136, 0.25);
}

.mini-counter-num {
    font-size: 24px;
    font-weight: 800;
    color: var(--brand-white) !important;
    margin-bottom: 4px;
}

.mini-counter-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 600;
}

/* About Section */
.about-section-redesign {
    padding: 80px 0;
    background-color: var(--brand-white);
}

.about-image-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.about-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.about-list-item {
    display: flex;
    gap: 16px;
}

.about-list-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: var(--brand-light-blue);
    color: var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.about-list-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: 4px;
}

.about-list-desc {
    font-size: 14px;
    color: var(--brand-text-muted);
    line-height: 1.5;
}

/* Achievements Counter Grid */
.achievements-section {
    background-color: transparent;
    padding: 60px 0 50px;
}

.achievements-card-wrapper {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 255, 0.92));
    border-radius: 32px;
    padding: 30px 32px;
    box-shadow: 0 28px 80px rgba(16, 43, 102, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.65);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
}

.achievement-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 255, 0.9));
    border: 1px solid rgba(16, 43, 102, 0.08);
    border-radius: 20px;
    padding: 15px 14px;
    text-align: center;
    box-shadow: 0 18px 40px rgba(16, 43, 102, 0.08);
    transition: var(--transition-smooth);
}

.achievement-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 46px rgba(16, 43, 102, 0.16);
    border-color: rgba(255, 107, 0, 0.45);
}

.achievement-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(21, 74, 168, 0.16), rgba(255, 107, 0, 0.16));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    transition: var(--transition-smooth);
}

.achievement-icon {
    font-size: 28px;
    color: var(--brand-gradient-start) !important;
    transition: var(--transition-smooth);
}

.achievement-card:hover .achievement-icon-wrapper {
    background: linear-gradient(135deg, var(--brand-gradient-start), var(--brand-orange));
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.22);
}

.achievement-card:hover .achievement-icon {
    color: var(--brand-white) !important;
    transform: scale(1.08);
}

.achievement-num {
    font-size: 26px;
    font-weight: 800;
    color: #0F1D36;
    margin-bottom: 6px;
}

.achievement-label {
    font-size: 13px;
    color: #475569;
    font-weight: 600;
}

/* Services Cards */
.services-section-redesign {
    padding: 80px 0;
    background-color: var(--brand-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--brand-white);
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    padding: 30px 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--brand-light-blue);
}

.service-badge-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #FFF0E6 !important;
    color: var(--brand-yellow) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
}

.service-card:nth-child(even) .service-badge-icon {
    background-color: #FFF0E6 !important;
    color: var(--brand-yellow) !important;
}

.service-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: 12px;
}

.service-card-desc {
    font-size: 14px;
    color: var(--brand-text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-card-link {
    color: var(--brand-yellow);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition-smooth);
    margin-top: auto;
}

.service-card-link:hover {
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--brand-yellow-hover);
    gap: 8px;

}

/* CTA Banner (Personalized Guidance) */
.cta-banner-wrap {
    padding: 40px 0;
}

.cta-banner-card {
    background:
        radial-gradient(circle at 85% 50%, rgba(255, 107, 0, 0.4) 0%, rgba(255, 107, 0, 0.1) 35%, transparent 65%),
        /* Orange/Sunset glow */
        radial-gradient(circle at 15% 30%, rgba(56, 189, 248, 0.35) 0%, transparent 55%),
        /* Sky Blue glow */
        linear-gradient(135deg, #102B66 0%, #153A84 50%, #0C1E40 100%) !important;
    /* Navy, Royal Blue theme */
    border-radius: 30px;
    padding: 60px 60px;
    position: relative;
    overflow: hidden;
    color: var(--brand-white);
    box-shadow: 0 16px 32px rgba(21, 58, 132, 0.15);
}

/* CTA Background Elements */
.cta-dots-left {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 140px;
    height: 140px;
    background-image: radial-gradient(rgba(255, 255, 255, 0.2) 1.5px, transparent 1.5px);
    background-size: 14px 14px;
    opacity: 0.7;
    z-index: 1;
    pointer-events: none;
}

.cta-stethoscope-watermark {
    position: absolute;
    left: -30px;
    bottom: -30px;
    width: 200px;
    height: 200px;
    opacity: 0.08;
    transform: rotate(35deg);
    color: var(--brand-white);
    pointer-events: none;
    z-index: 1;
}

.cta-cap-watermark {
    position: absolute;
    left: 300px;
    top: -45px;
    width: 160px;
    height: 160px;
    opacity: 0.06;
    transform: rotate(-15deg);
    color: var(--brand-white);
    pointer-events: none;
    z-index: 1;
}

/* Thin Concentric Accent Rings */
.cta-ring-1 {
    position: absolute;
    right: -60px;
    bottom: -120px;
    width: 500px;
    height: 500px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.cta-ring-2 {
    position: absolute;
    right: -100px;
    bottom: -160px;
    width: 600px;
    height: 600px;
    border: 2.5px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.cta-banner-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
}

.cta-pill-badge {
    background: var(--brand-white) !important;
    color: var(--brand-blue) !important;
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.cta-banner-title {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    font-family: var(--font-primary);
}

.cta-banner-title span {
    color: var(--brand-yellow) !important;
    font-family: var(--font-primary);
}

.btn-cta-submit {
    background-color: var(--brand-yellow) !important;
    color: var(--brand-white) !important;
    border-radius: 8px !important;
    padding: 12px 28px;
    font-weight: 700;
    font-size: 14px;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.2) !important;
}

.btn-cta-submit:hover {
    background-color: var(--brand-white) !important;
    color: var(--brand-yellow) !important;
    border: 1px solid var(--brand-yellow) !important;
    box-shadow: 0 6px 18px rgba(255, 107, 0, 0.25) !important;
}

/* White button style inside CTA content */
.cta-banner-content .btn-cta-submit {
    background-color: var(--brand-white) !important;
    color: var(--brand-white) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}



.cta-banner-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin-bottom: 30px;
}

.doctor-cutout-img {
    position: absolute;
    right: 60px;
    bottom: 0;
    height: 110%;
    z-index: 2;
    object-fit: contain;
    pointer-events: none;
}

.trusted-badge-float {
    position: absolute;
    right: 320px;
    bottom: 40px;
    background: var(--brand-white);
    border-radius: 16px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-lg);
    z-index: 3;
    color: var(--brand-text-dark);
}

.trusted-avatars {
    display: flex;
}

.trusted-avatars img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid var(--brand-white);
    margin-left: -6px;
}

.trusted-avatars img:first-child {
    margin-left: 0;
}

.trusted-text {
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.trusted-text span {
    display: block;
    font-size: 10px;
    color: var(--brand-text-muted);
    font-weight: 500;
}

/* Countries Section */
.countries-section-redesign {
    padding: 80px 0;
    background-color: #f8fafc;
    /* Very light slate gray/blue background */
    position: relative;
    overflow: hidden;
}

.countries-section-redesign .btn-cta-submit {
    background-color: var(--brand-blue) !important;
    color: var(--brand-white) !important;
    box-shadow: 0 4px 12px rgba(21, 58, 132, 0.2) !important;
}

.countries-section-redesign .btn-cta-submit:hover {
    background-color: var(--brand-white) !important;
    color: var(--brand-blue) !important;
    border: 1px solid var(--brand-blue) !important;
    box-shadow: 0 6px 18px rgba(21, 58, 132, 0.15) !important;
    transform: translateY(-2px);
}

.countries-section-redesign::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: radial-gradient(rgba(14, 165, 233, 0.08) 1.5px, transparent 1.5px);
    background-size: 24px 24px;
    opacity: 0.9;
    z-index: 0;
    pointer-events: none;
}

.countries-section-redesign .container {
    position: relative;
    z-index: 2;
}

.countries-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.country-card {
    background: var(--brand-white);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    padding: 24px 15px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.country-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(11, 37, 69, 0.08);
    border-color: var(--brand-yellow);
}

.country-flag-wrapper {
    width: 72px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.country-flag-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.country-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: 0;
}

/* Sectors & Form Section */
.sectors-form-section {
    padding: 80px 0;
    background-color: var(--brand-white);
}

.sectors-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.sector-item {
    display: flex;
    gap: 12px;
    background: var(--brand-white);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: var(--transition-smooth);
    align-items: center;
}

.sector-item:hover {
    border-color: var(--brand-yellow);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(11, 37, 69, 0.05);
}

.sector-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #f0f6fc;
    color: var(--brand-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.sector-icon svg {
    width: 18px;
    height: 18px;
}

.sector-item:hover .sector-icon {
    background-color: var(--brand-blue);
    color: var(--brand-white);
}

.sector-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: 3px;
}

.sector-desc {
    font-size: 12px;
    color: var(--brand-text-muted);
    line-height: 1.4;
    margin-bottom: 0;
}

.sectors-left-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.form-card {
    background-color: #153A84;
    border-radius: 18px;
    padding: 25px 30px;
    color: var(--brand-white);
    box-shadow: 0 16px 32px rgba(11, 37, 69, 0.15);
    height: 100%;
}

.form-badge {
    background-color: var(--brand-yellow);
    color: var(--brand-white);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 9px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-card-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 6px;
    color: var(--brand-white);
    line-height: 1.3;
    font-family: var(--font-serif);
}

.form-card-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 15px;
    line-height: 1.5;
}

.custom-form-field {
    background: var(--brand-white);
    border: 1px solid #cbd5e1;
    border-radius: 8px !important;
    padding: 10px 14px;
    color: var(--brand-text-dark) !important;
    font-size: 13.5px;
    width: 100%;
    outline: none;
    transition: var(--transition-smooth);
}

.custom-form-field:focus {
    background: var(--brand-white);
    border-color: var(--brand-yellow);
    box-shadow: 0 0 0 3px rgba(235, 179, 48, 0.2);
}

.custom-form-field::placeholder {
    color: #94a3b8;
}

.custom-form-field option {
    background-color: var(--brand-white);
    color: var(--brand-text-dark);
}

.form-group-custom {
    margin-bottom: 10px;
}

.form-submit-btn {
    width: 100%;
    background-color: var(--brand-yellow) !important;
    color: var(--brand-white) !important;
    font-weight: 700;
    font-size: 14px;
    border: none;
    border-radius: 8px !important;
    padding: 12px 14px;
    transition: var(--transition-smooth);
    margin-top: 4px;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.25) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
}

.form-submit-btn:hover {
    background-color: var(--brand-white) !important;
    color: var(--brand-yellow) !important;
    border: 1px solid var(--brand-yellow) !important;
    box-shadow: 0 6px 18px rgba(255, 107, 0, 0.25) !important;
    transform: translateY(-1px);
}

/* Top Universities Section */
.top-universities-section {
    padding: 80px 0;
    background-color: #f8fafc;
    position: relative;
}

.uni-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.btn-uni-outline {
    border: 2px solid var(--brand-yellow);
    color: var(--brand-yellow) !important;
    background: transparent;
    padding: 10px 24px;
    border-radius: 8px !important;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
}

.btn-uni-outline:hover {
    background: var(--brand-white);
    color: var(--brand-yellow) !important;
    border-color: var(--brand-yellow);
    box-shadow: 0 4px 12px rgba(255, 179, 0, 0.2);
}

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

.uni-card {
    background: var(--brand-white);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(11, 37, 69, 0.06);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
    position: relative;
}

.uni-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(11, 37, 69, 0.08);
    border-color: var(--brand-yellow);
}

.uni-card-banner {
    height: 130px;
    position: relative;
    overflow: hidden;
    background-color: #f1f5f9;
}

.uni-card-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.uni-card:hover .uni-card-banner img {
    transform: scale(1.05);
}

.uni-card-floating-badge {
    position: absolute;
    top: 0;
    left: 16px;
    width: 38px;
    height: 48px;
    background: var(--brand-white);
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    padding: 3px;
}

.uni-card-floating-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.uni-card-body {
    padding: 20px 20px 24px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.uni-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: 6px;
    line-height: 1.4;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 44px;
}

.uni-card-location {
    font-size: 12px;
    color: var(--brand-text-muted);
    margin-bottom: 16px;
    font-weight: 500;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
}

.uni-details-list {
    margin-top: auto;
    border-top: 1px dashed #e2e8f0;
    padding-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.uni-details-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.uni-detail-label {
    color: var(--brand-text-muted);
    font-weight: 500;
}

.uni-detail-value {
    color: var(--brand-text-dark);
    font-weight: 700;
}

.uni-detail-flag {
    width: 22px;
    height: 14px;
    border-radius: 2px;
    object-fit: cover;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.uni-card-link-wrap {
    margin-top: 16px;
    border-top: none !important;
    padding-top: 0 !important;
    text-align: center;
}

.uni-card-link {
    display: inline-block;
    width: 100%;
    background-color: var(--brand-yellow) !important;
    color: var(--brand-white) !important;
    padding: 10px 16px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 13px;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 10px rgba(255, 107, 0, 0.15) !important;
}

.uni-card-link:hover {
    background-color: var(--brand-yellow-hover) !important;
    color: var(--brand-white) !important;
    box-shadow: 0 6px 14px rgba(255, 107, 0, 0.25) !important;
    transform: translateY(-1px);
}

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

@media (max-width: 991px) {
    .uni-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .btn-uni-outline {
        margin-bottom: 0;
    }

    .universities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Latest Blogs Section */
.latest-blogs-section {
    padding: 85px 0;
    background: linear-gradient(180deg, var(--brand-white) 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.blog-card-pro {
    background: var(--brand-white);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(11, 37, 69, 0.04);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.blog-card-pro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 5;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

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

.blog-card-pro:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(11, 37, 69, 0.12);
    border-color: rgba(255, 179, 0, 0.3);
}

.blog-card-img-wrap {
    height: 220px;
    position: relative;
    overflow: hidden;
    background-color: #f1f5f9;
}

.blog-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.blog-card-pro:hover .blog-card-img-wrap img {
    transform: scale(1.08);
}

.blog-card-date {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: linear-gradient(135deg, var(--brand-yellow) 0%, #ff9800 100%);
    color: var(--brand-white);
    border-radius: 10px;
    padding: 8px 14px;
    font-weight: 700;
    font-size: 12px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.3);
    z-index: 2;
    transition: var(--transition-smooth);
}

.blog-card-pro:hover .blog-card-date {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(255, 152, 0, 0.4);
}

.blog-card-date .day-text {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.1;
    display: block;
}

.blog-card-date .month-text {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
}

.blog-card-body {
    padding: 26px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-card-meta {
    margin-bottom: 12px;
}

.blog-category-badge {
    background-color: #eff6ff;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 50px;
}

.blog-card-title a {
    color: var(--brand-blue);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.blog-card-title a:hover {
    color: var(--brand-yellow);
}

.blog-card-desc {
    font-size: 13.5px;
    color: var(--brand-text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 44px;
}

.blog-card-footer {
    margin-top: auto;
    border-top: 1px solid #f1f5f9;
    padding-top: 18px;
}

.blog-read-more-btn {
    color: var(--brand-blue);
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.blog-read-more-btn svg {
    transition: transform 0.3s ease;
}

.blog-read-more-btn:hover {
    color: var(--brand-yellow);
    padding: 12px 10px;
    border-radius: 8px;
}

.blog-read-more-btn:hover svg {
    transform: translateX(4px);
}

/* Modern Owl Carousel Dots styling for blogs */
.blogs-carousel .owl-dots {
    text-align: center;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.blogs-carousel .owl-dot {
    display: inline-block;
    border: none;
    outline: none;
}

.blogs-carousel .owl-dot span {
    display: block;
    width: 8px;
    height: 8px;
    background: #cbd5e1 !important;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.blogs-carousel .owl-dot.active span {
    width: 24px;
    height: 8px;
    border-radius: 4px;
    background: var(--brand-yellow) !important;
}

/* Testimonials Section */
.testimonials-section {
    padding: 85px 0;
    background-color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.testimonials-carousel .owl-stage,
.blogs-carousel .owl-stage {
    display: flex;
}

.testimonials-carousel .owl-item,
.blogs-carousel .owl-item {
    display: flex;
}

.testimonial-card-pro {
    background: var(--brand-white);
    border: 1px solid rgba(226, 232, 240, 0.8);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(11, 37, 69, 0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.testimonial-card-pro:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(11, 37, 69, 0.1);
    border-color: rgba(255, 179, 0, 0.3);
}

.testimonial-quote-icon {
    position: absolute;
    top: 24px;
    right: 24px;
    color: rgba(255, 179, 0, 0.08);
    width: 60px;
    height: 60px;
    transition: var(--transition-smooth);
}

.testimonial-card-pro:hover .testimonial-quote-icon {
    color: rgba(255, 179, 0, 0.15);
    transform: scale(1.1);
}

.testimonial-review-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--brand-blue);
    margin-bottom: 12px;
    line-height: 1.4;
    padding-right: 40px;
    /* Leave space for quote icon */
}

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

.testimonial-rating .star-icon {
    width: 16px;
    height: 16px;
}

.testimonial-desc {
    font-size: 14px;
    color: var(--brand-text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    font-style: italic;
    flex-grow: 1;
}

.testimonial-user-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid #f1f5f9;
    padding-top: 18px;
    margin-top: auto;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: #eff6ff;
    border: 2px solid var(--brand-white);
    box-shadow: 0 4px 10px rgba(11, 37, 69, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-accent-blue) 100%);
    color: var(--brand-white);
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-user-info {
    display: flex;
    flex-direction: column;
}

.testimonial-user-info .user-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--brand-blue);
    margin: 0;
}

.testimonial-user-info .user-designation {
    font-size: 11px;
    color: var(--brand-text-muted);
    font-weight: 600;
    margin-top: 2px;
}

/* Modern Owl Carousel Dots styling for testimonials */
.testimonials-carousel .owl-dots {
    text-align: center;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.testimonials-carousel .owl-dot {
    display: inline-block;
    border: none;
    outline: none;
}

.testimonials-carousel .owl-dot span {
    display: block;
    width: 8px;
    height: 8px;
    background: #cbd5e1 !important;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.testimonials-carousel .owl-dot.active span {
    width: 24px;
    height: 8px;
    border-radius: 4px;
    background: var(--brand-yellow) !important;
}

/* Free Counseling CTA Section */
.free-counseling-cta-section {
    padding: 60px 0 70px;
    position: relative;
    background-color: transparent;
}

.cta-inner-card {
    position: relative;
    background: linear-gradient(135deg, #102B66 0%, #153A84 40%, #1A4AA8 65%, #FF6B00 100%);
    border-radius: 32px;
    padding: 45px 40px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(16, 43, 102, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.cta-glow-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.16;
    pointer-events: none;
}

.cta-glow-circle.circle-1 {
    top: -40px;
    right: -40px;
    width: 240px;
    height: 240px;
    background: rgba(255, 255, 255, 0.4);
}

.cta-glow-circle.circle-2 {
    bottom: -90px;
    left: -90px;
    width: 320px;
    height: 320px;
    background: rgba(255, 107, 0, 0.55);
}

.cta-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--brand-white);
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(4px);
    margin-bottom: 8px !important;
}

.cta-heading {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -0.5px;
    margin-bottom: 6px !important;
}

.cta-description {
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 12px !important;
}

.cta-bullets-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px !important;
}

.cta-bullets-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--brand-white);
}

.bullet-check {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-white);
    flex-shrink: 0;
}

.bullet-check svg {
    width: 9px;
    height: 9px;
}

.cta-actions-wrap {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: var(--brand-yellow);
    color: var(--brand-white) !important;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 12.5px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    border: none;
    box-shadow: 0 4px 10px rgba(255, 107, 0, 0.2);
}

.btn-cta-primary:hover {
    background: var(--brand-white);
    color: var(--brand-yellow) !important;
    border: 1px solid var(--brand-yellow);
    box-shadow: 0 6px 18px rgba(255, 107, 0, 0.25);
}

.btn-cta-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: var(--brand-blue) !important;
    padding: 6px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 12.5px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.category-mini-card span:hover {

    color: var(--brand-yellow) !important;
}



.cta-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cta-main-img {
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border: 3px solid rgba(255, 255, 255, 0.12);
    transition: transform 0.5s ease;
    width: 100%;
    max-width: 320px;
    height: auto;
}

.cta-main-img:hover {
    transform: scale(1.02);
}

@media (max-width: 991px) {
    .cta-inner-card {
        padding: 25px;
    }

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

    .cta-main-img {
        max-width: 260px;
        margin-top: 15px;
        height: auto;
    }
}

/* Redesigned Footer */
.custom-footer {
    background: linear-gradient(180deg, #0b1528 0%, #070d19 100%);
    border-top: 4px solid var(--brand-yellow);
    color: rgba(255, 255, 255, 0.7);
    padding: 40px 0 0 0;
    font-size: 14px;
    position: relative;
}

.custom-footer-title {
    color: var(--brand-white);
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 25px;
    position: relative;
}

.custom-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.custom-footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-smooth);
}

.custom-footer-links a:hover {
    color: var(--brand-yellow);
    padding-left: 5px;
}

.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--brand-yellow);
    color: var(--brand-white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.social-icon-btn:hover {
    background: var(--brand-yellow);
    color: var(--brand-white);
    transform: translateY(-2px);
}

.contact-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-info-item {
    display: flex;
    gap: 12px;
}

.contact-info-icon {
    color: var(--brand-yellow);
    font-size: 18px;
    flex-shrink: 0;
}

.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background-color: #0f172a;
    padding: 15px 0;
    margin-top: 40px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

/* Custom Footer Logo, Newsletter, and ScrollTop Styles */
.footer-text-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.newsletter-wrap {
    margin-top: 30px;
}

.newsletter-form {
    display: flex;
    margin-top: 10px;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.newsletter-input {
    flex-grow: 1;
    border: none;
    padding: 14px 16px;
    font-size: 13px;
    outline: none;
    background: #ffffff;
    color: #333333;
    width: 60%;
}

.newsletter-btn {
    background: #FF6B00 !important;
    color: #ffffff !important;
    border: 1px solid transparent !important;
    padding: 14px 20px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.newsletter-btn:hover {
    background: var(--brand-white) !important;
    color: var(--brand-yellow) !important;
    border: 1px solid var(--brand-yellow) !important;
    padding: 14px 20px !important;
}

button:hover,
.btn:hover,
a[class*="btn"]:hover,
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
.btn-pill-yellow:hover,
.btn-pill-outline:hover,
.btn-search-submit:hover,
.btn-cta-primary:hover,
.btn-cta-secondary:hover,
.btn-cta-submit:hover,
.btn-uni-outline:hover,
.talk-experts-btn:hover,
.form-submit-btn:hover,
.service-card-link:hover,
.category-mini-card:hover,
.custom-nav-btn:hover,
.btn-horizontal-compare:hover:not(.added),
.btn-horizontal-details:hover,
.btn-uni-brochure:hover,
.btn-uni-counselling:hover,
.newsletter-btn:hover,
.social-icon-btn:hover,
.scroltop:hover {
    color: var(--btn-hover-color, var(--brand-blue));
    border-color: var(--btn-hover-border, currentColor) !important;
    box-shadow: 0 6px 18px rgba(16, 43, 102, 0.12) !important;
}

.category-mini-card:hover {
    background-color: #ffffff !important;
}

.scroltop {
    background-color: #FF6B00 !important;
    border: none !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    z-index: 9999 !important;
    transition: all 0.3s ease !important;
    opacity: 0;
    visibility: hidden;
}

.scroltop.show-btn {
    opacity: 1 !important;
    visibility: visible !important;
}

.scroltop:hover {
    background-color: #e6561f !important;
    transform: translateY(-3px);
}

.scroltop i {
    font-size: 20px !important;
    color: #ffffff !important;
}


/* Responsive adjustments */
@media (max-width: 1200px) {
    .quick-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 991px) {
    .hero-title-main {
        font-size: 40px;
    }

    .hero-search-card-outer {
        margin-top: 40px;
    }

    .doctor-cutout-img {
        display: none;
    }

    .trusted-badge-float {
        display: none;
    }

    .cta-banner-card {
        padding: 40px;
    }
}

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

    .countries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .quick-cards-grid {
        grid-template-columns: 1fr;
    }

    .achievements-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .countries-grid {
        grid-template-columns: 1fr;
    }

    .cta-banner-title {
        font-size: 28px;
    }
}

/* Home Page Section Alternating Backgrounds & Spacings */
.about-section-redesign {
    background-color: #ffffff !important;
    padding: 30px 0 !important;
}

.achievements-section {
    background-color: #f8fafc !important;
    padding: 30px 0 !important;
}

.services-section-redesign {
    background-color: #ffffff !important;
    padding: 30px 0 !important;
}

.cta-banner-wrap {
    padding: 30px 0 !important;
}

.countries-section-redesign {
    background-color: #f8fafc !important;
    padding: 30px 0 !important;
}

.sectors-form-section {
    background-color: #ffffff !important;
    padding: 30px 0 !important;
}

.top-universities-section {
    background-color: #f8fafc !important;
    padding: 30px 0 !important;
}

.latest-blogs-section {
    background: #ffffff !important;
    background-color: #ffffff !important;
    padding: 30px 0 !important;
}

.testimonials-section {
    background-color: #f8fafc !important;
    padding: 30px 0 !important;
}

.free-counseling-cta-section {
    padding: 30px 0 !important;
}

.about-page-header {
    background-image: url('/web-assets/images/university_header_bg.png?v=3') !important;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    padding: 50px 0;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.about-page-header::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(11, 37, 69, 0.03);
    pointer-events: none;
}

.about-header-title {
    font-size: 32px;
    font-weight: 800;
    color: #153A84;
    margin-bottom: 8px;
}

.about-breadcrumb {
    color: #64748b;
    font-size: 13.5px;
    font-weight: 600;
}

.about-breadcrumb a {
    color: #64748b !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.about-breadcrumb a:hover {
    color: #FF6B00 !important;
}

/* Blog Page Category Tabs */
.blog-tabs-wrap {
    margin-bottom: 40px;
}



.blog-tab-btn.active {
    background: var(--brand-yellow) !important;
    color: #153A84 !important;
    border-color: var(--brand-yellow) !important;
    box-shadow: 0 6px 15px rgba(235, 179, 48, 0.25) !important;
}

.blog-tab-btn:hover:not(.active) {
    background: #f1f5f9 !important;
    border-color: #94a3b8 !important;
}

/* Landing Page Sections Medical Seamless Background Pattern */
.about-section-redesign,
.achievements-section,
.services-section-redesign,
.countries-section-redesign,
.top-universities-section,
.latest-blogs-section,
.testimonials-section {
    position: relative;
}

.about-section-redesign::before,
.achievements-section::before,
.services-section-redesign::before,
.countries-section-redesign::before,
.top-universities-section::before,
.latest-blogs-section::before,
.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/web-assets/images/academic_pattern.jpg');
    background-repeat: repeat;
    background-size: 600px auto;
    opacity: 0.20;
    pointer-events: none;
    z-index: 0;
}

/* Ensure foreground content stacks above background overlays */
.about-section-redesign>*,
.achievements-section>*,
.services-section-redesign>*,
.countries-section-redesign>*,
.top-universities-section>*,
.latest-blogs-section>*,
.testimonials-section>* {
    position: relative;
    z-index: 2;
}

/* University List Page Custom Style Redesign */
.side-bar.filter-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.filter-header {
    border-bottom: 2px solid #f1f5f9;
    margin-bottom: 20px;
    padding-bottom: 12px;
}

.filter-header h4 {
    font-size: 18px;
    font-weight: 800;
    color: #153A84;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
}

.filter-header h4 i {
    color: #FF6B00;
}

.filter-label {
    font-size: 12.5px;
    font-weight: 700;
    color: #475569;
    margin-bottom: 8px;
}

/* University List Page Custom Style Redesign */
.side-bar.filter-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 28px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
}

.side-bar.filter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #FF6B00;
}

.filter-header {
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 24px;
    padding-bottom: 16px;
}

.filter-header h4 {
    font-size: 19px;
    font-weight: 800;
    color: #153A84;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
}

.filter-header h4 i {
    color: #FF6B00;
    font-size: 22px;
}

.filter-label {
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 8px;
}

/* Custom Select2 Overrides inside Filter Sidebar */
.side-bar.filter-card .select2-container--default .select2-selection--single {
    height: 48px !important;
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 10px !important;
    padding: 10px 14px !important;
    transition: all 0.3s ease !important;
}

.side-bar.filter-card .select2-container--default .select2-selection--single:focus,
.side-bar.filter-card .select2-container--default.select2-container--open .select2-selection--single {
    border-color: #FF6B00 !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1) !important;
}

.side-bar.filter-card .select2-container .select2-selection--single .select2-selection__rendered {
    line-height: 26px !important;
    padding-left: 0 !important;
    color: #153A84 !important;
    font-weight: 600 !important;
    font-size: 13.5px !important;
}

.side-bar.filter-card .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #94a3b8 !important;
}

.side-bar.filter-card .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 46px !important;
    right: 10px !important;
}

.side-bar.filter-card .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: #64748b transparent transparent transparent !important;
    border-width: 6px 5px 0 5px !important;
}

.side-bar.filter-card .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #64748b transparent !important;
    border-width: 0 5px 6px 5px !important;
}

/* Modern Horizontal University Cards */
.uni-list-horizontal-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.uni-list-horizontal-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 0;
    height: 100%;
    background: #FF6B00;
    transition: width 0.3s ease;
}

.uni-list-horizontal-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(11, 37, 69, 0.08);
    border-color: #cbd5e1;
}

.uni-list-horizontal-card:hover::before {
    width: 5px;
}

/* Left Media Container */
.uni-horizontal-media {
    width: 100px;
    height: 100px;
    min-width: 100px;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    background: #f8fafc;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.uni-horizontal-media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.uni-list-horizontal-card:hover .uni-horizontal-media {
    border-color: #e2e8f0;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

/* Middle Content Area */
.uni-horizontal-content {
    flex-grow: 1;
    padding: 0 24px;
}

.uni-horizontal-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f0fdf4;
    color: #166534;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.uni-horizontal-type-badge.private {
    background: #fffbeb;
    color: #92400e;
}

.uni-horizontal-type-badge .status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    display: inline-block;
}

.uni-horizontal-type-badge.private .status-dot {
    background: #f59e0b;
}



.uni-horizontal-title {
    font-size: 18px;
    font-weight: 800;
    color: #153A84;
    margin-bottom: 6px;
    line-height: 1.4;
}

.uni-horizontal-title a {
    color: #153A84;
    text-decoration: none;
    transition: color 0.2s ease;
}

.uni-horizontal-title a:hover {
    color: #FF6B00;
}

.uni-horizontal-location {
    font-size: 13.5px;
    color: #64748b;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 500;
}

.uni-horizontal-location i {
    color: #FF6B00;
    font-size: 15px;
}

.uni-horizontal-courses {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin-bottom: 0;
}

.uni-horizontal-courses li span {
    display: inline-block;
    background: #f1f5f9;
    color: #475569;
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 6px;
    text-transform: uppercase;
    transition: all 0.2s ease;
}

.uni-list-horizontal-card:hover .uni-horizontal-courses li span {
    background: #e0f2fe;
    color: #0369a1;
}

/* Right Actions Container */
.uni-horizontal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 140px;
}

.btn-horizontal-compare {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 10px 16px;
    font-size: 12.5px;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
}

.btn-horizontal-compare.added {
    background: #22c55e !important;
    color: #ffffff !important;
    border-color: #22c55e !important;
}



.btn-horizontal-details {
    background: #153A84;
    color: #ffffff !important;
    padding: 10px 16px;
    font-size: 12.5px;
    font-weight: 700;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.btn-horizontal-details:hover {
    background: var(--brand-white);
    color: var(--brand-blue) !important;
    border: 1px solid var(--brand-blue);
    transform: translateY(-1px);
}

/* Info Grid for University Details */
.uni-info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.uni-info-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    transition: all 0.2s ease;
}

.uni-info-item i {
    color: #FF6B00;
    font-size: 14px;
}

.uni-list-horizontal-card:hover .uni-info-item {
    background: #f0f6fc;
    border-color: #cbd5e1;
    color: #1e3a8a;
}

.uni-list-horizontal-card:hover .uni-info-item i {
    color: #FF6B00;
    transform: scale(1.1);
}

/* Stylish Top Results Bar */
.results-header-bar {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(11, 37, 69, 0.03);
}

.results-icon-badge {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: #fff8eb;
    border: 1px solid #ffe8cc;
    color: #FF6B00;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.results-count-text {
    font-size: 15px;
    font-weight: 800;
    color: #153A84;
}

.results-badge-tag {
    background: #f0fdf4;
    color: #166534;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Enhanced Shadows for Sidebar and Cards */
.side-bar.filter-card {
    box-shadow: 0 15px 40px rgba(11, 37, 69, 0.05) !important;
}

.uni-list-horizontal-card {
    box-shadow: 0 10px 30px rgba(11, 37, 69, 0.03) !important;
}

.uni-list-horizontal-card:hover {
    box-shadow: 0 20px 45px rgba(11, 37, 69, 0.09) !important;
}

/* Responsive Stack Rules */
@media (max-width: 767px) {
    .uni-list-horizontal-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        padding: 20px;
    }

    .uni-horizontal-media {
        width: 80px;
        height: 80px;
        min-width: 80px;
    }

    .uni-horizontal-content {
        padding: 0;
    }

    .uni-horizontal-actions {
        width: 100%;
        flex-direction: row;
    }

    .btn-horizontal-compare,
    .btn-horizontal-details {
        flex: 1;
    }
}

/* Redesigned University Page Hero Banner */
.uni-hero-section {
    background-image: url('/web-assets/images/university_header_bg.png?v=3');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    position: relative;
    padding: 25px 0;
    overflow: hidden;
    border-bottom: 1px solid #e2e8f0;
}

.uni-hero-subtitle {
    font-size: 15px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 6px;
}

.uni-hero-title {
    font-size: 44px;
    font-weight: 800;
    color: #153A84;
    margin-bottom: 12px;
}

.uni-hero-title .highlight-orange {
    color: #FF6B00;
}

.uni-hero-desc {
    font-size: 15px;
    color: #475569;
    font-weight: 500;
    max-width: 500px;
    line-height: 1.6;
}

.uni-building-svg {
    filter: drop-shadow(0 10px 15px rgba(11, 37, 69, 0.05));
    animation: floatBuilding 6s ease-in-out infinite;
}

@keyframes floatBuilding {

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

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

.uni-features-bar {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(11, 37, 69, 0.04);
    margin-top: 25px;
    padding: 12px 24px;
    position: relative;
    z-index: 10;
}

.uni-features-bar .border-end-md {
    border-right: 1px solid #e2e8f0;
}

.text-dark-blue {
    color: #153A84;
    font-size: 13.5px;
}

/* Custom Checkbox Group styling inside Sidebar */
.filter-checkbox-group .form-check-input {
    border: 1.5px solid #cbd5e1;
    width: 17px;
    height: 17px;
    border-radius: 4px;
    margin-top: 3px;
    transition: all 0.2s ease;
}

.filter-checkbox-group .form-check-input:checked {
    background-color: #153A84;
    border-color: #153A84;
}

.filter-checkbox-group .form-check-label {
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    padding-left: 4px;
    cursor: pointer;
}

/* Custom Pagination Styling */
.pagination-style-custom {
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.pagination-style-custom .page-item .page-link {
    width: 38px;
    height: 38px;
    border-radius: 8px !important;
    border: 1px solid #cbd5e1;
    color: #153A84;
    font-weight: 700;
    font-size: 13.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    transition: all 0.3s ease;
}

.pagination-style-custom .page-item.active .page-link {
    background: #153A84 !important;
    border-color: #153A84 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(11, 37, 69, 0.2);
}

.pagination-style-custom .page-item .page-link:hover:not(.active) {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #FF6B00;
}

/* Native CSS Sticky Sidebar to avoid JS scroll jumping bugs */
@media (min-width: 992px) {
    .rightSidebar {
        position: sticky !important;
        top: 110px !important;
        z-index: 10;
        height: max-content;
    }
}

/* Compact Refine Search Sidebar */
.side-bar.filter-card {
    padding: 16px !important;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.side-bar.filter-card .filter-header {
    margin-bottom: 12px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid #f1f5f9;
}

.side-bar.filter-card .filter-header h4 {
    font-size: 16px !important;
    margin: 0 !important;
    font-weight: 600;
}

.side-bar.filter-card .form-group {
    margin-bottom: 10px !important;
}

.side-bar.filter-card .filter-label {
    font-size: 12px !important;
    font-weight: 700 !important;
    margin-bottom: 4px !important;
    color: #475569 !important;
}

.side-bar.filter-card .form-control,
.side-bar.filter-card .form-select {
    height: 38px !important;
    padding: 6px 12px !important;
    font-size: 12.5px !important;
    border-radius: 8px !important;
    background-color: #f8fafc !important;
    border-color: #cbd5e1 !important;
}

/* Adjust Select2 elements for compact height & full responsive alignment */
.side-bar.filter-card .select2-container {
    width: 100% !important;
    display: block !important;
}

.side-bar.filter-card .select2-container .select2-selection--single {
    height: 38px !important;
    border-radius: 8px !important;
    border: 1px solid #cbd5e1 !important;
    background-color: #f8fafc !important;
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
}

.side-bar.filter-card .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px !important;
    font-size: 12.5px !important;
    font-weight: 600;
    color: #475569;
    padding-left: 12px !important;
    padding-right: 30px !important;
    width: 100% !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.side-bar.filter-card .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px !important;
    right: 8px !important;
}

/* Checkbox spacing */
.side-bar.filter-card .filter-checkbox-group {
    margin-bottom: 10px !important;
}

.side-bar.filter-card .form-check {
    margin-bottom: 3px !important;
}

.side-bar.filter-card .form-check-label {
    font-size: 12px !important;
}

.side-bar.filter-card .form-check-input {
    width: 14px !important;
    height: 14px !important;
    margin-top: 4px !important;
}

/* Compact Apply Button */
.side-bar.filter-card .filter-actions-wrap button {
    padding: 10px 16px !important;
    font-size: 13px !important;
    border-radius: 8px !important;
    margin-bottom: 8px !important;
}

/* ==========================================================================
   Redesigned Contact Us Page Styles
   ========================================================================== */
.contact-hero-section {
    background-image: url('/web-assets/images/university_header_bg.png?v=3');
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    padding: 60px 0;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.contact-hero-title {
    font-size: 40px;
    font-weight: 800;
    color: #153A84;
    margin-bottom: 10px;
}

.contact-hero-title .highlight-orange {
    color: #FF6B00;
}

.contact-breadcrumb {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
}

.contact-breadcrumb a {
    color: #134074;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-breadcrumb a:hover {
    color: #FF6B00;
}

/* Contact Info & Forms */
.contact-info-card,
.contact-form-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 35px;
    box-shadow: 0 10px 35px rgba(11, 37, 69, 0.03);
    transition: all 0.3s ease;
}

.contact-info-card:hover,
.contact-form-card:hover {
    box-shadow: 0 15px 45px rgba(11, 37, 69, 0.06);
}

.contact-card-title {
    font-size: 24px;
    font-weight: 800;
    color: #153A84;
    margin-bottom: 12px;
}

.contact-card-desc {
    font-size: 13.5px;
    color: #64748b;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Info Items */
.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.info-icon-box {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 10px;
    background: #fff8eb;
    border: 1px solid #ffe8cc;
    color: #FF6B00;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.contact-info-item:hover .info-icon-box {
    background: #153A84;
    border-color: #153A84;
    color: #ffffff;
    transform: translateY(-2px);
}

.info-details h5 {
    font-size: 14.5px;
    font-weight: 700;
    color: #153A84;
    margin-bottom: 4px;
}

.info-details p,
.info-details a {
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    margin: 0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.info-details a:hover {
    color: #FF6B00;
}

/* Social Card */
.contact-social-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 24px;
    box-shadow: 0 10px 35px rgba(11, 37, 69, 0.03);
}

.contact-social-card h5 {
    font-size: 14.5px;
    font-weight: 700;
    color: #153A84;
    margin-bottom: 15px;
}

.social-links-grid {
    display: flex;
    gap: 12px;
}

.social-link-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #475569;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link-btn:hover {
    background: #153A84;
    color: #ffffff;
    border-color: #153A84;
    transform: translateY(-2px);
}

/* Make Form Fields Premium */
.contact-form-card .form-control {
    height: 48px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    padding: 10px 16px;
    font-size: 13.5px;
    font-weight: 600;
    background: #f8fafc;
    transition: all 0.2s ease;
}

.contact-form-card .form-control:focus {
    border-color: #FF6B00;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(255, 179, 0, 0.1);
}

.contact-form-card textarea.form-control {
    height: 120px;
}

/* ==========================================================================
   Redesigned Blog Listing & Cards
   ========================================================================== */
.blog-tabs-wrap .nav-pills .nav-link {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #153A84;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 13.5px;
    transition: all 0.2s ease;
}

.blog-tabs-wrap .nav-pills .nav-link.active {
    background: #153A84 !important;
    border-color: #153A84 !important;
    color: #ffffff !important;
}

/* Card Outer Container with Inset Layout */
.blog-card-pro {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    padding: 12px;
    box-shadow: 0 10px 30px rgba(11, 37, 69, 0.04);
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.blog-card-pro:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(11, 37, 69, 0.08), 0 0 15px rgba(19, 64, 116, 0.05);
}

/* Inset Image */
.blog-card-img-wrap {
    width: 100%;
    height: 180px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
}

.blog-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.blog-card-pro:hover .blog-card-img-wrap img {
    transform: scale(1.05);
}

/* Ribbon Row below Image */
.blog-card-info-row {
    position: relative;
    padding: 6px 4px 6px 0;
    margin-bottom: 12px;
}

.blog-ribbon-date {
    background: #ffaf00;
    /* Denim/slate blue */
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 0 4px 4px 0;
    position: relative;
    left: -12px;
    /* Hangs over the card left edge spacing */
    box-shadow: 0 4px 8px rgba(91, 135, 168, 0.25);
}

.blog-ribbon-date::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 4px 4px 0;
    border-color: transparent #3e607b transparent transparent;
}

.blog-views-count {
    font-size: 12.5px;
    font-weight: 700;
    color: #153A84;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.blog-views-count i {
    font-size: 14px;
}

/* Card Body Section */
.blog-card-body-custom {
    padding: 0 8px 8px 8px;
}

.blog-card-title-custom {
    font-size: 17px;
    font-weight: 800;
    line-height: 1.4;
    margin-bottom: 8px;
}

.blog-card-title-custom a {
    color: #153A84;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card-title-custom a:hover {
    color: #FF6B00;
}

.blog-card-desc-custom {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 14px;
    font-weight: 500;
}

.blog-card-action-custom a {
    font-size: 13px;
    font-weight: 700;
    color: #134074;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
}

.blog-card-action-custom a:hover {
    color: #FF6B00;
}

/* ==========================================================================
   Redesigned Blog Details Page Styles
   ========================================================================== */
.blog-details-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(11, 37, 69, 0.03);
}

.blog-details-media {
    width: 100%;
    max-height: 400px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}

.blog-details-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-details-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.blog-details-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.blog-details-meta .meta-item {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.blog-details-meta .meta-item i {
    color: #FF6B00;
    font-size: 15px;
}

.blog-details-title {
    font-size: 28px;
    font-weight: 800;
    color: #153A84;
    line-height: 1.35;
}

.blog-details-content {
    font-size: 15px;
    line-height: 1.7;
    color: #334155;
}

.blog-details-content p {
    margin-bottom: 20px;
}

/* FAQ Card */
.blog-faq-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(11, 37, 69, 0.03);
}

.faq-card-title {
    font-size: 20px;
    font-weight: 800;
    color: #153A84;
    display: flex;
    align-items: center;
    gap: 8px;
}

.faq-card-title i {
    color: #FF6B00;
}

/* Sidebar Recent Posts Widget */
.recent-posts-list {
    display: flex;
    flex-direction: column;
}

.recent-post-item {
    transition: all 0.2s ease;
}

.recent-post-item:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.recent-post-thumb {
    width: 70px;
    height: 70px;
    min-width: 70px;
    border-radius: 8px;
    overflow: hidden;
}

.recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-title-link a {
    color: #153A84;
    transition: color 0.2s ease;
}

.post-title-link a:hover {
    color: #FF6B00;
}

/* Styled Dropdowns for MBBS Abroad */
.abroad-flag-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fff8eb;
    border: 1px solid #ffe8cc;
    color: #FF6B00;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    transition: all 0.3s ease;
}

.dropdown-item:hover .abroad-flag-icon {
    background: #153A84;
    border-color: #153A84;
    color: #ffffff;
}

/* ==========================================================================
   Redesigned University Details Page
   ========================================================================== */
.uni-details-hero-section {
    background-image: url('/web-assets/images/university_header_bg.png?v=3') !important;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    position: relative;
    padding: 50px 0;
    border-bottom: 1px solid #e2e8f0;
}

.uni-details-title {
    font-size: 34px;
    font-weight: 600;
    color: #153A84;
    line-height: 1.25;
}

.uni-details-loc {
    font-size: 14.5px;
    font-weight: 600;
    color: #475569;
}

.uni-details-loc i {
    color: #FF6B00;
    margin-right: 4px;
}

/* Premium Button Improvements */
.btn-uni-brochure {
    border: 2px solid #153A84 !important;
    color: #153A84 !important;
    background: transparent !important;
    font-size: 14px !important;
    transition: all 0.3s ease !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-uni-brochure:hover {
    background: var(--brand-white) !important;
    color: var(--brand-blue) !important;
    border: 2px solid var(--brand-blue) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 37, 69, 0.1);
}

.btn-uni-counselling {
    background: #FF6B00 !important;
    border: none !important;
    color: #ffffff !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    box-shadow: 0 4px 14px rgba(255, 179, 0, 0.3) !important;
    transition: all 0.3s ease !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-uni-counselling:hover {
    background: var(--brand-white) !important;
    color: var(--brand-yellow) !important;
    border: 1px solid var(--brand-yellow) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 179, 0, 0.18);
}

.approval-badge-pro {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    color: #153A84;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.approval-badge-pro img {
    height: 16px;
    object-fit: contain;
}

.uni-details-desc {
    font-size: 14px;
    line-height: 1.6;
    max-width: 750px;
    color: #475569 !important;
}

.uni-info-tag-pro {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
}

.uni-info-tag-pro.established {
    background: #FF6B00;
}

.uni-info-tag-pro.type {
    background: #134074;
}

.uni-info-tag-pro.beds {
    background: #10b981;
}

/* Logo card */
.uni-logo-card-pro {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    width: 130px;
    height: 130px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.uni-logo-card-pro img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Sidebar Exploration Nav List */
.explore-nav-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.explore-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: none !important;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.explore-nav-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: #FF6B00;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.explore-nav-link:hover {
    background: #fffbeb;
    color: #153A84;
    transform: translateX(5px);
    border-color: #ffe8cc;
}

.explore-nav-link.active {
    background: #fffbeb;
    color: #153A84;
    border-color: #ffe8cc;
}

.explore-nav-link.active::before {
    transform: scaleY(1);
}

.explore-nav-link i {
    font-size: 18px;
    color: #FF6B00;
    transition: transform 0.3s ease;
}

.explore-nav-link:hover i {
    transform: scale(1.1);
}

/* Detail Cards */
.uni-detail-card-wrapper {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 30px;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(11, 37, 69, 0.02);
}

.uni-detail-card-title {
    font-size: 20px;
    font-weight: 550 !important;
    color: #153A84;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 12px;
    margin-bottom: 18px;
}

.uni-detail-card-content {
    font-size: 14.5px;
    line-height: 1.7;
    color: #334155;
}

/* Course cards inside details */
.uni-course-card-pro {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.uni-course-card-pro:hover {
    background: #ffffff;
    border-color: #FF6B00;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(11, 37, 69, 0.05);
}

.uni-course-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    margin-bottom: 12px;
}

.uni-course-icon-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.uni-course-name {
    font-size: 14px;
    font-weight: 800;
    color: #153A84;
    line-height: 1.35;
}

/* ==========================================================================
   Redesigned Study Abroad Details Page Styles
   ========================================================================== */
.study-abroad-hero-section {
    background-image: url('/web-assets/images/university_header_bg.png?v=3') !important;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    position: relative;
    padding: 50px 0;
    border-bottom: 1px solid #e2e8f0;
}

.badge-study-pro {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff8eb;
    border: 1px solid #ffe8cc;
    color: #FF6B00;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
}

.study-title-pro {
    font-size: 34px;
    font-weight: 600;
    color: #153A84;
    line-height: 1.25;
}

.study-meta-pro {
    display: flex;
    gap: 15px;
    font-size: 13px;
    font-weight: 600;
}

.study-details-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(11, 37, 69, 0.03);
}

.study-details-media {
    width: 100%;
    max-height: 380px;
    border-radius: 12px;
    overflow: hidden;
}

.study-details-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.study-article-title {
    font-size: 24px;
    font-weight: 600;
    color: #153A84;
}

.study-highlight-quote {
    border-left: 4px solid #FF6B00;
    padding: 16px 20px;
    border-radius: 0 12px 12px 0;
    position: relative;
}

.study-highlight-quote .quote-icon {
    font-size: 24px;
    color: #FF6B00;
    opacity: 0.15;
    position: absolute;
    right: 15px;
    top: 10px;
}

.study-highlight-quote p {
    font-size: 14.5px;
    font-style: italic;
    color: #475569;
    line-height: 1.5;
    font-weight: 600;
}

.study-details-content {
    font-size: 15px;
    line-height: 1.7;
    color: #334155;
}

/* Featured Universities Widget */
.featured-uni-item {
    transition: all 0.2s ease;
}

.featured-uni-item:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.featured-uni-logo {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.featured-uni-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.featured-uni-action i {
    transition: transform 0.2s ease;
}

.featured-uni-item:hover .featured-uni-action i {
    transform: translate(2px, -2px);
}

/* Force override background colors on dynamically rendered article text/paragraphs */
.study-details-content p,
.uni-detail-card-content p,
.blog-details-content p,
.study-highlight-quote p {
    background: transparent !important;
    background-color: transparent !important;
}

/* Footer bottom legal links hover color states */
.footer-legal-links a:hover {
    color: #FF6B00 !important;
}

/* Tab button normalization for explore-nav-link */
/* Tab button normalization for explore-nav-link */
button.explore-nav-link {
    text-align: left;
    width: 100%;
    outline: none !important;
    box-shadow: none !important;
}

/* ==========================================================================
   Floating Comparison Bar Redesign & Minimize Badge
   ========================================================================== */
.compare-drawer-pro {
    background: #ffffff !important;
    transition: transform 0.3s ease-in-out !important;
    z-index: 1045 !important;
}

.compare-item-card {
    height: 64px;
    border: 1px solid #cbd5e1 !important;
    transition: all 0.2s ease;
}

.compare-item-card:hover {
    border-color: #FF6B00 !important;
    box-shadow: 0 4px 12px rgba(11, 37, 69, 0.05) !important;
}

.compare-item-logo {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.compare-item-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.compare-item-details {
    display: flex;
    flex-direction: column;
}

.compare-item-name {
    font-size: 12.5px;
    font-weight: 700;
    color: #153A84;
}

.compare-item-fees {
    font-size: 11px;
    font-weight: 600;
    color: #FF6B00;
}

.compare-remove-btn {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ef4444;
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: background 0.2s ease;
    z-index: 2;
}

.compare-remove-btn:hover {
    background: #dc2626;
}

.compare-item-placeholder {
    height: 64px;
    border: 1px dashed #cbd5e1 !important;
}

/* Floating Minimized Badge */
.compare-floating-badge {
    position: fixed;
    bottom: 80px;
    right: 30px;
    background: #FF6B00;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(255, 179, 0, 0.4);
    z-index: 1050;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 2px solid #ffffff;
    animation: badgePulse 2s infinite;
}

.compare-floating-badge:hover {
    transform: translateY(-3px) scale(1.05);
    background: #E05A00;
    box-shadow: 0 12px 30px rgba(255, 179, 0, 0.6);
}

@keyframes badgePulse {
    0% {
        box-shadow: 0 8px 24px rgba(255, 179, 0, 0.4);
    }

    50% {
        box-shadow: 0 8px 24px rgba(255, 179, 0, 0.7);
    }

    100% {
        box-shadow: 0 8px 24px rgba(255, 179, 0, 0.4);
    }
}

/* ==========================================
   Responsive Header Navigation (Side Drawer)
   ========================================== */
@media (max-width: 991px) {

    /* Hide top bar on mobile */
    .top-bar-custom {
        display: none !important;
    }

    /* Fixed drawer container */
    .header-style-redesign.mobile-sider-drawer-menu .header-nav {
        position: fixed !important;
        width: 280px !important;
        z-index: 99999 !important;
        height: 100vh !important;
        overflow-y: auto !important;
        left: -280px !important;
        top: 0px !important;
        background-color: #ffffff !important;
        box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1) !important;
        padding: 30px 20px !important;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
        display: block !important;
    }

    /* When the drawer is active */
    .header-style-redesign.mobile-sider-drawer-menu.active .header-nav {
        left: 0 !important;
    }

    /* Align mobile menu toggle icon to the right side */
    .site-header .main-bar .container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
    }

    #mobile-side-drawer {
        display: block !important;
        order: 3 !important;
        margin-left: auto !important;
        background: transparent !important;
        border: none !important;
        padding: 8px !important;
        z-index: 100000 !important;
    }

    .extra-nav {
        order: 2 !important;
        margin-left: 15px !important;
    }

    .logo-header {
        order: 1 !important;
    }

    /* Backdrop overlay when active */
    .mobile-menu-backdrop {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background-color: rgba(11, 37, 73, 0.4) !important;
        backdrop-filter: blur(4px) !important;
        z-index: 99998 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transition: all 0.3s ease !important;
    }

    .header-style-redesign.mobile-sider-drawer-menu.active .mobile-menu-backdrop {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }



    /* Vertical stack for nav links inside drawer */
    .header-style-redesign.mobile-sider-drawer-menu .navbar-nav {
        flex-direction: column !important;
        align-items: flex-start !important;
        width: 100% !important;
        margin-top: 30px !important;
        padding: 0 !important;
    }

    .header-style-redesign.mobile-sider-drawer-menu .navbar-nav>li {
        width: 100% !important;
        float: none !important;
        padding: 0 !important;
        margin: 0 !important;
        border-bottom: 1px solid #f1f5f9 !important;
        position: relative !important;
    }

    .header-style-redesign.mobile-sider-drawer-menu .navbar-nav>li>a {
        display: block !important;
        width: 100% !important;
        padding: 14px 20px 14px 0 !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        color: var(--brand-text-dark) !important;
        text-align: left !important;
    }

    .header-style-redesign.mobile-sider-drawer-menu .navbar-nav>li.active>a {
        color: var(--brand-yellow) !important;
    }

    /* Mobile accordion dropdowns */
    .header-style-redesign.mobile-sider-drawer-menu .navbar-nav .dropdown-menu {
        position: static !important;
        float: none !important;
        box-shadow: none !important;
        border: none !important;
        padding: 0 0 10px 15px !important;
        margin: 0 !important;
        width: 100% !important;
        min-width: 100% !important;
        background: #f8fafc !important;
        display: none;
        /* Slide toggle handles visibility */
        border-radius: 8px !important;
        transform: none !important;
    }

    .header-style-redesign.mobile-sider-drawer-menu .navbar-nav .dropdown-menu.show {
        display: block;
    }

    .header-style-redesign.mobile-sider-drawer-menu .navbar-nav .dropdown-item {
        padding: 8px 10px !important;
        font-size: 14px !important;
        font-weight: 500 !important;
        color: var(--brand-text-dark) !important;
        white-space: normal !important;
        border-radius: 6px !important;
    }

    .header-style-redesign.mobile-sider-drawer-menu .navbar-nav .dropdown-item:hover {
        background-color: var(--brand-light-blue) !important;
        color: var(--brand-yellow) !important;
    }

    /* Submenu caret toggles */
    .header-style-redesign .has-child .submenu-toogle {
        position: absolute !important;
        right: 0 !important;
        top: 6px !important;
        width: 40px !important;
        height: 40px !important;
        text-align: center !important;
        line-height: 40px !important;
        font-size: 16px !important;
        color: var(--brand-text-dark) !important;
        cursor: pointer !important;
        z-index: 10 !important;
        transition: all 0.3s ease !important;
        display: block !important;
    }

    .header-style-redesign .has-child.nav-active>.submenu-toogle {
        transform: rotate(90deg) !important;
        color: var(--brand-yellow) !important;
    }

    /* Hamburger icon transition effects */
    .header-style-redesign.mobile-sider-drawer-menu .icon-bar {
        transition: all 0.3s ease-in-out !important;
        transform-origin: center !important;
    }

    .header-style-redesign.mobile-sider-drawer-menu.active .icon-bar.icon-bar-first {
        transform: translateY(6px) rotate(45deg) !important;
        background-color: var(--brand-yellow) !important;
    }

    .header-style-redesign.mobile-sider-drawer-menu.active .icon-bar.icon-bar-three {
        transform: translateY(-6px) rotate(-45deg) !important;
        background-color: var(--brand-yellow) !important;
    }

    .header-style-redesign.mobile-sider-drawer-menu.active .icon-bar.icon-bar-two {
        opacity: 0 !important;
        transform: scale(0) !important;
    }
}

@media (min-width: 992px) {
    .header-style-redesign .has-child .submenu-toogle {
        display: none !important;
    }
}

/* ==========================================
   Welcome & Home Page Layout Tweaks
   ========================================== */
@media (max-width: 768px) {
    .categories-mini-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
}

@media (max-width: 576px) {
    .hero-title-main {
        font-size: 32px !important;
        line-height: 1.2 !important;
    }

    .hero-description {
        font-size: 14px !important;
        margin-bottom: 25px !important;
    }

    .quick-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        margin-top: 30px !important;
    }

    .search-row-form {
        flex-direction: column !important;
        gap: 12px !important;
    }

    .btn-search-submit {
        width: 100% !important;
        border-radius: 8px !important;
    }
}

@media (max-width: 480px) {
    .mini-counter-num {
        font-size: 18px !important;
    }

    .mini-counter-label {
        font-size: 10px !important;
    }
}

@media (max-width: 991px) {
    .study-details-card {
        margin-bottom: 30px !important;
    }
}

/* ================================================
   ASYNCHRONOUS SEARCH DROPDOWN STYLING
   ================================================ */
.search-results-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    max-height: 380px;
    overflow-y: auto;
    background: var(--brand-white) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(27, 65, 170, 0.15) !important;
    box-shadow: 0 15px 35px rgba(20, 46, 136, 0.25) !important;
    z-index: 1050;
    display: none;
    padding: 10px 0;
}

/* Custom Scrollbar for results */
.search-results-dropdown::-webkit-scrollbar {
    width: 6px;
}

.search-results-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.search-results-dropdown::-webkit-scrollbar-thumb {
    background: rgba(27, 65, 170, 0.2);
    border-radius: 3px;
}

.search-results-dropdown::-webkit-scrollbar-thumb:hover {
    background: rgba(27, 65, 170, 0.4);
}

/* Category header */
.search-category-header {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--brand-blue);
    padding: 12px 18px 6px 18px;
    border-bottom: 1px solid rgba(27, 65, 170, 0.08);
    background: #F8FAFF;
    display: flex;
    align-items: center;
    gap: 6px;
}

.search-category-header i {
    color: var(--brand-yellow);
    font-size: 14px;
}

/* Dropdown individual item */
.search-result-item {
    display: flex;
    flex-direction: column;
    padding: 10px 18px;
    color: var(--brand-text-dark) !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    transition: var(--transition-smooth);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background-color: var(--brand-light-blue) !important;
    padding-left: 22px;
}

.search-result-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 2px;
    color: var(--brand-blue);
    transition: var(--transition-smooth);
}

.search-result-item:hover .search-result-title {
    color: var(--brand-yellow);
}

.search-result-subtitle {
    font-size: 12px;
    color: var(--brand-text-muted);
}

/* Status / Empty / Loading items */
.search-status-item {
    padding: 18px;
    text-align: center;
    color: var(--brand-text-muted);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.search-status-item i {
    font-size: 20px;
    color: var(--brand-blue);
    display: inline-block;
}

/* Loader Spin Animation */
@keyframes rotateLoader {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.rotate-anime {
    animation: rotateLoader 1s linear infinite;
}

/* ================================================
   MEGA DROPDOWN HOVER LIST STYLES
   ================================================ */
.hover-link {
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.hover-link:hover {
    background-color: var(--brand-light-blue) !important;
    color: var(--brand-yellow) !important;
    padding-left: 12px !important;
    border-color: rgba(27, 65, 170, 0.08) !important;
}

.mega-dropdown-item {
    transition: var(--transition-smooth) !important;
}

.mega-dropdown-item.active,
.mega-dropdown-item:hover {
    background-color: var(--brand-light-blue) !important;
    color: var(--brand-yellow) !important;
    padding-left: 18px !important;
}

.mega-dropdown-item.active i,
.mega-dropdown-item:hover i {
    color: var(--brand-yellow) !important;
}

.mega-dropdown-detail::-webkit-scrollbar {
    width: 5px;
}

.mega-dropdown-detail::-webkit-scrollbar-track {
    background: transparent;
}

.mega-dropdown-detail::-webkit-scrollbar-thumb {
    background: rgba(27, 65, 170, 0.15);
    border-radius: 4px;
}

.mega-dropdown-detail::-webkit-scrollbar-thumb:hover {
    background: rgba(27, 65, 170, 0.3);
}

/* ================================================
   MOBILE RESPONSIVE GRID LAYOUT ADJUSTMENTS
   ================================================ */
@media (max-width: 991px) {

    /* 4. Our Services section cards: 2 in a row */
    .services-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }

    .service-card {
        padding: 22px 16px !important;
    }
}

@media (max-width: 767px) {

    /* 1. Screen Achievements counters: 2 in a row */
    .achievements-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }

    /* 2. Banner mini-counters: 3 in a row */
    .mini-counters-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }

    .mini-counter-item {
        padding: 12px 4px !important;
        border-radius: 8px !important;
    }

    .mini-counter-num {
        font-size: 18px !important;
    }

    .mini-counter-label {
        font-size: 10px !important;
    }

    /* 3. Banner quick cards: 2 in a row */
    .quick-cards-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        margin-top: 18px !important;
    }

    /* Pull Search & Stats card closer to left column content on mobile stack */
    .hero-search-card-outer {
        margin-top: 20px !important;
    }

    /* 5. Top countries list: 3 in a row */
    .countries-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px !important;
    }

    .country-card {
        padding: 12px 6px !important;
        text-align: center !important;
    }

    .country-name {
        font-size: 11px !important;
        margin-top: 4px !important;
    }

    /* 6. Top university list: 1 in a row */
    .universities-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .uni-card {
        margin-bottom: 0 !important;
    }

    /* Section Title mobile font adjustment */
    .section-title {
        font-size: 24px !important;
        line-height: 1.35 !important;
        margin-bottom: 16px !important;
    }
}

/* Hardened support for extra small mobile viewport widths */
@media (max-width: 480px) {
    .countries-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }

    .quick-cards-grid,
    .achievements-grid,
    .services-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .mini-counters-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

/* ================================================
   MODERN HEADER ACTION BUTTONS
   ================================================ */
.login-header-btn {
    border: 2px solid var(--brand-blue) !important;
    color: var(--brand-blue) !important;
    background: transparent !important;
    border-radius: 8px !important;
    padding: 8px 20px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    display: inline-flex;
    align-items: center !important;
    gap: 6px !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.login-header-btn:hover {
    background-color: var(--brand-blue) !important;
    color: var(--brand-white) !important;
    box-shadow: 0 4px 12px rgba(27, 65, 170, 0.2) !important;
    transform: translateY(-1px) !important;
}

.dashboard-header-btn {
    border: 2px solid var(--brand-blue) !important;
    background-color: var(--brand-blue) !important;
    color: var(--brand-white) !important;
    border-radius: 8px !important;
    padding: 8px 20px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    display: inline-flex;
    align-items: center !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.dashboard-header-btn:hover {
    background-color: #153488 !important;
    border-color: #153488 !important;
    box-shadow: 0 4px 12px rgba(27, 65, 170, 0.2) !important;
    transform: translateY(-1px) !important;
}

.logout-header-btn {
    border: 2px solid #dc3545 !important;
    color: #dc3545 !important;
    background: transparent !important;
    border-radius: 8px !important;
    padding: 8px 20px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    display: inline-flex;
    align-items: center !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.logout-header-btn:hover {
    background-color: #dc3545 !important;
    color: var(--brand-white) !important;
    transform: translateY(-1px) !important;
}

/* ================================================
   1. GLASSMORPHISM NAVBAR EFFECT ON SCROLL
   ================================================ */
.site-header.sticky-top {
    transition: background 0.4s ease, backdrop-filter 0.4s ease, -webkit-backdrop-filter 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, padding 0.3s ease !important;
}

.site-header.sticky-top.navbar-glassmorphism,
.site-header.sticky-top.is-scrolled {
    background: rgba(255, 255, 255, 0.82) !important;
    -webkit-backdrop-filter: blur(16px) saturate(180%) !important;
    backdrop-filter: blur(16px) saturate(180%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 10px 30px rgba(15, 30, 70, 0.08), 0 1px 0 rgba(255, 255, 255, 0.7) inset !important;
}

.site-header.sticky-top.navbar-glassmorphism .logo-header img {
    max-height: 52px !important;
    transition: max-height 0.3s ease;
}

/* ================================================
   2. NEUMORPHISM CARDS EFFECT ON LANDING PAGE & MODULES
   Soft dual-shadow tactile 3D embossed styling
   ================================================ */
.country-card,
.service-card-redesign,
.quick-card-item,
.uni-card,
.sector-card-redesign,
.mini-counter-item,
.testimonial-card-redesign,
.step-card-redesign,
.counseling-card,
.card-neumorphic {
    background: #f8fafc !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    box-shadow: 
        8px 8px 18px rgba(166, 180, 200, 0.25),
        -8px -8px 18px rgba(255, 255, 255, 0.95) !important;
    transition: all 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) !important;
}

/* Fix text colors inside Neumorphic cards so all titles & numbers are 100% visible */
.quick-card-item .quick-card-title,
.country-card .country-name {
    color: #142E88 !important;
    font-weight: 700 !important;
}

.mini-counter-item .mini-counter-num {
    color: #FF5C00 !important;
    font-weight: 800 !important;
}

.mini-counter-item .mini-counter-label {
    color: #1e293b !important;
    font-weight: 700 !important;
}

.service-card-redesign h4,
.service-card-redesign h5,
.service-card-redesign p,
.uni-card h5,
.uni-card h6,
.uni-card p,
.uni-card span,
.sector-card-redesign h4,
.sector-card-redesign p,
.step-card-redesign h5,
.step-card-redesign p,
.testimonial-card-redesign p,
.counseling-card h5,
.counseling-card p {
    color: #1e293b !important;
}

/* Hover Neumorphic Elevation & Glow */
.country-card:hover,
.service-card-redesign:hover,
.quick-card-item:hover,
.uni-card:hover,
.sector-card-redesign:hover,
.mini-counter-item:hover,
.testimonial-card-redesign:hover,
.step-card-redesign:hover,
.counseling-card:hover,
.card-neumorphic:hover {
    background: #ffffff !important;
    transform: translateY(-4px) scale(1.01) !important;
    box-shadow: 
        12px 12px 26px rgba(166, 180, 200, 0.35),
        -12px -12px 26px rgba(255, 255, 255, 1),
        0 8px 24px rgba(27, 65, 170, 0.08) !important;
}

/* Neumorphic Pressed / Active State */
.country-card:active,
.quick-card-item:active,
.service-card-redesign:active,
.card-neumorphic:active {
    box-shadow: 
        inset 4px 4px 10px rgba(166, 180, 200, 0.3),
        inset -4px -4px 10px rgba(255, 255, 255, 0.9) !important;
    transform: translateY(0) !important;
}