/********** Template CSS **********/
:root {
    --primary: #06A3DA;
    --secondary: #34AD54;
    --light: #EEF9FF;
    --dark: #091E3E;
}


/*** Spinner ***/
.spinner {
    width: 40px;
    height: 40px;
    background: var(--primary);
    margin: 100px auto;
    -webkit-animation: sk-rotateplane 1.2s infinite ease-in-out;
    animation: sk-rotateplane 1.2s infinite ease-in-out;
}

@-webkit-keyframes sk-rotateplane {
    0% {
        -webkit-transform: perspective(120px)
    }

    50% {
        -webkit-transform: perspective(120px) rotateY(180deg)
    }

    100% {
        -webkit-transform: perspective(120px) rotateY(180deg) rotateX(180deg)
    }
}

@keyframes sk-rotateplane {
    0% {
        transform: perspective(120px) rotateX(0deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(0deg) rotateY(0deg)
    }

    50% {
        transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg);
        -webkit-transform: perspective(120px) rotateX(-180.1deg) rotateY(0deg)
    }

    100% {
        transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
        -webkit-transform: perspective(120px) rotateX(-180deg) rotateY(-179.9deg);
    }
}

#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;
}


/*** Heading ***/
h1,
h2,
.fw-bold {
    font-weight: 800 !important;
}

h3,
h4,
.fw-semi-bold {
    font-weight: 700 !important;
}

h5,
h6,
.fw-medium {
    font-weight: 600 !important;
}


/*** Button ***/
.btn {
    font-family: 'Nunito', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary,
.btn-secondary {
    color: #FFFFFF;
    box-shadow: inset 0 0 0 50px transparent;
}

.btn-primary:hover {
    box-shadow: inset 0 0 0 0 var(--primary);
}

.btn-secondary:hover {
    box-shadow: inset 0 0 0 0 var(--secondary);
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 30px;
    height: 30px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}


/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
    font-family: 'Nunito', sans-serif;
    position: relative;
    margin-left: 25px;
    padding: 35px 0;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 600;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-dark .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark);
}

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

.navbar-dark .navbar-brand h1 {
    color: #FFFFFF;
}

.navbar-dark .navbar-toggler {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-dark {
        position: relative;
        background: #FFFFFF;
    }

    .navbar-dark .navbar-nav .nav-link,
    .navbar-dark .navbar-nav .nav-link.show,
    .sticky-top.navbar-dark .navbar-nav .nav-link {
        padding: 10px 0;
        color: var(--dark);
    }

    .navbar-dark .navbar-brand h1 {
        color: var(--primary);
    }
}

@media (min-width: 992px) {
    .navbar-dark {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, .1);
        z-index: 999;
    }

    .sticky-top.navbar-dark {
        position: fixed;
        background: #FFFFFF;
    }

    .navbar-dark .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-dark .navbar-nav .nav-link:hover::before,
    .navbar-dark .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-dark .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .sticky-top.navbar-dark .navbar-brand h1 {
        color: var(--primary);
    }
}


/*** Carousel ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(9, 30, 62, .7);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}


/*** Section Title ***/
.section-title::before {
    position: absolute;
    content: "";
    width: 150px;
    height: 5px;
    left: 0;
    bottom: 0;
    background: var(--primary);
    border-radius: 2px;
}

.section-title.text-center::before {
    left: 50%;
    margin-left: -75px;
}

.section-title.section-title-sm::before {
    width: 90px;
    height: 3px;
}

.section-title::after {
    position: absolute;
    content: "";
    width: 6px;
    height: 5px;
    bottom: 0px;
    background: #FFFFFF;
    -webkit-animation: section-title-run 5s infinite linear;
    animation: section-title-run 5s infinite linear;
}

.section-title.section-title-sm::after {
    width: 4px;
    height: 3px;
}

.section-title.text-center::after {
    -webkit-animation: section-title-run-center 5s infinite linear;
    animation: section-title-run-center 5s infinite linear;
}

.section-title.section-title-sm::after {
    -webkit-animation: section-title-run-sm 5s infinite linear;
    animation: section-title-run-sm 5s infinite linear;
}

@-webkit-keyframes section-title-run {
    0% {
        left: 0;
    }

    50% {
        left: 145px;
    }

    100% {
        left: 0;
    }
}

@-webkit-keyframes section-title-run-center {
    0% {
        left: 50%;
        margin-left: -75px;
    }

    50% {
        left: 50%;
        margin-left: 45px;
    }

    100% {
        left: 50%;
        margin-left: -75px;
    }
}

@-webkit-keyframes section-title-run-sm {
    0% {
        left: 0;
    }

    50% {
        left: 85px;
    }

    100% {
        left: 0;
    }
}


/*** Service ***/
.service-item {
    position: relative;
    height: 300px;
    padding: 0 30px;
    transition: .5s;
    background-color: #FFFFFF !important;
}

.service-item .service-icon {
    margin-bottom: 30px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 2px;
    transform: rotate(-45deg);
}

.service-item .service-icon i {
    transform: rotate(45deg);
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}






/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    margin-top: 15px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: #DDDDDD;
    border-radius: 2px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--primary);
}

.testimonial-carousel .owl-item.center {
    position: relative;
    z-index: 1;
}

.testimonial-carousel .owl-item .testimonial-item {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: #FFFFFF !important;
    box-shadow: 0 0 30px #DDDDDD;
}


/*** Team ***/
.team-item {
    transition: .5s;
}

.team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .5s;
}

.team-social a.btn {
    position: relative;
    margin: 0 3px;
    margin-top: 100px;
    opacity: 0;
}

.team-item:hover {
    box-shadow: 0 0 30px #DDDDDD;
}

.team-item:hover .team-social {
    background: rgba(9, 30, 62, .7);
}

.team-item:hover .team-social a.btn:first-child {
    opacity: 1;
    margin-top: 0;
    transition: .3s 0s;
}

.team-item:hover .team-social a.btn:nth-child(2) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .05s;
}

.team-item:hover .team-social a.btn:nth-child(3) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .1s;
}

.team-item:hover .team-social a.btn:nth-child(4) {
    opacity: 1;
    margin-top: 0;
    transition: .3s .15s;
}

.team-item .team-img img,
.blog-item .blog-img img {
    transition: .5s;
}

.team-item:hover .team-img img,
.blog-item:hover .blog-img img {
    transform: scale(1.15);
}


/*** Miscellaneous ***/
@media (min-width: 991.98px) {
    .facts {
        position: relative;
        margin-top: -75px;
        z-index: 1;
    }
}

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

.bg-header {
    background: linear-gradient(rgba(9, 30, 62, .7), rgba(9, 30, 62, .7)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.link-animated a {
    transition: .5s;
}

.link-animated a:hover {
    padding-left: 10px;
}

@media (min-width: 767.98px) {
    .footer-about {
        margin-bottom: -75px;
    }
}






.collapse-box {
    max-height: 140px;
    /* Default compact height */
    overflow: hidden;
    transition: max-height 0.8s ease-in-out;
}

/* On hover expand */
.service-item:hover .collapse-box {
    max-height: 1200px;
    /* Expand height */
}

/* Add subtle scaling effect */
.service-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.vendor-carousel-wrapper {
    background: #f0f4f9;
    /* soft light background */
    border-radius: 12px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.08);
}

.vendor-carousel img {
    max-height: 110px;
    /* 👈 logo size bigger */
    transition: transform 0.3s ease, filter 0.3s ease;
    /* filter: grayscale(100%); */
    opacity: 0.85;
}

.vendor-carousel img:hover {
    transform: scale(1.15);
    filter: grayscale(0%);
    opacity: 1;
}

/* ] */


.video-header {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.video-header video {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    min-height: 100%;
    z-index: -2;
}

.video-overlay {
    z-index: -1;
}

.video-text h1 {
    font-size: 3rem;
}

@media (max-width: 992px) {
    .video-text h1 {
        font-size: 2rem;
    }

    .video-text h5 {
        font-size: 1rem;
    }

    .video-text .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .video-text h1 {
        font-size: 1.5rem;
    }

    .video-text h5 {
        font-size: 0.9rem;
    }

    .video-text .btn {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
}


/* Desktop / Laptop View */
@media (min-width: 992px) {
    .logo-white {
        width: 250px;
        /* filter: grayscale(1) invert(1) brightness(2.5); */
    }
}

/* Mobile / Tablet View */
@media (max-width: 767px) {
    .logo-white {
        display: none !important;
    }

    .logo-color {
        display: inline-block !important;
    }
}

h1.display-5 {
    font-size: 2.5rem;
    /* Default size */
}

/* Mobile View */
@media (max-width: 767px) {
    h1.display-5 {
        font-size: 1.8rem;
        /* Chhota size for mobiles */
    }
}


/* sc-shape-gradient */
.sc-shape-gradient {
    /* position: absolute; */
    border-radius: 100px;
    background: linear-gradient(189.84deg, rgb(0, 0, 0) -115.69%, rgb(98, 98, 239) 66.95%);

}

bg-gradient {

    background: linear-gradient(189.84deg, rgb(0, 0, 0) -115.69%, rgb(98, 98, 239) 66.95%);
}

.two-col-list {
    columns: 2;
    /* 2 column layout */
    -webkit-columns: 2;
    -moz-columns: 2;
}



.collapsible-list {
    max-height: 0px;
    /* height for 3 items */
    overflow: hidden;
    transition: max-height 0.5s ease;
}

/* On hover: expand to fit all items */
.service-item:hover .collapsible-list {
    max-height: 1000px;
    /* large enough to fit all */
}


/* #services {
    background: radial-gradient(circle at 20% 30%, rgba(66, 165, 245, 0.3), transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(25, 118, 210, 0.3), transparent 40%),
        linear-gradient(135deg, #e3f2fd, #ffffff);
    background-size: cover;
    position: relative;
} */

#testimonial {
    background: url("../img/ray.png") no-repeat center center;
    background-size: cover;
    /* full area me fit hoga */
    position: relative;
    z-index: 1;
    overflow: hidden;
}

/* Overlay for dimming effect */
#testimonial::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.6);
    /* White overlay with 60% opacity */
    z-index: 0;
}

#testimonial>* {
    position: relative;
    z-index: 1;
    /* text/content upar rahega */
}


/* .vendor-section {
    position: relative;
    background: linear-gradient(135deg, #0d47a1, #1976d2, #42a5f5);
    overflow: hidden;
    z-index: 1;
} */

/* blob-1 */


h6 {
    margin-top: .5rem;
    margin-bottom: 0;

}


.vendor-section {
    position: relative;
    /* background: linear-gradient(135deg, #0d47a1, #1976d2, #42a5f5); */
    overflow: hidden;
    z-index: 1;
}

/* Blob 1 */
.vendor-section::before {
    content: "";
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: url("../img/blob.png") no-repeat center/contain;
    opacity: 0.35;
    /* halka effect */
    filter: blur(20px);
    z-index: 0;
}

/* Blob 2 */
.vendor-section::after {
    content: "";
    position: absolute;
    bottom: -120px;
    right: -100px;
    width: 450px;
    height: 450px;
    background: url("../img/blob1.png") no-repeat center/contain;
    opacity: 0.35;
    filter: blur(25px);
    z-index: -1;
}

.whatsapp-float {
    position: fixed;
    bottom: 110px;
    right: 40px;
    z-index: 1000;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    font-size: 28px;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: visible;
    /* tooltip ke liye */
}

.whatsapp-float:hover {
    transform: scale(1.1) rotate(-10deg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Tooltip */
.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    /* button ke left me show hoga */
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    opacity: 0;
    white-space: nowrap;
    pointer-events: none;
    transform: translateX(10px);
    transition: all 0.3s ease;
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

.social-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    font-size: 22px;
    margin-right: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Brand Colors */
.social-btn.x {
    background: #1DA1F2;
}

/* X/Twitter */
.social-btn.facebook {
    background: #1877F2;
}

.social-btn.linkedin {
    background: #0A66C2;
}

.social-btn.instagram {
    background: radial-gradient(circle at 30% 30%, #fdf497, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

/* Hover Animation */
.social-btn:hover {
    color: #fff;
    transform: scale(1.2) rotate(-5deg);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Uniform height for all testimonial cards */
.testimonial-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 360px;
    /* adjust height as needed */
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

/* Hover effect */
.testimonial-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

/* Header section */
.testimonial-item .d-flex.align-items-center {
    border-bottom: 1px solid #e5e5e5;
}

/* Message styling */
.testimonial-item .pt-4 {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}

/* Star rating highlight */
.testimonial-item .pt-4 span {
    color: #f8b739;
    font-size: 18px;
}

/* Optional quote icon in background */
.testimonial-item::before {
    content: "\f10d";
    /* FontAwesome quote-left */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 50px;
    color: rgba(0, 123, 255, 0.08);
    /* light blue for subtle effect */
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 0;
}


/* Remove full height on mobile */
@media (max-width: 768px) {
    .background-video {
        height: 1350px !important;
        /* h-100 ka override */
        min-height: 200px;
        /* optional, mobile me minimum height */
    }
}

@media (max-width: 768px) {
    #contact {
        height: auto !important;
        /* 100vh override */
        min-height: 400px;
        /* optional, set a reasonable minimum */
    }
}

/* ===========================
   Services Section Modern Upgrade
=========================== */
#services {
    position: relative;
    overflow: hidden;
    padding: 100px 0;

    /* Harmonized gradient to match card color #eef9ff */
    background:
        radial-gradient(circle at 15% 25%, rgba(238, 249, 255, 0.35), transparent 50%),
        radial-gradient(circle at 75% 70%, rgba(200, 230, 255, 0.35), transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(220, 240, 255, 0.2), transparent 70%),
        linear-gradient(135deg, #eef9ff, #d4f0ff, #b0e0ff);

    background-size: cover;
    background-blend-mode: overlay;
    z-index: 1;
}

/* ===========================
   Blob 1 (top-left)
=========================== */
#services::before {
    content: "";
    position: absolute;
    top: -180px;
    left: -180px;
    width: 600px;
    height: 600px;
    background: url("../img/blob.png") no-repeat center/contain;
    opacity: 0.35;
    filter: blur(25px);
    z-index: 0;
    animation: floatBlob1 12s ease-in-out infinite;
}

/* ===========================
   Blob 2 (bottom-right)
=========================== */
#services::after {
    content: "";
    position: absolute;
    bottom: -200px;
    right: -180px;
    width: 650px;
    height: 650px;
    background: url("../img/blob1.png") no-repeat center/contain;
    opacity: 0.35;
    filter: blur(30px);
    z-index: -1;
    animation: floatBlob2 15s ease-in-out infinite reverse;
}

/* ===========================
   Floating Animations
=========================== */
@keyframes floatBlob1 {

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

    50% {
        transform: translateY(20px) rotate(10deg);
    }
}

@keyframes floatBlob2 {

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

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

/* ===========================
   Responsive Adjustments
=========================== */
@media (max-width: 991px) {

    #services::before,
    #services::after {
        width: 400px;
        height: 400px;
        filter: blur(20px);
        opacity: 0.25;
        animation: none;
        /* stop float on mobile for performance */
    }

    #services {
        padding: 80px 0;
    }
}

@media (max-width: 576px) {

    #services::before,
    #services::after {
        width: 300px;
        height: 300px;
        opacity: 0.2;
    }

    #services {
        padding: 60px 0;
    }
}


.owl-carousel .owl-item img {
    margin-top: 10px !important;
}