/********** Template CSS **********/
:root {
    --primary: #1089ff;
    --secondary: #51CFED;
    --light: #F8F2F0;
    --dark: #060315;
}

html {
    scroll-behavior: smooth;
}


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

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

/* Typewriter headline effect */
.typing-heading {
  overflow: hidden;
  white-space: nowrap;
  border-right: 2px solid #1089ff;
  width: 100%;
  animation: typing 3s steps(40, end), blink-caret .75s step-end infinite;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: #1089ff }
}

/* Paragraph smooth fade-in */
.fade-para {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.2s forwards;
  animation-delay: 0.5s;
}

.fade-para:nth-of-type(2) { animation-delay: 1s; }
.fade-para:nth-of-type(3) { animation-delay: 1.5s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* .fade-para {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1.2s forwards;
  animation-delay: 0.5s;
}

.fade-para:nth-of-type(2) {
  animation-delay: 1s;
}
.fade-para:nth-of-type(3) {
  animation-delay: 1.5s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
} */


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


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

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

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

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

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

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}
.btn-check:focus+.btn, .btn:focus {
    outline: 0;
    box-shadow: 0 0 0 .25rem #9ac8f6 !important;
}

/* .gradient-text {
  background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
} */

.hover-gradient-box {
    transition: background 0.4s ease;
}

.hover-gradient-box:hover {
    background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
}

/* .service-item {
    transition: all 0.3s ease;
} */

.service-item {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #eee;
    border-radius: 10px;
    transition: 0.3s ease-in-out;
    background-color: #fff;
    min-height: 430px; /* ← Fix height here */
}

.service-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-item:hover h4 {
    color: #1089ff;
    transition: color 0.3s ease;
}
.service-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}


.service-item .overflow-hidden {
    height: 220px;
    /* You can increase or decrease this as needed */
    border-radius: 8px;
    overflow: hidden;
}

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

.service-item:hover img {
    transform: scale(1.05);
}

.btn-social {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-social:hover {
    background-color: #1089ff !important;
    /* Blue background */
    color: #2c5364 !important;
    border-color: #1089ff !important;
}


.btn-link:hover {
    color: #1089ff !important;
    text-decoration: none;
}
/* Carousel Button */
/* Read More Button */
.custom-readmore-btn {
    background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
    color: white;
    transition: background 0.4s ease-in-out, color 0.4s ease-in-out;
}

.custom-readmore-btn:hover {
    background: #1089ff;
    color: white;
}

/* Free Quote Button */
.custom-quote-btn {
    background-color: #1089ff;
    color: white;
    transition: background 0.4s ease-in-out, color 0.4s ease-in-out;
}

.custom-quote-btn:hover {
    background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
    color: white;
}
/* Carousel Button */



.brand-animate span {
    color: white;
    transition: color 0.4s ease, transform 0.4s ease;
}

.brand-animate:hover span {
    color: #1089ff;
    transform: scale(1.05); /* optional: slight zoom */
}


/* Set fixed height for carousel images and keep aspect ratio */
.owl-carousel-item img {
    height: 600px; /* or any desired height */
    object-fit: cover;
    width: 100%;
}
/* Logo sizing */
.navbar-logo {
  height: 40px;        /* desktop height */
  width: auto;         /* keep aspect ratio */
}

/* Thoda chhota mobile pe */
@media (max-width: 576px) {
  .navbar-logo {
    height: 32px;
  }
}


/*** Navbar ***/
.navbar {
    background: linear-gradient(to right, #0f2027, #203a43, #2c5364);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.top-header {
    background-color: #f9f9f9;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
}

.icon-box {
    width: 50px;
    height: 50px;
    font-size: 20px;
    color: #1089ff;
}


/* Nav brand */
.navbar-brand span {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.5px;
}

/* Nav links */
.navbar .nav-link {
    color: #ffffffcc;
    margin-left: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    padding-bottom: 5px;
}

/* #FF3E41 */
/* Hover and active effect */
.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: #ffffff;
    border-bottom: 2px solid #1089ff;
}

/* Remove Bootstrap default dropdown arrow */
.navbar .dropdown-toggle::after {
    display: none !important;
}

/* Font Awesome red arrow */
.dropdown-arrow {
    font-size: 0.75rem;
    color: #1089ff;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

/* Rotate arrow on dropdown open */
.nav-item.dropdown.show .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown menu dark */
.dropdown-menu-dark {
    background-color: #1f1f1f;
    border: none;
    border-radius: 8px;
    padding: 0.5rem 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

/* Dropdown smooth appear */
.nav-item.dropdown.show .dropdown-menu {
    opacity: 2;
    transform: translateY(0);
}

/* Dropdown items */
.dropdown-menu-dark .dropdown-item {
    color: #fff;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background-color 0.3s ease, padding-left 0.3s ease;
}

.dropdown-menu-dark .dropdown-item:hover {
    background-color: #1089ff;
    color: white;
    padding-left: 2rem;
}

/*** Navbar END ***/




/*** Header ***/
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }

    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 14px !important;
        font-weight: 400 !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** About ***/
@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Service, Price & Team ***/
.service-item,
.price-item,
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

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

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

.service-item a.btn-slide,
.price-item a.btn-slide,
.team-item div.btn-slide {
    position: relative;
    display: inline-block;
    overflow: hidden;
    font-size: 0;
}

.service-item a.btn-slide i,
.service-item a.btn-slide span,
.price-item a.btn-slide i,
.price-item a.btn-slide span,
.team-item div.btn-slide i,
.team-item div.btn-slide span {
    position: relative;
    height: 40px;
    padding: 0 15px;
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 0 35px 35px 0;
    transition: .5s;
    z-index: 2;
}

.team-item div.btn-slide span a i {
    padding: 0 10px;
}

.team-item div.btn-slide span a:hover i {
    background: var(--secondary);
}

.service-item a.btn-slide span,
.price-item a.btn-slide span,
.team-item div.btn-slide span {
    padding-left: 0;
    left: -100%;
    z-index: 1;
}

.service-item:hover a.btn-slide i,
.price-item:hover a.btn-slide i,
.team-item:hover div.btn-slide i {
    border-radius: 0;
}

.service-item:hover a.btn-slide span,
.price-item:hover a.btn-slide span,
.team-item:hover div.btn-slide span {
    left: 0;
}

.service-item a.btn-slide:hover i,
.service-item a.btn-slide:hover span,
.price-item a.btn-slide:hover i,
.price-item a.btn-slide:hover span {
    background: var(--secondary);
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item {
    position: relative;
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    animation: pulse 1s ease-out .5s;
}

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

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--primary);
    border: 5px solid var(--light);
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--light);
    border-color: var(--primary);
}


/*** Contact ***/
@media (min-width: 992px) {
    .container.contact-page {
        max-width: 100% !important;
    }

    .contact-page .contact-form {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-page .contact-form {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-page .contact-form {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Footer ***/
.footer {
    background: linear-gradient(rgba(6, 3, 21, .5), rgba(6, 3, 21, .5)), url(../img/map.png) center center no-repeat;
    background-size: cover;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}
.main-gap{
    row-gap: 3rem;
    column-gap: 0px !important;
}


/* Input & Select Focus Style */
.form-control:focus,
.form-select:focus {
    border-color: #1089ff !important;  /* Blue border */
    box-shadow: 0 0 0 0.25rem rgba(16, 137, 255, 0.25) !important; /* Soft blue glow */
    outline: none !important;
}




/*  */

/* Smooth hover on button */
/* .btn:hover {
    background-color: #0d6efd !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(13, 110, 253, 0.4);
} */

/* Image hover zoom */
.position-relative img {
    transition: transform 0.5s ease;
}
.position-relative:hover img {
    transform: scale(1.05);
}
