:root {
    --bs-primary: #11234b;
    --bs-primary-rgb: 17, 35, 75;
    --bs-secondary: #006971;
    --action-orange: #D4A24C;
    --surface-light: #F8FAFC;
    --background-main: #ebfdff;
    --primary-container: #0064ac;
    --text-main: #1E293B;
    --surface-container: #c9f6fc;
}

body {
    font-family: 'Source Sans 3', sans-serif;
    color: var(--text-main);
    background-color: var(--surface-light);
}

h1,
h2,
h3,
h4,
.headline-font {
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
}

.bg-primary-custom {
    background-color: var(--bs-primary);
}

.bg-primary-container {
    background-color: var(--primary-container);
}

.bg-background-custom {
    background-color: var(--background-main);
}

.text-primary-custom {
    color: var(--bs-primary);
}

.text-secondary-fixed {
    color: #86f3ff;
}

.btn-action-orange {
    background: linear-gradient(45deg, #AE8625, #d8d164, #D2AC47, #EDC967);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    padding: 0.6rem 1.5rem;
}

.btn-action-orange:hover {
    background: linear-gradient(135deg, #E6C16A 0%, #D4A24C 35%, #B9832D 70%, #8E6224 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
}

/* Marquee Animation */
.scrolling-text-container {
    overflow: hidden;
    white-space: nowrap;
}

.scrolling-text {
    display: inline-block;
    animation: scroll-left 25s linear infinite;
}

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

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

/* Custom Top Bar Gradient & Styles */
.bg-top-bar-gradient {
    background: #11234b !important;
    /*background: linear-gradient(90deg, #142B5F 0%, #1B376F 100%) !important;*/
}

.top-bar-btn {
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #ffffff !important;
    border-radius: 50px;
    font-weight: 600;
    font-size: 12px;
    padding: 4px 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.top-bar-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    transform: translateY(-1px);
}

.scrolling-text {
    font-weight: 500;
    font-size: 13px;
}

/* Header Styles */
.navbar {
    background-color: white !important;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.1rem 0;
}

.navbar .container {
    position: relative;
}

/* Explore Button next to Logo */
.btn-explore {
    background-color: #007bbd;
    color: #ffffff !important;
    border: 1.5px solid transparent;
    /* Keep border constant to prevent layout shifts */
    border-radius: 50px;
    font-weight: 600;
    font-size: 13px;
    padding: 6px 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(0, 123, 189, 0.15);
    transition: all 0.2s ease;
}

.btn-explore:hover,
.btn-explore:focus,
.btn-explore:active {
    background-color: #0069a3;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0, 123, 189, 0.25);
}

/* Navigation Links */
.navbar-nav .nav-link {
    font-family: 'Work Sans', sans-serif;
    font-size: 15px;
    /* Reduced to avoid breaking/wrapping words */
    font-weight: 600;
    color: #475569 !important;
    /* Slate 600 */
    padding: 0.5rem 0.70rem !important;
    /* Tighter padding to prevent wrap */
    display: inline-flex;
    align-items: center;
    gap: 2px;
    transition: color 0.2s ease;
    white-space: nowrap !important;
    /* Force single line to never break */
}

.navbar-nav .nav-link:hover {
    color: #007bbd !important;
}

/* Override Bootstrap caret */
.navbar-nav .dropdown-toggle::after {
    display: none !important;
}

/* Custom down chevron */
.nav-chevron {
    font-size: 13px !important;
    color: #94a3b8;
    /* Slate 400 */
    margin-left: 1px;
    vertical-align: middle;
}

.navbar-nav .nav-link:hover .nav-chevron {
    color: #007bbd;
}

/* Grid icon for Discover */
.nav-discover-icon {
    font-size: 16px !important;
    color: #475569;
}

.navbar-nav .nav-link:hover .nav-discover-icon {
    color: #007bbd;
}

/* Dropdown styling */
.navbar .dropdown-menu {
    border-radius: 8px;
    border: 1px solid #f1f5f9;
    padding: 0.5rem;
    margin-top: 2px !important;
    /* Reduce vertical gap between trigger and dropdown */
}

/* Invisible hover bridge to prevent dropdown from disappearing when moving mouse from button to menu */
.navbar .dropdown-menu::after {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    right: 0;
    height: 15px;
    background: transparent;
    z-index: -1;
}

.navbar .dropdown-item {
    font-family: 'Work Sans', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    transition: background-color 0.2s, color 0.2s;
}

.navbar .dropdown-item:hover {
    background-color: #f1f5f9;
    color: #007bbd;
}

/* Reusable Country Grid Dropdown styles */
.navbar .dropdown-menu.country-grid-menu {
    min-width: 400px;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #cbd5e1;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    background-color: #ffffff;
    overflow: visible !important;
    /* Make sure arrow pseudo-element is visible */
}

/* Arrow indicator on top of the menu */
.navbar .dropdown-menu.arrow-top::before {
    content: '';
    position: absolute;
    top: -7px;
    width: 14px;
    height: 14px;
    background-color: #ffffff;
    border-top: 1px solid #cbd5e1;
    border-left: 1px solid #cbd5e1;
    transform: rotate(45deg);
    z-index: 1;
}

/* Specific positionings for dropdown arrows and offsets */
#menu-mbbs-abroad {
    left: 50% !important;
    transform: translateX(-30%) !important;
}

#menu-mbbs-abroad::before {
    left: 30% !important;
}

#menu-mbbs-india {
    left: 50% !important;
    transform: translateX(-40%) !important;
}

#menu-mbbs-india::before {
    left: 40% !important;
}

#menu-study-abroad {
    left: 50% !important;
    transform: translateX(-50%) !important;
}

#menu-study-abroad::before {
    left: 50% !important;
}

#menu-discover {
    left: auto !important;
    right: 0 !important;
    transform: none !important;
}

#menu-discover::before {
    left: auto !important;
    right: 40px !important;
}

/* Explore Dropdown Top Arrow positioning & background */
#menu-explore::before {
    left: 140px !important;
    background-color: #f3f6f9 !important;
    /* Matches left sidebar background */
    border-top: 1px solid #cbd5e1 !important;
    border-left: 1px solid #cbd5e1 !important;
}

/* NEET PG 2026 Dropdown Top Arrow positioning & background */
#menu-neet-pg::before {
    left: auto !important;
    right: 417px !important;
    background-color: #007bbd !important;
    /* Blends with 3px blue border-top */
    border-color: #007bbd !important;
}

/* NEET UG 2026 Dropdown Top Arrow positioning & background */
#menu-neet-ug::before {
    left: auto !important;
    right: 302px !important;
    background-color: #007bbd !important;
    /* Blends with 3px blue border-top */
    border-color: #007bbd !important;
}

/* Gallery Dropdown position and Top Arrow positioning */
#menu-gallery {
    left: 50% !important;
    transform: translateX(-50%) !important;
    min-width: 180px;
}

#menu-gallery::before {
    left: 50% !important;
}

/* 3-Column Country Grid */
.country-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    position: relative;
    z-index: 2;
    /* Render grid items above arrow */
}

/* Individual Card Styling inside dropdown */
.country-card-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    color: #475569 !important;
    font-size: 12.5px;
    font-weight: 600;
    transition: all 0.2s ease;
    background-color: #ffffff;
}

.country-card-item:hover {
    border-color: #007bbd;
    background-color: #f8fafc;
    color: #007bbd !important;
}

/* Selected active country styling */
.country-card-item.active-country {
    background-color: #e6f0fa;
    border-color: #007bbd;
    color: #007bbd !important;
}

.country-card-item .flag {
    font-size: 15px;
    margin-right: 8px;
    display: inline-block;
}

.country-card-item .chevron-r {
    margin-left: auto;
    font-size: 13px !important;
    color: #94a3b8;
    transition: transform 0.2s ease;
}

.country-card-item:hover .chevron-r {
    color: #007bbd;
    transform: translateX(2px);
}

/* Mega Dropdown menu specific styling */
.navbar .dropdown-menu.mega-menu {
    position: absolute;
    width: 100%;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 1000;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 0;
    overflow: hidden;
}

.bg-light-sidebar {
    background-color: #f3f6f9;
}

.sidebar-link {
    display: flex;
    align-items: center;
    padding: 8px 14px;
    font-size: 12.5px;
    font-weight: 600;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 6px;
    margin: 4px 10px;
}

.sidebar-link:hover {
    background-color: #e2e8f0;
    color: #0059b3;
}

.sidebar-link.active-blue {
    background-color: #0059b3;
    color: #ffffff !important;
}

.sidebar-link.active-blue:hover {
    background-color: #004c99;
}

.sidebar-link.active-sub {
    background-color: #e6f0fa;
    color: #0059b3 !important;
    font-weight: 700;
}

.sidebar-sub-menu {
    display: flex;
    flex-direction: column;
    padding-left: 10px;
}

.sidebar-link .sidebar-chevron {
    transition: transform 0.2s ease;
}

.sidebar-link.collapsed .sidebar-chevron {
    transform: rotate(-90deg);
    /* points right when collapsed */
}

.sidebar-link:not(.collapsed) .sidebar-chevron {
    transform: rotate(0deg);
    /* points down when expanded */
}

.sidebar-flag {
    font-size: 15px;
    margin-right: 8px;
    display: inline-block;
}

.sidebar-chevron {
    margin-left: auto;
    font-size: 15px !important;
}

.mega-menu-title {
    font-size: 11px;
    font-weight: 700;
    color: #004c84;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    padding-bottom: 4px;
    border-bottom: 1px solid #e2e8f0;
}

.mega-menu-list {
    list-style: none;
    padding: 0;
    margin: 0 0 18px 0;
}

.mega-menu-list li {
    margin-bottom: 0;
}

.mega-menu-list a {
    display: block;
    font-size: 12.5px;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    padding: 5px 0;
    border-bottom: 1px solid #f8fafc;
    transition: all 0.2s ease;
}

.mega-menu-list a:hover {
    color: #007bbd;
    padding-left: 4px;
    border-bottom-color: #e2e8f0;
}

/* Exam Mega Dropdown menu specific styling */
.navbar .dropdown-menu.exam-mega-menu {
    position: absolute;
    width: 100%;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 1000;
    border-radius: 0 0 12px 12px;
    border: 1px solid #cbd5e1;
    border-top: 3px solid #007bbd !important;
    /* Blue top accent line */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    padding: 0;
    overflow: hidden;
    background-color: #ffffff;
}

.exam-menu-title {
    font-size: 11px;
    font-weight: 700;
    color: #0059b3 !important;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid #e2e8f0;
}

.exam-menu-title .material-symbols-outlined {
    font-size: 16px !important;
    color: #0059b3;
}

.exam-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.exam-links-list li {
    margin-bottom: 2px;
}

.exam-links-list a {
    display: flex;
    align-items: center;
    font-size: 12.5px;
    font-weight: 500;
    color: #475569 !important;
    text-decoration: none;
    padding: 4px 0;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f8fafc;
}

.exam-links-list a:hover {
    color: #007bbd !important;
    padding-left: 3px;
    border-bottom-color: #e2e8f0;
}

.exam-links-list a.active-link {
    color: #0059b3 !important;
    font-weight: 700;
}

/* Hover dropdown behaviors for desktop viewports */
@media (min-width: 992px) {

    /* Show dropdown menu on hover */
    .navbar .dropdown:hover>.dropdown-menu {
        display: block !important;
        margin-top: 0 !important;
    }

    /* Keep hover state menu visible when transitioning mouse */
    .navbar .dropdown-menu {
        margin-top: 0;
    }

    /* Transform Explore button to white with blue text when dropdown is shown or button is active/clicked */
    .navbar .dropdown:hover>.btn-explore,
    .btn-explore.show,
    .btn-explore:active {
        background-color: #ffffff !important;
        color: #007bbd !important;
        border-color: #007bbd !important;
        box-shadow: 0 6px 16px rgba(0, 123, 189, 0.1) !important;
    }

    /* Make text/icons inside Explore button transition to blue */
    .navbar .dropdown:hover>.btn-explore .material-symbols-outlined,
    .btn-explore.show .material-symbols-outlined,
    .btn-explore:active .material-symbols-outlined {
        color: #007bbd !important;
    }

    /* Smooth transition for explore button chevron */
    .btn-explore .material-symbols-outlined:last-child {
        transition: transform 0.2s ease;
    }

    /* Rotate the chevron to point up when active/hovered */
    .navbar .dropdown:hover>.btn-explore .material-symbols-outlined:last-child,
    .btn-explore.show .material-symbols-outlined:last-child,
    .btn-explore:active .material-symbols-outlined:last-child {
        transform: rotate(180deg);
    }
}

/* Test Prep Dropdown specific styles */
#menu-test-prep {
    min-width: 520px;
    padding: 0;
    overflow: hidden;
    left: 50% !important;
    transform: translateX(-50%) !important;
}

#menu-test-prep::before {
    left: 50% !important;
    background-color: #0059b3 !important;
    /* Seamlessly blend arrow with blue header */
    border-color: #0059b3 !important;
}

.test-prep-header {
    background-color: #0059b3;
    color: #ffffff;
    padding: 18px 24px;
}

.test-prep-header h5 {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 4px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.test-prep-header h5 .material-symbols-outlined {
    font-size: 18px !important;
}

.test-prep-header p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.test-prep-grid {
    background-color: #ffffff;
}

.test-prep-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    padding: 8px 10px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.test-prep-item:hover {
    background-color: #f8fafc;
}

.test-title {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 2px;
}

.test-subtitle {
    font-size: 11px;
    color: #64748b;
}

.test-arrow {
    margin-left: auto;
    font-size: 16px !important;
    color: #94a3b8;
    transition: transform 0.2s ease, color 0.2s ease;
}

.test-prep-item:hover .test-arrow {
    color: #0059b3;
    transform: translateX(3px);
}

.test-prep-footer {
    background-color: #f8fafc;
    border-top: 1px solid #f1f5f9;
    padding: 12px 24px;
    text-align: center;
}

.test-prep-footer a {
    font-size: 13px;
    font-weight: 700;
    color: #0059b3 !important;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.test-prep-footer a:hover {
    color: #004c99 !important;
}

/* Custom CSS Vector Badges for Test Logos */
.test-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Work Sans', sans-serif;
    font-size: 9.5px;
    font-weight: 800;
    margin-right: 12px;
    flex-shrink: 0;
    border: 1px solid #e2e8f0;
}

.logo-ielts {
    border: 1.5px solid #e11d48 !important;
    color: #e11d48 !important;
    background-color: #fff1f2;
}

.logo-toefl {
    background-color: #0d9488 !important;
    color: #ffffff !important;
    border: none !important;
}

.logo-gre {
    background-color: #701a75 !important;
    color: #ffffff !important;
    border: none !important;
}

.logo-gmat {
    background-color: #1e293b !important;
    color: #ffffff !important;
    border: none !important;
}

.logo-pte {
    background-color: #e11d48 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
}

.logo-sat {
    background-color: #0284c7 !important;
    color: #ffffff !important;
    border: none !important;
}

.logo-usmle {
    border: 1.5px solid #0369a1 !important;
    color: #0369a1 !important;
    background-color: #f0f9ff;
    font-size: 8px !important;
    font-weight: 700;
}

.logo-ple {
    background-color: #eab308 !important;
    color: #1e3a8a !important;
    border: 1.5px solid #1e3a8a !important;
    font-size: 9px !important;
    font-weight: 700;
}

.logo-plab {
    border: 1.5px solid #b91c1c !important;
    color: #b91c1c !important;
    background-color: #fef2f2;
    font-size: 9px !important;
    font-weight: 700;
}

/* Hero Styles */
.hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 77, 132, 0.627) 0%, rgba(0, 77, 132, 0.285) 100%);
}

.hero-form-card {
    border-top: 4px solid var(--action-orange);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.state-btn {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    transition: all 0.3s;
    text-decoration: none;
    display: block;
    padding: 0.75rem;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
}

.state-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    color: white;
}

/* University Card */
.uni-card {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #dee2e6;
    height: 100%;
}

.uni-card:hover {
    transform: translateY(-5s);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.uni-img-wrapper {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.uni-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.uni-card:hover .uni-img-wrapper img {
    transform: scale(1.1);
}

.badge-floating {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--bs-secondary);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
}

/* Service & Opportunity Cards */
.opportunity-card {
    background-color: var(--card-bg);
    border-radius: 20px;
    padding: 2.25rem 1rem 1.75rem;
    text-align: center;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.opportunity-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}

.opportunity-icon-wrapper {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background-color: var(--icon-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 16px var(--shadow-color);
    color: #ffffff;
    transition: transform 0.3s ease;
}

.opportunity-card:hover .opportunity-icon-wrapper {
    transform: scale(1.05);
}

.opportunity-icon-wrapper .material-symbols-outlined {
    font-size: 26px;
    color: #ffffff;
}

.opportunity-title {
    font-family: 'Work Sans', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #0d2954;
    /* Slate/Navy */
    margin-bottom: 0.5rem;
    line-height: 1.35;
    /* Ensure nice wrapping of long titles */
    max-width: 130px;
    margin-left: auto;
    margin-right: auto;
}

.opportunity-desc {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.825rem;
    color: #475569;
    /* Slate grey */
    margin-bottom: 0;
    line-height: 1.4;
}

/* Card Color Variations */
.opportunity-card.college-finder {
    --card-bg: #e3effc;
    --icon-bg: #1d76db;
    --shadow-color: rgba(29, 118, 219, 0.3);
}

.opportunity-card.rank-predictor {
    --card-bg: #ffebe0;
    --icon-bg: #ff8f2c;
    --shadow-color: rgba(255, 143, 44, 0.3);
}

.opportunity-card.live-counselling {
    --card-bg: #edfbe7;
    --icon-bg: #34a853;
    --shadow-color: rgba(52, 168, 83, 0.3);
}

.opportunity-card.free-counselling {
    --card-bg: #ebe0ff;
    --icon-bg: #8e24aa;
    --shadow-color: rgba(142, 36, 170, 0.3);
}

.opportunity-card.our-counsellors {
    --card-bg: #ffe0eb;
    --icon-bg: #e91e63;
    --shadow-color: rgba(233, 30, 99, 0.3);
}

.opportunity-card.franchise-opp {
    --card-bg: #e0f8f2;
    --icon-bg: #00acc1;
    --shadow-color: rgba(0, 172, 193, 0.3);
}

/* Testimonials */
.testimonial-card {
    background-color: #ffffff;
    border-radius: 24px;
    padding: 2.75rem 2.25rem 2.25rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.testimonial-quote-mark {
    font-size: 3.5rem;
    color: #2563eb;
    /* Bright blue quote mark */
    line-height: 1;
    font-family: 'Work Sans', sans-serif;
    margin-top: -0.5rem;
    font-weight: 700;
}

.testimonial-text {
    font-family: 'Source Sans 3', sans-serif;
    font-style: italic;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 2rem;
}

.testimonial-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-meta {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-family: 'Work Sans', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    color: #1e293b;
    margin-bottom: 0.15rem;
    letter-spacing: 0.5px;
}

.testimonial-role {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-bottom: 0;
}

.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #cbd5e1;
    display: inline-block;
    transition: background-color 0.2s ease;
}

.testimonial-dot.active {
    background-color: #94a3b8;
}

/* Country Cards */
.country-card {
    position: relative;
    height: auto;
    border-radius: 16px;
    overflow: hidden;
}

.country-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

.country-card:hover img {
    transform: scale(1.1);
}

.country-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 76, 132, 0.9) 0%, rgba(0, 76, 132, 0) 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    color: white;
}

/* Exam Tags */
.exam-tag {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: var(--bs-primary);
    color: #beeaf0;
}

footer a {
    color: #beeaf0;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--action-orange);
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--bs-secondary);
}

/* Mobile Navigation Side Drawer (Right-to-Left slide in) */
@media (max-width: 991.98px) {

    /* 1. Transform navbar-collapse into a fixed drawer container */
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -320px;
        /* Hidden offscreen on the right side */
        width: 300px;
        height: 100vh;
        background-color: #ffffff !important;
        z-index: 1050;
        transition: right 0.3s ease-in-out, visibility 0.3s ease-in-out;
        padding: 24px 20px 40px;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
        display: block !important;
        /* Force override bootstrap hidden display */
        visibility: hidden;
        overflow-y: auto;
    }

    /* Override collapsing class during toggle animation to avoid vertical jump */
    .navbar-collapse.collapsing {
        position: fixed;
        top: 0;
        right: -320px;
        width: 300px;
        height: 100vh;
        background-color: #ffffff !important;
        z-index: 1050;
        transition: right 0.3s ease-in-out;
        padding: 24px 20px 40px;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
        display: block !important;
        visibility: visible;
        height: 100vh !important;
        overflow: hidden !important;
    }

    /* Target state when menu is expanded */
    .navbar-collapse.show {
        right: 0;
        visibility: visible;
    }

    /* 2. Style navbar items vertically within drawer */
    .navbar-nav {
        flex-direction: column;
        align-items: stretch !important;
        width: 100%;
        gap: 8px;
    }

    .navbar-nav .nav-link {
        font-size: 14px !important;
        padding: 10px 14px !important;
        border-radius: 8px;
        background-color: #f8fafc;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .navbar-nav .nav-link:hover {
        background-color: #f1f5f9;
        color: #007bbd !important;
    }

    /* Rotate nav chevrons when dropdowns are open in mobile drawer */
    .navbar-collapse .dropdown-toggle .nav-chevron {
        transition: transform 0.2s ease;
    }

    .navbar-collapse .dropdown-toggle.show .nav-chevron {
        transform: rotate(180deg);
        color: #007bbd !important;
    }

    /* 3. Style dropdowns inside drawer as inline accordions */
    .navbar-collapse .dropdown-menu,
    #menu-explore,
    #menu-explore-mobile,
    #menu-neet-pg-mobile,
    #menu-neet-ug-mobile,
    #menu-mbbs-abroad,
    #menu-mbbs-india,
    #menu-study-abroad,
    #menu-neet-pg,
    #menu-neet-ug,
    #menu-test-prep,
    #menu-gallery,
    #menu-discover {
        position: static !important;
        float: none !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        transform: none !important;
        left: auto !important;
        right: auto !important;
        box-shadow: none !important;
        border: 1px solid #e2e8f0 !important;
        background-color: #f8fafc !important;
        margin-top: 4px !important;
        padding: 10px !important;
        display: none;
    }

    .navbar-collapse .dropdown-menu.show,
    #menu-explore.show,
    #menu-explore-mobile.show,
    #menu-neet-pg-mobile.show,
    #menu-neet-ug-mobile.show,
    #menu-mbbs-abroad.show,
    #menu-mbbs-india.show,
    #menu-study-abroad.show,
    #menu-neet-pg.show,
    #menu-neet-ug.show,
    #menu-test-prep.show,
    #menu-gallery.show,
    #menu-discover.show {
        display: block !important;
    }

    /* Hide arrow indicators on mobile dropdowns */
    .navbar .dropdown-menu.arrow-top::before,
    #menu-explore::before,
    #menu-neet-pg::before,
    #menu-neet-ug::before {
        display: none !important;
    }

    /* Convert all dropdown card grids to simple vertical list views */
    .country-grid {
        display: block !important;
        width: 100% !important;
    }

    .country-card-item {
        background: transparent !important;
        border: none !important;
        border-bottom: 1px dashed rgba(0, 0, 0, 0.08) !important;
        border-radius: 0 !important;
        padding: 8px 10px !important;
        font-size: 13px !important;
        color: #475569 !important;
        box-shadow: none !important;
    }

    .country-card-item:last-child {
        border-bottom: none !important;
    }

    .country-card-item .chevron-r {
        display: none !important;
    }

    .country-card-item:hover,
    .country-card-item.active-country {
        background-color: transparent !important;
        color: #007bbd !important;
        font-weight: 700;
    }

    /* Simplify Test Prep Dropdown to list view */
    #menu-test-prep {
        padding: 0 !important;
    }

    .test-prep-header {
        background: transparent !important;
        color: #007bbd !important;
        padding: 10px 10px 6px !important;
        border-bottom: 1.5px solid #007bbd !important;
    }

    .test-prep-header h5 {
        color: #007bbd !important;
        font-size: 13.5px !important;
        font-weight: 700 !important;
        margin: 0 !important;
    }

    .test-prep-header p {
        display: none !important;
    }

    .test-prep-grid {
        padding: 0 !important;
    }

    .test-prep-grid .row {
        display: block !important;
        margin: 0 !important;
    }

    .test-prep-grid .col-6 {
        width: 100% !important;
        padding: 0 !important;
    }

    .test-prep-item {
        background: transparent !important;
        border: none !important;
        border-bottom: 1px dashed rgba(0, 0, 0, 0.08) !important;
        border-radius: 0 !important;
        padding: 8px 10px !important;
        box-shadow: none !important;
    }

    .test-prep-item:hover {
        background-color: transparent !important;
    }

    .test-logo,
    .test-subtitle,
    .test-arrow {
        display: none !important;
    }

    .test-title {
        font-size: 13px !important;
        font-weight: 600 !important;
        color: #475569 !important;
    }

    .test-prep-item:hover .test-title {
        color: #007bbd !important;
    }

    .test-prep-footer {
        background: transparent !important;
        border: none !important;
        padding: 8px 10px !important;
        text-align: left !important;
    }

    .test-prep-footer a {
        color: #007bbd !important;
        font-size: 12.5px !important;
        font-weight: 600 !important;
        padding: 0 !important;
    }

    /* Simplify Exam Mega Menu styling on mobile */
    .exam-mega-menu {
        background-color: transparent !important;
        border: 1px solid #e2e8f0 !important;
        box-shadow: none !important;
        padding: 0 !important;
    }

    .exam-mega-menu .row {
        flex-direction: column;
    }

    .exam-mega-menu .bg-light-sidebar {
        background-color: transparent !important;
        border: none !important;
    }

    .exam-mega-menu .col-lg-4,
    .exam-mega-menu .col-lg-8 {
        width: 100% !important;
        padding: 10px 10px !important;
        border: none !important;
    }

    .exam-menu-title {
        font-size: 12px !important;
        font-weight: 700 !important;
        color: #0059b3 !important;
        margin-bottom: 6px !important;
        padding-bottom: 4px !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    }

    .exam-links-list li {
        margin-bottom: 0 !important;
    }

    .exam-links-list a {
        padding: 6px 0 !important;
        font-size: 12.5px !important;
        border-bottom: 1px dashed rgba(0, 0, 0, 0.04) !important;
    }

    .exam-links-list a:hover {
        padding-left: 0 !important;
    }

    .exam-links-list a .material-symbols-outlined {
        display: none !important;
    }

    /* Gallery, Discover & Explore Dropdown adjustments */
    #menu-gallery,
    #menu-discover,
    #menu-explore-mobile,
    #menu-neet-pg-mobile,
    #menu-neet-ug-mobile {
        background: transparent !important;
        border: 1px solid #e2e8f0 !important;
        box-shadow: none !important;
        padding: 0 !important;
    }

    #menu-gallery .dropdown-item,
    #menu-discover .country-card-item,
    #menu-explore-mobile .country-card-item,
    #menu-neet-pg-mobile .country-card-item,
    #menu-neet-ug-mobile .country-card-item {
        background: transparent !important;
        border-radius: 0 !important;
        border-bottom: 1px dashed rgba(0, 0, 0, 0.08) !important;
        padding: 8px 10px !important;
        font-size: 13px !important;
        color: #475569 !important;
        display: flex !important;
        align-items: center !important;
    }

    #menu-gallery .dropdown-item:last-child,
    #menu-discover .country-card-item:last-child,
    #menu-explore-mobile .country-card-item:last-child,
    #menu-neet-pg-mobile .country-card-item:last-child,
    #menu-neet-ug-mobile .country-card-item:last-child {
        border-bottom: none !important;
    }

    #menu-gallery .dropdown-item:hover,
    #menu-discover .country-card-item:hover,
    #menu-explore-mobile .country-card-item:hover,
    #menu-neet-pg-mobile .country-card-item:hover,
    #menu-neet-ug-mobile .country-card-item:hover {
        color: #007bbd !important;
        background-color: transparent !important;
    }

    /* Style sub-dropdown headers inside the mobile Explore accordion */
    #menu-explore-mobile .nav-link,
    #menu-neet-pg-mobile .nav-link,
    #menu-neet-ug-mobile .nav-link {
        font-size: 13px !important;
        padding: 8px 12px !important;
        background-color: #f1f5f9 !important;
        border-radius: 6px !important;
        color: #475569 !important;
        box-shadow: none !important;
        margin: 4px 0 !important;
    }

    #menu-explore-mobile .nav-link:hover,
    #menu-explore-mobile .nav-link:not(.collapsed),
    #menu-neet-pg-mobile .nav-link:hover,
    #menu-neet-pg-mobile .nav-link:not(.collapsed),
    #menu-neet-ug-mobile .nav-link:hover,
    #menu-neet-ug-mobile .nav-link:not(.collapsed) {
        background-color: #e2e8f0 !important;
        color: #007bbd !important;
    }

    #menu-explore-mobile .nav-link.collapsed .nav-chevron,
    #menu-neet-pg-mobile .nav-link.collapsed .nav-chevron,
    #menu-neet-ug-mobile .nav-link.collapsed .nav-chevron {
        transform: rotate(0deg) !important;
    }

    #menu-explore-mobile .nav-link:not(.collapsed) .nav-chevron,
    #menu-neet-pg-mobile .nav-link:not(.collapsed) .nav-chevron,
    #menu-neet-ug-mobile .nav-link:not(.collapsed) .nav-chevron {
        transform: rotate(180deg) !important;
        color: #007bbd !important;
    }
}

/* 4. Backdrop Overlay styles */
@media (max-width: 991.98px) {
    .navbar-backdrop {
        position: fixed;
        inset: 0;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 1040;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    }

    .navbar-collapse.show~.navbar-backdrop {
        opacity: 1;
        visibility: visible;
    }

    body.navbar-open {
        overflow: hidden !important;
    }
}

/* Study Abroad Dropdown layout override on desktop */
@media (min-width: 992px) {
    #menu-study-abroad {
        min-width: 220px !important;
        width: 220px !important;
        padding: 8px !important;
    }

    #menu-study-abroad .country-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 2px !important;
    }

    #menu-study-abroad .country-card-item {
        border: none !important;
        border-radius: 6px !important;
        padding: 8px 12px !important;
        font-size: 13.5px !important;
        display: flex !important;
        justify-content: flex-start !important;
        background-color: transparent !important;
        box-shadow: none !important;
        transition: background-color 0.2s, color 0.2s;
    }

    #menu-study-abroad .country-card-item:hover {
        background-color: #f1f5f9 !important;
        color: #007bbd !important;
    }

    #menu-study-abroad .country-card-item .chevron-r {
        display: none !important;
    }
}

.btn-primary-custom {
    background: linear-gradient(45deg, #AE8625, #d8d164, #D2AC47, #EDC967);
    
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, #E6C16A 0%, #D4A24C 35%, #B9832D 70%, #8E6224 100%);
    color: #fff;
}

/* Testimonial Carousel Overrides */
.testimonial-carousel-container {
    position: relative;
    max-width: 1150px;
    margin: 0 auto;
}

.testimonial-control-btn {
    width: 48px;
    height: 48px;
    background-color: #ffffff !important;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0.85;
}

.testimonial-control-btn:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.testimonial-control-btn .material-symbols-outlined {
    color: #475569;
    font-size: 24px;
    font-weight: 600;
}

.testimonial-control-btn:hover .material-symbols-outlined {
    color: #2563eb;
}

.testimonial-control-prev {
    left: -20px;
}

.testimonial-control-next {
    right: -20px;
}

/* Override Bootstrap Carousel Indicators to circular dots */
.carousel-indicators [data-bs-target] {
    box-sizing: content-box;
    flex: 0 1 auto;
    width: 8px !important;
    height: 8px !important;
    padding: 0;
    margin-right: 4px;
    margin-left: 4px;
    text-indent: -999px;
    cursor: pointer;
    background-color: #cbd5e1 !important;
    background-clip: padding-box;
    border: none !important;
    border-radius: 50% !important;
    opacity: 1 !important;
    transition: background-color 0.2s ease;
}

.carousel-indicators .active {
    background-color: #94a3b8 !important;
}

@media (max-width: 991.98px) {
    .testimonial-carousel-container {
        max-width: 100%;
        padding: 0 20px;
    }

    .testimonial-control-prev {
        left: -10px;
    }

    .testimonial-control-next {
        right: -10px;
    }

    .testimonial-control-btn {
        width: 40px;
        height: 40px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 575.98px) {
    .testimonial-control-prev {
        left: 5px;
    }

    .testimonial-control-next {
        right: 5px;
    }
}

/* Exam Cards Styling matching reference photo */
.exam-card {
    background: #ffffff;
    border-radius: 1.25rem;
    /* 20px */
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.exam-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.exam-icon-circle-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.exam-icon-circle {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: linear-gradient(45deg, #AE8625, #d8d164, #D2AC47, #EDC967);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 1.5rem;
    font-family: 'Work Sans', sans-serif;
    box-shadow: 0 8px 20px rgba(98, 0, 238, 0.25);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.exam-card:hover .exam-icon-circle {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 28px rgba(98, 0, 238, 0.45);
}

.exam-icon-circle strong {
    font-weight: 800;
    letter-spacing: 0.5px;
}

.exam-card-title {
    font-family: 'Work Sans', sans-serif;
    font-weight: 700;
    color: #1e293b;
    /* Slate 800 */
    font-size: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 0.75rem;
}

.exam-card-desc {
    font-family: 'Source Sans 3', sans-serif;
    color: #64748b;
    /* Slate 500 */
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.75rem;
    flex-grow: 1;
    /* Pushes button to bottom */
}

.btn-know-more {
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--bs-primary);
    background: linear-gradient(45deg, #AE8625, #d8d164, #D2AC47, #EDC967);
    border: 2px solid var(--bs-primary);
    border-radius: 50px;
    padding: 0.55rem 1rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-know-more:hover {
    background: linear-gradient(135deg, #E6C16A 0%, #D4A24C 35%, #B9832D 70%, #8E6224 100%);
    color: #ffffff !important;
    box-shadow: 0 6px 18px rgba(0, 76, 132, 0.25);
    transform: translateY(-1px);
}

/* Country Swiper Container & Controls */
.country-carousel-container {
    position: relative;
    max-width: 1150px;
    margin: 0 auto;
}

.country-control-btn {
    width: 48px;
    height: 48px;
    background-color: #ffffff !important;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.85;
}

.country-control-btn:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.country-control-btn .material-symbols-outlined {
    color: #475569;
    font-size: 24px;
    font-weight: 600;
}

.country-control-btn:hover .material-symbols-outlined {
    color: var(--bs-primary);
}

.country-control-prev {
    left: -20px;
}

.country-control-next {
    right: -20px;
}

/* Custom Swiper Pagination for Country */
.country-swiper-pagination {
    position: absolute;
    bottom: -15px !important;
    left: 50% !important;
    transform: translateX(-50%);
    width: auto !important;
    z-index: 10;
}

.country-swiper-pagination .swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
    background-color: #cbd5e1 !important;
    opacity: 1 !important;
    margin: 0 4px !important;
    border-radius: 50% !important;
    transition: background-color 0.2s ease;
}

.country-swiper-pagination .swiper-pagination-bullet-active {
    background-color: var(--bs-primary) !important;
}

@media (max-width: 991.98px) {
    .country-carousel-container {
        max-width: 100%;
        padding: 0 20px;
    }

    .country-control-prev {
        left: -10px;
    }

    .country-control-next {
        right: -10px;
    }

    .country-control-btn {
        width: 40px;
        height: 40px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 575.98px) {
    .country-control-prev {
        left: 5px;
    }

    .country-control-next {
        right: 5px;
    }
}

/* Blog Swiper Container & Controls */
.blog-carousel-container {
    position: relative;
    max-width: 1150px;
    margin: 0 auto;
}

.blog-control-btn {
    width: 48px;
    height: 48px;
    background-color: #ffffff !important;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.85;
}

.blog-control-btn:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.blog-control-btn .material-symbols-outlined {
    color: #475569;
    font-size: 24px;
    font-weight: 600;
}

.blog-control-btn:hover .material-symbols-outlined {
    color: var(--bs-primary);
}

.blog-control-prev {
    left: -20px;
}

.blog-control-next {
    right: -20px;
}

/* Custom Swiper Pagination for Blog */
.blog-swiper-pagination {
    position: absolute;
    bottom: -15px !important;
    left: 50% !important;
    transform: translateX(-50%);
    width: auto !important;
    z-index: 10;
}

.blog-swiper-pagination .swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
    background-color: #cbd5e1 !important;
    opacity: 1 !important;
    margin: 0 4px !important;
    border-radius: 50% !important;
    transition: background-color 0.2s ease;
}

.blog-swiper-pagination .swiper-pagination-bullet-active {
    background-color: var(--bs-primary) !important;
}

@media (max-width: 991.98px) {
    .blog-carousel-container {
        max-width: 100%;
        padding: 0 20px;
    }

    .blog-control-prev {
        left: -10px;
    }

    .blog-control-next {
        right: -10px;
    }

    .blog-control-btn {
        width: 40px;
        height: 40px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 575.98px) {
    .blog-control-prev {
        left: 5px;
    }

    .blog-control-next {
        right: 5px;
    }
}

/* Blog Hover Highlight Utility */
.blog-badge {
    background: rgba(249, 115, 22, 0.35) !important;
    backdrop-filter: blur(8px) saturate(120%);
    -webkit-backdrop-filter: blur(8px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.blog-badge:hover {
    background: rgba(249, 115, 22, 0.55) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: scale(1.03);
    box-shadow: 0 6px 14px rgba(249, 115, 22, 0.25);
}

.hover-text-orange {
    transition: color 0.3s ease;
}

.card:hover .hover-text-orange {
    color: var(--action-orange) !important;
}

/* Blog Image Zoom Hover Effect */
.blog-img-zoom {
    transition: transform 0.5s ease;
}

.card:hover .blog-img-zoom {
    transform: scale(1.06);
}

/* Gallery Section Styling */
.gallery-carousel-container {
    position: relative;
    max-width: 1440px;
    /* slightly wider to fit 6 cards comfortably */
    margin: 0 auto;
}

.gallery-card {
    position: relative;
    height: 280px;
    /* height suitable for 6 slides side-by-side */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    background-color: #f1f5f9;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover img {
    transform: scale(1.08);
}

/* Frosted glass overlay at the bottom */
.gallery-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 23, 42, 0.45);
    /* dark frosted theme like the photo */
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.85rem 1rem;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.gallery-student-name {
    font-family: 'Work Sans', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
    color: #ffffff;
}

.gallery-student-meta {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Magnifying glass button top-right */
.gallery-zoom-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 5;
}

.gallery-zoom-btn:hover {
    background: #ffffff;
    color: var(--bs-primary);
    transform: scale(1.1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.gallery-zoom-btn .material-symbols-outlined {
    font-size: 18px;
    font-weight: 700;
}

/* Gallery Swiper Navigation Arrows */
.gallery-control-btn {
    width: 44px;
    height: 44px;
    background-color: #ffffff !important;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.85;
}

.gallery-control-btn:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.gallery-control-btn .material-symbols-outlined {
    color: #475569;
    font-size: 22px;
    font-weight: 600;
}

.gallery-control-btn:hover .material-symbols-outlined {
    color: var(--bs-primary);
}

.gallery-control-prev {
    left: -60px;
}

.gallery-control-next {
    right: -60px;
}

/* Custom Swiper Pagination for Gallery */
.gallery-swiper-pagination {
    position: absolute;
    bottom: -15px !important;
    left: 50% !important;
    transform: translateX(-50%);
    width: auto !important;
    z-index: 10;
}

.gallery-swiper-pagination .swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
    background-color: #cbd5e1 !important;
    opacity: 1 !important;
    margin: 0 4px !important;
    border-radius: 50% !important;
    transition: background-color 0.2s ease;
}

.gallery-swiper-pagination .swiper-pagination-bullet-active {
    background-color: var(--bs-primary) !important;
}

@media (max-width: 1399.98px) {
    .gallery-carousel-container {
        padding: 0 20px;
    }

    .gallery-control-prev {
        left: -10px;
    }

    .gallery-control-next {
        right: -10px;
    }
}

@media (max-width: 991.98px) {
    .gallery-control-btn {
        width: 38px;
        height: 38px;
    }

    .gallery-control-prev {
        left: -5px;
    }

    .gallery-control-next {
        right: -5px;
    }
}

@media (max-width: 575.98px) {
    .gallery-control-prev {
        left: 5px;
    }

    .gallery-control-next {
        right: 5px;
    }
}

/* ==========================================================================
   Lead Capture Modal Styles
   ========================================================================== */

#leadModal .modal-content {
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    border: none;
    overflow: hidden;
}

.btn-close-custom {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    cursor: pointer;
    z-index: 1060;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-close-custom:hover {
    background-color: #f1f5f9;
    color: #000000;
    transform: scale(1.06);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.btn-close-custom .material-symbols-outlined {
    font-size: 20px !important;
    font-weight: 600;
}

.modal-banner-container {
    height: 100%;
    min-height: 520px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.modal-form-title {
    font-family: 'Work Sans', sans-serif;
    color: #0d2954;
    font-size: 1.625rem;
    font-weight: 700;
    line-height: 1.35;
}

.modal-form-subtitle {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.875rem;
    color: #64748b;
    margin-top: 6px;
    letter-spacing: 0.2px;
}

/* Custom styled inputs for modal */
.modal-input-wrapper {
    position: relative;
    width: 100%;
}

.modal-input-wrapper .input-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #005c92;
    font-size: 20px !important;
    pointer-events: none;
    z-index: 5;
}

.modal-input-wrapper .form-input {
    padding-left: 50px !important;
    padding-right: 18px !important;
    height: 54px;
    border-radius: 14px;
    border: 1.5px solid #e2e8f0;
    font-size: 14px;
    font-weight: 500;
    color: #1e293b;
    background-color: #ffffff;
    transition: all 0.2s ease;
}

.modal-input-wrapper .form-input::placeholder {
    color: #94a3b8;
}

.modal-input-wrapper .form-input:focus {
    border-color: #005c92;
    box-shadow: 0 0 0 4px rgba(0, 92, 146, 0.1);
    outline: none;
}

.modal-input-wrapper select.form-input {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2364748b' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 12px 12px;
}

.modal-input-wrapper select.form-input option {
    color: #1e293b;
}

.modal-input-wrapper select.form-input:invalid,
.modal-input-wrapper select.form-input option[value=""] {
    color: #94a3b8;
}

/* Submit Button */
.btn-modal-submit {
    height: 54px;
    background: linear-gradient(45deg, #AE8625, #d8d164, #D2AC47, #EDC967);
    color: #ffffff !important;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 14px rgba(0, 92, 146, 0.2);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    width: 100%;
}

.btn-modal-submit:hover {
    background: linear-gradient(135deg, #E6C16A 0%, #D4A24C 35%, #B9832D 70%, #8E6224 100%);
    box-shadow: 0 6px 20px rgba(0, 92, 146, 0.35);
    transform: translateY(-1px);
}

.btn-modal-submit:active {
    transform: translateY(0);
}

/* Modal Form Validation style */
.modal-input-wrapper .invalid-feedback {
    font-size: 0.75rem;
    color: #dc3545;
    margin-top: 4px;
    padding-left: 4px;
}

.modal-input-wrapper .form-input.is-invalid {
    border-color: #dc3545;
}

.modal-input-wrapper .form-input.is-invalid:focus {
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.1);
}

/* Mobile responsive adjustments */
@media (max-width: 991.98px) {
    .modal-banner-container {
        display: none;
    }
    
    #leadModal .modal-dialog {
        max-width: 500px;
        margin: 1.75rem auto;
        padding: 0 15px;
    }
    
    .modal-form-title {
        font-size: 1.35rem;
    }
}

/* ==========================================================================
   Broadcamp (Breadcrumb) Section Styling
   ========================================================================== */

.broadcamp-section {
    position: relative;
    background-image: url('../img/broadcamp.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 3.25rem 0; /* Increased padding by 30% */
    color: #ffffff;
    text-align: center;
    overflow: hidden;
}

.broadcamp-section .overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6); /* Semi-transparent pure black overlay for high contrast readability */
    z-index: 1;
}

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

.broadcamp-section h1 {
    color: #ffffff !important;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.broadcamp-section .breadcrumb-item,
.broadcamp-section .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: color 0.2s ease;
}

.broadcamp-section .breadcrumb-item a:hover {
    color: var(--action-orange) !important;
}

.broadcamp-section .breadcrumb-item.active {
    color: #ffffff !important;
    font-weight: 700;
}

.broadcamp-section .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* ==========================================================================
   About Us Page Premium Styles
   ========================================================================== */

/* 1. Hero Card Section */
.about-hero-section {
    background-color: var(--surface-light);
}

.hero-main-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 76, 132, 0.06);
    border: 1px solid rgba(0, 76, 132, 0.08);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-main-card:hover {
    box-shadow: 0 30px 60px rgba(0, 76, 132, 0.1);
}

.image-container-parallax {
    position: relative;
    border-radius: 20px;
    overflow: visible;
}

.hero-img {
    border-radius: 20px;
    width: 100%;
    object-fit: cover;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease;
}

.image-container-parallax:hover .hero-img {
    transform: scale(1.03);
}

.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    z-index: 10;
    animation: floatUpDown 4s ease-in-out infinite;
}

.floating-badge-1 {
    bottom: 30px;
    left: -20px;
}

.floating-badge-2 {
    top: 30px;
    right: -20px;
    animation-delay: 2s;
}

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

/* 2. Who We Are Section Feature Cards */
.feature-grid-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    height: 100%;
}

.feature-grid-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 76, 132, 0.08);
    border-color: rgba(0, 76, 132, 0.15);
}

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 76, 132, 0.08);
    color: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: background 0.3s ease, color 0.3s ease;
}

.feature-grid-card:hover .feature-icon-wrapper {
    background: var(--bs-primary);
    color: #ffffff;
}

/* 4. Why Choose Us Section */
.why-choose-grid {
    background: radial-gradient(circle at 10% 90%, rgba(235, 253, 255, 0.5) 0%, transparent 60%);
}

.choose-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 76, 132, 0.03);
    border: 1px solid rgba(0, 76, 132, 0.05);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
    perspective: 1000px;
    height: 100%;
}

.choose-card:hover {
    box-shadow: 0 25px 50px rgba(0, 76, 132, 0.1);
    border-color: rgba(0, 76, 132, 0.12);
}

.choose-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 76, 132, 0.1) 0%, rgba(0, 105, 113, 0.1) 100%);
    color: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.choose-card:hover .choose-icon-box {
    transform: translateZ(20px);
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-secondary) 100%);
    color: #ffffff;
}

.choose-card h4 {
    transition: transform 0.3s ease;
}

.choose-card:hover h4 {
    transform: translateZ(15px);
}

.choose-card p {
    transition: transform 0.3s ease;
}

.choose-card:hover p {
    transform: translateZ(10px);
}

/* 5. Mission & Vision Section */
.mission-vision-container {
    position: relative;
}

.glass-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 15px 35px rgba(0, 76, 132, 0.05);
    transition: all 0.4s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.75);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 0 25px 45px rgba(0, 76, 132, 0.08);
    transform: translateY(-5px);
}

.mission-vision-img {
    border-radius: 24px;
    width: 100%;
    height: 480px;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* CTA Section */
.about-cta-section {
    background: linear-gradient(90deg, #142B5F 0%, #2d57ac 100%) !important;
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    padding: 60px 40px;
    box-shadow: 0 20px 40px rgba(0, 76, 132, 0.15);
}

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

.about-cta-section .btn-light {
    border-radius: 50px;
    padding: 12px 35px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    background: linear-gradient(45deg, #AE8625, #d8d164, #D2AC47, #EDC967);
}

.about-cta-section .btn-light:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #E6C16A 0%, #D4A24C 35%, #B9832D 70%, #8E6224 100%);
}

/* ==========================================================================
   Services Page Premium Styles
   ========================================================================== */

/* 1. Services Hero Intro Section */
.services-hero-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 76, 132, 0.05);
    border: 1px solid rgba(0, 76, 132, 0.06);
    overflow: hidden;
    transition: all 0.4s ease;
}

/* 2. Services Grid Layout & Cards */
.services-grid-container {
    background-color: var(--surface-light);
}

.service-grid-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px 25px;
    box-shadow: 0 10px 30px rgba(0, 76, 132, 0.02);
    border: 1px solid rgba(0, 76, 132, 0.05);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-grid-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--bs-primary) 0%, var(--bs-secondary) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-grid-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 76, 132, 0.08);
    border-color: rgba(0, 76, 132, 0.12);
}

.service-grid-card:hover::after {
    opacity: 1;
}

/* Service Icon Box */
.service-icon-box {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(0, 76, 132, 0.08) 0%, rgba(0, 105, 113, 0.08) 100%);
    color: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: all 0.4s ease;
}

.service-grid-card:hover .service-icon-box {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-secondary) 100%);
    color: #ffffff;
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 10px 20px rgba(0, 76, 132, 0.15);
}

/* Service Title & Text */
.service-grid-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.service-grid-card:hover h4 {
    color: var(--bs-primary);
}

.service-grid-card p {
    font-size: 0.9rem;
    color: #64748B;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Service Learn More Link Button */
.service-learn-more-btn {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--bs-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    border-bottom: 1px dashed rgba(0, 76, 132, 0.3);
    padding-bottom: 2px;
}

.service-learn-more-btn:hover {
    color: var(--action-orange);
    border-color: var(--action-orange);
    gap: 10px;
}

/* 3. Subtle particles overlay decor */
.subtle-particles-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.particle-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 76, 132, 0.05) 0%, transparent 70%);
}

.particle-circle-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -100px;
}

.particle-circle-2 {
    width: 400px;
    height: 400px;
    bottom: -200px;
    left: -150px;
}


/* 5. Services CTA Section */
.services-cta-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 76, 132, 0.15);
}

.services-cta-bg {
    background: linear-gradient(135deg, #004c84 0%, #006971 100%);
    padding: 60px;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.services-cta-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 90% 80%, rgba(249, 115, 22, 0.2) 0%, transparent 60%);
    z-index: -1;
}

.services-cta-img {
    border-radius: 20px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Food Menu Grid Card Styles */
.food-grid-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.food-grid-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.food-grid-img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.food-grid-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.food-grid-card:hover .food-grid-img {
    transform: scale(1.05);
}

.food-grid-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.food-grid-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
    line-height: 1.4;
}

.food-grid-desc {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 8px;
    margin-bottom: 20px;
}

.stepper-selector {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #f8fafc;
    border-radius: 20px;
    padding: 2px 8px;
    user-select: none;
    border: 1px solid #e2e8f0;
}

.stepper-btn {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0ea5e9; /* Teal/Light Blue */
    cursor: pointer;
    line-height: 1;
    transition: opacity 0.2s ease;
}

.stepper-btn:hover {
    opacity: 0.7;
}

.stepper-val {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    min-width: 10px;
    text-align: center;
}

.food-grid-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
}

.btn-know-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 8px 16px;
    background-color: var(--bs-primary);
    color: #ffffff !important;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 76, 132, 0.15);
}

.btn-know-more:hover {
    background-color: var(--action-orange);
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(249, 115, 22, 0.25);
}

/* Service Details Premium Page Styles */
.service-hero-section {
    position: relative;
    padding: 100px 0 80px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    z-index: 1;
}

.service-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 76, 132, 0.95) 0%, rgba(0, 105, 113, 0.85) 100%);
    z-index: -1;
}

.service-hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.shape-blob-1 {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(249, 115, 22, 0.15);
    filter: blur(80px);
    animation: float-blob-1 10s ease-in-out infinite alternate;
}

.shape-blob-2 {
    position: absolute;
    bottom: -10%;
    left: -5%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(0, 165, 185, 0.2);
    filter: blur(100px);
    animation: float-blob-2 12s ease-in-out infinite alternate;
}

@keyframes float-blob-1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-30px, 40px) scale(1.1); }
}

@keyframes float-blob-2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, -30px) scale(1.05); }
}

/* Breadcrumbs styling for Hero */
.service-hero-breadcrumb .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.service-hero-breadcrumb .breadcrumb-item {
    font-size: 0.9rem;
    font-weight: 500;
}

.service-hero-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none;
    transition: color 0.2s;
}

.service-hero-breadcrumb .breadcrumb-item a:hover {
    color: #ffffff !important;
}

.service-hero-breadcrumb .breadcrumb-item.active {
    color: var(--action-orange) !important;
}

.service-hero-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.5);
}

/* Service Overview Image Layout */
.overview-image-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.overview-img-decor {
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, var(--action-orange) 0%, transparent 60%);
    opacity: 0.3;
    z-index: -1;
}

/* Glassmorphism Benefit Cards */
.benefit-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.glass-benefit-card {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.03);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 100%;
}

.glass-benefit-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 15px 35px rgba(0, 76, 132, 0.08);
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 76, 132, 0.2);
}

.benefit-icon-box {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-secondary) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 6px 15px rgba(0, 76, 132, 0.15);
}

.glass-benefit-card:hover .benefit-icon-box {
    background: linear-gradient(135deg, var(--action-orange) 0%, #ea580c 100%);
    box-shadow: 0 6px 15px rgba(249, 115, 22, 0.2);
}

/* Timeline component */
.vertical-timeline {
    position: relative;
    padding-left: 35px;
}

.vertical-timeline::before {
    content: '';
    position: absolute;
    left: 11px;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background: linear-gradient(to bottom, var(--bs-primary) 0%, var(--bs-secondary) 50%, var(--action-orange) 100%);
}

.timeline-item {
    position: relative;
    margin-bottom: 35px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -32px;
    top: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #ffffff;
    border: 4px solid var(--bs-primary);
    box-shadow: 0 0 0 3px rgba(0, 76, 132, 0.15);
    transition: all 0.3s ease;
    z-index: 2;
}

.timeline-item:hover .timeline-marker {
    background-color: #ffffff;
    border-color: var(--action-orange);
    box-shadow: 0 0 0 5px rgba(249, 115, 22, 0.2);
    transform: scale(1.1);
}

.timeline-content-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content-card {
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0, 76, 132, 0.05);
    border-color: rgba(0, 76, 132, 0.1);
}

/* Progress indicator why choose section */
.agency-progress-item {
    margin-bottom: 20px;
}

.agency-progress-header {
    display: flex;
    justify-content: space-between;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: var(--text-main);
}

.agency-progress-bar-container {
    height: 8px;
    background-color: #e2e8f0;
    border-radius: 50px;
    overflow: hidden;
}

.agency-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--bs-primary) 0%, var(--bs-secondary) 100%);
    border-radius: 50px;
    width: 0%; /* Animates with screen enter */
    transition: width 1.5s cubic-bezier(0.1, 1, 0.1, 1);
}

/* Accordion Smooth Styles */
.custom-faq-accordion .accordion-item {
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    margin-bottom: 16px;
    overflow: hidden;
    background: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.01);
}

.custom-faq-accordion .accordion-item:last-child {
    margin-bottom: 0;
}

.custom-faq-accordion .accordion-button {
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-main);
    padding: 20px;
    background-color: #ffffff;
    box-shadow: none !important;
    transition: all 0.3s ease;
}

.custom-faq-accordion .accordion-button:not(.collapsed) {
    color: var(--bs-primary);
    background-color: #f8fafc;
}

.custom-faq-accordion .accordion-button::after {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    content: '\f078';
    background-image: none !important;
    font-size: 20px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.custom-faq-accordion .accordion-button:not(.collapsed)::after {
    transform: rotate(180deg);
    color: var(--bs-primary);
}

.custom-faq-accordion .accordion-body {
    padding: 20px;
    background-color: #ffffff;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
}

/* Sticky Sidebar & Widget Design */
.sticky-sidebar {
    position: static;
}

@media (min-width: 992px) {
    .sticky-sidebar {
        position: -webkit-sticky;
        position: sticky;
        top: 90px;
        z-index: 10;
    }
}

.sidebar-widget {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.sidebar-widget-title {
    font-family: 'Work Sans', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.sidebar-widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--bs-primary);
    border-radius: 50px;
}

/* Widget 1: Other Services Menu Links */
.sidebar-service-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 10px;
    color: #475569 !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    margin-bottom: 8px;
    background-color: #f8fafc;
    border: 1px solid transparent;
}

.sidebar-service-link:last-child {
    margin-bottom: 0;
}

.sidebar-service-link:hover {
    background-color: #e6f0fa;
    color: var(--bs-primary) !important;
    border-color: rgba(0, 76, 132, 0.1);
    transform: translateX(3px);
}

.sidebar-service-link.active {
    background: linear-gradient(135deg, var(--bs-primary) 0%, var(--bs-secondary) 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 76, 132, 0.15);
}

.sidebar-service-link .material-symbols-outlined {
    font-size: 20px !important;
}

/* Widget 2: Quick Contact Card */
.consultant-avatar-box {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 16px;
    position: relative;
    z-index: 1;
}

.consultant-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.pulse-consultant::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(0, 76, 132, 0.4);
    animation: pulse-ring 1.8s infinite cubic-bezier(0.66, 0, 0, 1);
    z-index: -1;
}

@keyframes pulse-ring {
    to {
        box-shadow: 0 0 0 15px rgba(0, 76, 132, 0);
    }
}

.sidebar-contact-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.sidebar-contact-btn:last-child {
    margin-bottom: 0;
}

.sidebar-btn-call {
    background-color: var(--bs-primary);
    color: white !important;
}

.sidebar-btn-call:hover {
    background-color: #003a64;
    transform: translateY(-2px);
}

.sidebar-btn-whatsapp {
    background-color: #25D366;
    color: white !important;
}

.sidebar-btn-whatsapp:hover {
    background-color: #1ebd57;
    transform: translateY(-2px);
}

.sidebar-btn-email {
    background-color: #f8fafc;
    color: #475569 !important;
    border: 1px solid #cbd5e1;
}

.sidebar-btn-email:hover {
    background-color: #e2e8f0;
    transform: translateY(-2px);
}

/* Widget 3: Follow Us Social Cards */
.social-glow-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.social-glow-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 10px;
    color: white !important;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-glow-fb { background-color: #3b5998; }
.social-glow-ig { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-glow-ln { background-color: #0077b5; }
.social-glow-yt { background-color: #ff0000; }
.social-glow-tg { background-color: #0088cc; }

.glow-facebook:hover { box-shadow: 0 0 12px rgba(59, 89, 152, 0.8); transform: translateY(-3px); }
.glow-instagram:hover { box-shadow: 0 0 12px rgba(225, 48, 108, 0.8); transform: translateY(-3px); }
.glow-linkedin:hover { box-shadow: 0 0 12px rgba(0, 119, 181, 0.8); transform: translateY(-3px); }
.glow-youtube:hover { box-shadow: 0 0 12px rgba(255, 0, 0, 0.8); transform: translateY(-3px); }
.glow-telegram:hover { box-shadow: 0 0 12px rgba(0, 136, 204, 0.8); transform: translateY(-3px); }

/* Widget 4: Download Brochure Animated Gradient */
.animated-gradient-box {
    background: linear-gradient(135deg, #004c84, #006971, #f97316);
    background-size: 200% 200%;
    animation: gradient-shift 6s ease infinite;
    color: white;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

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

.brochure-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border-radius: 50px;
    background: linear-gradient(45deg, #AE8625, #d8d164, #D2AC47, #EDC967);
    color: white !important;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.brochure-download-btn:hover {
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #E6C16A 0%, #D4A24C 35%, #B9832D 70%, #8E6224 100%);
}

/* Widget 5: Success Statistics Widget */
.sidebar-stat-item {
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.sidebar-stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.sidebar-stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--bs-primary);
}

.sidebar-stat-label {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
}

/* Bottom CTA section styling */
.bottom-cta-section {
    position: relative;
    padding: 80px 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.bottom-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #142B5F 0%, #1B376F 90%) !important;
    z-index: -1;
}

.bottom-cta-btn-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.bottom-cta-btn-free {
    background: linear-gradient(45deg, #AE8625, #d8d164, #D2AC47, #EDC967);
    color: white !important;
    border-radius: 50px;
    font-weight: 700;
    padding: 14px 32px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.bottom-cta-btn-free:hover {
    background: linear-gradient(135deg, #E6C16A 0%, #D4A24C 35%, #B9832D 70%, #8E6224 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(249, 115, 22, 0.35);
}

.bottom-cta-btn-apply {
    background-color: white;
    color: var(--bs-primary) !important;
    border-radius: 50px;
    font-weight: 700;
    padding: 14px 32px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.bottom-cta-btn-apply:hover {
    background-color: transparent;
    color: white !important;
    border-color: white;
    transform: translateY(-2px);
}

/* Particles Background Styling */
.particles-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    animation: float-particle 15s infinite linear;
}

.particle:nth-child(1) { left: 10%; top: 80%; animation-duration: 12s; animation-delay: 0s; width: 4px; height: 4px; }
.particle:nth-child(2) { left: 35%; top: 60%; animation-duration: 18s; animation-delay: 2s; width: 8px; height: 8px; }
.particle:nth-child(3) { left: 55%; top: 90%; animation-duration: 14s; animation-delay: 4s; width: 5px; height: 5px; }
.particle:nth-child(4) { left: 75%; top: 70%; animation-duration: 16s; animation-delay: 1s; width: 6px; height: 6px; }
.particle:nth-child(5) { left: 88%; top: 50%; animation-duration: 20s; animation-delay: 3s; width: 4px; height: 4px; }
.particle:nth-child(6) { left: 22%; top: 30%; animation-duration: 15s; animation-delay: 5s; width: 7px; height: 7px; }

@keyframes float-particle {
    0% {
        transform: translateY(100px) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-200px) translateX(50px);
        opacity: 0;
    }
}

/* ==========================================================================
   Premium Blogs Page Custom Styling
   ========================================================================== */

/* Spacing and Common Variables */
.blogs-page-wrapper {
    --card-border-radius: 18px;
    --transition-speed: 0.4s;
    --easing-func: cubic-bezier(0.165, 0.84, 0.44, 1);
    background-color: #f7fafc;
}

/* Category Badges */
.blog-badge {
    display: inline-block;
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    border-radius: 50px;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.blog-badge.badge-mbbs {
    background-color: var(--bs-primary);
}
.blog-badge.badge-abroad {
    background-color: var(--bs-secondary);
}
.blog-badge.badge-visa {
    background-color: var(--action-orange);
}
.blog-badge.badge-scholarship {
    background-color: #0d9488; /* Emerald teal */
}
.blog-badge.badge-life {
    background-color: #8b5cf6; /* Purple */
}
.blog-badge.badge-career {
    background-color: #ec4899; /* Pink */
}

/* Date Tags Overlay */
.blog-date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-main);
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
    z-index: 10;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    line-height: 1.25;
    transition: transform var(--transition-speed) var(--easing-func);
}
.blog-date-badge .day {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--bs-primary);
    display: block;
}
.blog-date-badge .month {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #64748b;
    display: block;
}

/* Section 1 & 2: Top Split Row */
.blog-split-container {
    padding-top: 5rem;
    padding-bottom: 5rem;
}
.blog-split-row {
    margin-bottom: 4rem;
}

/* Featured Swiper Slider */
.swiper.blog-featured-slider {
    width: 100%;
    height: 550px;
    border-radius: var(--card-border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
.blog-slider-card {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.blog-slider-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}
.blog-slider-card:hover img {
    transform: scale(1.06);
}
.blog-slider-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 76, 132, 0.95) 0%, rgba(0, 105, 113, 0.6) 40%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 2;
}
.blog-slider-card .content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3.5rem 3rem;
    z-index: 3;
    color: #ffffff;
}
.blog-slider-card .content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-top: 1rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: #ffffff !important;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.blog-slider-card .content p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    max-width: 90%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-slider-card .btn-readmore {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: gap 0.3s;
}
.blog-slider-card .btn-readmore:hover {
    gap: 12px;
}
.blog-slider-card .btn-readmore i {
    font-size: 0.95rem;
    transition: transform 0.3s;
}
.blog-slider-card .btn-readmore:hover i {
    transform: translateX(4px);
}

/* Custom Swiper Controls */
.blog-featured-slider .swiper-pagination-bullet {
    background: #ffffff;
    opacity: 0.4;
    width: 10px;
    height: 10px;
}
.blog-featured-slider .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--action-orange);
    width: 24px;
    border-radius: 5px;
}
.blog-featured-slider .swiper-button-next,
.blog-featured-slider .swiper-button-prev {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s;
}
.blog-featured-slider .swiper-button-next:hover,
.blog-featured-slider .swiper-button-prev:hover {
    background: var(--action-orange);
    border-color: var(--action-orange);
}
.blog-featured-slider .swiper-button-next::after,
.blog-featured-slider .swiper-button-prev::after {
    font-size: 1.1rem;
    font-weight: bold;
}

/* Latest 4 Blog Grid (Right Col) */
.blog-grid-latest {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 260px);
    gap: 1.5rem;
}
.blog-grid-card-item {
    position: relative;
    border-radius: var(--card-border-radius);
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    height: 100%;
}
.blog-grid-card-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--easing-func);
}
.blog-grid-card-item:hover img {
    transform: scale(1.08);
}
.blog-grid-card-item .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
}
.blog-grid-card-item .content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    z-index: 3;
    color: #ffffff;
}
.blog-grid-card-item .content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
    color: #ffffff !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-grid-card-item .btn-readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: gap 0.3s;
}
.blog-grid-card-item .btn-readmore:hover {
    gap: 10px;
}
.blog-grid-card-item .btn-readmore i {
    font-size: 0.85rem;
    transition: transform 0.3s;
}
.blog-grid-card-item .btn-readmore:hover i {
    transform: translateX(3px);
}

/* Section 3: Filterable Blogs Grid */
.blogs-grid-section {
    padding: 5rem 0;
    background-color: #f8fafc;
}
.blogs-filter-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 3.5rem;
}
.btn-blog-filter {
    background-color: #ffffff;
    color: var(--text-main);
    border: 1px solid rgba(0, 76, 132, 0.12);
    border-radius: 50px;
    padding: 10px 24px;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.3s var(--easing-func);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}
.btn-blog-filter:hover,
.btn-blog-filter.active {
    background-color: var(--bs-primary);
    color: #ffffff;
    border-color: var(--bs-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 76, 132, 0.2);
}

/* Standard Blog Card in Grid */
.blog-grid-card {
    background: #ffffff;
    border: 0;
    border-radius: var(--card-border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: all 0.4s var(--easing-func);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.blog-grid-card .img-wrap {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
}
.blog-grid-card .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--easing-func);
}
.blog-grid-card:hover .img-wrap img {
    transform: scale(1.08);
}
.blog-grid-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 76, 132, 0.12);
}
.blog-grid-card .card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
.blog-grid-card .card-body h3 {
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 1rem;
    margin-bottom: 0.75rem;
    transition: color 0.3s;
}
.blog-grid-card .card-body h3 a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.3s;
}
.blog-grid-card:hover .card-body h3 a {
    color: var(--bs-primary);
}
.blog-grid-card .card-body p {
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-grid-card .card-footer-meta {
    margin-top: auto;
    padding-top: 1.25rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.blog-author {
    display: flex;
    align-items: center;
    gap: 8px;
}
.blog-author img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #e2e8f0;
}
.blog-author span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
}
.blog-read-time {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}
.blog-grid-card .btn-viewmore {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--bs-primary);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: color 0.3s, gap 0.3s;
    margin-bottom: 1.5rem;
}
.blog-grid-card .btn-viewmore:hover {
    color: var(--action-orange);
    gap: 12px;
}
.blog-grid-card .btn-viewmore i {
    font-size: 0.9rem;
    transition: transform 0.3s;
}
.blog-grid-card .btn-viewmore:hover i {
    transform: translateX(3px);
}

/* Section 4: Newsletter Section */
.newsletter-section {
    position: relative;
    padding: 6rem 0;
    background: linear-gradient(-45deg, #004c84 0%, #006971 30%, #008fa7 70%, #004c84 100%);
    background-size: 400% 400%;
    animation: newsletterGradientBG 18s ease infinite;
    overflow: hidden;
}
@keyframes newsletterGradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.newsletter-section::before {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    top: -50px;
    left: -50px;
    animation: floatShape 12s infinite ease-in-out;
}
.newsletter-section::after {
    content: '';
    position: absolute;
    width: 350px;
    height: 350px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    bottom: -100px;
    right: -100px;
    animation: floatShape 16s infinite ease-in-out reverse;
}
@keyframes floatShape {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-30px) rotate(180deg); }
}

.glass-newsletter-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 28px;
    padding: 4rem 3.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    color: #ffffff;
    position: relative;
    z-index: 5;
}
.newsletter-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #ffffff !important;
    margin-bottom: 0.75rem;
}
.newsletter-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
}
.newsletter-form-wrapper {
    display: flex;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
}
.newsletter-input-wrap {
    position: relative;
    flex-grow: 1;
}
.newsletter-input-wrap i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
}
.newsletter-input-wrap input {
    width: 100%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    padding: 16px 20px 16px 52px;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s;
}
.newsletter-input-wrap input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}
.newsletter-input-wrap input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}
.btn-newsletter-subscribe {
    background-color: var(--action-orange);
    color: #ffffff;
    border: 0;
    border-radius: 50px;
    padding: 16px 36px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s;
    white-space: nowrap;
}
.btn-newsletter-subscribe:hover {
    background-color: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.4);
}

/* Floating Elements (for micro-animations) */
.floating-circle-element {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 76, 132, 0.05) 0%, rgba(0, 105, 113, 0.05) 100%);
    pointer-events: none;
    z-index: 0;
}
.floating-circle-1 {
    width: 300px;
    height: 300px;
    left: -150px;
    top: 25%;
    animation: floatCircleAnim 20s infinite ease-in-out;
}
.floating-circle-2 {
    width: 200px;
    height: 200px;
    right: -100px;
    top: 65%;
    animation: floatCircleAnim 15s infinite ease-in-out reverse;
}
@keyframes floatCircleAnim {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -50px) scale(1.1); }
}

/* Responsive Media Queries */
@media (max-width: 1199.98px) {
    .swiper.blog-featured-slider {
        height: 500px;
    }
    .blog-grid-latest {
        grid-template-rows: repeat(2, 235px);
        gap: 1.25rem;
    }
}

@media (max-width: 991.98px) {
    .blog-split-row {
        flex-direction: column;
        gap: 2rem;
    }
    .swiper.blog-featured-slider {
        height: 450px;
    }
    .blog-grid-latest {
        grid-template-rows: repeat(2, 210px);
    }
    .blog-slider-card .content {
        padding: 2.5rem 2rem;
    }
    .blog-slider-card .content h2 {
        font-size: 1.75rem;
    }
    .glass-newsletter-card {
        padding: 3rem 2rem;
    }
}

@media (max-width: 767.98px) {
    .blog-grid-latest {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 1.5rem;
    }
    .blog-grid-card-item {
        height: 250px;
    }
    .blog-split-container {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
    .newsletter-form-wrapper {
        flex-direction: column;
        gap: 15px;
    }
    .newsletter-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 575.98px) {
    .swiper.blog-featured-slider {
        height: 380px;
    }
    .blog-slider-card .content {
        padding: 1.75rem 1.25rem;
    }
    .blog-slider-card .content h2 {
        font-size: 1.35rem;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }
    .blog-slider-card .content p {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
}

/* ==========================================================================
   Premium Blog Details Page Styles
   ========================================================================== */

/* -- Reading Progress Bar -- */
#reading-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background: linear-gradient(90deg, #1a6ce8, #e85a1a, #1a6ce8);
    background-size: 200%;
    animation: progressGradient 3s ease infinite;
    z-index: 9999;
    border-radius: 0 2px 2px 0;
    transition: width 0.1s linear;
}
@keyframes progressGradient {
    0%   { background-position: 0% }
    50%  { background-position: 100% }
    100% { background-position: 0% }
}

/* -- Back To Top Button -- */
#back-to-top {
    position: fixed;
    bottom: 32px;
    right: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a6ce8, #0d4bb5);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 6px 24px rgba(26,108,232,0.4);
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s, transform 0.3s;
    z-index: 1050;
}
#back-to-top.show {
    opacity: 1;
    transform: translateY(0);
}
#back-to-top:hover {
    background: linear-gradient(135deg, #0d4bb5, #1a6ce8);
    transform: translateY(-4px);
    box-shadow: 0 10px 32px rgba(26,108,232,0.5);
}

/* -- Blog Details Layout -- */
.blog-details-wrapper {
    background: #f7fafc;
    padding: 3rem 0 4rem;
}
.blog-main-col { padding-right: 1.5rem; }

/* -- Blog Hero Section -- */
.blog-hero-section {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 2.5rem;
    box-shadow: 0 12px 48px rgba(0,0,0,0.18);
}
.blog-hero-image {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.165,0.84,0.44,1);
}
.blog-hero-section:hover .blog-hero-image { transform: scale(1.04); }
.blog-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,16,35,0.92) 0%, rgba(10,16,35,0.3) 55%, transparent 100%);
}
.blog-hero-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 2.5rem 2.5rem 2rem;
    color: #fff;
}
.blog-hero-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}
.blog-hero-meta .blog-badge { font-size: 0.7rem; padding: 5px 12px; }
.blog-hero-read-time, .blog-hero-author {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    gap: 6px;
}
.blog-hero-date-badge {
    position: absolute;
    top: 20px; right: 20px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 12px;
    padding: 8px 14px;
    text-align: center;
    color: #fff;
    min-width: 60px;
}
.blog-hero-date-badge .day { display: block; font-size: 1.6rem; font-weight: 800; line-height: 1; }
.blog-hero-date-badge .month { display: block; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.blog-hero-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.25;
    color: #fff;
    margin-bottom: 0;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

/* -- Article Breadcrumb -- */
.blog-breadcrumb {
    background: #fff;
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1.75rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    font-size: 0.85rem;
}
.blog-breadcrumb .breadcrumb { margin-bottom: 0; }
.blog-breadcrumb .breadcrumb-item a { color: #1a6ce8; text-decoration: none; }
.blog-breadcrumb .breadcrumb-item.active { color: #6b7280; }

/* -- Blog Article Card -- */
.blog-article-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    margin-bottom: 2rem;
}

/* Article Typography */
.blog-article-card h2 {
    font-size: 1.55rem;
    font-weight: 800;
    color: #0a1023;
    margin: 2rem 0 1rem;
    padding-left: 1rem;
    border-left: 4px solid #1a6ce8;
}
.blog-article-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a2340;
    margin: 1.75rem 0 0.75rem;
}
.blog-article-card p {
    color: #374151;
    line-height: 1.85;
    font-size: 1rem;
    margin-bottom: 1.2rem;
}

/* Highlight Quote */
.blog-highlight-quote {
    position: relative;
    background: linear-gradient(135deg, #f0f5ff, #e8f0fe);
    border-radius: 16px;
    padding: 2rem 2rem 2rem 4rem;
    margin: 2.5rem 0;
    overflow: hidden;
}
.blog-highlight-quote::before {
    content: '\201C';
    position: absolute;
    left: 1rem;
    top: -0.5rem;
    font-size: 6rem;
    color: #1a6ce8;
    opacity: 0.18;
    font-family: Georgia, serif;
    line-height: 1;
}
.blog-highlight-quote .quote-icon {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, #1a6ce8, #0d4bb5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 1rem;
}
.blog-highlight-quote blockquote {
    font-size: 1.15rem;
    font-style: italic;
    color: #1a2340;
    font-weight: 600;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}
.blog-highlight-quote cite {
    font-size: 0.85rem;
    color: #6b7280;
    font-style: normal;
    font-weight: 500;
}

/* Image Gallery */
.blog-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 2rem 0;
}
.blog-gallery-item {
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 4/3;
}
.blog-gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}
.blog-gallery-item:hover img { transform: scale(1.08); }
.blog-gallery-item:first-child {
    grid-column: span 2;
    aspect-ratio: 16/9;
}

/* Key Takeaways Card */
.key-takeaways-card {
    background: linear-gradient(135deg, #0a1023, #1a3060);
    border-radius: 20px;
    padding: 2rem 2.25rem;
    color: #fff;
    margin: 2.5rem 0;
    position: relative;
    overflow: hidden;
}
.key-takeaways-card::before {
    content: '';
    position: absolute;
    top: -30px; right: -30px;
    width: 180px; height: 180px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
}
.key-takeaways-card .card-icon {
    width: 52px; height: 52px;
    background: rgba(255,255,255,0.12);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    color: #ffd700;
}
.key-takeaways-card h4 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    color: #fff;
}
.key-takeaways-card ul {
    list-style: none;
    padding: 0; margin: 0;
}
.key-takeaways-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    font-size: 0.92rem;
    color: rgba(255,255,255,0.88);
    line-height: 1.5;
}
.key-takeaways-card ul li:last-child { border-bottom: none; }
.key-takeaways-card ul li i { color: #4ade80; margin-top: 3px; flex-shrink: 0; }

/* -- Info Boxes -- */
.info-box {
    border-radius: 16px;
    padding: 1.5rem 1.75rem;
    margin: 1.5rem 0;
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    backdrop-filter: blur(6px);
}
.info-box.info-tip {
    background: rgba(34,197,94,0.08);
    border: 1px solid rgba(34,197,94,0.25);
}
.info-box.info-warning {
    background: rgba(245,158,11,0.08);
    border: 1px solid rgba(245,158,11,0.3);
}
.info-box.info-note {
    background: rgba(26,108,232,0.07);
    border: 1px solid rgba(26,108,232,0.2);
}
.info-box .box-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.info-box.info-tip .box-icon { background: rgba(34,197,94,0.15); color: #16a34a; }
.info-box.info-warning .box-icon { background: rgba(245,158,11,0.15); color: #b45309; }
.info-box.info-note .box-icon { background: rgba(26,108,232,0.15); color: #1a6ce8; }
.info-box .box-content h5 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.35rem; }
.info-box.info-tip .box-content h5 { color: #15803d; }
.info-box.info-warning .box-content h5 { color: #92400e; }
.info-box.info-note .box-content h5 { color: #1e40af; }
.info-box .box-content p { font-size: 0.88rem; color: #374151; line-height: 1.6; margin-bottom: 0; }

/* -- Social Share -- */
.social-share-section {
    background: #fff;
    border-radius: 20px;
    padding: 2rem 2.5rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    margin-bottom: 2rem;
}
.social-share-section h5 {
    font-size: 1rem;
    font-weight: 700;
    color: #0a1023;
    margin-bottom: 1.25rem;
}
.social-share-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-share {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 50px;
    font-size: 0.83rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: none;
    cursor: pointer;
}
.btn-share:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.25); color: #fff; }
.btn-share.facebook  { background: #1877f2; }
.btn-share.whatsapp  { background: #25d366; }
.btn-share.linkedin  { background: #0a66c2; }
.btn-share.twitter   { background: #1da1f2; }
.btn-share.telegram  { background: #2ca5e0; }

/* -- Author Box -- */
.author-box {
    background: linear-gradient(135deg, #f0f5ff, #fff);
    border-radius: 20px;
    padding: 2rem 2.25rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    margin-bottom: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    border: 1px solid #e2e9f5;
    transition: box-shadow 0.3s ease;
}
.author-box:hover { box-shadow: 0 12px 40px rgba(26,108,232,0.12); }
.author-avatar {
    width: 90px; height: 90px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #1a6ce8;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.author-box:hover .author-avatar { transform: scale(1.07); }
.author-name { font-size: 1.15rem; font-weight: 800; color: #0a1023; margin-bottom: 0.2rem; }
.author-title { font-size: 0.82rem; color: #1a6ce8; font-weight: 600; margin-bottom: 0.6rem; }
.author-bio { font-size: 0.88rem; color: #4b5563; line-height: 1.65; margin-bottom: 0.85rem; }
.author-social-links { display: flex; gap: 8px; }
.author-social-links a {
    width: 34px; height: 34px;
    border-radius: 50%;
    background: #f3f7ff;
    border: 1px solid #dce6fb;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1a6ce8;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.25s ease;
}
.author-social-links a:hover { background: #1a6ce8; color: #fff; transform: translateY(-3px); }

/* -- Prev/Next Blog Navigation -- */
.blog-nav-section {
    background: #fff;
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    margin-bottom: 2rem;
}
.blog-nav-section .row { margin: 0; }
.blog-nav-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 1rem 1.25rem;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    background: #f7fafc;
    border: 1px solid #e5eaf3;
}
.blog-nav-card:hover { background: #f0f5ff; border-color: #c4d4f7; transform: translateX(0) translateY(-4px); box-shadow: 0 8px 28px rgba(26,108,232,0.12); }
.blog-nav-card.prev-card:hover { transform: translateX(-4px) translateY(-4px); }
.blog-nav-card.next-card:hover { transform: translateX(4px) translateY(-4px); }
.blog-nav-card img { width: 72px; height: 58px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.blog-nav-card .nav-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: #1a6ce8; margin-bottom: 3px; display: block; }
.blog-nav-card .nav-title { font-size: 0.87rem; font-weight: 700; color: #0a1023; line-height: 1.35; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }

/* -- Related Blogs Section -- */
.related-blogs-section {
    padding: 2rem 0;
    margin-bottom: 1rem;
}
.related-blogs-section .section-label {
    font-size: 0.82rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1.2px; color: #1a6ce8;
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 0.5rem;
}
.related-blogs-section .section-label::before {
    content: '';
    display: block; width: 28px; height: 3px;
    background: #1a6ce8; border-radius: 2px;
}
.related-blogs-section h3 {
    font-size: 1.65rem; font-weight: 800;
    color: #0a1023; margin-bottom: 2rem;
}
.related-blog-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    transition: all 0.35s cubic-bezier(0.165,0.84,0.44,1);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.related-blog-card:hover { transform: translateY(-8px); box-shadow: 0 16px 48px rgba(26,108,232,0.14); }
.related-blog-card .img-wrap {
    position: relative;
    overflow: hidden;
    height: 200px;
}
.related-blog-card .img-wrap img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.5s ease;
}
.related-blog-card:hover .img-wrap img { transform: scale(1.07); }
.related-blog-card .card-body { padding: 1.25rem; flex: 1; }
.related-blog-card .date-badge {
    position: absolute;
    top: 12px; right: 12px;
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 10px;
    padding: 5px 10px;
    text-align: center;
    color: #fff;
}
.related-blog-card .date-badge .day { display: block; font-size: 1.2rem; font-weight: 800; line-height: 1; }
.related-blog-card .date-badge .month { display: block; font-size: 0.65rem; font-weight: 600; text-transform: uppercase; }
.related-blog-card .card-title a { font-size: 1rem; font-weight: 700; color: #0a1023; text-decoration: none; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-blog-card .card-title a:hover { color: #1a6ce8; }
.btn-related-more {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 18px; border-radius: 50px;
    background: #f0f5ff; color: #1a6ce8;
    font-size: 0.82rem; font-weight: 700;
    text-decoration: none; border: 1px solid #c4d4f7;
    transition: all 0.25s ease;
}
.btn-related-more:hover { background: #1a6ce8; color: #fff; border-color: #1a6ce8; transform: translateY(-2px); }

/* ----------------------------------------
   SIDEBAR STYLES
   ---------------------------------------- */
.blog-sidebar {
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #c4d4f7 transparent;
}
.blog-sidebar::-webkit-scrollbar { width: 4px; }
.blog-sidebar::-webkit-scrollbar-thumb { background: #c4d4f7; border-radius: 4px; }

.sidebar-widget {
    background: #fff;
    border-radius: 18px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    margin-bottom: 1.5rem;
    border: 1px solid #edf2fb;
    transition: box-shadow 0.3s ease;
}
.sidebar-widget:hover { box-shadow: 0 8px 32px rgba(26,108,232,0.1); }
.widget-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0a1023;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f0f5ff;
    display: flex;
    align-items: center;
    gap: 8px;
}
.widget-title i { color: #1a6ce8; font-size: 1rem; }

/* Widget 1: Search */
.sidebar-search-form { position: relative; }
.sidebar-search-form input {
    width: 100%;
    padding: 11px 50px 11px 16px;
    border: 2px solid #e5eaf3;
    border-radius: 50px;
    font-size: 0.88rem;
    outline: none;
    color: #374151;
    background: #f7fafc;
    transition: border-color 0.25s ease, background 0.25s ease;
}
.sidebar-search-form input:focus { border-color: #1a6ce8; background: #fff; }
.sidebar-search-btn {
    position: absolute;
    right: 5px; top: 50%;
    transform: translateY(-50%);
    width: 38px; height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a6ce8, #0d4bb5);
    color: #fff; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem;
    transition: all 0.25s ease;
}
.sidebar-search-btn:hover { background: linear-gradient(135deg, #0d4bb5, #1a6ce8); transform: translateY(-50%) rotate(15deg); }

/* Widget 2: Recent Blogs */
.recent-blog-item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 0.65rem 0;
    border-bottom: 1px solid #f3f6fb;
    text-decoration: none;
    border-radius: 10px;
    padding: 0.6rem;
    transition: all 0.25s ease;
}
.recent-blog-item:last-child { border-bottom: none; }
.recent-blog-item:hover, .recent-blog-item.active { background: #f0f5ff; padding-left: 0.85rem; }
.recent-blog-item img { width: 60px; height: 52px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.recent-blog-title { font-size: 0.82rem; font-weight: 700; color: #0a1023; line-height: 1.35; margin-bottom: 4px; -webkit-line-clamp: 2; display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.recent-blog-date { font-size: 0.72rem; color: #9ca3af; display: flex; align-items: center; gap: 4px; }

/* Widget 3: Categories */
.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0.9rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    color: #374151;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 6px;
    border: 1px solid transparent;
}
.category-item:hover, .category-item.active { background: #f0f5ff; border-color: #c4d4f7; color: #1a6ce8; }
.category-item .cat-left { display: flex; align-items: center; gap: 8px; }
.category-item .cat-icon { color: #1a6ce8; font-size: 0.9rem; }
.category-count {
    font-size: 0.72rem;
    font-weight: 700;
    background: #e8f0fd;
    color: #1a6ce8;
    padding: 2px 8px;
    border-radius: 50px;
    transition: all 0.25s ease;
}
.category-item:hover .category-count { background: #1a6ce8; color: #fff; }

/* Widget 4: Follow Us */
.follow-social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.follow-social-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.75rem 1rem;
    border-radius: 14px;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.follow-social-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0);
    transition: background 0.3s ease;
}
.follow-social-card:hover::before { background: rgba(255,255,255,0.12); }
.follow-social-card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.25); color: #fff; }
.follow-social-card.fb { background: linear-gradient(135deg, #1877f2, #0a5cc7); }
.follow-social-card.ig { background: linear-gradient(135deg, #e1306c, #833ab4, #fd1d1d); }
.follow-social-card.li { background: linear-gradient(135deg, #0a66c2, #004182); }
.follow-social-card.yt { background: linear-gradient(135deg, #ff0000, #cc0000); }
.follow-social-card.tg { background: linear-gradient(135deg, #2ca5e0, #1a7fb5); }
.follow-social-card .fs-icon { font-size: 1.3rem; flex-shrink: 0; }

/* Widget 5: Consultation CTA */
.consult-cta-widget {
    background: linear-gradient(135deg, #0a1023, #1a3060, #0a1023);
    background-size: 200% 200%;
    animation: ctaGradientShift 5s ease infinite;
    border-radius: 18px;
    overflow: hidden;
    color: #fff;
    padding: 0;
}
@keyframes ctaGradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
.consult-cta-inner { padding: 1.5rem; text-align: center; }
.consult-img-wrap {
    width: 90px; height: 90px;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.3);
    overflow: hidden;
    margin: 0 auto 1rem;
}
.consult-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.consult-name { font-size: 1rem; font-weight: 800; margin-bottom: 0.2rem; }
.consult-sub { font-size: 0.78rem; color: rgba(255,255,255,0.65); margin-bottom: 1rem; }
.consult-text { font-size: 0.85rem; color: rgba(255,255,255,0.82); line-height: 1.6; margin-bottom: 1.25rem; }
.btn-consult-call {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; padding: 10px; border-radius: 50px;
    background: linear-gradient(90deg, #1a6ce8, #0d4bb5);
    color: #fff; font-size: 0.85rem; font-weight: 700;
    border: none; cursor: pointer; text-decoration: none;
    margin-bottom: 8px;
    transition: all 0.25s ease;
}
.btn-consult-call:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(26,108,232,0.5); color: #fff; }
.btn-consult-whatsapp {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; padding: 10px; border-radius: 50px;
    background: linear-gradient(90deg, #25d366, #128c48);
    color: #fff; font-size: 0.85rem; font-weight: 700;
    border: none; cursor: pointer; text-decoration: none;
    transition: all 0.25s ease;
}
.btn-consult-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(37,211,102,0.5); color: #fff; }

/* Widget 6: Popular Tags */
.tag-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-pill {
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.78rem; font-weight: 700;
    background: #f0f5ff; color: #1a6ce8;
    border: 1px solid #c4d4f7;
    cursor: pointer; text-decoration: none;
    transition: all 0.25s ease;
    display: inline-block;
}
.tag-pill:hover { background: #1a6ce8; color: #fff; border-color: #1a6ce8; transform: translateY(-2px); }

/* Widget 7: Download Guide */
.download-guide-widget {
    background: linear-gradient(135deg, #1a6ce8, #7c3aed);
    border-radius: 18px;
    padding: 1.75rem;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.download-guide-widget::before {
    content: '';
    position: absolute; top: -20px; right: -20px;
    width: 100px; height: 100px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
}
.download-guide-widget::after {
    content: '';
    position: absolute; bottom: -30px; left: -30px;
    width: 130px; height: 130px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}
.download-guide-widget .dg-icon {
    width: 60px; height: 60px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
    animation: floatGuide 3s ease-in-out infinite;
}
@keyframes floatGuide {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.download-guide-widget h5 { font-size: 1rem; font-weight: 800; margin-bottom: 0.5rem; }
.download-guide-widget p { font-size: 0.82rem; color: rgba(255,255,255,0.8); margin-bottom: 1.25rem; }
.btn-download-guide {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px; border-radius: 50px;
    background: #fff; color: #1a6ce8;
    font-size: 0.85rem; font-weight: 800;
    text-decoration: none; border: none; cursor: pointer;
    transition: all 0.25s ease;
    position: relative; z-index: 1;
}
.btn-download-guide:hover { background: #f0f5ff; transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); color: #1a6ce8; }

/* -- Responsive -- */
@media (max-width: 991.98px) {
    .blog-main-col { padding-right: 0; }
    .blog-sidebar {
        position: static;
        max-height: none;
        overflow-y: visible;
    }
    .blog-hero-image { height: 340px; }
    .blog-hero-title { font-size: 1.5rem; }
    .blog-article-card { padding: 1.5rem; }
}
@media (max-width: 767.98px) {
    .blog-hero-image { height: 260px; }
    .blog-hero-content { padding: 1.5rem 1.25rem 1.25rem; }
    .blog-hero-title { font-size: 1.2rem; }
    .blog-gallery-grid { grid-template-columns: 1fr 1fr; }
    .blog-gallery-item:first-child { grid-column: span 2; }
    .author-box { flex-direction: column; align-items: center; text-align: center; }
    .author-social-links { justify-content: center; }
    .follow-social-grid { grid-template-columns: 1fr; }
    .social-share-btns { gap: 7px; }
    .btn-share { font-size: 0.77rem; padding: 8px 13px; }
}


/* ==========================================================================
   Page Loader - Top Navbar Loader
   ========================================================================== */

/* -- Fullscreen Overlay Loader -- */
#page-loader {
    position: fixed;
    inset: 0;
    background: #ffffff;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 1.5rem;
    transition: opacity 0.45s ease, visibility 0.45s ease;
}
#page-loader.loader-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Logo pulse in loader */
.loader-logo {
    animation: loaderLogoPulse 1.2s ease-in-out infinite;
}
@keyframes loaderLogoPulse {
    0%, 100% { transform: scale(1);   opacity: 1;    }
    50%       { transform: scale(1.08); opacity: 0.75; }
}

/* -- Top Progress Bar (runs on every navigation) -- */
#top-nav-loader {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #1a6ce8 0%, #7c3aed 50%, #e85a1a 100%);
    background-size: 200% 100%;
    z-index: 100000;
    border-radius: 0 3px 3px 0;
    box-shadow: 0 0 10px rgba(26, 108, 232, 0.6);
    transition: width 0.25s ease;
    animation: shimmerBar 1.8s linear infinite;
    display: none;
}
@keyframes shimmerBar {
    0%   { background-position: 0%   }
    100% { background-position: 200% }
}

/* -- Spinner inside full loader -- */
.loader-spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #e5eaf3;
    border-top-color: #1a6ce8;
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}

/* -- Loader dots beneath logo -- */
.loader-dots {
    display: flex;
    gap: 7px;
}
.loader-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #1a6ce8;
    animation: dotBounce 1.2s ease-in-out infinite;
}
.loader-dot:nth-child(1) { animation-delay: 0s;    background: #1a6ce8; }
.loader-dot:nth-child(2) { animation-delay: 0.18s; background: #7c3aed; }
.loader-dot:nth-child(3) { animation-delay: 0.36s; background: #e85a1a; }
@keyframes dotBounce {
    0%, 80%, 100% { transform: scale(0.6); opacity: 0.5; }
    40%           { transform: scale(1);   opacity: 1;   }
}

/* ==========================================================================
   Premium Gallery Page Styling
   ========================================================================== */

.gallery-page-container {
    position: relative;
    overflow: hidden;
    background-color: #f8fafc;
    padding-bottom: 2rem;
}

/* Floating Soft Background Blobs */
.gallery-bg-blobs {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.gallery-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    animation: blobFloat 20s infinite alternate ease-in-out;
}

.gallery-blob-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 76, 132, 0.4) 0%, rgba(0, 105, 113, 0.1) 100%);
    top: -100px;
    left: -200px;
}

.gallery-blob-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.3) 0%, rgba(249, 115, 22, 0.05) 100%);
    bottom: 20%;
    right: -250px;
    animation-delay: -5s;
    animation-duration: 25s;
}

.gallery-blob-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 123, 189, 0.35) 0%, rgba(0, 76, 132, 0.05) 100%);
    bottom: -100px;
    left: 10%;
    animation-delay: -10s;
    animation-duration: 18s;
}

@keyframes blobFloat {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    50% {
        transform: translate(80px, 50px) scale(1.1) rotate(180deg);
    }
    100% {
        transform: translate(-40px, -80px) scale(0.95) rotate(360deg);
    }
}

/* Category Filter Styles */
.gallery-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.filter-btn {
    border: 1px solid #cbd5e1;
    background-color: #ffffff;
    color: #475569;
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 13.5px;
    padding: 10px 24px;
    border-radius: 50px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.filter-btn:hover {
    color: var(--bs-primary);
    border-color: var(--bs-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 76, 132, 0.1);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #0064ac 100%);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 6px 16px rgba(0, 76, 132, 0.25);
}

/* Gallery Grid Layout */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 2;
}

/* Responsive Grid Adapters */
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .filter-btn {
        padding: 8px 18px;
        font-size: 12.5px;
    }
}

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

/* Gallery Card */
.gallery-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.gallery-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 20px 30px rgba(0, 76, 132, 0.12);
}

.gallery-image-container {
    position: relative;
    overflow: hidden;
    padding-top: 70%; /* 4:3 Aspect Ratio */
    background-color: #e2e8f0;
}

.gallery-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-card:hover .gallery-image-container img {
    transform: scale(1.12);
}

/* Gradient Overlay & Hover Controls */
.gallery-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 76, 132, 0.4) 60%, rgba(0, 0, 0, 0.1) 100%);
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.gallery-card:hover .gallery-card-overlay {
    opacity: 1;
}

.gallery-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    color: var(--bs-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    z-index: 2;
    transition: all 0.3s ease;
}

.gallery-card:hover .gallery-card-badge {
    background: var(--action-orange);
    color: #ffffff;
}

.gallery-card-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.05s;
}

.gallery-card:hover .gallery-card-actions {
    transform: translateY(0);
    opacity: 1;
}

.gallery-action-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.gallery-action-btn:hover {
    background: #ffffff;
    color: var(--bs-primary);
    transform: scale(1.1);
}

.gallery-action-link {
    background: #ffffff;
    color: var(--text-main);
    border-radius: 50px;
    padding: 8px 18px;
    font-family: 'Work Sans', sans-serif;
    font-weight: 600;
    font-size: 12.5px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.gallery-action-link:hover {
    background: var(--action-orange);
    color: #ffffff;
}

.gallery-card-info {
    transform: translateY(15px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) 0.1s;
}

.gallery-card:hover .gallery-card-info {
    transform: translateY(0);
    opacity: 1;
}

.gallery-card-title {
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Custom Lightbox Styles for Premium Popup */
.gallery-lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 15, 25, 0.95);
    backdrop-filter: blur(12px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.gallery-lightbox-overlay.show {
    opacity: 1;
    pointer-events: all;
}

.lightbox-container {
    position: relative;
    max-width: 90%;
    max-height: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-image-wrapper {
    position: relative;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.gallery-lightbox-overlay.show .lightbox-image-wrapper {
    transform: scale(1);
    opacity: 1;
}

.lightbox-image-wrapper img {
    max-width: 100%;
    max-height: 75vh;
    display: block;
    object-fit: contain;
}

.lightbox-caption-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 70%, transparent 100%);
    padding: 20px;
    color: #ffffff;
    text-align: center;
}

.lightbox-title {
    font-family: 'Work Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.lightbox-counter {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.lightbox-close-btn {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
}

.lightbox-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #ffffff;
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.25);
}

.lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10000;
}

.lightbox-nav-btn:hover {
    background: #ffffff;
    color: var(--bs-primary);
    border-color: #ffffff;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev-btn {
    left: 40px;
}

.lightbox-next-btn {
    right: 40px;
}

@media (max-width: 991px) {
    .lightbox-prev-btn { left: 20px; background: rgba(0, 0, 0, 0.6); }
    .lightbox-next-btn { right: 20px; background: rgba(0, 0, 0, 0.6); }
    .lightbox-close-btn { right: 20px; top: 20px; }
}

@media (max-width: 576px) {
    .lightbox-prev-btn { left: 10px; width: 44px; height: 44px; font-size: 16px; }
    .lightbox-next-btn { right: 10px; width: 44px; height: 44px; font-size: 16px; }
    .lightbox-close-btn { right: 10px; top: 15px; width: 44px; height: 44px; font-size: 16px; }
}

/* Glassmorphism Statistics Section */
.gallery-stats-section {
    position: relative;
    padding: 80px 0;
    background: radial-gradient(circle at 80% 20%, #0059b3 0%, var(--bs-primary) 100%);
    color: #ffffff;
    overflow: hidden;
}

.gallery-stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #11234b !important;
    /*background-image: linear-gradient(45deg, rgba(0, 105, 113, 0.25) 0%, transparent 100%);*/
    z-index: 1;
}

.stats-card-glass {
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.stats-card-glass:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.stats-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: #86f3ff;
    margin: 0 auto 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.stats-card-glass:hover .stats-icon-wrapper {
    background: linear-gradient(45deg, #AE8625, #d8d164, #D2AC47, #EDC967);
    color: #ffffff;
    transform: scale(1.05) rotate(5deg);
}

.stats-counter {
    font-family: 'Work Sans', sans-serif;
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.5px;
    color: #ffffff;
}

.stats-label {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Premium CTA Section */
.gallery-cta-section {
    position: relative;
    padding: 90px 0;
    background-color: #f8fafc;
    z-index: 2;
}

.cta-box-gradient {
    background: linear-gradient(135deg, #004c84 0%, #006971 100%);
    border-radius: 30px;
    padding: 60px 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 76, 132, 0.15);
}

.cta-box-gradient::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.cta-box-gradient::after {
    content: '';
    position: absolute;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    bottom: -80px;
    left: -50px;
}

.cta-title {
    font-family: 'Work Sans', sans-serif;
    font-size: 34px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.cta-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 650px;
    margin: 0 auto 30px;
    position: relative;
    z-index: 2;
}

.cta-actions {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: linear-gradient(45deg, #AE8625, #d8d164, #D2AC47, #EDC967);
    color: #ffffff;
    border-radius: 50px;
    font-weight: 700;
    padding: 12px 30px;
    transition: all 0.3s ease;
    border: none;
}

.btn-cta-primary:hover {
    background: linear-gradient(135deg, #E6C16A 0%, #D4A24C 35%, #B9832D 70%, #8E6224 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.btn-cta-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    font-weight: 700;
    padding: 10px 30px;
    transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Staggered entry animation utilities */
.stagger-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-item.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Back To Top Button */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--bs-primary);
    color: #ffffff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 76, 132, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.35s ease;
    z-index: 999;
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background-color: var(--action-orange);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
    transform: translateY(-4px);
}


.contact-form-control::file-selector-button {
  background-color: transparent !important; /* Change background color */
  color: white;
}

/* Optional: Add a hover effect */
.contact-form-control::file-selector-button:hover {
  background-color: transparent !important;
}
