/* Top bar */
.top-bar {
  background-color: #292983;
  color: #fff;
  font-size: 14px;
  padding: 11px 0;
}
.top-bar a {
  color: #fff;
  text-decoration: none;
}
.top-bar a:hover {
  text-decoration: underline;
}

/* Contact items inline */
.contact-item {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0;
}

/* Responsive Topbar */
@media (max-width: 768px) {
  .top-bar .container {
    flex-direction: column !important;
    text-align: center;
  }

  .contact-items {
    flex-direction: column; /* stack items vertically */
    align-items: center;
    margin-bottom: 10px;
  }

  .contact-item {
    margin-bottom: 6px; /* spacing between lines */
  }

  .social-icons {
    justify-content: center !important;
  }
}


    /* Navbar */
    .navbar {
      padding: 10px 0;
    }
    .navbar-nav .nav-link {
      color: #000;
      margin-right: 12px;
      position: relative;
    }
    .navbar-nav .nav-link:hover {
      color: #292983;
    }
    .navbar-nav .nav-link.active {
      color: #292983;
      font-weight: 600;
    }
    .navbar-nav .nav-link.active::after {
      content: "";
      display: block;
      width: 100%;
      height: 2px;
      background: #292983;
      position: absolute;
      bottom: -5px;
      left: 0;
    }

    /* Button */
    .btn-learn {
      background-color: #292983;
      color: #fff;
      border-radius: 6px;
      padding: 12px 18px;
      transition: 0.3s;
      font-size: 16px;
    }
    .btn-learn:hover {
      background-color: #1f1f5c;
      color: #fff;
    }

    /* Logo */
    .navbar-brand img {
      max-height: 45px;
      width: auto;
    }

    /* Brand name responsive */
    .brand-text {
      font-weight: bold;
      margin: 0;
      font-size: 1.4rem;
      white-space: nowrap;
    }
    @media (max-width: 992px) {
      .brand-text { font-size: 1.2rem; }
    }
    @media (max-width: 768px) {
      .brand-text { font-size: 1rem; }
      .brand-text small { display: none; }
    }
    @media (max-width: 576px) {
      .brand-text { font-size: 0.9rem; }
    }
    /*navbar end*/

        /* For tablets */
  @media (max-width: 991px) {
    .carousel-item .position-absolute {
      width: 70% !important;
      padding-left: 12rem !important;
    }
    .carousel-item h1 {
      font-size: 20px !important;
    }
    .carousel-item p {
      font-size: 1rem !important;
    }
  }

  /* For mobile */
  @media (max-width: 576px) {
    .carousel-item .position-absolute {
      width: 90% !important;
      left: 50%;
      transform: translate(-50%, -50%) !important;
      text-align: left;
      padding: 0 1rem;
    }
    .carousel-item h1 {
      font-size: 20px !important;
      line-height: 1.4;
    }
    .carousel-item p {
      font-size: 0.9rem !important;
    }
  }
    /* Carousel end */
    /* About start */
    .about-section {
      background: #fff;
      border-radius: 12px;
      padding: 40px 20px;
    }
    .vertical-badge {
      writing-mode: vertical-rl;
      transform: rotate(180deg);
      font-weight: 700;
      font-size: 25px;
      color: #111;
      margin-right: 15px;
    }
    .image-container {
  position: relative;
  display: inline-block;
  
  overflow: hidden;
  width: 500px;   /* 🔥 set custom width */
  height: 550px;  /* 🔥 set custom height */
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* keeps image filling without stretching */
  border-radius: 12px;
}

    .client-badge {
      position: absolute;
      bottom: 20px;
      left: 20px;
      background: #292983;
      color: #fff;
      padding: 20px 20px;
      font-weight: 700;
      border-radius: 8px;
      font-size: 30px;
    }
    .about-subtitle {
      color: #292983;
      font-size: 14px;
      font-weight: 800;
      text-transform: uppercase;
      border-bottom: 2px solid #292983;
      display: inline-block;
      margin-bottom: 15px;
    }
    .about-title {
      font-size: 30px;
      font-weight: 700;
      color: #111;
      margin-bottom: 20px;
       font-family: sans-serif;
    }
    .about-desc {
      color: #666;
      font-size: 17px;
      margin-bottom: 25px;
      text-align: justify;
      line-height: 1.5;
      font-family: sans-serif;
      
      
    }
    .repair-desc {
      color: #666;
      font-size: 50px;
      margin-bottom: 25px;
      text-align: justify;
      line-height: 1.5;
      font-family: sans-serif;
      
      
    }
    .service-list i {
      color: #292983;
      margin-right: 8px;
    }
    .discover-btn {
      background: #292983;
      color: #fff;
      font-weight: 600;
      padding: 12px 24px;
      border-radius: 8px;
      transition: all 0.3s ease;
    }
    .discover-btn:hover {
      background: #292983;
    }
    /* About end */
  
        /* products start*/
     .services-section {
     
      background: #fff;
    }
    .section-title {
      font-size: 14px;
      font-weight: 800;
      color: #292983;
      
      text-transform: uppercase;
      position: relative;
      display: inline-block;
    }
    .section-title::after {
      content: "";
      width: 40px;
      height: 2px;
      background: #292983;
      position: absolute;
      left: 0;
      bottom: -6px;
    }
    .services-section h2 {
      font-weight: 700;
      font-size: 32px;
      margin: 15px 0 40px;
    }

    /* Card Styles */
  .service-card {
  border: none;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative; /* important */
}


    .service-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    }

    /* Image Wrapper with Overlay */
   .service-img {
  position: relative;
  overflow: hidden;
}


    /* Service card overlay */
.service-card .overlay {
  position: absolute;
  left: 0;
  bottom: -100%;
  width: 100%;
  height: 100%;
  background: rgba(220, 204, 204, 0.37);
  transition: bottom 0.4s ease;
  z-index: 1;
}
.service-card:hover .overlay {
  bottom: 0;
}


    /* Icon Badge */
.icon-badge {
  position: absolute;
  top: 220px;   /* adjust depending on your card image height */
  right: 15px;     /* stick to the right */
  background: #292983;
  padding: 12px 16px;
  border-radius: 6px; /* rounded only on left side */
  color: #fff;
  font-size: 28px;
  z-index: 5;
}

    /* Card Body */
    .service-card .card-body {
      padding: 40px 20px 20px;
      text-align: left;
      background-color: rgba(255, 255, 255, 0.8);
    }
    .service-card h5 {
      font-weight: 700;
      font-size: 18px;
      margin-bottom: 10px;
    }
    .service-card p {
      color: #555;
      font-size: 14px;
      margin-bottom: 20px;
    }

    /* Button */
    .btn-discover {
      border: 1px solid #ccc;
      border-radius: 6px;
      padding: 8px 18px;
      font-weight: 600;
      font-size: 14px;
      background: #fff;
      transition: 0.3s;
    }
    .btn-discover:hover {
      background: #292983;
      color: #fff;
      border-color: #292983;
    }
    /*products end*/
      /*service start*/
      /* Left content */
    .process-box {
      display: flex;
      align-items: center;
      background: #fff;
      border: 1px solid #eaeaea;
      border-radius: 6px;
      padding: 15px;
      margin-bottom: 15px;
      box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    }

    .process-box .step-num {
      background: #f1f1f1;
      font-weight: 600;
      padding: 8px 12px;
      border-radius: 4px;
      margin-right: 15px;
    }

    .process-box i {
      font-size: 28px;
      color: #292983;
      margin-right: 12px;
    }

    /* Images */
    .image-grid {
      position: relative;
    }

    .image-grid img {
      width: 100%;
      height: 260px;
      object-fit: cover;
      border-radius: 6px;
      margin-bottom: 15px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }

    .image-grid .tall-img {
      height: 540px; /* double height to match stacked images */
    }

    /* Trusted Badge */
    .trusted-badge {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background: #292983;
      color: #fff;
      font-size: 18px;
      font-weight: 600;
      width: 120px;
      height: 120px;
      border-radius: 50%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      box-shadow: 0 6px 15px rgba(0,0,0,0.2);
      z-index: 2;
    }

    .trusted-badge span {
      font-size: 24px;
      font-weight: bold;
    }
    /*service end*/
     /* dark section start*/
      .dark-section {
        position: relative;
        background: url('images/https://via.placeholder.com/1920x900') no-repeat center center/cover;
        color: #fff;
        text-align: center;
        
       
      }

      /* Dark overlay */
      .dark-section::before {
        content: "";
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: 100%;
        background: rgb(0, 0, 0);
        z-index: 0;
      }

      .dark-content {
        position: relative;
        z-index: 1;
        padding: 5%;
      }

      .dark-section h6 {
        color: #292983;
        font-weight: 600;
        letter-spacing: 1px;
        text-transform: uppercase;
        border-bottom: 2px solid #292983;
        display: inline-block;
        margin-bottom: 15px;
      }

      .dark-section h2 {
        font-weight: 700;
        margin-bottom: 40px;
      }

      /* Feature boxes */
      .feature-box {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.2);
        padding: 20px;
        border-radius: 6px;
        color: #fff;
        margin-bottom: 20px;
        transition: all 0.3s ease;
      }

      .feature-box:hover {
        background: rgba(40, 167, 69, 0.1);
        border-color: #292983;
        transform: translateY(-5px);
      }

      .feature-box i {
        font-size: 32px;
        color: #292983;
        margin-bottom: 10px;
        display: block;
      }

      /* Search bar */
      .search-bar {
        margin: 40px auto;
        max-width: 600px;
        display: flex;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 6px;
        overflow: hidden;
      }

      .search-bar input {
        flex: 1;
        border: none;
        padding: 12px;
        background: transparent;
        color: #fff;
      }

      .search-bar input::placeholder {
        color: #aaa;
      }

      .search-bar button {
        background: #292983;
        color: #fff;
        border: none;
        padding: 12px 20px;
        font-weight: 600;
        transition: 0.3s;
      }

      .search-bar button:hover {
        background: #292983;
      }

      /* Footer text */
      .dark-footer {
        font-size: 14px;
        margin-top: 20px;
      }

      .dark-footer a {
        color: #292983;
        font-weight: 600;
        text-decoration: none;
      }

      .dark-footer a:hover {
        text-decoration: underline;
      }
    /*dark section end*/
        /*card img section start*/
     .gallery-section {
      padding: 60px 20px;
      text-align: center;
    }

    .gallery-section h6 {
      color: #292983;
      font-weight: 600;
      letter-spacing: 1px;
      text-transform: uppercase;
      border-bottom: 2px solid #292983;
      display: inline-block;
      margin-bottom: 10px;
    }

    .gallery-section h2 {
      font-weight: 700;
      margin-bottom: 40px;
    }

    /* Image card */
    .gallery-card {
      position: relative;
      overflow: hidden;
      border-radius: 6px;
      margin-bottom: 30px;
      height: 350px;   /* ✅ Fixed height for all cards */
    }

    .gallery-card img {
      width: 100%;
      height: 100%;    /* ✅ Force image to fill the card */
      object-fit: cover; /* ✅ Crop nicely without distortion */
      border-radius: 6px;
      transition: transform 0.5s ease;
    }


    .gallery-card:hover img {
      transform: scale(1.1);
    }

   /* Gallery overlay */
.gallery-card .overlay {
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: #292983;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: top 0.5s ease;
  font-size: 20px;
  font-weight: 600;
  opacity: .3;
}
.gallery-card:hover .overlay {
  top: 0;
}
    /*card img section end*/
      /*form section start*/
    .product-section {
  background: #121411;
  color: #fff;
  font-family: "Poppins", sans-serif;
  padding: 60px 20px; /* add spacing */
}

.product-title {
  color: #292983;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: inline-block;
}
    .product-section h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
}

.product-section p {
  color: #ccc;
  font-size: 15px;
  line-height: 1.7;
}
    .product-image img {
  border-radius: 6px;
  margin-top: 20px;
  max-width: 100%;
  height: auto;
  display: block;
}
    /* Content Box */
.content-box {
  padding: 30px;
  border-radius: 6px;
  color: #fff;
}

.content-box h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
}

.content-box p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 10px;
  color: #f9f9f9;
}

/* ✅ Responsive Fix */
@media (max-width: 768px) {
  .product-section .row {
    flex-direction: column-reverse; /* stack image below text */
  }
  .product-image {
    margin-top: 20px;
    text-align: center;
  }
  .content-box {
    padding: 20px;
    text-align: center;
  }
  .content-box h4 {
    font-size: 18px;
  }
}
    /*form section end*/
        /*testimonial start*/
     .test-testimonial-section {
      position: relative;
      padding: 80px 0;
      background: #fff;
      overflow: hidden;
    }
    .test-testimonial-section::after {
      content: "";
      position: absolute;
      top: 0;
      right: 0;
      bottom: 0;
      width: 40%;
      background: url('images/https://i.ibb.co/6bvJ9jr/security-bg.png') no-repeat center/cover;
      opacity: 0.1;
    }

    /* Heading */
    .test-section-title small {
      color: #292983;
      font-size: 14px;
      font-weight: 800;
      display: inline-block;
      border-bottom: 2px solid #292983;
      margin-bottom: 10px;
    }
    .test-section-title h2 {
      font-weight: 700;
      margin-bottom: 15px;
    }
    .test-section-title p {
      color: #666;
      font-size: 15px;
      margin-bottom: 40px;
    }

    /* Card */
   .test-testimonial-card {
  background: #ffffff;  /* ✅ White background */
  border-radius: 8px;
  padding: 25px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  height: 100%;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover */
}

.test-testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15); /* Stronger hover shadow */
}
    .test-testimonial-card i.quote {
      position: absolute;
      top: 20px;
      right: 20px;
      font-size: 26px;
      color: #292983;
      opacity: 0.5;
    }
    .test-testimonial-card .stars {
      color: #292983;
      margin-bottom: 10px;
    }
    .test-testimonial-card p {
      font-size: 15px;
      color: #555;
      margin-bottom: 20px;
    }
    .test-testimonial-author {
      display: flex;
      align-items: center;
    }
    .test-testimonial-author img {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      margin-right: 12px;
      object-fit: cover;
    }
    .test-testimonial-author h6 {
      margin: 0;
      font-weight: 700;
    }
    .test-testimonial-author small {
      color: #777;
      font-size: 13px;
    }

    /*testimonial end*/
      /*brand start*/
      /* Section */
    .brands-section {
      background: #fff;
      text-align: center;
    }

    .section-title {
      font-size: 14px;
      color: #292983;
      font-weight: 600;
      text-transform: uppercase;
      position: relative;
      display: inline-block;
      margin-bottom: 10px;
    }

    .section-title::after {
      content: "";
      width: 40px;
      height: 2px;
      background: #292983;
      position: absolute;
      left: 0;
      bottom: -6px;
      right: 0;
      margin: auto;
    }

    .brands-section h2 {
      font-weight: 700;
      font-size: 32px;
      margin-bottom: 40px;
      color: #000;
    }

    /* Logo styling */
    .brand-logo {
      max-width: 200px;  /* logo size */
      height: auto;
      margin: 10px auto;
      transition: transform 0.3s ease;
    }

    .brand-logo:hover {
      transform: scale(1.1);
    }
    /*brand end*/
  /* Contact Estimate Box */
    .estimate-box {
      background-color: #292983;
      border-radius: 8px;
      position: relative;
      z-index: 10;
      box-shadow: 0 8px 20px rgba(0,0,0,0.25);
      margin-bottom: -80px; /* overlap into footer (desktop) */
      padding: 0px 30px 0;
      display: flex;
      flex-wrap: wrap;
      align-items: flex-end; /* keep both bottom aligned */
    }

    .estimate-box .content {
      flex: 1;
      color: #fff;
      padding-bottom: 70px;
    }

    .estimate-box img {
      max-height: 400px;
      max-width: 100%;
      position: relative;
      bottom: 0;
    }

    /* Lift head outside the box (desktop only) */
    @media (min-width: 768px) {
      .estimate-box img {
        margin-top: -80px; /* head pops outside */
      }
    }

    .estimate-phone {
      font-weight: 700;
      font-size: 20px;
      color: #fff;
      border: 2px solid #fff;
      border-radius: 6px;
      padding: 10px 20px;
      margin-right: 15px;
      display: inline-block;
      margin-bottom: 15px;
    }

    /* Footer */
    footer {
      background: #111310;
      color: #bbb;
      padding: 140px 0 0;
      position: relative;
      z-index: 1;
    }
    footer h5 {
      color: #fff;
      font-size: 18px;
      margin-bottom: 20px;
      position: relative;
    }
    footer h5::after {
      content: "";
      width: 40px;
      height: 2px;
      background: #292983;
      position: absolute;
      left: 0;
      bottom: -8px;
    }
    footer ul {
      list-style: none;
      padding: 0;
    }
    footer ul li {
      margin-bottom: 10px;
    }
    footer ul li a {
      text-decoration: none;
      color: #bbb;
      transition: 0.3s;
    }
    footer ul li a:hover {
      color: #292983;
      padding-left: 5px;
    }
    .footer-social a {
      display: inline-block;
      color: #bbb;
      margin-right: 12px;
      font-size: 18px;
      transition: 0.3s;
    }
    .footer-social a:hover {
      color: #292983;
    }
    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.1);
      margin-top: 40px;
      padding: 20px 0;
      font-size: 14px;
      text-align: center;
    }
    .footer-bottom a {
      color: #bbb;
      margin: 0 8px;
      text-decoration: none;
    }
    .footer-bottom a:hover {
      color: #752ecc;
    }

    /* Scroll to top */
    .scroll-top {
      position: fixed;
      bottom: 30px;
      right: 30px;
      width: 45px;
      height: 45px;
      border-radius: 50%;
      background-color: #292983;
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      cursor: pointer;
      box-shadow: 0 4px 10px rgba(0,0,0,0.2);
      z-index: 999;
      transition: all 0.3s ease;
    }
    .scroll-top:hover {
      background-color: #1f1f5c;
    }

    /* 🔹 Mobile Fixes */
    @media (max-width: 768px) {
      .estimate-box {
        flex-direction: column;
        text-align: center;
        margin-bottom: 0;             /* remove footer gap */
        padding: 40px 20px 0;         /* more top padding */
        border-radius: 8px 8px 0 0;   /* rounded only at top */
      }
      .estimate-box .content {
        margin-bottom: 15px;          /* less space above image */
      }
      .estimate-box img {
        margin: 0 auto;
        max-height: 300px;
        display: block;
      }
      .estimate-box .btn {
        margin-bottom: 10px;          /* reduce space under button */
      }
      footer {
        padding: 40px 0 0;            /* connect footer with blue box */
      }
    }


    /* Scroll to Top */
.scroll-top {
  position: fixed;
  bottom: 90px; /* leave space above WhatsApp */
  right: 20px;
  background-color:#292983;
  color: white;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  z-index: 1000;
}

.scroll-top:hover {
  background-color: #555;
}

/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 20px; /* below scroll-top */
  right: 20px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  z-index: 1000;
}

.whatsapp-btn:hover {
  background-color: #1ebe57;
}
