:root {
    --bs-primary: #05aad3 !important;
    /* neon-like green, not too light */
    --bs-dark: #000000;
    /* black */
    --bs-light: #ffffff;
    /* white/light surfaces */
    --bs-white: #ffffff;
    /* ensure white maps to white */
    --primary-rgb: 57, 211, 83;
    /* rgb of --bs-primary for rgba() usage */
}

body {
    background: var(--bs-light);
    color: #111111;
}

html {
    scroll-behavior: smooth;
}


/* Subtle aurora ambient background (index only via body.aurora-bg) */
.aurora-bg {
    background-color: var(--bs-light);
    background-image:
        radial-gradient(50% 30% at 80% 10%, rgba(5, 170, 211, 0.22), rgba(5, 170, 211, 0) 60%),
        radial-gradient(45% 25% at 10% 25%, rgba(5, 170, 211, 0.18), rgba(5, 170, 211, 0) 60%),
        radial-gradient(40% 20% at 90% 70%, rgba(5, 170, 211, 0.14), rgba(5, 170, 211, 0) 60%),
        radial-gradient(35% 20% at 20% 85%, rgba(0, 200, 255, 0.12), rgba(0, 200, 255, 0) 65%),
        linear-gradient(180deg, #ffffff 0%, #f9fdff 100%);
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*** Spinner End ***/

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

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    right: 30px;
    bottom: 30px;
    /* sits above back-to-top */
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    border: 2px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease;
    z-index: 99;
}

.whatsapp-float:hover {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
    color: #fff;
}

@media (max-width: 575.98px) {
    .whatsapp-float {
        position: fixed;
        right: 16px;
        bottom: 20px;
        width: 48px;
        height: 48px;
        font-size: 24px;
        z-index: 99;
    }
}


/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
    border-radius: 5px;
}

.btn-square {
    width: 32px;
    height: 32px;
    border-radius: 5px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
    border-radius: 5px;
}

.btn-md-square {
    width: 40px;
    height: 40px;
    border-radius: 5px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
    border-radius: 5px;
}

.btn-xl-square {
    width: 56px;
    height: 56px;
    border-radius: 5px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.btn-primary {
    color: var(--bs-white);
    border: none;
}

.btn.btn-primary:hover {
    background: var(--bs-dark);
    color: var(--bs-white);
}

.btn.btn-light {
    color: var(--bs-primary);
    border: none;
}

.btn.btn-light:hover {
    color: var(--bs-white);
    background: var(--bs-primary);
}

/*** Navbar Start ***/
.transparent-navbar {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 70%, transparent 100%) !important;
    transition: all 0.3s ease;
}

.transparent-navbar.scrolled {
    background: white !important;
}

.transparent-navbar .nav-link,
.transparent-navbar .navbar-nav .nav-item .nav-link,
.transparent-navbar .dropdown-toggle,
.transparent-navbar .nav-item .dropdown-menu .dropdown-item {
    color: rgb(255, 255, 255) !important;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    /* Add text shadow for better visibility on transparent background */
    transition: all 0.3s ease;
}

.transparent-navbar.scrolled .nav-link,
.transparent-navbar.scrolled .navbar-nav .nav-item .nav-link,
.transparent-navbar.scrolled .dropdown-toggle,
.transparent-navbar.scrolled .nav-item .dropdown-menu .dropdown-item {
    color: #111111 !important;
    text-shadow: none;
    /* Remove text shadow when navbar is white */
}

.transparent-navbar .navbar-toggler {
    border-color: white !important;
}

.transparent-navbar .navbar-toggler .fa-bars {
    color: white !important;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    /* Add text shadow for better visibility */
}

.transparent-navbar.scrolled .navbar-toggler {
    border-color: #111111 !important;
}

.transparent-navbar.scrolled .navbar-toggler .fa-bars {
    color: #111111 !important;
    text-shadow: none;
    /* Remove text shadow when navbar is white */
}

.transparent-navbar .btn-primary {
    background-color: rgba(255, 255, 255, 0.2) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    color: white !important;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
    /* Add text shadow for better visibility */
}

.transparent-navbar.scrolled .btn-primary {
    background-color: #05aad3 !important;
    border-color: #05aad3 !important;
    color: white !important;
    text-shadow: none;
    /* Remove text shadow when navbar is white */
}

/* Shining glass effect for Download Brochure button - Desktop only when navbar is transparent */
@media (min-width: 992px) {
    .transparent-navbar:not(.scrolled) .d-none.d-lg-block {
        position: relative;
        background: rgba(255, 255, 255, 0.1) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(5, 170, 211, 0.3);
        border-radius: 15px !important;
        box-shadow: 0 8px 32px rgba(5, 170, 211, 0.2),
            0 0 0 1px rgba(255, 255, 255, 0.1) inset,
            0 4px 16px rgba(5, 170, 211, 0.3);
        overflow: hidden;
    }

    /* Continuous shine animation */
    .transparent-navbar:not(.scrolled) .d-none.d-lg-block::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -100%;
        width: 50%;
        height: 200%;
        background: linear-gradient(90deg,
                transparent,
                rgba(5, 170, 211, 0.4),
                rgba(255, 255, 255, 1),
                rgba(5, 170, 211, 0.4),
                transparent);
        transform: skewX(-25deg);
        animation: shine 3s infinite;
        z-index: 1;
    }

    /* Glass reflection effect */
    /* .transparent-navbar:not(.scrolled) .d-none.d-lg-block::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 50%;
        background: linear-gradient(180deg, 
            rgba(255, 255, 255, 0.25) 0%, 
            transparent 100%);
        border-radius: 15px 15px 0 0;
        pointer-events: none;
        z-index: 2;
    } */

    .transparent-navbar:not(.scrolled) .d-none.d-lg-block .btn-primary {
        background: linear-gradient(135deg,
                rgba(5, 170, 211, 0.8) 0%,
                rgba(5, 170, 211, 0.95) 100%) !important;
        border: none !important;
        position: relative;
        z-index: 3;
        transition: all 0.3s ease;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }

    /* .transparent-navbar:not(.scrolled) .d-none.d-lg-block{
        transition: all 0.4s ;
    }
    .transparent-navbar:not(.scrolled) .d-none.d-lg-block:hover {
        box-shadow: 0 12px 40px rgba(5, 170, 211, 0.35),
                    0 0 0 1px rgba(255, 255, 255, 0.2) inset,
                    0 6px 20px rgba(5, 170, 211, 0.4);

    } */

    .transparent-navbar:not(.scrolled) .d-none.d-lg-block:hover .btn-primary {
        background: linear-gradient(135deg,
                rgba(5, 170, 211, 0.9) 0%,
                rgba(5, 170, 211, 1) 100%) !important;
    }

    @keyframes shine {
        0% {
            left: -100%;
        }

        100% {
            left: 150%;
        }
    }
}

/* Animated text-to-icon transition for Download Brochure button - Desktop (all states) */
@media (min-width: 992px) {
    .brochure-btn-wrapper .brochure-btn {
        position: relative;
        overflow: hidden;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .brochure-btn .btn-text,
    .brochure-btn .btn-icon {
        transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        display: inline-flex;
        align-items: center;
    }

    .brochure-btn .btn-text {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    .brochure-btn .btn-icon {
        position: absolute;
        opacity: 0;
        transform: translateY(10px) scale(0.5);
    }

    .brochure-btn .btn-icon i {
        display: inline-block;
        animation: icon-bounce 0s ease;
    }

    .brochure-btn:hover .btn-text {
        opacity: 0;
        transform: translateY(-10px) scale(0.5);
    }

    .brochure-btn:hover .btn-icon {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    .brochure-btn:hover .btn-icon i:first-child {
        animation: icon-bounce 0.6s ease 0.1s;
    }

    .brochure-btn:hover .btn-icon i:last-child {
        animation: icon-bounce 0.6s ease 0.2s;
    }

    @keyframes icon-bounce {

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

        25% {
            transform: translateY(-5px) rotate(-5deg);
        }

        50% {
            transform: translateY(0) rotate(5deg);
        }

        75% {
            transform: translateY(-3px) rotate(-3deg);
        }
    }
}

.header-top .topbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
    color: var(--bs-primary);
}

.header-top .topbar .dropdown .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light);
    padding-top: 12px;
    border: 0;
    transition: .5s;
    opacity: 1;
}

.header-top {
    padding: 10px 0;
    position: relative;
}

.header-top::after {
    content: none;
}

@media (min-width: 992px) {
    .header-top::before {
        content: none;
    }

    .navbar-brand-2 {
        display: none;
    }
}

@media (max-width: 991px) {
    .header-top {
        max-height: none;
    }

    .navbar {
        justify-content: space-between;
    }

    .header-top .container {
        max-height: none;
    }

    .navbar-brand {
        display: block;
    }

    .navbar-brand-2 {
        display: none;
    }

    .navbar.navbar-light {
        height: 100%;
        padding: 0;
    }

    .navbar .navbar-collapse {
        margin-top: 0;
        background-color: white;
    }



}

.nav-bar .navbar {
    z-index: 9;
}

.navbar-light .navbar-brand img {
    max-height: 48px;
    display: block;
    transition: .5s;
}

.nav-bar .navbar-light .navbar-brand img {
    max-height: 68px;
}

.navbar .navbar-nav .nav-item .nav-link {
    padding: 0;
    font-weight: 700;
    font-size: 1.05rem;
    position: relative;
    transition: all 0.3s ease;
}

.navbar .navbar-nav .nav-item {
    display: flex;
    align-items: center;
    padding: 0;
    margin-right: 20px;
}

.navbar-light .navbar-nav .nav-item:hover,
.navbar-light .navbar-nav .nav-item.active,
.navbar-light .navbar-nav .nav-item:hover .nav-link,
.navbar-light .navbar-nav .nav-item.active .nav-link {
    color: var(--bs-primary);
}

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

    .navbar .navbar-nav .nav-link {
        padding: 0;
        height: auto;
        display: inline-flex;
        align-items: center;
    }

    .navbar .navbar-nav .nav-item {
        display: flex;
        padding: 12px;
        flex-direction: column;
        justify-content: start;
        align-items: start;
    }

    .navbar .navbar-nav {
        width: 100%;
        display: flex;
        margin-top: 20px;
        padding-bottom: 20px;
        margin-left: 0;
        background: transparent;
    }

    .navbar .navbar-nav .nav-btn {
        display: flex;
        flex-direction: column;
    }

    .navbar .navbar-nav .nav-btn a.btn {
        margin-right: 15px;
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 8px 15px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
        border-radius: 5px;
    }

    .container-fluid {
        margin-top: -15px;
        padding-top: 20px;
    }
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

.dropdown .dropdown-menu .dropdown-item:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

@media (min-width: 992px) {
    .navbar {
        padding: 0;
        min-height: 64px;
    }

    .navbar .nav-btn {
        display: flex;
        align-items: center;
        justify-content: end;
    }

    .navbar .navbar-nav {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        background: transparent;
        border-radius: 0;
    }

    .navbar .navbar-nav .nav-link {
        display: flex;
        align-items: center;
        height: 64px;
        padding: 0 14px;
        font-size: 1.1rem;
    }

    .navbar .navbar-nav .nav-btn {
        width: 100%;
        display: flex;
        margin-left: auto;
    }

    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        margin-top: 19px;
        background: var(--bs-white);
        transition: .5s;
        opacity: 1;
    }

    .header-top .navbar-brand {
        position: relative;
        overflow: visible;
        padding: 0;
        z-index: 1;
    }

    .navbar-brand::before {
        content: none;
    }

    .navbar-brand::after {
        content: none;
    }
}

/*** Navbar End ***/


/*** Carousel Hero Header Start ***/
.hero-section {
    background-color: #000;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    width: 100%;
    min-height: 100vh;
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 0;
    object-fit: cover;
    /* Performance optimizations */
    will-change: auto;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateX(-50%) translateY(-50%) translateZ(0);
    -webkit-transform: translateX(-50%) translateY(-50%) translateZ(0);
}

/* Optimize video rendering on mobile */
@media (max-width: 768px) {
    .hero-video-bg {
        /* Force GPU acceleration for smoother playback */
        transform: translate3d(-50%, -50%, 0);
        -webkit-transform: translate3d(-50%, -50%, 0);
    }
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: linear-gradient(to right,
            rgba(0, 0, 0, 0.9) 0%,
            rgba(0, 0, 0, 0.8) 25%,
            rgba(0, 0, 0, 0.5) 50%,
            rgba(59, 45, 45, 0.25) 75%,
            rgba(0, 0, 0, 0) 100%,
            rgba(0, 0, 0, 0) 100%);

    z-index: 1;
    pointer-events: none;
}

/* Mobile overlay - stronger gradient for better text readability */
@media (max-width: 991px) {
    .hero-overlay {
        background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.75) 30%, rgba(0, 0, 0, 0.55) 50%, rgba(0, 0, 0, 0.3) 70%, rgba(0, 0, 0, 0) 90%);
    }
}

.hero-bg-half-1 {
    /* background-image: url(../img/header-2.jpg); */
    clip-path: polygon(37% 0%, 100% 0%, 100% 100%, 0% 100%);
    filter: grayscale(10%);
    transform: scale(100% - 50%);
    background-position: center right;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    width: 58%;
    height: 100%;
    right: 0;
    top: 0;
}

.hero-bg-half-2 {
    /* background-image: url(../img/header-1.jpg); */
    clip-path: polygon(37% 0%, 100% 0%, 100% 100%, 0% 100%);
    filter: grayscale(10%);
    transform: scale(100% - 50%);
    background-position: center right;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    width: 58%;
    height: 100%;
    right: 0;
    top: 0;
}

.hero-shape-1 {
    background-color: var(--bs-primary);
    width: 150px;
    height: 50%;
    position: absolute;
    left: 54%;
    top: 0;
    transform: translateY(-50%) skew(-26deg, 0deg);
    position: relative;
}

.hero-shape-1:before {
    background-color: var(--bs-dark);
    content: "";
    width: 50%;
    height: 80%;
    position: absolute;
    right: 0;
    top: 0;
}

.hero-shape-2 {
    background-color: var(--bs-dark);
    width: 150px;
    height: 50%;
    position: absolute;
    right: -43%;
    bottom: 0;
    transform: translateY(50%) skew(-25deg, 0deg);
    position: relative;
    z-index: 1;
}

.hero-shape-2::after {
    background-color: var(--bs-primary);
    content: "";
    width: 75px;
    height: 80%;
    position: absolute;
    right: 0;
    bottom: 0;
}

/*** Carousel Hero Header Start ***/
.header-carousel .header-carousel-item {
    min-height: 100vh;
    height: 100vh;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--bs-white);
    color: var(--bs-primary);
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev {
    bottom: 30px;
    left: 0;
    border-radius: 50%;
    margin-left: 15px;
}

.header-carousel .owl-nav .owl-next {
    bottom: 30px;
    right: 0;
    border-radius: 50%;
    margin-right: 15px;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 0 0 65px 0 var(--bs-primary);
    color: var(--bs-dark);
}

.header-carousel .header-carousel-item .carousel-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    background: transparent;
    display: flex;
    align-items: center;
    z-index: 10;
    pointer-events: none;
}

.header-carousel .header-carousel-item .carousel-caption * {
    pointer-events: auto;
}

/* .header-carousel .header-carousel-item .carousel-caption::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}
.header-carousel .header-carousel-item .carousel-caption p {
    color: var(--bs-white);
    font-size: 1.25rem;
    line-height: 1.5;
} */

@media (max-width: 991px) {
    .header-carousel .header-carousel-item .carousel-caption {
        padding-top: 45px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .header-carousel.owl-carousel,
    .header-carousel .header-carousel-item {
        min-height: 100vh;
        height: 100vh;
    }

    .hero-section {
        min-height: 100vh;
        height: 100vh;
    }

    .hero-section .carousel-caption .container {
        margin-top: -100px !important;
    }
}

/* Small mobile devices */
@media (max-width: 575px) {

    .header-carousel.owl-carousel,
    .header-carousel .header-carousel-item {
        min-height: 100vh;
        height: 100vh;
    }

    .hero-section {
        min-height: 100vh;
        height: 100vh;
    }

    .header-carousel .header-carousel-item .carousel-caption {
        padding-top: 30px;
    }
}

/*** Carousel Hero Header End ***/


/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgb(0, 0, 0));
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 160px 0 60px 0;
    transition: 0.5s;
}

.bg-breadcrumb .breadcrumb {
    position: relative;
}

.bg-breadcrumb .breadcrumb .breadcrumb-item a {
    color: var(--bs-white);
}

/*** Single Page Hero Header End ***/


/*** Banner Start ***/
.banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url(../img/bg3.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 9;
}

.banner .container {
    position: relative;
    z-index: 99;
}

.banner::after {
    content: "";
    position: absolute;
    width: 100px;
    height: 500px;
    top: -200px;
    left: 0;
    background: var(--bs-primary);
    transform: rotate(45deg);
    z-index: 1;
}

.banner::before {
    content: "";
    position: absolute;
    width: 100px;
    height: 500px;
    bottom: -200px;
    right: 0;
    background: var(--bs-primary);
    transform: rotate(45deg);
    z-index: 1;
}

.banner .banner-design-1 {
    position: absolute;
    width: 30px;
    height: 500px;
    top: -165px;
    left: 0;
    background: var(--bs-dark);
    transform: rotate(45deg);
    z-index: 2;
}

.banner .banner-design-2 {
    position: absolute;
    width: 30px;
    height: 500px;
    bottom: -165px;
    right: 0;
    background: var(--bs-dark);
    transform: rotate(45deg);
    z-index: 2;
}

/*** Banner End ***/

/*** Service Start ***/
.service .nav .nav-item {
    width: 75%;
    border: 1px solid var(--bs-primary);
    background: var(--bs-light);
}

.service .nav .nav-item a {
    display: flex;
    justify-content: center;
}


.owl-stage-outer {
    margin-right: -1px;
}

.service .nav-item a.active {
    background: var(--bs-primary);
}

.service .nav-item a span {
    color: var(--bs-dark);
}

.service .nav-item a.active span {
    color: var(--bs-white);
}

.service-carousel .owl-nav .owl-prev,
.service-carousel .owl-nav .owl-next {
    position: absolute;
    padding: 10px 35px;
    border: 1px solid var(--bs-primary);
    color: var(--bs-dark);
    background: var(--bs-light);
    transition: 0.5s;
    border-radius: 5px;
}

.service-carousel .owl-nav .owl-prev:hover,
.service-carousel .owl-nav .owl-next:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
    border-radius: 5px;
}

@media (min-width: 992px) {
    .service-carousel .owl-nav .owl-prev {
        top: 0;
        left: -115px;
        border-radius: 5px;
    }

    .service-carousel .owl-nav .owl-next {
        bottom: 0;
        left: -115px;
        border-radius: 5px;
    }
}

@media (max-width: 991px) {
    .owl-stage-outer {
        margin-bottom: 70px;
    }

    .service-carousel .owl-nav .owl-prev {
        bottom: -70px;
        left: 0;
    }

    .service-carousel .owl-nav .owl-next {
        bottom: -70px;
        right: 0;
    }

    .service .nav {
        display: flex;
        justify-content: center;
    }
}

/*** Service End ***/

/*** Projects Start ***/
.projects .nav-item {
    box-shadow: 0 0 30px rgba(0, 0, 0, .09);
}

.projects-item .projects-content {
    box-shadow: 0 0 30px rgba(0, 0, 0, .1);
}

.projects .nav-item a.active {
    background: var(--bs-primary);
}

.projects .nav-item a span {
    color: var(--bs-dark);
}

.projects .nav-item a.active span {
    color: var(--bs-white);
}

.projects .nav-item a.active .projects-icon {
    background: var(--bs-dark) !important;
}

.projects .nav-item a.active .projects-icon span {
    color: var(--bs-primary);
}

/*** Projects End ***/


/*** Blog Start ***/
.blog .blog-item {
    height: 100%;
    background: var(--bs-light);
}

.blog .blog-item .blog-img {
    position: relative;
    overflow: hidden;
}

/* .blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    background: rgba(var(--primary-rgb), .3);
    transition: 0.5s;
} */

.blog .blog-item:hover .blog-heading {
    color: black;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item:hover .blog-img img {
    transform: scale(1.07);
}

.blog .blog-item .blog-heading {
    position: relative;
    background: var(--bs-white);
}

.blog .blog-item .blog-heading a.h4 {
    position: relative;
    width: 100%;
    display: inline-flex;
    transition: 0.5s;
    z-index: 2;
}

.blog .blog-item .blog-heading::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 100%;
    right: 0;
    bottom: 0;
    transition: 0.5s;
    z-index: 1;
}

.blog .blog-item:hover .blog-heading::after {
    width: 100%;
    background: var(--bs-primary);
}

.blog .blog-item:hover .blog-heading a.h4 {
    color: var(--bs-white);
    color: #000000;
}

.blog .blog-item:hover .blog-heading a.h4:hover {
    color: var(--bs-dark);
}

/*** Blog End ***/

/*** Team Start ***/
.team .team-item .team-img {
    position: relative;
    overflow: hidden;
}

.team .team-item .team-img img {
    transition: 0.5s;
}

.team .team-item:hover .team-img img {
    transform: scale(1.1);
}

.team .team-item .team-img .team-icon {
    position: absolute;
    bottom: 20px;
    right: -100%;
    z-index: 9;
    transition: 0.5s;
}

.team .team-item:hover .team-img .team-icon {
    right: 25px;
}



.team .team-item:hover .team-img::after {
    height: 100%;
}

.team .team-item .team-content {
    transition: 0.5s;
}

.team .team-item:hover .team-content {
    box-shadow: 0 0 20px rgba(0, 0, 0, .2);
}

/*** Team End ***/

/*** FAQs Start ***/
.faq-section .accordion .accordion-item {
    margin-bottom: 20px;
    box-shadow: 0 0 30px rgba(0, 0, 0, .08);
    border: none;
}

.faq-section .accordion .accordion-item .accordion-header .accordion-button {
    color: var(--bs-white);
    background: #05aad3;
    font-size: 18px;
}

.faq-section .accordion .accordion-item .accordion-header .accordion-button.collapsed {
    color: var(--bs-dark);
    background: #05aad3;
}

/*** FAQs End ***/

/*** Testimonial Start ***/
.testimonial-carousel .owl-stage-outer {
    margin-right: -1px;
}

.testimonial .testimonial-item {
    position: relative;
    margin-top: 35px;
}

.testimonial .testimonial-item .customer-text {
    border: 1px solid var(--bs-primary);
    border-top: none;
}

.testimonial .testimonial-item .testimonial-quote {
    position: absolute;
    width: 50px;
    height: 50px;
    top: 0;
    right: 25px;
    transform: translateY(-50%);
    color: var(--bs-dark);
    background: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial .testimonial-item .testimonial-inner {
    display: flex;
    align-items: center;
    background: var(--bs-white);
}

.testimonial .testimonial-item .testimonial-inner img {
    width: 100px;
    height: 100px;
    border: 2px solid var(--bs-primary);
}

.testimonial-carousel .owl-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 30px;
    height: 30px;
    margin: 30px 10px 0 10px;
    background: var(--bs-white);
    transition: 0.5s;
    border-radius: 50%;
}

@media (max-width: 991px) {
    .testimonial-carousel .owl-dots .owl-dot {
        margin: 0 10px 0 10px;
        border-radius: 50%;
    }
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 30px;
    height: 30px;
    background: var(--bs-primary);
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot span {
    position: relative;
    margin-top: 50%;
    margin-left: 50%;
    transform: translate(-50%, -50%);
    margin-right: -1px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.testimonial-carousel .owl-dots .owl-dot.active span::after {
    background: var(--bs-white);
    border-radius: 50%;
}

.testimonial-carousel .owl-dots .owl-dot span::after {
    content: "";
    width: 15px;
    height: 15px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bs-primary);
    transition: 0.5s;
    border-radius: 50%;
}

/*** Testimonial End ***/

/*** Footer Start ***/
.footer {
    background: var(--bs-dark);
}

.footer .footer-item a {
    line-height: 35px;
    color: var(--bs-white);
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
}

.footer .footer-item a:hover {
    letter-spacing: 1px;
    color: var(--bs-primary);
}

.footer .footer-item .footer-btn a {
    transition: 0.5s;
}

.footer .footer-item .footer-btn a:hover {
    background: var(--bs-white);
}

.footer .footer-item .footer-btn a:hover {
    color: var(--bs-primary);
}

/*** Footer End ***/

/*** copyright Start ***/
.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: var(--bs-dark);
}

/*** copyright end ***/


.rounded {
    border-radius: 5px;
}

#productTab {
    margin-left: -80px;
}

@media (max-width: 991px) {

    .header-carousel .owl-nav .owl-prev,
    .header-carousel .owl-nav .owl-next {
        display: none;
    }

    #productTab {
        margin-left: 0px;
    }
}

.service-item {
    border: 0px solid #05aad3;
    transition: 0.3s;
    border-radius: 5px;
}

.service-item:hover {
    box-shadow: 0 0 20px rgba(0, 120, 189, 0.2);
    transform: translateY(-10px);
}

/* ===== Professional Navbar Link Hover Animation - Desktop Only - NEW APPROACH ===== */
@media (min-width: 992px) {

    /* Completely different approach - use border-bottom instead of ::after */
    .navbar .navbar-nav a.nav-link {
        position: relative !important;
        text-decoration: none !important;
        border: none !important;
        border-bottom: 3px solid transparent !important;
        padding-bottom: 0px !important;
        transition: all 0.3s ease !important;
    }

    /* Remove ALL pseudo-elements completely */
    .navbar .navbar-nav a.nav-link::before,
    .navbar .navbar-nav a.nav-link::after,
    .navbar .navbar-nav b::before,
    .navbar .navbar-nav b::after {
        content: none !important;
        display: none !important;
    }

    /* Hover effect - show border */
    .navbar .navbar-nav a.nav-link:hover {
        border-bottom-color: var(--bs-primary) !important;
        transform: scale(1.05) !important;
    }

    /* Active page - show border */
    .navbar .navbar-nav a.nav-link.active {
        border-bottom-color: var(--bs-primary) !important;
    }

    /* Transparent navbar - white border */
    .transparent-navbar:not(.scrolled) .navbar-nav a.nav-link:hover,
    .transparent-navbar:not(.scrolled) .navbar-nav a.nav-link.active {
        border-bottom-color: white !important;
    }

    /* Scrolled navbar - primary color border */
    .transparent-navbar.scrolled .navbar-nav a.nav-link:hover,
    .transparent-navbar.scrolled .navbar-nav a.nav-link.active {
        border-bottom-color: var(--bs-primary) !important;
    }
}

/* ===== Mission & Vision Label Style - ENHANCED ===== */
/* Mission - Coming from Left */
.mission-label-wrapper {
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: flex-start;
    position: relative;
}

.mission-label {
    background: linear-gradient(135deg, #05aad3 0%, #0492b8 50%, #05aad3 100%);
    color: #ffffff;
    font-size: 2rem;
    font-weight: 800;
    padding: 20px 60px 20px 30px;
    border-radius: 0 40px 40px 0;
    margin-left: -30px;
    box-shadow:
        8px 8px 25px rgba(5, 170, 211, 0.4),
        inset 0 -3px 10px rgba(0, 0, 0, 0.1),
        inset 0 3px 10px rgba(255, 255, 255, 0.3);
    position: relative;
    display: inline-block;
    letter-spacing: 1px;
    animation: slideInLeft 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
}

/* Shine effect for mission label */
.mission-label::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.5),
            transparent);
    transform: skewX(-25deg);
    animation: shine-mission 3s infinite;
}

/* Decorative icon - Target for Mission */
.mission-label::after {
    content: '\f140';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.mission-content {
    padding-left: 40px;
    max-width: 1000px;
    animation: fadeInUp 1s ease 0.3s both;
}

.mission-content p {
    line-height: 1.8;
    color: #333;
}

/* Vision - Coming from Right */
.vision-label-wrapper {
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: flex-end;
    position: relative;
}

.vision-label {
    background: linear-gradient(135deg, #05aad3 0%, #0492b8 50%, #05aad3 100%);
    color: #ffffff;
    font-size: 2rem;
    font-weight: 800;
    padding: 20px 30px 20px 60px;
    border-radius: 40px 0 0 40px;
    margin-right: -30px;
    box-shadow:
        -8px 8px 25px rgba(5, 170, 211, 0.4),
        inset 0 -3px 10px rgba(0, 0, 0, 0.1),
        inset 0 3px 10px rgba(255, 255, 255, 0.3);
    position: relative;
    display: inline-block;
    letter-spacing: 1px;
    animation: slideInRight 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    overflow: hidden;
}

/* Shine effect for vision label */
.vision-label::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -100%;
    width: 50%;
    height: 200%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.5),
            transparent);
    transform: skewX(-25deg);
    animation: shine-vision 3s infinite;
}

/* Decorative icon - Star for Vision */
.vision-label::after {
    content: '\f06e';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.vision-content {
    padding-right: 40px;
    max-width: 1000px;
    margin-left: auto;
    text-align: right;
    animation: fadeInUp 1s ease 0.3s both;
}

.vision-content p {
    line-height: 1.8;
    color: #333;
}

/* Keyframe animations */
@keyframes slideInLeft {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }

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

@keyframes slideInRight {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }

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

@keyframes fadeInUp {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes shine-mission {
    0% {
        left: -100%;
    }

    100% {
        left: 150%;
    }
}

@keyframes shine-vision {
    0% {
        right: -100%;
    }

    100% {
        right: 150%;
    }
}

/* Hover effects for extra engagement */
/* .mission-label:hover,
.vision-label:hover {
    transform: scale(1.02);
    box-shadow: 
        10px 10px 30px rgba(5, 170, 211, 0.5),
        inset 0 -3px 10px rgba(0, 0, 0, 0.15),
        inset 0 3px 10px rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
} */

/* Responsive adjustments for mobile */
@media (max-width: 768px) {

    .mission-label,
    .vision-label {
        font-size: 1.8rem;
        padding: 15px 40px;
        letter-spacing: 0.5px;
    }

    .mission-label {
        margin-left: 0;
        border-radius: 20px;
    }

    .vision-label {
        margin-right: 0;
        border-radius: 20px;
    }

    .mission-content,
    .vision-content {
        padding: 0 20px;
        text-align: center;
    }

    .vision-label-wrapper,
    .mission-label-wrapper {
        justify-content: center;
    }

    .mission-label::after,
    .vision-label::after {
        display: none;
    }
}

/* Preline Clients Section Styling */
.max-w-\[85rem\] {
    max-width: 85rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-10 {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.text-center {
    text-align: center;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

.text-gray-600 {
    color: #4b5563;
}

.grid {
    display: grid;
}

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

.gap-x-6 {
    column-gap: 1.5rem;
}

.w-2\/3 {
    width: 66.666667%;
}

.w-16 {
    width: 4rem;
}

.h-auto {
    height: auto;
}

.py-3 {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

.shrink-0 {
    flex-shrink: 0;
}

.size-4 {
    width: 1rem;
    height: 1rem;
}

.inline-flex {
    display: inline-flex;
}

.items-center {
    align-items: center;
}

.gap-x-2 {
    column-gap: 0.5rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.font-medium {
    font-weight: 500;
}

.rounded-full {
    border-radius: 9999px;
}

.border {
    border-width: 1px;
}

.border-gray-200 {
    border-color: #e5e7eb;
}

.bg-white {
    background-color: #ffffff;
}

.text-gray-800 {
    color: #1f2937;
}

.shadow-2xs {
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.mt-8 {
    margin-top: 2rem;
}

/* Responsive classes */
@media (min-width: 640px) {
    .sm\:w-1\/2 {
        width: 50%;
    }

    .sm\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .sm\:gap-x-6 {
        column-gap: 1.5rem;
    }
}

@media (min-width: 768px) {
    .md\:w-20 {
        width: 5rem;
    }

    .md\:grid-cols-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .md\:grid-cols-6 {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .lg\:w-1\/3 {
        width: 33.333333%;
    }

    .lg\:w-24 {
        width: 6rem;
    }

    .lg\:py-5 {
        padding-top: 1.25rem;
        padding-bottom: 1.25rem;
    }

    .lg\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }

    .lg\:py-14 {
        padding-top: 3.5rem;
        padding-bottom: 3.5rem;
    }
}

/* Custom styling for professional look */
.text-gray-500 {
    color: #000000;
    transition: color 0.3s ease;
}

.text-gray-500:hover {
    color: #05aad3;
}

/* Ensure logos are properly sized and centered */
.grid svg {
    max-width: 100%;
    max-height: 80px;
    opacity: 0.6;
    color: #000000;
    transition: opacity 0.3s ease, transform 0.3s ease, color 0.3s ease;
}

.grid svg:hover {
    opacity: 1;
    color: #05aad3;
    transform: scale(1.05);
}

/* Same styling for images (like Havmor logo) */
.grid img {
    max-width: 100%;
    max-height: 80px;
    opacity: 0.6;
    filter: brightness(0) saturate(100%);
    transition: opacity 0.3s ease, transform 0.3s ease, filter 0.3s ease;
}

.grid img:hover {
    opacity: 1;
    filter: brightness(0) saturate(100%) invert(59%) sepia(89%) saturate(1262%) hue-rotate(154deg) brightness(93%) contrast(101%);
    transform: scale(1.05);
}

/* Infinite Scrolling Carousel */
.logo-carousel {
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 2rem 0;
}

.logo-track {
    display: flex;
    width: max-content;
    animation: scroll-left 30s linear infinite;
}

.logo-track-reverse {
    display: flex;
    width: max-content;
    animation: scroll-right 30s linear infinite;
}

.logo-track:hover,
.logo-track-reverse:hover {
    animation-play-state: paused;
}

.logo-item {
    flex: 0 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

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

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

/* Button hover effect */
.hover\:bg-gray-50:hover {
    background-color: #f9fafb;
}

.focus\:outline-hidden:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
}

.focus\:bg-gray-50:focus {
    background-color: #f9fafb;
}

.disabled\:opacity-50:disabled {
    opacity: 0.5;
}

.disabled:pointer-events-none:disabled {
    pointer-events: none;
}

/* ========================================
   Product Cards Section
   ======================================== */

/* Product Card Container */
.product-card {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(5, 170, 211, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(5, 170, 211, 0.25);
}

/* Product Card Image Section */
.product-card-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    /* background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%); */
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 30px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1.1);
}

.product-card:hover .product-card-image img {
    transform: scale(1.2) rotate(2deg);
}

/* Product Card Overlay */
/* .product-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(5, 170, 211, 0.9) 0%, rgba(0, 200, 255, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-card-overlay {
    opacity: 1;
} */

.product-card-overlay-content {
    transform: scale(0) rotate(-180deg);
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.product-card:hover .product-card-overlay-content {
    transform: scale(1) rotate(0deg);
}

.product-card-overlay-content i {
    font-size: 4rem;
    color: #ffffff;
    opacity: 0.9;
}

/* Product Card Body */
.product-card-body {
    padding: 2rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #ffffff;
}

.product-card-title {
    color: #000000;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.product-card:hover .product-card-title {
    color: #000000;
}

.product-card-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex: 1;
}

/* Product Card Button */
.product-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    background: var(--bs-primary);
    color: #ffffff;
    border: 2px solid var(--bs-primary);
    position: relative;
    overflow: hidden;
}

.product-card-btn:hover::before {
    width: 300px;
    height: 300px;
}

.product-card-btn:hover {
    box-shadow: 0 8px 20px rgba(5, 170, 211, 0.4);
    background: var(--bs-dark);
    border-color: var(--bs-dark);
    color: #ffffff;
}

.product-card-btn i {
    position: relative;
    z-index: 1;
}

.product-card-btn span {
    position: relative;
    z-index: 1;
}

/* Product Card Animation on Scroll */
.product-card-animate {
    opacity: 0;
    transform: translateY(30px);
}

.product-card-animate.wow {
    visibility: hidden;
}

.product-card-animate.wow.animated {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
    .product-card-image {
        height: 240px;
    }

    .product-card-image img {
        padding: 20px;
        object-fit: contain;
    }

    .product-card-body {
        padding: 1.5rem 1.25rem;
    }

    .product-card-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 767.98px) {
    .product-card {
        margin-bottom: 1.5rem;
    }

    .product-card-image {
        height: 220px;
    }

    .product-card-image img {
        padding: 15px;
        object-fit: contain;
    }

    .product-card-overlay-content i {
        font-size: 3rem;
    }
}

@media (max-width: 575.98px) {
    .product-card-image {
        height: 200px;
    }

    .product-card-image img {
        padding: 12px;
        object-fit: contain;
    }

    .product-card-body {
        padding: 1.25rem 1rem;
    }

    .product-card-title {
        font-size: 1.2rem;
    }

    .product-card-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 390px) {
    .product-card-image {
        height: 180px;
    }

    .product-card-image img {
        padding: 10px;
        object-fit: contain;
    }

    .product-card-title {
        font-size: 1.1rem;
    }
}

/* Contact Form Responsive Padding */
@media (min-width: 992px) {
    .contact-form-wrapper {
        padding-top: 100px;
    }
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-item .nav-link {
        color: black;
    }

    .transparent-navbar .nav-link {
        color: black !important;
        text-shadow: none !important;
    }

    .transparent-navbar .btn-primary {
        color: rgb(255, 255, 255) !important;
        background-color: #05aad3 !important;
        border-radius: 10px !important;
    }
}

#spinner-logo {
    width: 250px;
}

/* Add this to your style.css file */
/* Optimize animations for better performance */
#international-clients,
#pan-india-shipping {
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-font-smoothing: subpixel-antialiased;
}

/* Optimize images */
#international-clients img,
#pan-india-shipping img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
    image-rendering: -webkit-optimize-contrast;
}

/* Simplify animations */
.wow.animate__animated {
    animation-duration: 1s !important;
    animation-fill-mode: both;
}

/* Disable animations on mobile where performance is worse */
@media (max-width: 768px) {
    .wow.animate__animated {
        animation: none !important;
    }

    .wow {
        visibility: hidden;
        opacity: 1 !important;
    }

    .wow {
        visibility: visible !important;
        opacity: 1 !important;
    }
}

#index-client {
    margin-top: -50px;
    margin-left: auto;
    margin-right: auto;
}

#index-product {
    margin-top: -5rem;
    margin-left: auto;
    margin-right: auto;
}

#index-tag {
    margin-top: 110px;
    color: #05aad3;
    border: 2px solid #05aad3;
    background-color: rgba(5, 170, 211, 0.15);
    display: inline-block;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

#index-mission {
    margin-top: -3.5rem !important;
}

#index-client {
    max-width: 85rem;
    padding: 2.5rem 1rem;
    margin: 0 auto;
}

#about-video {
    margin-top: -100px;
}

#about-international {
    margin-top: -150px;
}

#product-special {
    margin-top: 80px;
}

@media (max-width:920px) {

    #contact-heading {
        margin-top: -10px;
    }

    #product-special {
        margin-top: 40px;
    }

    #pan-india-shipping {
        margin-top: -80px;
    }

    #about-international {
        margin-top: -135px;
    }

    #about-heading {
        margin-top: -40px;
    }

    #about-video {
        margin-top: -175px;
    }

    #index-heading-head {
        margin-top: 40px;
    }

    #index-mission {
        margin-top: -110px !important;
    }

    #index-about {
        margin-top: -50px;
    }

    #index-product {
        margin-top: -125px;
    }

    #index-heading {
        margin-top: 30px;
    }

    #index-sub {
        margin-top: 30px;
        font-size: 23px;
        text-align: justify;
        padding-left: 25px;
        padding-right: 25px;
    }

    .hero-overlay {
        background: rgba(0, 0, 0, 0.7);
    }

    #index-client {
        margin-top: -90px;
    }

    #index-machinery {
        margin-top: -60px;
    }
}

.about-common {
    margin-top: -8rem !important;
}

#about-expansion {
    width: 70%;
    text-align: justify;
}

@media screen and (max-width: 920px) {
    #about-expansion {
        width: 90%;
        text-align: center;
    }
}



.container__item-special img {
    display: block;
    height: auto;
    width: 100%;
}

.container-special {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    padding: 1%;
}

.container__item-special {
    height: auto;
    margin-top: 1vw;
    width: 98vw;
}

.container__item-special:first-child {
    margin-top: 0;
}

@media (min-width: 768px) {
    .container__item-special:first-child {
        width: 100%;
    }

    .container__item-special:nth-child(n+2) {
        flex: 1;
        margin-right: 1%;
    }

    .container__item-special:last-child {
        margin-right: 0;
    }
}

@media (min-width: 992px) {
    .container__item-special:nth-child(-n+2) {
        flex: none;
        margin: 0;
        width: 49.5%;
    }

    .container__item-special:first-child {
        margin-right: 1%;
    }

    .container__item-special:nth-child(n+3) {
        flex: 1;
        margin-right: 1%;
    }

    .container__item-special:last-child {
        margin-right: 0;
    }
}

#about-expansion-section {
    height: auto;
    margin-top: -100px;
}

#about-company-section {
    margin-top: -100px;
}

#qc-qc {
    margin-top: -12rem !important;
}

@media (max-width:992px) {
    #qc-qc {
        margin-top: -8rem !important;
    }
}

.nav-item:active {
    background-color: #05aad3;
}

/* Removed old tab styles that were conflicting */

.clear {
    clear: both;
}

/* Updated tab container styles */
.Tab1,
.Tab2,
.Tab3,
.Tab4,
.Tab5 {
    display: none;
}

.Tab1 {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    padding-top: 40px;
}

.Tab1.active,
.Tab2.active,
.Tab3.active,
.Tab4.active,
.Tab5.active {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-top: 40px;
}

.tab-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
    padding-left: 40px;
    padding-right: 40px;
}

.tab-content.active {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding-top: 40px;
    padding-left: 40px;
    padding-right: 40px;
}

@media screen and (max-width: 992px) {
    .tab-content {
        display: flex;
        flex-direction: column;
        margin: 5px;
    }

    .tab-content.active {
        display: flex;
        flex-direction: column;
        margin: 5px;
    }

    .tab-content .product-item{
        width: 90%;
        height: 200px;
    }

    .tab-content .product-item img{
        width: 100%;
        height: 100%;
    }
}

#alertFloating {
    position: fixed;
    top: 80px; /* just below navbar */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    z-index: 99999;
    display: none; /* hidden initially */
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.4s ease;
}
#alertFloating.show {
    display: block;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
#alertFloating.hide {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
}