:root {
    --brand: #0ea5e9;
    --brand-dark: #0284c7;
    --brand-light: #38bdf8;
    --success: #22c55e;
    --danger: #ef4444;
    --warning: #f59e0b;

    --bg: #f4f7fb;
    --surface: #ffffff;
    --surface-2: #f8fafc;

    --text: #0f172a;
    --text-light: #64748b;

    --border: #e2e8f0;

    --shadow-xs: 0 2px 8px rgba(15, 23, 42, .05);
    --shadow-sm: 0 10px 30px rgba(15, 23, 42, .08);
    --shadow-md: 0 20px 40px rgba(15, 23, 42, .12);
    --shadow-lg: 0 25px 60px rgba(15, 23, 42, .18);

    --radius-sm: .8rem;
    --radius-md: 1.2rem;
    --radius-lg: 1.8rem;

    --transition: .3s cubic-bezier(.4, 0, .2, 1);
}

/* ===========================
   GLOBAL RESET
=========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background:
        radial-gradient(circle at top left, #e0f2fe 0%, transparent 30%),
        radial-gradient(circle at bottom right, #dbeafe 0%, transparent 30%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    color: var(--text);
    overflow-x: hidden;
    position: relative;
}

/* page-wrapper: secondary horizontal containment safety net */
.page-wrapper {
    overflow-x: clip; /* clip instead of hidden so sticky children still work */
    position: relative;
    /* min-height let the content dictate height naturally */
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .02) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: -1;
}

/* ===========================
   SCROLLBAR
=========================== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #e2e8f0;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--brand), var(--brand-dark));
    border-radius: 20px;
}

/* ===========================
   CONTAINER
=========================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding-inline: 1.2rem;
}



/* ===========================
   NAVBAR
=========================== */
.navbar {
    /* Sticks below fixed announcement bar */
    position: sticky;
    top: 56px; /* matches --banner-height */
    z-index: 9000;
    height: 88px !important;
    min-height: 88px !important;
    max-height: 88px !important;
    padding: 0 !important;
    background: #ffffff;
    border-bottom: 1px solid rgba(14, 165, 233, .1);
    box-shadow: 0 2px 20px rgba(2, 132, 199, .08);
    transition: box-shadow 0.3s ease;
    display: flex !important;
    align-items: center !important;
}

/* Ensure container fills full navbar height */
.navbar > .container-fluid {
    height: 100% !important;
    min-height: 100% !important;
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

/* Lock brand to left, never shrink */
.navbar-brand {
    flex-shrink: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem;
    padding: 0.25rem 0;
    text-decoration: none;
}

.navbar-brand img.brand-logo-img {
    flex-shrink: 0;
    object-fit: contain;
}

.navbar:hover {
    box-shadow: 0 4px 30px rgba(2, 132, 199, .14);
}

/* On mobile: stack correctly, hamburger visible */
@media (max-width: 991.98px) {
    .navbar > .container-fluid {
        flex-wrap: wrap;
    }
    .navbar-collapse {
        width: 100%;
        padding-bottom: 0.5rem;
    }
}

.brand-logo {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: .5px;
    background: linear-gradient(90deg, var(--brand), var(--brand-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-nav {
    gap: .3rem;
}

.nav-link {
    position: relative;
    padding: .8rem 1.1rem !important;
    border-radius: 999px;
    font-weight: 600;
    color: var(--text) !important;
    transition: var(--transition);
}

.nav-link::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand), var(--brand-dark));
    opacity: 0;
    z-index: -1;
    transition: var(--transition);
}

.nav-link:hover {
    color: #fff !important;
    transform: translateY(-2px);
}

.nav-link:hover::before {
    opacity: 1;
}

.navbar-toggler,
.offcanvas-btn {
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: var(--shadow-xs);
    transition: var(--transition);
}

.navbar-toggler:hover,
.offcanvas-btn:hover {
    transform: scale(1.08) rotate(5deg);
    background: var(--brand);
    color: #fff !important;
}

/* ===========================
   OFFCANVAS
=========================== */
.offcanvas {
    border: none;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(18px);
}

.offcanvas-header {
    padding: 1.5rem;
}

.sidebar-nav {
    gap: .8rem;
}

.sidebar-link {
    background: #fff;
    border-radius: 1rem;
    transition: var(--transition);
    border: 1px solid transparent;
    box-shadow: var(--shadow-xs);
}

.sidebar-link:hover {
    transform: translateX(8px) scale(1.02);
    border-color: rgba(14, 165, 233, .2);
    background: linear-gradient(135deg, #fff, #f0f9ff);
    box-shadow: var(--shadow-sm);
}

/* ===========================
   MAIN SECTION
=========================== */
main {
    min-height: 80vh;
    position: relative;
}

section {
    padding: 5rem 0;
}

/* Hero section gets its own padding — overrides global section padding */
.hero-section {
    padding-top: 2rem !important;
    padding-bottom: 3rem !important;
}

@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

@media (max-width: 576px) {
    .navbar {
        top: 52px !important;
        min-height: 56px !important;
    }
    .hero-section {
        padding-top: 1.5rem !important;
    }
}

/* ===========================
   CARDS
=========================== */
.card,
.form-section,
.feature-card {
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, .5);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
    position: relative;
}

.card::before,
.form-section::before,
.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(14, 165, 233, .06), transparent 50%);
    pointer-events: none;
}

.card:hover,
.form-section:hover,
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

/* ===========================
   FORM SECTION
=========================== */
.form-section {
    padding: 3rem;
    animation: fadeUp .8s ease;
}

.form-control,
.form-select {
    height: 58px;
    border-radius: 1rem;
    border: 1.5px solid var(--border);
    background: #fff;
    transition: var(--transition);
    font-size: 1rem;
    padding-inline: 1rem;
}

.form-control:hover {
    border-color: var(--brand-light);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--brand);
    box-shadow:
        0 0 0 4px rgba(14, 165, 233, .12),
        0 10px 30px rgba(14, 165, 233, .12);
    transform: translateY(-2px);
}

.form-label {
    margin-bottom: .55rem;
    font-weight: 700;
    color: var(--text);
}

.form-text {
    color: var(--text-light);
}

/* ===========================
   BUTTONS
=========================== */
.btn {
    border: none;
    border-radius: 1rem;
    font-weight: 700;
    padding: .95rem 1.4rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, .3),
            transparent);
    transition: .6s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg,
            var(--brand),
            var(--brand-dark));
    color: #fff;
    box-shadow:
        0 10px 25px rgba(14, 165, 233, .25);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.01);
    box-shadow:
        0 20px 40px rgba(14, 165, 233, .35);
}

.btn-light {
    background: #fff;
    color: var(--text);
}

/* ===========================
   ALERTS
=========================== */
.alert {
    border: none;
    border-radius: 1rem;
    padding: 1rem 1.2rem;
    font-weight: 600;
    animation: fadeDown .4s ease;
}

.alert-success {
    background: rgba(34, 197, 94, .12);
    color: #15803d;
}

.alert-danger {
    background: rgba(239, 68, 68, .12);
    color: #b91c1c;
}

/* ===========================
   HERO
=========================== */
.hero-section {
    position: relative;
    overflow: hidden;
    padding: 7rem 0;
    background:
        linear-gradient(135deg,
            #0ea5e9 0%,
            #0284c7 100%);
    color: #fff;
}

.hero-section::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, .12);
    border-radius: 50%;
    top: -200px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.hero-section::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, .08);
    border-radius: 50%;
    bottom: -120px;
    left: -100px;
    animation: float 10s ease-in-out infinite reverse;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    margin-bottom: 1.2rem;
}

.hero-subtitle {
    max-width: 650px;
    font-size: 1.1rem;
    opacity: .92;
}

/* ===========================
   LOADER
=========================== */
.page-loader {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, .9);
    backdrop-filter: blur(12px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    pointer-events: none;
    transition: .4s ease;
}

.page-loader.active {
    opacity: 1;
    pointer-events: auto;
}

.car-loader {
    position: relative;
    width: 140px;
    height: 60px;
}

.car-body {
    position: absolute;
    bottom: 10px;
    width: 110px;
    height: 32px;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    border-radius: 16px 28px 10px 10px;
    left: 15px;
    animation: bounce .5s infinite alternate;
}

.car-window {
    position: absolute;
    width: 45px;
    height: 16px;
    background: #fff;
    border-radius: 8px 12px 4px 4px;
    right: 18px;
    top: 5px;
}

.car-wheel {
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #1e293b;
    border: 4px solid #cbd5e1;
    bottom: -8px;
    animation: spin .5s linear infinite;
}

.wheel-front {
    right: 18px;
}

.wheel-back {
    left: 18px;
}

.loader-text {
    margin-top: 1.4rem;
    font-weight: 800;
    color: var(--brand);
    letter-spacing: 1px;
    animation: pulse 1.2s infinite;
}

/* ===========================
   FOOTER
=========================== */
.advanced-footer {
    position: relative;
    overflow: hidden;
    padding: 6rem 0 2rem;
    background:
        linear-gradient(135deg,
            #0f172a,
            #1e293b);
    color: #cbd5e1;
}

.advanced-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(56, 189, 248, .14), transparent 35%);
    pointer-events: none;
}

.footer-heading {
    color: #fff;
    font-weight: 700;
    margin-bottom: 1.3rem;
    position: relative;
}

.footer-heading::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg,
            var(--brand),
            var(--brand-light));
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: #cbd5e1;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #fff;
    padding-left: 8px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .06);
    color: #fff;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icon:hover {
    transform: translateY(-6px) rotate(5deg) scale(1.1);
    background: linear-gradient(135deg,
            var(--brand),
            var(--brand-dark));
    box-shadow: 0 15px 30px rgba(14, 165, 233, .35);
}

.social-icon.facebook:hover {
    background: #1877f2;
    box-shadow: 0 15px 30px rgba(24, 119, 242, 0.4);
}

.social-icon.twitter:hover {
    background: #000000;
    box-shadow: 0 15px 30px rgba(255, 255, 255, 0.15);
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 15px 30px rgba(220, 39, 67, 0.4);
}

.social-icon.linkedin:hover {
    background: #0077b5;
    box-shadow: 0 15px 30px rgba(0, 119, 181, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    margin-top: 4rem;
    padding-top: 2rem;
}

/* ===========================
   ANIMATIONS
=========================== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all .8s cubic-bezier(.4, 0, .2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes bounce {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-4px);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: .5;
    }

    50% {
        opacity: 1;
    }
}

/* ===========================
   RESPONSIVE
=========================== */
@media(max-width:992px) {

    .hero-section {
        padding: 5rem 0;
    }

    .form-section {
        padding: 2.4rem;
    }

    .navbar-collapse.show, .navbar-collapse.collapsing {
        margin-top: 1rem;
        background: #fff;
        padding: 1rem;
        border-radius: 1.4rem;
        box-shadow: var(--shadow-md);
    }
}

@media(max-width:768px) {

    section {
        padding: 4rem 0;
    }

    .hero-title {
        font-size: 2.6rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .form-section {
        padding: 2rem;
        border-radius: 1.4rem;
    }

    .advanced-footer {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media(max-width:576px) {

    body {
        font-size: .95rem;
    }

    .hero-section {
        padding: 3.5rem 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .form-section {
        padding: 1.5rem;
    }

    .btn {
        width: 100%;
    }

    .navbar {
        padding: 0 !important;
    }

    .brand-logo {
        font-size: 1.3rem;
    }

    .social-icon {
        width: 42px;
        height: 42px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}


/* ===========================
   MODAL & SERVICES CSS
=========================== */
.mstravel-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2050;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    padding-top: calc(75px + 1rem);
    overflow: hidden;
}

.mstravel-modal-backdrop.show {
    display: flex !important;
}

.mstravel-modal-dialog {
    width: 100%;
    max-width: 800px;
    margin: auto;
    pointer-events: none;
}

.mstravel-modal-content {
    background: #ffffff;
    width: 100%;
    border-radius: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
    max-height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    pointer-events: auto;
    animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.mstravel-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: rgba(248, 250, 252, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 10;
}

.mstravel-modal-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text);
}

.mstravel-modal-close {
    background: transparent;
    border: none;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.mstravel-modal-close:hover {
    color: var(--danger);
    background: rgba(239, 68, 68, 0.1);
    transform: scale(1.05);
}

.mstravel-modal-body {
    padding: 2rem;
    overflow-y: auto;
    flex: 1 1 auto;
}

.mstravel-modal-body::-webkit-scrollbar {
    width: 8px;
}
.mstravel-modal-body::-webkit-scrollbar-track {
    background: transparent;
}
.mstravel-modal-body::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.15);
    border-radius: 10px;
}

.mstravel-modal-details-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 24px;
}

.mstravel-modal-image-col {
    flex: 0 0 100%;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.mstravel-modal-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mstravel-modal-info-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mstravel-modal-btn-group {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.mstravel-modal-btn-group .btn {
    flex: 1;
    min-width: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 600;
    border-radius: 10px;
}

@media (min-width: 768px) {
    .mstravel-modal-details-grid {
        flex-direction: row;
    }
    .mstravel-modal-image-col {
        flex: 0 0 300px;
    }
}

@media (max-width: 767.98px) {
    .mstravel-modal-backdrop {
        padding: 0.5rem;
        padding-top: calc(65px + 0.5rem);
    }
    .mstravel-modal-dialog {
        max-width: calc(100% - 16px);
        margin: 0 auto;
    }
    .mstravel-modal-content {
        max-height: calc(100vh - 80px);
        border-radius: 1rem;
    }
    .mstravel-modal-header {
        padding: 0.85rem 1rem;
    }
    .mstravel-modal-title {
        font-size: 1.15rem;
    }
    .mstravel-modal-body {
        padding: 1rem;
    }
    .mstravel-modal-image-col {
        height: 190px;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===========================
   PREMIUM FLOATING HOME BUTTON
=========================== */
.ms-home-float-btn{
    position:fixed !important;
    right:20px !important;
    bottom:20px !important;
    z-index:99999 !important;

    display:flex !important;
    align-items:center !important;
    gap:10px;

    padding:14px 22px;

    border-radius:999px;

    text-decoration:none;

    box-shadow:0 10px 30px rgba(0,0,0,.2);
}

@media (max-width: 992px) {
    .ms-home-float-btn {
        bottom: 18px !important;
        right: 18px !important;
    }
}

@media (max-width: 576px) {
    .ms-home-float-btn {
        bottom: 15px !important;
        right: 15px !important;
    }
}

/* ===========================
   REVIEWS SLIDER & CARDS
=========================== */
.reviews-slider-container {
    position: relative;
    padding: 0 10px;
}

.reviews-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 20px 5px; /* space for shadow */
    scrollbar-width: none; /* Firefox */
}

.reviews-track::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.review-card {
    flex: 0 0 calc(33.333% - 16px);
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
}

@media (max-width: 992px) {
    .review-card {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 768px) {
    .review-card {
        flex: 0 0 100%;
    }
}

.review-card-inner {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 1.5rem;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-card-inner:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.review-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.review-text {
    font-style: italic;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 0;
    flex-grow: 1;
    font-size: 15px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #1f2937;
    z-index: 10;
    transition: all 0.3s;
}

.slider-btn:hover {
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.prev-btn { left: -20px; }
.next-btn { right: -20px; }

@media (max-width: 576px) {
    .prev-btn { left: -10px; width: 40px; height: 40px; }
    .next-btn { right: -10px; width: 40px; height: 40px; }
}

/* ==========================================
   MSTravel Premium Footer CTA
========================================== */
.mstravel-footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    border-radius: 999px; /* Pill shape */
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Hover State with Premium Glow & Elevation */
.mstravel-footer-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
}

/* Active State */
.mstravel-footer-cta:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

/* Focus State for Accessibility */
.mstravel-footer-cta:focus-visible {
    outline: 2px solid #93c5fd;
    outline-offset: 4px;
}

/* Icon Styling */
.mstravel-footer-cta i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

/* Icon Animation on Hover */
.mstravel-footer-cta:hover i {
    transform: translateX(-3px);
}

/* Subtle Pulse Animation */
@keyframes ctaPulse {
    0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

.mstravel-footer-cta {
    animation: ctaPulse 3s infinite;
}

    border-radius:999px;

    text-decoration:none;

    box-shadow:0 10px 30px rgba(0,0,0,.2);
}

@media (max-width: 992px) {
    .ms-home-float-btn {
        bottom: 18px !important;
        right: 18px !important;
    }
}

@media (max-width: 576px) {
    .ms-home-float-btn {
        bottom: 15px !important;
        right: 15px !important;
    }
}

/* ===========================
   REVIEWS SLIDER & CARDS
=========================== */
.reviews-slider-container {
    position: relative;
    padding: 0 10px;
}

.reviews-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 20px 5px; /* space for shadow */
    scrollbar-width: none; /* Firefox */
}

.reviews-track::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.review-card {
    flex: 0 0 calc(33.333% - 16px);
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
}

@media (max-width: 992px) {
    .review-card {
        flex: 0 0 calc(50% - 12px);
    }
}

@media (max-width: 768px) {
    .review-card {
        flex: 0 0 100%;
    }
}

.review-card-inner {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 1.5rem;
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-card-inner:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.review-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.review-text {
    font-style: italic;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 0;
    flex-grow: 1;
    font-size: 15px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #1f2937;
    z-index: 10;
    transition: all 0.3s;
}

.slider-btn:hover {
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.prev-btn { left: -20px; }
.next-btn { right: -20px; }

@media (max-width: 576px) {
    .prev-btn { left: -10px; width: 40px; height: 40px; }
    .next-btn { right: -10px; width: 40px; height: 40px; }
}

/* ==========================================
   MSTravel Premium Footer CTA
========================================== */
.mstravel-footer-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    border-radius: 999px; /* Pill shape */
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

/* Hover State with Premium Glow & Elevation */
.mstravel-footer-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
}

/* Active State */
.mstravel-footer-cta:active {
    transform: translateY(1px) scale(0.98);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

/* Focus State for Accessibility */
.mstravel-footer-cta:focus-visible {
    outline: 2px solid #93c5fd;
    outline-offset: 4px;
}

/* Icon Styling */
.mstravel-footer-cta i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

/* Icon Animation on Hover */
.mstravel-footer-cta:hover i {
    transform: translateX(-3px);
}

/* Subtle Pulse Animation */
@keyframes ctaPulse {
    0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

.mstravel-footer-cta {
    animation: ctaPulse 3s infinite;
}

/* Responsive States */
@media (max-width: 768px) {
    .mstravel-footer-cta {
        width: 100%; /* Full width on mobile for easier tapping */
        padding: 14px 20px;
    }
}


:root {
  --primary-blue: #0a2540;
  --accent-blue: #0066cc;
  --glow-blue: rgba(0, 102, 204, 0.4);
  --text-main: #1a1f36;
  --text-secondary: #425466;
  --bg-card: rgba(255, 255, 255, 0.95);
}

/* ===========================
   LOGIN SUCCESS WELCOME CARD (NEW)
=========================== */
.welcome-overlay {
  position: fixed;
  top: calc(var(--banner-height) + var(--navbar-height));
  left: 0;
  width: 100vw;
  height: calc(100vh - var(--banner-height) - var(--navbar-height));
  background: rgba(10, 37, 64, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 99990;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  padding: 20px;
}

.welcome-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.welcome-overlay.exit {
  opacity: 0;
  transition: opacity 1.2s ease;
}

/* LIGHT RAYS BG EFFECT */
.light-rays {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0,210,255,0.1) 0%, rgba(0,0,0,0) 60%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: -2;
  animation: rotateRays 30s linear infinite;
}

@keyframes rotateRays {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* CARD CONTAINER */
.welcome-card-wrapper {
  position: relative;
  width: 720px;
  min-width: 650px;
  max-width: 760px;
  max-height: 75vh;
  background: var(--bg-card);
  border-radius: 24px;
  box-shadow: 
    0 25px 50px -12px rgba(0,0,0,0.3),
    0 0 0 1px rgba(255,255,255,0.6) inset,
    0 0 60px var(--glow-blue);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-sizing: border-box;
  margin: 0 auto;
  overflow: hidden;
  transform-origin: center center;
  z-index: 99991;
  
  /* Initial State for Entry Animation */
  opacity: 0;
  transform: translate3d(0, -500px, 0) scale(0.7);
}

.welcome-card-inner {
  padding: 40px;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.content-section {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
}

.scrollable-content {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-width: thin;
}

.scrollable-content::-webkit-scrollbar {
  width: 10px;
}

.scrollable-content::-webkit-scrollbar-track {
  background: rgba(10, 37, 64, 0.08);
  border-radius: 999px;
}

.scrollable-content::-webkit-scrollbar-thumb {
  background: rgba(0, 102, 204, 0.45);
  border-radius: 999px;
}

.contact-panel {
  margin-top: 24px;
}

.contact-info {
  background: rgba(246, 249, 252, 0.87);
  border: 1px solid rgba(0, 102, 204, 0.12);
  border-radius: 18px;
  padding: 22px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.footer-section {
  margin-top: 26px;
}

/* ENTRY ANIMATION */
@keyframes antiGravityEntry {
  0% {
    opacity: 0;
    transform: translate3d(0, -500px, 0) scale(0.7);
  }
  60% {
    opacity: 1;
    transform: translate3d(0, 20px, 0) scale(1.02);
  }
  80% {
    transform: translate3d(0, -10px, 0) scale(0.99);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.welcome-card-wrapper.active {
  animation: antiGravityEntry 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* FLOATING ANIMATION (applied after entry) */
@keyframes continuousFloat {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(0, -3px, 0) scale(1);
  }
}

.welcome-card-wrapper.floating {
  opacity: 1;
  animation: continuousFloat 4s ease-in-out infinite;
}

/* EXIT ANIMATION */
@keyframes antiGravityExit {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
  }
  20% {
    transform: translate3d(0, -20px, 0) scale(0.95) rotate(-1deg);
  }
  100% {
    opacity: 0;
    transform: translate3d(200px, -400px, 0) scale(0.95) rotate(2deg);
  }
}

.welcome-card-wrapper.exit {
  animation: antiGravityExit 1.2s cubic-bezier(0.55, 0.085, 0.68, 0.53) forwards;
}

/* CLOSE BUTTON */
.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0,0,0,0.04);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: 10;
}
.close-btn:hover {
  background: rgba(255,0,0,0.1);
  transform: rotate(90deg);
}

/* HEADER SECTION */
.header-section {
  text-align: center;
  margin-bottom: 25px;
}

.success-icon-container {
  position: relative;
  width: 72px;
  height: 72px;
  margin: 0 auto 15px;
}

.success-icon {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  color: white;
  box-shadow: 0 10px 20px rgba(58, 123, 213, 0.4);
  position: relative;
  z-index: 2;
  animation: iconPulse 2s infinite, iconFloat 3s ease-in-out infinite;
}

@keyframes iconPulse {
  0% { box-shadow: 0 0 0 0 rgba(58, 123, 213, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(58, 123, 213, 0); }
  100% { box-shadow: 0 0 0 0 rgba(58, 123, 213, 0); }
}

@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.title {
  color: var(--primary-blue);
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 8px 0;
  letter-spacing: -0.5px;
}

.subtitle {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
  padding: 0 20px;
}
.subtitle strong {
  color: var(--primary-blue);
}

/* MAIN CONTENT */
.content-section {
  text-align: center;
}

.intro-text {
  color: var(--text-main);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}

.service-item {
  background: rgba(246, 249, 252, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 16px;
  padding: 20px 15px;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease, background 0.3s ease;
  will-change: transform;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.06);
  background: #ffffff;
  border-color: rgba(0, 102, 204, 0.2);
}

.service-icon {
  font-size: 28px;
  margin-bottom: 12px;
  animation: gentleFloat 4s ease-in-out infinite;
}

@keyframes gentleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.service-title {
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
}

.service-desc {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.4;
}

/* REASONS & CONTACT */
.info-flex {
  display: flex;
  justify-content: space-between;
  text-align: left;
  background: #f8fafc;
  border-radius: 16px;
  padding: 20px 25px;
  margin-bottom: 25px;
  border: 1px solid rgba(0,0,0,0.03);
}

.info-col h4 {
  color: var(--primary-blue);
  margin: 0 0 12px 0;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 800;
}

.reasons-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 15px;
}

.reasons-list li {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
}
.reasons-list li::before {
  content: '✔';
  color: #10b981;
  margin-right: 6px;
  font-size: 11px;
}

.contact-info p {
  margin: 5px 0;
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
}
.contact-info a {
  color: var(--accent-blue);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}
.contact-info a:hover {
  opacity: 0.8;
}

/* FOOTER */
.footer-section {
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.06);
  padding-top: 20px;
}

.footer-text {
  color: var(--text-secondary);
  font-size: 13px;
  margin: 0 0 8px 0;
}

.journey-text {
  color: var(--primary-blue);
  font-weight: 800;
  font-size: 15px;
  background: linear-gradient(90deg, #0066cc, #00d2ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 1024px) {
  .welcome-card-wrapper {
    min-width: auto;
    width: min(90vw, 650px);
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .info-flex {
    flex-direction: column;
    gap: 20px;
  }
  .welcome-card-inner {
    padding: 30px 20px;
  }
}

@media (max-width: 650px) {
  .welcome-card-wrapper {
    width: min(94vw, 500px);
    max-height: 80vh;
  }
}

/* PARTICLES */
.particles {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
  border-radius: 24px;
}
  margin: 0 0 8px 0;
  letter-spacing: -0.5px;
}

.subtitle {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.5;
  margin: 0;
  padding: 0 20px;
}
.subtitle strong {
  color: var(--primary-blue);
}

/* MAIN CONTENT */
.content-section {
  text-align: center;
}

.intro-text {
  color: var(--text-main);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 25px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 25px;
}

.service-item {
  background: rgba(246, 249, 252, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 16px;
  padding: 20px 15px;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease, background 0.3s ease;
  will-change: transform;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.06);
  background: #ffffff;
  border-color: rgba(0, 102, 204, 0.2);
}

.service-icon {
  font-size: 28px;
  margin-bottom: 12px;
  animation: gentleFloat 4s ease-in-out infinite;
}

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

.service-title {
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
}

.service-desc {
  color: var(--text-secondary);
  font-size: 12px;
  line-height: 1.4;
}

/* REASONS & CONTACT */
.info-flex {
  display: flex;
  justify-content: space-between;
  text-align: left;
  background: #f8fafc;
  border-radius: 16px;
  padding: 20px 25px;
  margin-bottom: 25px;
  border: 1px solid rgba(0,0,0,0.03);
}

.info-col h4 {
  color: var(--primary-blue);
  margin: 0 0 12px 0;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 800;
}

.reasons-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 15px;
}

.reasons-list li {
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
}
.reasons-list li::before {
  content: '✔';
  color: #10b981;
  margin-right: 6px;
  font-size: 11px;
}

.contact-info p {
  margin: 5px 0;
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
}
.contact-info a {
  color: var(--accent-blue);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}
.contact-info a:hover {
  opacity: 0.8;
}

/* FOOTER */
.footer-section {
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.06);
  padding-top: 20px;
}

.footer-text {
  color: var(--text-secondary);
  font-size: 13px;
  margin: 0 0 8px 0;
}

.journey-text {
  color: var(--primary-blue);
  font-weight: 800;
  font-size: 15px;
  background: linear-gradient(90deg, #0066cc, #00d2ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 1024px) {
  .welcome-card-wrapper {
    min-width: auto;
    width: min(90vw, 650px);
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .info-flex {
    flex-direction: column;
    gap: 20px;
  }
  .welcome-card-inner {
    padding: 30px 20px;
  }
}

@media (max-width: 650px) {
  .welcome-card-wrapper {
    width: min(94vw, 500px);
    max-height: 80vh;
  }
}

/* PARTICLES */
.particles {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
  border-radius: 24px;
}

.particle {
  position: absolute;
  background: radial-gradient(circle, rgba(0,102,204,0.4) 0%, rgba(0,102,204,0) 70%);
  border-radius: 50%;
  animation: particleFloat 8s infinite linear;
}

@keyframes particleFloat {
  0% { transform: translateY(50px) scale(0); opacity: 0; }
  20% { opacity: 1; transform: translateY(0) scale(1); }
  80% { opacity: 1; transform: translateY(-80px) scale(1); }
  100% { transform: translateY(-120px) scale(0); opacity: 0; }
}

/* ── MOBILE RESPONSIVE UTILITIES ── */
.brand-text-responsive {
    font-size: clamp(1rem, 4vw, 1.25rem); /* scales down cleanly */
}

.brand-logo-img {
    width: clamp(40px, 10vw, 60px);
}

.mobile-nav-buttons {
    gap: 8px !important;
}

.mobile-nav-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    background: #f8fafc;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.mobile-nav-btn i {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advanced-footer {
    position: relative;
    overflow: hidden;
    padding: 4.5rem 0 2rem;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #f1f5f9;
}

.advanced-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(56, 189, 248, 0.15), transparent 40%);
    pointer-events: none;
}

.footer-logo-box {
    display: inline-block;
    padding: 0.4rem 0.85rem;
    background: #ffffff;
    border-radius: 0.6rem;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.footer-logo-img {
    height: 44px;
    width: auto;
    max-width: 190px;
    object-fit: contain;
    display: block;
}

.footer-desc {
    color: #cbd5e1;
    font-size: 0.935rem;
    line-height: 1.65;
    margin-bottom: 1.2rem;
    max-width: 340px;
}

.footer-heading {
    color: #ffffff !important;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    position: relative;
    display: inline-block;
}

.footer-heading::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 38px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #0ea5e9, #38bdf8);
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #cbd5e1 !important;
    font-size: 0.925rem;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #38bdf8 !important;
    transform: translateX(4px);
}

.footer-contact {
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
    color: #e2e8f0 !important;
    font-size: 0.9rem;
    line-height: 1.45;
}

.footer-contact .contact-text {
    min-width: 0;
    word-break: break-word;
    overflow-wrap: anywhere;
    flex: 1 1 auto;
}

.contact-icon {
    width: 32px;
    height: 32px;
    border-radius: 0.5rem;
    background: rgba(14, 165, 233, 0.2);
    color: #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.social-links {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-4px);
    color: #ffffff;
}

.social-icon.facebook:hover { background: #1877f2; box-shadow: 0 8px 16px rgba(24, 119, 242, 0.4); }
.social-icon.twitter:hover { background: #000000; box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2); }
.social-icon.instagram:hover { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); box-shadow: 0 8px 16px rgba(220, 39, 67, 0.4); }
.social-icon.linkedin:hover { background: #0077b5; box-shadow: 0 8px 16px rgba(0, 119, 181, 0.4); }
.social-icon.whatsapp:hover { background: #25d366; box-shadow: 0 8px 16px rgba(37, 211, 102, 0.4); }

.newsletter-form {
    max-width: 340px;
    width: 100%;
}

.newsletter-form .input-group {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    padding: 3px;
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
}

.newsletter-form .form-control {
    background: transparent !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 0.875rem;
    padding: 0.5rem 0.85rem;
    box-shadow: none !important;
    min-width: 0;
    flex: 1 1 auto;
}

.newsletter-form .form-control::placeholder {
    color: #94a3b8;
}

.newsletter-form .btn-primary {
    border-radius: 999px !important;
    padding: 0.5rem 1.1rem;
    font-size: 0.85rem;
    font-weight: 700;
    background-color: #0ea5e9 !important;
    border: none !important;
    color: #ffffff !important;
    transition: background-color 0.2s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.newsletter-form .btn-primary:hover {
    background-color: #0284c7 !important;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3.5rem;
    padding-top: 1.75rem;
    color: #cbd5e1;
}

.footer-legal a {
    color: #cbd5e1 !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: #38bdf8 !important;
}

@media (max-width: 991.98px) {
    .advanced-footer {
        padding: 3.5rem 0 2rem;
    }

    .footer-heading::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-contact li {
        justify-content: center;
    }

    .newsletter-form {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 767.98px) {
    .advanced-footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-desc,
    .newsletter-form {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        margin-top: 2.25rem;
        padding-top: 1.25rem;
        gap: 0.75rem !important;
    }

    .footer-legal {
        display: flex;
        flex-direction: column;
        gap: 0.35rem;
        align-items: center;
    }

    .footer-legal-divider {
        display: none !important;
    }
}

@media (max-width: 479.98px) {
    .advanced-footer {
        padding: 2.5rem 0 1.25rem;
    }

    .newsletter-form .input-group {
        flex-direction: column;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        gap: 0.65rem;
    }

    .newsletter-form .form-control {
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(255, 255, 255, 0.16) !important;
        border-radius: 999px !important;
        padding: 0.6rem 1rem !important;
        width: 100% !important;
        text-align: center;
    }

    .newsletter-form .btn-primary {
        width: 100% !important;
        border-radius: 999px !important;
        padding: 0.6rem 1rem !important;
    }
}

@media (max-width: 991.98px) {
    .navbar {
        min-height: 56px !important;
        padding: 0 !important;
        top: var(--banner-height, 56px) !important;
    }
}

/* ==========================================
   MOBILE SIDEBAR DRAWER (STRICT BELOW NAVBAR & LAYERED)
========================================== */
#sidebarMenu.offcanvas {
    position: fixed !important;
    top: var(--navbar-height, 64px) !important;
    bottom: 0 !important;
    left: 0 !important;
    height: calc(100vh - var(--navbar-height, 64px)) !important;
    height: calc(100dvh - var(--navbar-height, 64px)) !important;
    max-height: calc(100dvh - var(--navbar-height, 64px)) !important;
    width: 84vw !important;
    max-width: 340px !important;
    background: #ffffff !important;
    box-shadow: 8px 0 25px rgba(0, 0, 0, 0.15) !important;
    z-index: 8500 !important; /* Top navbar (9000) > Sidebar (8500) > Backdrop (8400) > Main (1) */
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Fix unwanted grey vertical line on left side caused by offcanvas shadow when hidden */
#sidebarMenu.offcanvas:not(.show) {
    box-shadow: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.offcanvas-backdrop {
    position: fixed !important;
    top: var(--navbar-height, 64px) !important;
    left: 0 !important;
    width: 100vw !important;
    height: calc(100vh - var(--navbar-height, 64px)) !important;
    height: calc(100dvh - var(--navbar-height, 64px)) !important;
    z-index: 8400 !important; /* Backdrop behind sidebar, below navbar */
    background-color: rgba(15, 23, 42, 0.65) !important;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

#sidebarMenu .offcanvas-header {
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    background: #ffffff;
}

#sidebarMenu .btn-close {
    width: 32px;
    height: 32px;
    padding: 0;
    margin: 0;
    font-size: 1.1rem;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.05);
    opacity: 0.85;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

#sidebarMenu .btn-close:hover {
    opacity: 1;
    background-color: rgba(239, 68, 68, 0.15);
    color: #dc2626;
}

#sidebarMenu .offcanvas-body {
    padding: 1.25rem;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
}

#sidebarMenu .offcanvas-body::-webkit-scrollbar {
    width: 4px;
}

#sidebarMenu .offcanvas-body::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
    border-radius: 4px;
}

/* Division menu cards styling for uniform alignment and padding */
#sidebarMenu .sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

#sidebarMenu .sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: #1e293b;
    font-weight: 600;
    transition: all 0.2s ease;
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
}

#sidebarMenu .sidebar-link:hover,
#sidebarMenu .sidebar-link:focus {
    background: #f1f5f9;
    color: #0f172a;
    transform: translateX(3px);
}

/* Lock body scrolling when offcanvas or modal is open */
body.offcanvas-open,
body.modal-open,
body:has(.offcanvas.show) {
    overflow: hidden !important;
    touch-action: none;
}

/* ── STRICT MOBILE NAVBAR RESPONSIVENESS (320px - 768px) ── */
@media (max-width: 991.98px) {
    :root {
        --navbar-height: 56px;
    }

    body {
        padding-top: var(--banner-height, 56px);
    }

    html {
        scroll-padding-top: calc(var(--banner-height, 56px) + var(--navbar-height, 56px) + 8px);
    }

    .navbar {
        top: var(--banner-height, 56px) !important;
        min-height: var(--navbar-height, 56px) !important;
        height: auto !important;
        padding: 0 !important;
    }

    .navbar:not(:has(.navbar-collapse.show)):not(:has(.navbar-collapse.collapsing)) {
        height: 56px !important;
        max-height: 56px !important;
    }

    .navbar > .container-fluid {
        min-height: 56px !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        flex-wrap: wrap !important;
        align-items: center !important;
    }

    .navbar:not(:has(.navbar-collapse.show)):not(:has(.navbar-collapse.collapsing)) > .container-fluid {
        height: 56px !important;
        max-height: 56px !important;
    }

    .navbar-brand {
        max-width: calc(100% - 90px) !important;
        margin-right: auto !important;
        padding: 0 !important;
        gap: 0.4rem !important;
        display: inline-flex !important;
        align-items: center !important;
    }

    .brand-logo-img {
        width: 36px !important;
        height: 36px !important;
        max-height: 36px !important;
        object-fit: contain !important;
        flex-shrink: 0 !important;
        border-radius: 6px !important;
    }

    .brand-title-text,
    .brand-text-responsive {
        font-size: clamp(0.85rem, 3.8vw, 1.05rem) !important;
        line-height: 1.15 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
    }

    .mobile-nav-buttons {
        gap: 6px !important;
        margin-left: auto !important;
        flex-shrink: 0 !important;
        display: flex !important;
        align-items: center !important;
    }

    .mobile-nav-btn,
    .navbar-toggler,
    .offcanvas-btn {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        min-height: 38px !important;
        max-width: 38px !important;
        max-height: 38px !important;
        border-radius: 8px !important;
        border: 1px solid rgba(0, 0, 0, 0.08) !important;
        background: #f8fafc !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03) !important;
        color: #0ea5e9 !important;
        padding: 0 !important;
        margin: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-decoration: none !important;
        outline: none !important;
        transform: none !important;
        transition: background-color 0.2s ease, border-color 0.2s ease !important;
    }

    .mobile-nav-btn:hover,
    .mobile-nav-btn:focus,
    .navbar-toggler:hover,
    .offcanvas-btn:hover {
        background: #f1f5f9 !important;
        color: #0284c7 !important;
        transform: none !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
    }

    .mobile-nav-btn i,
    .navbar-toggler i,
    .offcanvas-btn i {
        font-size: 1.25rem !important;
        line-height: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .navbar-collapse.show,
    .navbar-collapse.collapsing {
        display: block !important;
        width: 100% !important;
        margin-top: 0.4rem !important;
        background: #ffffff !important;
        padding: 0.85rem 1rem !important;
        border-radius: 12px !important;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
        border: 1px solid rgba(0, 0, 0, 0.06) !important;
    }

    .navbar-collapse:not(.show):not(.collapsing) {
        display: none !important;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
        box-shadow: none !important;
        height: 0 !important;
        min-height: 0 !important;
    }
}

@media (max-width: 480px) {
    .brand-title-text,
    .brand-text-responsive {
        font-size: clamp(0.8rem, 3.5vw, 0.95rem) !important;
    }
    
    .brand-logo-img {
        width: 32px !important;
        height: 32px !important;
        max-height: 32px !important;
    }
}

/* Desktop: Hide collapse toggler but keep category switcher (offcanvas) visible */
@media (min-width: 992px) {
    .navbar-toggler {
        display: none !important;
    }
}

/* Intermediate Viewports: Scale down spacings to prevent wrapping */
@media (min-width: 992px) and (max-width: 1200px) {
    .nav-link {
        padding: 0.6rem 0.75rem !important;
    }
    .navbar-nav {
        gap: 0.15rem !important;
    }
    .navbar-brand img.brand-logo-img {
        width: 50px !important;
        height: 50px !important;
    }
}
