/********** Template CSS **********/
:root {
    --primary: #2c53a3;
    --light-blue: #2ea9e1;
    --secondary: #34AD54;
    --light: #EEF9FF;
    --dark: #091E3E;
    --primary-opacity-10: #2c54a325;
}

.bg-primary-10 {
    background-color: var(--primary-opacity-10);
}

/*** 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(--light-blue);
}

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

.navbar-logo-lg {
    width: 150px;
    height: auto;
}

.navbar-logo-sm {
    width: 150px;
    height: auto;
}

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


@media (max-width: 991.98px) {
    .navbar {
        background-color: #fff !important;
    }

    .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;
        background-color: #00000089;
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
    }

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

.slider-img {
    height: 100vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.carousel-caption h5 {
    font-size: 24px;
    font-weight: 500 !important;
}

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

.carousel-caption img {
    height: 500px;
}

@media (max-width: 576px) {
    .carousel-caption img {
        height: 150px !important;
    }
}

.section-title {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 150px;
    height: 5px;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    background: var(--primary);
    border-radius: 2px;
    z-index: 1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: 6px;
    height: 5px;
    bottom: 0;
    left: 50%;
    margin-left: -75px;
    background: #FFFFFF;
    z-index: 2;
    animation: section-title-run-center 5s infinite linear;
    animation-fill-mode: forwards;
}

/* KEYFRAMES: Normal */
@keyframes section-title-run {
    0% {
        left: 0;
        opacity: 1;
    }

    100% {
        left: 145px;
        opacity: 0;
    }
}

/* KEYFRAMES: Centered title */
@keyframes section-title-run-center {
    0% {
        margin-left: -75px;
        opacity: 1;
    }

    100% {
        margin-left: 45px;
        opacity: 0;
    }
}

/* KEYFRAMES: Small */
@keyframes section-title-run-sm {
    0% {
        left: 0;
        opacity: 1;
    }

    100% {
        left: 85px;
        opacity: 0;
    }
}

/*** Service ***/
.service-item {
    position: relative;
    height: 400px;
    padding: 0 30px;
    transition: .5s;
    background: var(--light);
}

.service-item:hover {
    position: relative;
    height: 400px;
    padding: 0 30px;
    transition: .5s;
    background: white;
    box-shadow: 0 0 10px 2px rgba(183, 220, 255, 0.741);
}

.service-item .service-icon {
    padding: 0px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
}

.service-item .service-icon img {
    height: 200px;
}

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

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

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

.shop-category-carsoul .owl-dot.active {
    width: 30px;
    background: var(--primary);
}

.shop-category-carsoul .owl-item.center {
    position: relative;
    z-index: 1;
}

.shop-category-carsoul .owl-item .shop-category-item {
    transition: .5s;
    text-align: center;
    background-color: var(--primary);
    color: white;
}

.shop-category-carsoul .owl-item .shop-category-item :hover {
    background-color: #d5f2ff;
    color: var(--primary);
    transition: 0.5s;
}

.shop-category-carsoul .owl-item.center .shop-category-item {
    background-color: var(--primary);
    /* 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,
.shop-item .shop-item-img img {
    transition: .5s;
}

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

.shop-item:hover {
    background-color: #83d8ff48;
    /* margin-top: -10px; */
}


/*** 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/slider/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;
    }
}

#footer-logo {
    display: block;
    max-width: 100%;
    height: auto;
}

#footer-heading {
    max-width: 100%;
    font-size: 1.5rem;
    /* Adjust font size as needed */
    white-space: normal;
    word-wrap: break-word;
}

/* Optional: Match exact image width */
#footer-heading {
    display: block;
    width: auto;
    margin: 0 auto;
    text-align: center;
}

.footer-bottom {
    background-color: #ffffff;
    border-top: 1px solid #2c2c2c;
    padding: 20px 0;
}

.footer-bottom h5 {
    font-weight: normal;
    font-size: 15px;
    letter-spacing: 1px;
}

.footer-bottom img {
    height: 22px;
}

.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero::before {
    z-index: 0;
}

.hero::after {
    z-index: 1;
}

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


.hero h1 {
    margin: 0;
    font-size: 48px;
    font-weight: 700;
    line-height: 56px;
    color: white;
}

.hero p {
    color: color-mix(in srgb, white, transparent 30%);
    margin: 5px 0 30px 0;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 600;
}

.hero .animated {
    animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 28px;
        line-height: 36px;
    }

    .hero p {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 30px;
    }

    .hero .btn-get-started,
    .hero .btn-watch-video {
        font-size: 13px;
    }
}

@keyframes up-down {
    0% {
        transform: translateY(10px);
    }

    100% {
        transform: translateY(-10px);
    }
}

/* main slider */
/* 🌊 Section Base Setup */
section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    /* Ensures vertical stacking of image and text */
    text-align: center;
}

/* 🌊 Waves */
section .wave {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
    transition: 0.5s;
    z-index: 0;
}

section .wave span {
    position: absolute;
    width: 325vh;
    height: 325vh;
    top: 0;
    left: 50%;
    transform: translate(-50%, -75%);
    background: #000;
}

/* 🌀 Individual Wave Layers */
section .wave span:nth-child(1) {
    border-radius: 45%;
    background: rgba(20, 20, 20, 1);
    animation: animate 5s linear infinite;
}

section .wave span:nth-child(2) {
    border-radius: 40%;
    background: rgba(20, 20, 20, 0.5);
    animation: animate 10s linear infinite;
}

section .wave span:nth-child(3) {
    border-radius: 42.5%;
    background: rgba(20, 20, 20, 0.5);
    animation: animate 15s linear infinite;
}

@keyframes animate {
    0% {
        transform: translate(-50%, -75%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -75%) rotate(360deg);
    }
}

/* 🫧 Bubbles Container */
.bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* 🫧 Individual Bubble Style */
.bubble {
    position: absolute;
    bottom: -50px;
    width: 20px;
    height: 20px;
    background: var(--primary);
    border-radius: 50%;
    animation: floatUp linear infinite;
    opacity: 0.7;
}

/* 🫧 Sizes + Timing */
.bubble:nth-child(2) {
    width: 15px;
    height: 15px;
    animation-duration: 5s;
}

.bubble:nth-child(3) {
    width: 25px;
    height: 25px;
    animation-duration: 6s;
}

.bubble:nth-child(4) {
    width: 30px;
    height: 30px;
    animation-duration: 8s;
}

.bubble:nth-child(5) {
    width: 18px;
    height: 18px;
    animation-duration: 7s;
}

@keyframes floatUp {
    0% {
        transform: translateY(0);
        opacity: 0.7;
    }

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

/* 🌟 Content Centered */
.content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
}

/* 🌊 Floating Image */
.content img {
    height: 220px;
    opacity: 0.5;
    margin-bottom: 20px;
    animation: floatInfinity 6s ease-in-out infinite;
    transform-origin: center;
}

/* 🌊 Floating Main Text */
.content span {
    font-size: 2.3rem;
    color: white;
    margin: 0;
    animation: floatText 7s ease-in-out infinite;
}

/* 🌊 Floating Subtext */
.content h4 {
    color: white;
    margin: 0;
    opacity: 0.5;
    animation: floatTextAlt 8s ease-in-out infinite;
}

/* 🎯 Floating Keyframes */
@keyframes floatInfinity {
    0% {
        transform: translateY(0px) scale(1);
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
    }

    50% {
        transform: translateY(-15px) scale(1.03);
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
    }

    100% {
        transform: translateY(0px) scale(1);
        filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
    }
}

@keyframes floatText {
    0% {
        transform: translateY(0px);
    }

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

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

@keyframes floatTextAlt {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-8px) rotate(1deg);
    }

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

/* Container fix for vendor-carousel items */
.vendor-carousel .owl-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    /* Adjust height as needed */
}

/* Ensure logos don't stretch and are centered */
.vendor-carousel img {
    max-height: 80px;
    object-fit: contain;
}

/* Animate dropdown */
.animated-dropdown {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: block;
    /* Required to allow animation even when hidden */
    visibility: hidden;
    pointer-events: none;
}

.nav-item.dropdown.show .animated-dropdown {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
}

.dropdown-item:hover {
    color: white;
    background-color: var(--primary);
    transition-duration: 0.5s;
}


.php-email-form .error-message {
    display: none;
    background: #df1529;
    color: #ffffff;
    text-align: left;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.php-email-form .sent-message {
    display: none;
    color: var(--dark);
    background: var(--light);
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
    font-weight: 600;
}

.php-email-form .loading {
    display: none;
    background: var(--dark);
    text-align: center;
    padding: 15px;
    margin-bottom: 24px;
}

.php-email-form .loading:before {
    content: "";
    display: inline-block;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    margin: 0 10px -6px 0;
    border: 3px solid var(--light);
    border-top-color: var(--dark);
    animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.footer-newsletter {
    padding: 5px 0;
}

.footer-newsletter h4 {
    font-size: 24px;
}

.footer-newsletter .newsletter-form {
    /* margin-top: 30px;
  margin-bottom: 15px;
  position: relative;
  background-color: color-mix(in srgb, var(--light), transparent 0%);
  border: 1px solid color-mix(in srgb, var(--dark), transparent 90%);
  color: color-mix(in srgb, var(--dark), transparent 0%);
  transition: 0.3s;
  border-radius: 5px; */
    box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    border-radius: 5px;
    transition: 0.3s;
}

.footer-newsletter .newsletter-form:focus-within {
    border-color: var(--light-blue);
}

.footer-newsletter .newsletter-form input[type=email] {
    border: 0;
    padding: 4px;
    width: 100%;
    background-color: color-mix(in srgb, var(--light), transparent 0%);
    color: var(--dark);
}

.footer-newsletter .newsletter-form input[type=email]:focus-visible {
    outline: none;
}

.footer-newsletter .newsletter-form input[type=submit] {
    border: 0;
    font-size: 16px;
    padding: 0;
    margin: 0;
    background: var(--light-blue);
    color: var(--darkr);
    transition: 0.3s;
}

.footer-newsletter .newsletter-form input[type=submit]:hover {
    background: var(--primary);
    color: var(--light);
}


/* Portfolio */

.portfolio-item {
    position: relative;
    height: 400px;
    transition: 0.5s;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    background: var(--light);
    overflow: hidden;
}

.portfolio-card {
    background-color: #e9e9e9;
    border-radius: 5px;
}

/* Make the image fit container */
.portfolio-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Title on top of image */
.portfolio-title {
    position: absolute;
    top: 20px;
    z-index: 1;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

/* Button */
.portfolio-item a.btn {
    position: absolute;
    bottom: -48px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    z-index: 1;
    transition: all 0.3s ease-in-out;
}

/* Hover animation */
.portfolio-item:hover a.btn {
    bottom: 20px;
    opacity: 1;
}