/********** Template CSS **********/
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
:root {
    --primary: #008080;
    --light: #F5F5F5;
    --dark: #353535;
}

.fw-medium {
    font-weight: 500 !important;
}

.fw-bold {
    font-weight: 700 !important;
}

.fw-black {
    font-weight: 900 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.whatsapp {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 90px;
    z-index: 99;
}


/*** 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: 500;
    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;
}

/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: 500;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

.logo-img {
  max-height: 70px;   /* keeps navbar slim */
  width: auto;        /* maintains aspect ratio */
  height: auto;
}



/*** Header ***/
.carousel {
    position: relative;
    overflow: hidden;
    width: 100vw;
    border: 1px solid black ;
  }

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

  .slide {
  flex: 0 0 100vw; /* ensures each slide takes full viewport width */
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
}

  .slide picture,
  .slide img {
    width: 100%;
    height: auto;
    max-height: 480px;
    display: block;
    object-fit: contain;
  }

  .dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
  }

  .dot {
    height: 12px;
    width: 12px;
    background-color: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .dot.active {
    background-color: #333;
  }

.page-header {
    background: linear-gradient(rgba(53, 53, 53, .7), rgba(53, 53, 53, .7)), url(../img/VYOM.png) center center no-repeat;
    background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}



/*** Section Title ***/
.section-title h1 {
    position: relative;
    display: inline-block;
    padding: 0 60px;
}

.section-title.text-start h1 {
    padding-left: 0;
}



/*** 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);
    }
}


/*** Service ***/
.service-item img {
    transition: .5s;
}

.service-item:hover img {
    transform: scale(1.1);
}


/*** 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);
    }
}


.hotbadge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #ff5252;
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 5px 8px;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  line-height: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  z-index: 2;
}

.ribbon {
  position: absolute;
  top: 10px;
  left: -5px;
  background: #007bff;
  color: #fff;
  padding: 5px 15px;
  font-size: 12px;
  font-weight: 600;
  border-radius: 0 5px 5px 0;
  z-index: 1;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: 0.3s ease;
}

.position-relative:hover .portfolio-overlay {
  opacity: 1;
}




/*** Quote ***/
@media (min-width: 992px) {
    .container.quote {
        max-width: 100% !important;
    }

    .quote-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .quote-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .quote-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Team ***/
.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-item .team-social {
    position: absolute;
    width: 38px;
    top: 50%;
    left: -38px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    transition: .5s;
}

.team-item .team-social .btn {
    color: var(--primary);
    background: #FFFFFF;
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.team-item:hover .team-social {
    left: 0;
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text {
    border: 5px solid var(--light);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    transform: scale(1);
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}


/*** Contact ***/
@media (min-width: 992px) {
    .container.contact {
        max-width: 100% !important;
    }

    .contact-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Footer ***/
.footer {
    background: linear-gradient(rgba(53, 53, 53, .7), rgba(53, 53, 53, .7)), url(../img/footer.jpg) 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;
    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 {
    color: var(--primary);
    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);
}

.footer .copyright a:hover {
    color: var(--primary);
}


/* Extra CSS */
.container-product {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
    max-width: 1300px;
    margin: auto;
    margin-top: 10px;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
    padding: 10px;
}
.left, .right {
    flex: 1;
    padding: 20px;
    min-width: 300px; /* Ensures a minimum width for smaller screens */
}
.right {
    position: relative;
    overflow: hidden;
}
.product-image {
    width: 100%;
    height: auto; /* Ensures the image maintains its aspect ratio */
    transition: transform 0.3s ease;
    border-radius: 20px;
    margin-left: 5px;
}
.product-image:hover {
    transform: scale(1.2);
}
.container-product h1 {
    font-size: 24px;
    margin-bottom: 10px;
}
.container-product p {
    margin-bottom: 10px;
}
.container-product ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}
.button-container {
    display: flex;
    gap: 10px;
}
.button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}
.email-button {
    background-color: #008080;
    color: white;
}
.whatsapp-button {
    background-color: #17a14a;
    color: white;
}

/* Filter buttons */
#portfolio-flters li {
  cursor: pointer;
  font-weight: 500;
  color: #555;
  padding: 6px 14px;
  border-radius: 30px;
  transition: all 0.3s ease;
}

#portfolio-flters li.active,
#portfolio-flters li:hover {
  background: #0d6efd;
  color: #fff;
}

/* Portfolio overlay */
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  transition: 0.3s ease-in-out;
}

.position-relative:hover .portfolio-overlay {
  opacity: 1;
}

/* Product cards */
.card {
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.card-img-top {
  aspect-ratio: 4/3;       /* or 16/9 depending on your images */
  object-fit: cover;
}

.wow {
  visibility: hidden; /* default */
  min-height: 1px;    /* keeps structure */
}
.wow.fadeInUp {
  display: block !important;
}

.card:hover {
  transform: translateY(-5px);
}



/* Responsive Styles */
@media (max-width: 768px) {
    .container-product {
        flex-direction: column; /* Stack elements vertically on smaller screens */
        padding-top: 5rem;
  padding-bottom: 5rem;
    }
    .left, .right {
        min-width: 100%; /* Full width for both sections */
    }
    .product {
        flex-direction: row-reverse; /* Reverse the order of elements */
    }
    .right {
        order: 1; /* Ensure the image is displayed first */
    }
    .product h1, .product p, .product ul, .button-container {
        order: 2; /* Ensure the text content is displayed after the image */
    }
}


/* Timeline CSS */

#vertical-timeline-container .timeline {
        position: relative;
        padding-left: 2rem;
        max-width: 100%;
        width: 100%;
        height: 90%;
        background: white;
        border-radius: 0.5rem;
        box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -2px rgb(0 0 0 / 0.05);
        padding: 1.5rem 2rem;
    }

    #vertical-timeline-container .timeline::before {
        content: '';
        position: absolute;
        left: 1rem;
        top: 2rem;
        bottom: 2rem;
        width: 2px;
        background: linear-gradient(to bottom, #3b82f6, #ec4899);
    }

    #vertical-timeline-container .timeline-item {
        position: relative;
        margin-bottom: 2rem;
        padding-left: 3rem;
    }

    #vertical-timeline-container .dot {
        position: absolute;
        left: -0.5rem;
        top: 1rem;
        width: 1.5rem;
        height: 1.5rem;
        background: #3b82f6;
        border-radius: 50%;
        border: 3px solid #ffffff;
        box-shadow: 0 0 0 2px #3b82f6;
        transition: all 0.3s ease;
        cursor: pointer;
        z-index: 1;
    }

    #vertical-timeline-container .dot:hover {
        background: #ec4899;
        transform: scale(1.2);
        box-shadow: 0 0 0 4px #3b82f6;
    }

    #vertical-timeline-container .sub-timeline {
        padding-left: 2rem;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: all 0.5s ease;
        position: relative;
    }

    #vertical-timeline-container .timeline-item.expanded .sub-timeline {
        opacity: 1;
        max-height: 50rem;
    }

    #vertical-timeline-container .sub-timeline::before {
        content: '';
        position: absolute;
        left: -0.5rem;
        top: 0;
        bottom: 0;
        width: 2px;
        background: rgba(59, 130, 246, 0.5);
    }

    #vertical-timeline-container .sub-item {
        position: relative;
        margin-bottom: 1rem;
        padding-left: 2rem;
    }

    #vertical-timeline-container .sub-dot {
        position: absolute;
        left: -0.5rem;
        top: 0.5rem;
        width: 1rem;
        height: 1rem;
        background: #10b981;
        border-radius: 50%;
        border: 2px solid #ffffff;
        box-shadow: 0 0 0 1px #10b981;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    #vertical-timeline-container .sub-dot:hover {
        background: #f59e0b;
        transform: scale(1.1);
        box-shadow: 0 0 0 2px #10b981;
    }

    #vertical-timeline-container .year, 
    #vertical-timeline-container .period {
        font-size: 1.25rem;
        font-weight: bold;
        color: #1f2937;
        margin-bottom: 0.5rem;
    }

    #vertical-timeline-container .events {
        opacity: 0;
        max-height: 0;
        overflow: hidden;
        transition: all 0.5s ease;
    }

    #vertical-timeline-container .timeline-item.active .events,
    #vertical-timeline-container .sub-item.active .events {
        opacity: 1;
        max-height: 10rem;
    }

    #vertical-timeline-container .event {
        background: #f3f4f6;
        padding: 0.5rem;
        margin-bottom: 0.5rem;
        border-radius: 0.5rem;
        border-left: 4px solid #3b82f6;
    }

    #vertical-timeline-container .sub-event {
        background: #e0f2fe;
        padding: 0.25rem 0.5rem;
        margin-bottom: 0.25rem;
        border-radius: 0.25rem;
        border-left: 3px solid #10b981;
        font-size: 0.9rem;
    }
/* Testomonial */

    /* Responsive adjustments */
    @media (max-width: 768px) {
        #vertical-timeline-container .timeline {
            padding-left: 1rem;
        }
        #vertical-timeline-container .timeline::before {
            left: 0.5rem;
        }
        #vertical-timeline-container .timeline-item {
            padding-left: 2rem;
        }
        #vertical-timeline-container .dot {
            left: -0.25rem;
            width: 1rem;
            height: 1rem;
            top: 0.75rem;
        }
        #vertical-timeline-container .sub-timeline {
            padding-left: 1rem;
        }
        #vertical-timeline-container .sub-item {
            padding-left: 1rem;
        }
        #vertical-timeline-container .sub-dot {
            left: -0.25rem;
            width: 0.5rem;
            height: 0.5rem;
            top: 0.25rem;
        }
    }