:root,
[data-bs-theme="light"] {
    --bg-base: #f0f2f5;
    --bg-panel: #ffffff;
    --text-main: #1a1d20;
    --text-muted: #5c636a;
    --accent-blue: #2682B6;
    --accent-secondary: #1a5e85;
    --panel-border: rgba(0, 0, 0, 0.08);
    --panel-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    --glass-blur: blur(25px);
    --magic-glow: 0 0 20px rgba(38, 130, 182, 0.3);
    --logo-filter: none;
}

[data-bs-theme="dark"] {
    --bg-base: #0a0c10;
    --bg-panel: rgba(20, 23, 31, 0.85);
    --text-main: #ffffff;
    --text-muted: #9ba1b0;
    --accent-blue: #2682B6;
    --accent-secondary: #4ea8dc;
    --panel-border: rgba(255, 255, 255, 0.06);
    --panel-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    --glass-blur: blur(25px);
    --magic-glow: 0 0 30px rgba(78, 168, 220, 0.5);
    --logo-filter: brightness(0) invert(1) opacity(0.9);
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-base);
    color: var(--text-main);
    transition: background-color 0.4s ease, color 0.4s ease;
}

.logo-font {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.logo-q-style {
    color: var(--accent-blue) !important;
    font-weight: 900 !important;
}

.glass-panel {}

.bg-section {
    background-color: transparent !important;
}

.text-accent {
    color: var(--accent-blue) !important;
}

.text-muted-custom {
    color: var(--text-muted) !important;
}

.top-bar {
    padding: 10px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    transition: all 0.4s ease;
    background: #050608 !important;
    color: #9ba1b0 !important;
}

.top-bar i {
    color: var(--accent-blue);
    margin-right: 8px;
}

.scrolled .top-bar {
    margin-top: -45px;
    opacity: 0;
    pointer-events: none;
}

.header-main {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    transition: all 0.4s ease;
}

.navbar {
    padding: 20px 0;
    transition: all 0.4s ease;
    background: #0a0c10 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.scrolled .navbar {
    padding: 12px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5) !important;
    background: rgba(10, 12, 16, 0.98) !important;
    backdrop-filter: blur(15px);
}

.logo-wrapper {
    display: flex;
    align-items: center;
    text-decoration: none !important;
}

.brand-logo {
    max-height: 50px;
    transition: transform 0.3s ease;
    filter: none !important;
}

.logo-wrapper:hover .brand-logo {
    transform: scale(1.05);
}

.nav-link {
    font-weight: 600;
    font-size: 15px;
    color: #ffffff !important;
    margin: 0 12px;
    padding: 5px 0 !important;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background: var(--accent-blue);
    transition: 0.3s;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

footer {
    background: #0a0c10 !important;
    color: #ffffff !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
}

footer .text-muted-custom {
    color: #9ba1b0 !important;
}

.btn-square {
    background: transparent;
    border: 2px solid var(--accent-blue) !important;
    color: var(--accent-blue) !important;
    padding: 10px 28px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.4s;
    border-radius: 8px;
    display: inline-block;
}

.btn-square:hover {
    color: #fff !important;
    border-color: var(--accent-blue) !important;
    box-shadow: var(--magic-glow);
}

.btn-square::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--accent-blue);
    transition: all 0.4s;
    z-index: -1;
}

.btn-square:hover::before {
    left: 0;
}

.btn-gradient {
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-secondary));
    color: #fff !important;
    border: none;
    padding: 16px 40px;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(38, 130, 182, 0.4);
    transition: all 0.4s ease;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-gradient:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(38, 130, 182, 0.6);
}

.home-hero {
    min-height: 100vh;
    background-color: #050608;
    margin-top: -100px;
    padding-top: 160px;
}

.ken-burns-slider {
    background: #050608;
}

.ken-burns-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1);
    transition: opacity 1.5s ease-in-out;
    z-index: 0;
    filter: brightness(0.7) contrast(1.1);
}

.ken-burns-img.active {
    opacity: 1;
    z-index: 1;
    animation: kenBurnsZoom 6s linear forwards;
}

@keyframes kenBurnsZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.15);
    }
}

.otherworldly-overlay {
    z-index: 1;
    background: radial-gradient(circle at 50% 50%, rgba(38, 130, 182, 0.2) 0%, rgba(10, 12, 16, 0.8) 100%);
    box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.9);
    pointer-events: none;
}

[data-bs-theme="light"] .otherworldly-overlay {
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, rgba(240, 242, 245, 0.85) 100%);
    box-shadow: inset 0 0 100px rgba(255, 255, 255, 0.7);
}

.hero-title-glow {
    text-shadow: 0 0 40px rgba(38, 130, 182, 0.8), 0 4px 15px rgba(0, 0, 0, 0.5);
    color: #ffffff !important;
}

.hero-slider-container {
    position: relative;
    height: 80px;
    overflow: hidden;
    margin-bottom: 30px;
}

.hero-text-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-text-slide.active {
    opacity: 1;
    transform: translateY(0);
}

.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: 92%;
    max-width: 400px;
    height: 75px;
    background: rgba(10, 12, 16, 0.98) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8) !important;
    z-index: 1100;
    padding: 0 20px;
}

.mob-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #9ba1b0 !important;
    text-decoration: none;
    width: 45px;
    height: 45px;
    transition: all 0.3s;
    border: none;
    background: transparent;
    padding: 0;
    position: relative;
}

.mob-nav-item.active,
.mob-nav-item:hover {
    color: var(--accent-blue) !important;
}

.mob-nav-item i {
    font-size: 20px;
    margin-bottom: 4px;
}

.mob-nav-item span {
    font-size: 10px;
    font-weight: 600;
}

.mob-nav-center-wrapper {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -25px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mob-nav-center {
    width: 75px;
    height: 75px;
    background: #0a0c10 !important;
    border: 2px solid var(--accent-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--magic-glow);
    text-decoration: none;
    position: relative;
    z-index: 2;
}

.mob-nav-center img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    transition: 0.3s;
    filter: none !important;
}

.mob-nav-center-text {
    font-size: 13px;
    font-weight: 800;
    color: #ffffff !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
    margin-top: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.service-detail-hero {
    position: relative;
    width: 100%;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -130px;
    padding-top: 130px;
    padding-bottom: 50px;
    background-size: cover !important;
    background-position: center center !important;
}

.service-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 12, 16, 0.9) 0%, rgba(10, 12, 16, 0.5) 100%);
    z-index: 1;
}

.service-slider-img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 65%;
    overflow: hidden;
    border-radius: 16px;
    background: var(--bg-panel);
    cursor: zoom-in;
    box-shadow: var(--panel-shadow);
}

.service-slider-img-wrapper img.main-slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-slider-img-wrapper:hover img.main-slider-img {
    transform: scale(1.1);
}

.service-watermark {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 100px;
    height: auto;
    opacity: 0.6;
    pointer-events: none;
    z-index: 5;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.8));
}

.service-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    background: var(--bg-panel);
    border: 1px solid var(--panel-border);
    border-radius: 16px;
    box-shadow: var(--panel-shadow);
    transition: 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-blue);
    box-shadow: var(--magic-glow);
}

.service-img-wrapper {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 100%);
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 100%);
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.service-card:hover .service-img-wrapper img {
    transform: scale(1.15) rotate(1deg);
}

.magic-separator {
    width: 100%;
    height: 60px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.magic-separator svg {
    width: 100%;
    height: 100%;
    min-width: 1000px;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--accent-blue) !important;
    background: var(--bg-panel);
    width: 45px !important;
    height: 45px !important;
    border-radius: 50%;
    box-shadow: var(--panel-shadow);
    transition: 0.3s;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--accent-blue);
    color: #fff !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px !important;
    font-weight: bold;
}

.swiper-pagination-bullet-active {
    background: var(--accent-blue) !important;
}

.glightbox-clean .gslide-title {
    color: #fff !important;
    background: rgba(0, 0, 0, 0.8) !important;
    padding: 15px 25px !important;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
}

.gslide-image {
    position: relative;
}

.gslide-image::after {
    content: '';
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 120px;
    height: 40px;
    background-image: url('../uploads/logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right bottom;
    opacity: 0.6;
    pointer-events: none;
    z-index: 9999;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.8));
}

@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(10, 12, 16, 0.98) !important;
        backdrop-filter: blur(20px);
        padding: 20px;
        border-radius: 12px;
        margin-top: 15px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .scrolled .top-bar {
        display: none;
    }

    #mainNavbar {
        display: none;
    }

    .mobile-bottom-nav {
        display: flex;
    }

    .float-whatsapp {
        bottom: 120px;
        right: 20px;
    }

    body {
        padding-bottom: 100px;
    }

    .hero-slider-container {
        height: 120px;
    }

    .home-hero {
        margin-top: -90px;
        padding-top: 110px;
    }

    .service-detail-hero {
        margin-top: -90px;
        padding-top: 110px;
        min-height: 40vh;
    }
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    padding: 15px 0;
    position: relative;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-base), transparent);
}

.marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-base), transparent);
}

.marquee-content {
    display: inline-flex;
    gap: 20px;
    animation: scrollLeft 60s linear infinite;
}

.marquee-content.reverse {
    animation: scrollRight 60s linear infinite;
}

.partner-box {
    flex: 0 0 auto;
    width: 160px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;
    background: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
}

.partner-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;

    transition: all 0.4s ease;

}

.partner-box:hover {
    transform: translateY(-5px);
    border-color: var(--accent-blue) !important;
    box-shadow: 0 8px 25px rgba(38, 130, 182, 0.15);
}

.partner-box:hover img {
    opacity: 1;
    filter: none;
    transform: scale(1.08);
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

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

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

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

.services-popup {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 60vh;
    background: rgba(10, 12, 16, 0.98) !important;
    backdrop-filter: blur(20px);
    z-index: 1150;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.6) !important;
    padding: 30px 20px;
    overflow-y: auto;
    color: #ffffff !important;
}

.services-popup.show {
    bottom: 0;
}

.services-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1140;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
    backdrop-filter: blur(5px);
}

.services-popup-overlay.show {
    display: block;
    opacity: 1;
}

.services-popup .popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: #ffffff !important;
}

.scroll-mouse {
    width: 28px;
    height: 45px;
    border: 2px solid var(--accent-blue);
    border-radius: 20px;
    position: relative;
    opacity: 0.7;
}

.scroll-mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background: var(--accent-blue);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 4px;
    animation: scrollAnim 1.5s infinite;
    box-shadow: var(--magic-glow);
}

@keyframes scrollAnim {
    0% {
        top: 8px;
        opacity: 1;
    }

    100% {
        top: 22px;
        opacity: 0;
    }
}

.ba-slider-container {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--panel-shadow);
    border: 1px solid var(--panel-border);
}

.ba-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ba-after {
    clip-path: inset(0 0 0 50%);
}

.ba-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 10;
    cursor: ew-resize;
}

.ba-slider-line {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: #fff;
    z-index: 5;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    transform: translateX(-50%);
    pointer-events: none;
}

.ba-slider-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: #fff;
    border: 3px solid var(--accent-blue);
    border-radius: 50%;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-blue);
    box-shadow: var(--magic-glow);
    pointer-events: none;
}

.process-step {
    position: relative;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    z-index: 1;
    overflow: hidden;
}

.process-step::before {
    content: attr(data-step);
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 80px;
    font-weight: 800;
    color: rgba(38, 130, 182, 0.05);
    z-index: -1;
    transition: 0.4s;
}

.process-step:hover::before {
    color: rgba(38, 130, 182, 0.15);
    right: 10px;
}

.process-icon {
    width: 70px;
    height: 70px;
    background: var(--accent-blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px auto;
    box-shadow: var(--magic-glow);
}

.video-tour-wrapper {
    cursor: pointer;
}

.video-tour-img {
    transition: transform 0.6s ease;
}

.video-tour-overlay {
    background: rgba(0, 0, 0, 0.4);
    transition: background 0.4s ease;
}

.video-tour-wrapper:hover .video-tour-img {
    transform: scale(1.05);
}

.video-tour-wrapper:hover .video-tour-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.video-btn {
    width: 80px;
    height: 80px;
    background: var(--accent-blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    text-decoration: none;
    position: relative;
}

.video-btn::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid var(--accent-blue);
    animation: ripple 1.5s infinite ease-out;
}

.testimonial-card {
    padding: 30px;
    border-radius: 16px;
    position: relative;
}

.testimonial-card i.fa-quote-right {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
    color: rgba(38, 130, 182, 0.1);
}

.newsletter-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50px;
    padding: 12px 20px;
}

.newsletter-input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-blue);
    color: #fff;
    box-shadow: var(--magic-glow);
    outline: none;
}

.newsletter-btn {
    border-radius: 50px;
    padding: 12px 25px;
    background: var(--accent-blue);
    border: none;
    color: #fff;
    font-weight: 600;
}

.hero-title-glow {
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    color: #ffffff !important;
}

.custom-q-img {
    height: 0.75em;
    vertical-align: baseline;
    margin: 0 2px;
    margin-bottom: 2px;
    position: relative;
    filter: drop-shadow(0 0 10px rgba(38, 130, 182, 0.6));
    transition: transform 0.3s ease;
}

.custom-q-img:hover {
    transform: scale(1.1);
}


