
:root {
    --fb-red: #D8232A;
    --fb-red-hover: #B81B21;
    --fb-red-glow: rgba(216, 35, 42, 0.4);
    --fb-navy: #0E2238;
    --fb-navy-dark: #071321;
    --fb-navy-light: #163252;
    --fb-bg-light: #F8FAFC;
    --fb-border: rgba(226, 232, 240, 0.8);
    --fb-glass: rgba(255, 255, 255, 0.85);
    --fb-card-bg: #FFFFFF;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #334155;
    background-color: #FFFFFF;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Modernized Dynamic Topbar */
.top-bar {
    background-color: var(--fb-navy-dark);
    font-size: 0.82rem;
    color: #94A3B8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.status-badge-pill {
    background: rgba(16, 185, 129, 0.12);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 3px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.custom_contact{
    color: #10B981;
    text-decoration-line: none;
}

.status-dot-pulse {
    width: 7px;
    height: 7px;
    background-color: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulse-green 1.8s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* 2026 Header Dynamic Glassmorphism Nav */
.navbar {
    background: var(--fb-glass);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 16px 0;
    z-index: 1040;
}

.navbar.scrolled {
    padding: 10px 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 30px rgba(14, 34, 56, 0.08);
    border-bottom-color: rgba(216, 35, 42, 0.15);
}

.brand-logo-svg {
    height: 46px;
    width: auto;
    transition: transform 0.3s ease;
}

.brand-logo-svg:hover {
    transform: scale(1.02);
}

.nav-link {
    font-weight: 600;
    color: var(--fb-navy) !important;
    margin: 0 4px;
    padding: 10px 16px !important;
    border-radius: 12px;
    transition: all 0.25s ease;
    font-size: 0.92rem;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--fb-red) !important;
    background: rgba(216, 35, 42, 0.05);
}

/* High-tech Mega Menu Styling */
.dropdown-menu-mega {
    width: 780px;
    border-radius: 20px;
    border: 1px solid rgba(14, 34, 56, 0.12);
    box-shadow: 0 20px 50px rgba(14, 34, 56, 0.15);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 24px;
    margin-top: 15px !important;
    animation: megaMenuSlide 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes megaMenuSlide {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.mega-item-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.25s ease;
}

.mega-item-card:hover {
    background: rgba(216, 35, 42, 0.04);
    transform: translateX(4px);
}

.mega-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(14, 34, 56, 0.06);
    color: var(--fb-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.mega-item-card:hover .mega-icon-box {
    background: var(--fb-red);
    color: #FFFFFF;
    box-shadow: 0 6px 15px var(--fb-red-glow);
}

.badge-pill-tag {
    font-size: 0.65rem;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 10px;
    text-transform: uppercase;
}

/* Glowing Animated CTA Button */
.btn-fb-primary {
    background: linear-gradient(135deg, var(--fb-red) 0%, #F0383F 100%);
    color: #ffffff;
    border: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px var(--fb-red-glow);
    position: relative;
    overflow: hidden;
}

.btn-fb-primary::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 60%);
    transform: scale(0);
    transition: transform 0.6s ease;
}

.btn-fb-primary:hover::before {
    transform: scale(1);
}

.btn-fb-primary:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(216, 35, 42, 0.5);
}

/* Hero Section with Canvas Network Background */
.hero-section {
    background: radial-gradient(circle at 85% 15%, rgba(216, 35, 42, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 10% 85%, rgba(14, 34, 56, 0.98) 0%, var(--fb-navy-dark) 100%);
    color: white;
    padding: 170px 0 120px;
    position: relative;
    overflow: hidden;
}

#heroCanvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
}

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

.hero-pill-badge {
    background: rgba(216, 35, 42, 0.15);
    color: #FF7B80;
    border: 1px solid rgba(216, 35, 42, 0.35);
    padding: 8px 22px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.gradient-text-red {
    background: linear-gradient(135deg, #FF6B6B 0%, #D8232A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 3D Tilt Card Component Styling */
.tilt-card {
    transform-style: preserve-3d;
    transition: transform 0.2s cubic-bezier(0.2, 0.85, 0.4, 1.27);
    will-change: transform;
}

.service-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 36px 28px;
    border: 1px solid var(--fb-border);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, var(--fb-navy) 0%, var(--fb-red) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 20px 40px rgba(216, 35, 42, 0.12);
    border-color: rgba(216, 35, 42, 0.25);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 65px;
    height: 65px;
    border-radius: 16px;
    background: rgba(14, 34, 56, 0.05);
    color: var(--fb-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--fb-red);
    color: #ffffff;
    box-shadow: 0 8px 20px var(--fb-red-glow);
}



/* Premium modern hero */
.hero-modern {
    min-height: 720px;
    display: flex;
    align-items: center;
    padding: 70px 0 70px;
    background:
        radial-gradient(circle at 78% 25%, rgba(216,35,42,.18), transparent 32%),
        radial-gradient(circle at 15% 80%, rgba(22,50,82,.75), transparent 38%),
        linear-gradient(135deg, #071321 0%, #0E2238 58%, #111827 100%);
}

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

.hero-modern-copy {
    max-width: 760px;
}

.hero-modern-title {
    font-size: clamp(3rem, 5.5vw, 5.15rem);
    line-height: 1.04;
    letter-spacing: -2.5px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 24px;
}

.hero-modern-title span {
    display: block;
    background: linear-gradient(100deg, #ff7378 0%, #D8232A 55%, #ff9a9d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-modern-text {
    max-width: 690px;
    color: rgba(255,255,255,.72);
    font-size: 1.12rem;
    line-height: 1.85;
    margin-bottom: 30px;
}

.hero-outline-btn {
    border-color: rgba(255,255,255,.45);
    background: rgba(255,255,255,.035);
    backdrop-filter: blur(8px);
}

.hero-trust-row {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 52px;
}

.hero-trust-item {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.hero-trust-item strong {
    color: #fff;
    font-size: 1.55rem;
    font-weight: 800;
}

.hero-trust-item span {
    color: rgba(255,255,255,.52);
    font-size: .78rem;
}

.hero-trust-divider {
    width: 1px;
    height: 42px;
    background: rgba(255,255,255,.14);
}

.hero-visual {
    min-height: 470px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-visual-grid {
    position: absolute;
    inset: 30px 10px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 38px;
    background:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 38px 38px;
    transform: perspective(800px) rotateY(-10deg) rotateX(5deg);
    box-shadow: inset 0 0 80px rgba(216,35,42,.06);
}

.hero-main-orb {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    padding: 10px;
    position: relative;
    z-index: 2;
    background: linear-gradient(145deg, rgba(255,255,255,.34), rgba(216,35,42,.18));
    box-shadow:
        0 0 0 1px rgba(255,255,255,.12),
        0 30px 80px rgba(0,0,0,.38),
        0 0 70px rgba(216,35,42,.18);
}

.hero-orb-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 13px;
    text-align: center;
    color: #fff;
    background:
        radial-gradient(circle at 35% 25%, rgba(255,255,255,.16), transparent 30%),
        linear-gradient(145deg, #152f4b, #081522);
    border: 1px solid rgba(255,255,255,.10);
}

.hero-orb-inner i {
    color: #ff646a;
    font-size: 2.8rem;
}

.hero-orb-inner span {
    font-size: 1.05rem;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: .3px;
}

.hero-float-card {
    position: absolute;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 13px;
    min-width: 205px;
    padding: 15px 18px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,.13);
    background: rgba(255,255,255,.095);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 45px rgba(0,0,0,.25);
    color: #fff;
}

.hero-float-card small {
    display: block;
    color: rgba(255,255,255,.58);
    font-size: .68rem;
    margin-bottom: 2px;
}

.hero-float-card strong {
    font-size: 1rem;
}

.hero-float-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(216,35,42,.18);
    color: #ff666b;
}

.hero-float-icon.dark {
    background: rgba(255,255,255,.10);
    color: #fff;
}

.hero-float-card-one {
    top: 72px;
    right: -4px;
    animation: heroFloatOne 4.5s ease-in-out infinite;
}

.hero-float-card-two {
    bottom: 76px;
    left: -8px;
    animation: heroFloatTwo 5s ease-in-out infinite;
}

.hero-visual-label {
    position: absolute;
    bottom: 12px;
    right: 20px;
    z-index: 4;
    color: rgba(255,255,255,.55);
    font-size: .72rem;
    letter-spacing: .5px;
}

.hero-live-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 6px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 0 5px rgba(16,185,129,.10);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(30px);
}

.hero-glow-one {
    width: 260px;
    height: 260px;
    top: 8%;
    right: 12%;
    background: rgba(216,35,42,.08);
}

.hero-glow-two {
    width: 180px;
    height: 180px;
    bottom: 8%;
    left: 35%;
    background: rgba(30,100,160,.08);
}

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

@keyframes heroFloatTwo {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(9px); }
}

@media (max-width: 991.98px) {
    .hero-modern {
        padding: 100px 0 75px;
    }
    .hero-modern-title {
        font-size: clamp(2.8rem, 9vw, 4.2rem);
    }
    .hero-visual {
        min-height: 390px;
        margin-top: 15px;
    }
    .hero-trust-row {
        margin-top: 38px;
    }
}

@media (max-width: 575.98px) {
    .hero-modern-title {
        font-size: 2.65rem;
        letter-spacing: -1.5px;
    }
    .hero-modern-text {
        font-size: 1rem;
    }
    .hero-trust-row {
        gap: 12px;
        justify-content: space-between;
    }
    .hero-trust-divider {
        height: 34px;
    }
    .hero-trust-item strong {
        font-size: 1.15rem;
    }
    .hero-trust-item span {
        font-size: .66rem;
    }
    .hero-main-orb {
        width: 190px;
        height: 190px;
    }
    .hero-float-card {
        min-width: 175px;
        padding: 11px 13px;
    }
    .hero-float-card-one {
        right: -5px;
        top: 45px;
    }
    .hero-float-card-two {
        left: -5px;
        bottom: 55px;
    }
}

/* Normal Services hover - no 3D tilt */
.service-card {
    transform: none !important;
}

.service-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 14px 30px rgba(14, 34, 56, 0.10);
    border-color: rgba(216, 35, 42, 0.20);
}

.service-card:hover .service-icon {
    transform: none;
    box-shadow: none;
}

/* Products Tabs & Grid */
.product-nav .nav-link {
    border-radius: 30px;
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #64748B !important;
    background: #F1F5F9;
    margin: 4px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.product-nav .nav-link.active {
    background: var(--fb-navy) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(14, 34, 56, 0.3);
}

.product-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid var(--fb-border);
    padding: 30px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-card:hover {
    box-shadow: 0 20px 40px rgba(14, 34, 56, 0.1);
    border-color: var(--fb-red);
}

/* Continuous Infinite Ticker Carousel */
.partners-section {
    background: linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 100%);
    padding: 90px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--fb-border);
    border-bottom: 1px solid var(--fb-border);
}

.logo-ticker-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.logo-ticker-track {
    display: inline-flex;
    align-items: center;
}

.logo-ticker-track.is-looping {
    animation: ticker 22s linear infinite;
}

.logo-ticker-container:hover .logo-ticker-track.is-looping {
    animation-play-state: paused;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.client-logo-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border: 1px solid var(--fb-border);
    border-radius: 18px;
    padding: 18px 32px;
    margin: 0 14px;
    min-width: 240px;
    height: 95px;
    box-shadow: 0 6px 18px rgba(14, 34, 56, 0.04);
    transition: all 0.3s ease;
}

.client-logo-card:hover {
    border-color: var(--fb-red);
    box-shadow: 0 12px 30px rgba(216, 35, 42, 0.15);
    transform: translateY(-4px);
}

.client-logo-text {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--fb-navy);
    display: flex;
    align-items: center;
    gap: 12px;
}

.client-logo-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(216, 35, 42, 0.08);
    color: var(--fb-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.client-logo-card:hover .client-logo-icon {
    /*background: var(--fb-red);*/
    color: #FFFFFF;
}


/* Quote Section & Form */
.quote-section {
    background: linear-gradient(135deg, var(--fb-navy-dark) 0%, var(--fb-navy) 100%);
    border-radius: 28px;
    padding: 60px 40px;
    color: white;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}

.quote-form-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    color: var(--fb-navy);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.form-control, .form-select {
    padding: 13px 18px;
    border-radius: 12px;
    border: 1px solid #CBD5E1;
    font-size: 0.95rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--fb-red);
    box-shadow: 0 0 0 0.25rem rgba(216, 35, 42, 0.15);
}

/* Reveal Animation Utility */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

footer {
    background-color: var(--fb-navy-dark);
    color: #94A3B8;
    font-size: 0.95rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

footer h5 {
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 22px;
}

footer a {
    color: #94A3B8;
    text-decoration: none;
    transition: all 0.2s ease;
}

footer a:hover {
    color: var(--fb-red);
    padding-left: 6px;
}

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

.social-icon:hover {
    background: var(--fb-red);
    color: white;
    transform: translateY(-3px);
}

#toast-container {
    position: fixed;
    bottom: 25px; right: 25px;
    z-index: 1070;
}

/* Modern floating navigation */
.navbar {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 14px 0;
    z-index: 1040;
    transition: padding .3s ease;
}

.navbar > .container {
    min-height: 70px;
    padding: 8px 12px 8px 20px;
    border: 1px solid rgba(14,34,56,.08);
    border-radius: 22px;
    background: rgba(255,255,255,.90);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 12px 35px rgba(14,34,56,.10);
    transition: all .3s ease;
}

.navbar.scrolled {
    padding: 9px 0;
    background: transparent !important;
    box-shadow: none !important;
}

.navbar.scrolled > .container {
    background: rgba(255,255,255,.97);
    box-shadow: 0 14px 38px rgba(14,34,56,.13);
    border-color: rgba(216,35,42,.12);
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    margin-right: 24px !important;
    padding: 5px 8px 5px 0;
}

.brand-logo-svg {
    height: 43px;
    width: auto;
}

.navbar-nav {
    gap: 3px;
}

.navbar .nav-item {
    position: relative;
}

.navbar .nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: #14283d !important;
    font-weight: 700;
    font-size: .88rem;
    letter-spacing: -.1px;
    margin: 0;
    padding: 11px 14px !important;
    border-radius: 13px;
    position: relative;
    transition: color .22s ease, background .22s ease, transform .22s ease;
}

.navbar .nav-link::after {
    display: none;
}

.navbar .nav-link:hover {
    color: #D8232A !important;
    background: rgba(216,35,42,.065);
    transform: translateY(-1px);
}

.navbar .nav-link.active {
    color: #D8232A !important;
    background: linear-gradient(135deg, rgba(216,35,42,.11), rgba(216,35,42,.045));
    box-shadow: inset 0 0 0 1px rgba(216,35,42,.07);
}

.navbar .nav-link.active::before {
    content: "";
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #D8232A;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
}

.navbar .dropdown-toggle .fa-chevron-down {
    font-size: .62rem;
    transition: transform .25s ease;
}

.navbar .dropdown.show .dropdown-toggle .fa-chevron-down {
    transform: rotate(180deg);
}

.navbar-toggler {
    width: 46px;
    height: 46px;
    border-radius: 13px !important;
    background: #f5f7fa;
    border: 1px solid rgba(14,34,56,.08) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.navbar-toggler:hover {
    background: rgba(216,35,42,.07);
}

.navbar-toggler i {
    font-size: 1.15rem !important;
}

.navbar .btn-fb-primary {
    min-height: 46px;
    /*padding: 0 21px !important;*/
    border-radius: 14px;
    box-shadow: 0 8px 22px rgba(216,35,42,.22);
    font-size: .88rem;
}

.navbar .btn-fb-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(216,35,42,.28);
}

/* Modern services dropdown */
.dropdown-menu-mega {
    margin-top: 12px !important;
    border-radius: 20px;
    padding: 18px;
    border: 1px solid rgba(14,34,56,.09);
    box-shadow: 0 25px 60px rgba(14,34,56,.16);
}

.mega-item-card {
    border-radius: 14px;
    padding: 12px;
    transition: all .22s ease;
}

.mega-item-card:hover {
    background: #f7f9fb;
    transform: translateX(3px);
}

@media (max-width: 991.98px) {
    .navbar {
        padding: 10px 0;
    }

    .navbar > .container {
        min-height: 64px;
        padding: 7px 10px 7px 15px;
        border-radius: 18px;
    }

    .navbar-collapse {
        margin-top: 10px;
        padding: 10px;
        border-radius: 17px;
        background: rgba(255,255,255,.97);
        box-shadow: 0 18px 45px rgba(14,34,56,.12);
        border: 1px solid rgba(14,34,56,.07);
    }

    .navbar-nav {
        gap: 2px;
    }

    .navbar .nav-link {
        width: 100%;
        justify-content: flex-start;
        padding: 12px 14px !important;
    }

    .navbar .nav-link.active::before {
        left: 6px;
        bottom: auto;
        top: 50%;
        transform: translateY(-50%);
    }

    .navbar .nav-link.active {
        padding-left: 20px !important;
    }

    .navbar .d-flex.align-items-center.gap-3 {
        margin-top: 9px;
    }

    .navbar .btn-fb-primary {
        width: 100%;
        justify-content: center;
    }

    .dropdown-menu-mega {
        width: 100%;
        margin-top: 5px !important;
        padding: 12px;
    }
}


/* Extra premium navigation details */
.navbar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(720px, 70%);
    height: 2px;
    border-radius: 99px;
    background: linear-gradient(90deg, transparent, #D8232A, transparent);
    opacity: .65;
}

.navbar-brand {
    position: relative;
}

.navbar-brand::after {
    content: "";
    width: 1px;
    height: 28px;
    background: rgba(14,34,56,.10);
    position: absolute;
    right: -8px;
    top: 50%;
    transform: translateY(-50%);
}

.navbar .nav-link i {
    margin-right: 5px;
    font-size: .78rem;
    opacity: .7;
    transition: transform .2s ease, opacity .2s ease;
}

.navbar .nav-link:hover i,
.navbar .nav-link.active i {
    opacity: 1;
    transform: translateY(-1px);
}

.navbar .quote-wrap {
    padding-left: 8px;
    border-left: 1px solid rgba(14,34,56,.08);
}

.navbar .quote-wrap .btn-fb-primary {
    position: relative;
    overflow: hidden;
}

.navbar .quote-wrap .btn-fb-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 70%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.28), transparent);
    transform: skewX(-20deg);
    transition: left .55s ease;
}

.navbar .quote-wrap .btn-fb-primary:hover::before {
    left: 130%;
}

.navbar .dropdown-menu-mega::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 58px;
    width: 12px;
    height: 12px;
    background: #fff;
    border-left: 1px solid rgba(14,34,56,.09);
    border-top: 1px solid rgba(14,34,56,.09);
    transform: rotate(45deg);
}

.navbar .dropdown-menu-mega {
    position: relative;
}

@media (max-width: 991.98px) {
    .navbar-brand::after,
    .navbar .quote-wrap {
        display: none;
    }

    .navbar::before {
        width: 45%;
    }
}


/* Clean menu labels */
.navbar .nav-link {
    white-space: nowrap;
    flex-wrap: nowrap;
}

.navbar .nav-link i:not(.fa-chevron-down) {
    display: none !important;
}

.navbar .nav-link .fa-chevron-down {
    display: inline-block !important;
    margin-left: 5px;
    margin-right: 0;
    flex: 0 0 auto;
}

/* =========================================================
          GALLERY PAGE — Screenshot-matched design
          ========================================================= */
.gallery-page {
    background: #fff;
    padding: 0 0 80px;
}

/* Screenshot-inspired pill tabs */
.gallery-tabs-section {
    padding: 58px 20px 28px;
    background: #fff;
}

.gallery-tabs-heading {
    text-align: center;
    margin-bottom: 24px;
}

.gallery-tabs-eyebrow {
    display: block;
    color: #ff3f46;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: .01em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.gallery-tabs-title {
    margin: 0;
    color: #252a31;
    font-size: clamp(32px, 4vw, 50px);
    line-height: 1.12;
    font-weight: 400;
    letter-spacing: -.045em;
}

.gallery-tabs-subtitle {
    margin: 14px auto 0;
    max-width: 760px;
    color: #666b73;
    font-size: 18px;
    line-height: 1.55;
    font-weight: 400;
}

.gallery-tabs-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.gallery-years-wrap {
    border: 0;
    margin: 0;
}

.gallery-years {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gallery-years button,
.gallery-filter {
    border: 0;
    background: #f1f4f8;
    color: #667891;
    min-height: 54px;
    padding: 0 25px;
    border-radius: 28px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition:
        background-color .25s ease,
        color .25s ease,
        box-shadow .25s ease,
        transform .25s ease;
}

.gallery-years button:hover,
.gallery-filter:hover {
    color: #52657e;
    background: #e9eef4;
    transform: translateY(-1px);
}

.gallery-years button.active,
.gallery-filter.active {
    color: #fff;
    background: #0e2238;
    border: 0;
    border-radius: 28px;
    margin: 0;
    box-shadow: 0 10px 24px rgba(14, 34, 56, .20);
}

.gallery-years button:focus-visible,
.gallery-filter:focus-visible {
    outline: 3px solid rgba(14, 34, 56, .18);
    outline-offset: 3px;
}

.gallery-category-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    padding: 14px 0 46px;
}

.gallery-category-wrap::before {
    content: "Category";
    width: 100%;
    text-align: center;
    color: #8994a3;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: -2px;
}

.gallery-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.gallery-grid {
    width: 100%;
    margin: 0 auto;
}

.gallery-grid-sizer,
.gallery-item {
    width: 12.5%;
}

.gallery-item {
    padding: 8px 14px;
    box-sizing: border-box;
}

.gallery-photo {
    position: relative;
    overflow: hidden;
    border-radius: 11px;
    background: #eef2f6;
    cursor: zoom-in;
}

.gallery-photo img {
    width: 100%;
    height: 314px;
    display: block;
    object-fit: cover;
    transition: transform .45s ease, filter .35s ease;
}

.gallery-item:nth-child(3n) .gallery-photo img {
    height: 314px;
}

.gallery-item:nth-child(4n) .gallery-photo img {
    height: 355px;
}

.gallery-item:nth-child(5n) .gallery-photo img {
    height: 290px;
}

.gallery-photo::after {
    content: "\f002";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -45%) scale(.75);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: #334155;
    opacity: 0;
    transition: .3s ease;
    pointer-events: none;
    box-shadow: 0 8px 25px rgba(0,0,0,.16);
}

.gallery-photo:hover img {
    transform: scale(1.045);
    filter: brightness(.82);
}

.gallery-photo:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.gallery-empty {
    display: none;
    text-align: center;
    padding: 70px 20px;
    color: #64748b;
}

.gallery-empty i {
    display: block;
    font-size: 42px;
    margin-bottom: 12px;
}

@media (max-width: 1399px) {
    .gallery-grid-sizer,
    .gallery-item { width: 16.666666%; }
}

@media (max-width: 1199px) {
    .gallery-grid-sizer,
    .gallery-item { width: 20%; }

    .gallery-photo img {
        height: 280px;
    }
}

@media (max-width: 991.98px) {
    .gallery-grid-sizer,
    .gallery-item { width: 25%; }

    .gallery-item {
        padding: 6px;
    }

    .gallery-photo img {
        height: 260px;
    }

    .gallery-years button,
    .gallery-filter {
        min-height: 50px;
        padding-left: 21px;
        padding-right: 21px;
        font-size: 16px;
    }
}

@media (max-width: 767.98px) {
    .gallery-grid-sizer,
    .gallery-item { width: 33.333333%; }

    .gallery-tabs-section {
        padding-top: 42px;
    }

    .gallery-tabs-subtitle {
        font-size: 16px;
    }

    .gallery-category-wrap {
        padding: 12px 0 30px;
    }

    .gallery-filter.active {
        padding-left: 19px;
        padding-right: 19px;
    }

    .gallery-photo img,
    .gallery-item:nth-child(3n) .gallery-photo img,
    .gallery-item:nth-child(4n) .gallery-photo img,
    .gallery-item:nth-child(5n) .gallery-photo img {
        height: 230px;
    }
}

@media (max-width: 575.98px) {
    .gallery-grid-sizer,
    .gallery-item { width: 50%; }

    .gallery-years {
        gap: 7px;
    }

    .gallery-years button,
    .gallery-filter {
        min-height: 46px;
        min-width: 0;
        padding: 0 16px;
        font-size: 14px;
    }

    .gallery-category-wrap {
        gap: 7px;
    }

    .gallery-photo img,
    .gallery-item:nth-child(3n) .gallery-photo img,
    .gallery-item:nth-child(4n) .gallery-photo img,
    .gallery-item:nth-child(5n) .gallery-photo img {
        height: 220px;
    }
}

/* Magnific Popup */
.mfp-bg {
    background: rgba(4, 12, 22, .92);
}

.mfp-image-holder .mfp-content {
    max-width: 94vw;
}

.mfp-image-holder .mfp-close {
    right: -5px;
    top: -42px;
    color: #fff;
    font-size: 38px;
    opacity: .9;
}

.mfp-arrow {
    opacity: .9;
}

.inner-page-hero {
    background:
        radial-gradient(circle at 85% 15%, rgba(216, 35, 42, 0.15) 0%, transparent 50%),
        linear-gradient(135deg, var(--fb-navy-dark) 0%, var(--fb-navy) 100%);
    color: #fff;
    padding: 80px 0 80px;
    position: relative;
    overflow: hidden;
}
.inner-page-hero h1 {
    font-weight: 800;
}
.page-section {
    padding: 90px 0;
}
.info-card {
    background: #fff;
    border: 1px solid var(--fb-border);
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    box-shadow: 0 8px 25px rgba(14,34,56,.05);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(14,34,56,.10);
    border-color: rgba(216,35,42,.20);
}
.info-icon {
    width: 58px; height: 58px;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(216,35,42,.08);
    color: var(--fb-red);
    font-size: 1.35rem;
    margin-bottom: 20px;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}
