/* ===================== Responsive Design ===================== */

/* Tablets and below (max 992px) */
@media (max-width: 992px) {
  .why-choose-us .row {
    flex-direction: column;
  }

  .bg-left {
    border-radius: 15px 15px 0 0;
    text-align: center;
  }

  .bg-left::before {
    display: none;
  }

  .icon-box {
    margin: 0 auto 10px auto;
  }

  .feature {
    justify-content: center;
    text-align: center;
  }

  .feature h5 {
    font-size: 16px;
  }

  .feature p {
    font-size: 13px;
  }

  .bg-left h2 {
    font-size: 24px;
  }

  .bg-left p.lead {
    font-size: 15px;
  }

  .btn-primary {
    display: block;
    width: 100%;
    text-align: center;
  }
}

/* Mobile phones (max 576px) */
@media (max-width: 576px) {
  .why-choose-us {
    padding: 40px 15px;
  }

  .bg-left {
    padding: 30px 20px;
  }

  .bg-left h2 {
    font-size: 20px;
  }

  .feature {
    flex-direction: column;
    align-items: center;
  }

  .icon-box {
    width: 55px;
    height: 55px;
    font-size: 1.5rem;
    margin-bottom: 8px;
  }

  .progress-info h6 {
    font-size: 14px;
  }

  .progress {
    height: 6px !important;
  }

  .btn-primary {
    font-size: 14px;
    padding: 10px;
  }

  .text-uppercase {
    font-size: 12px;
  }
}

/* Small laptops (max 1200px) */
@media (max-width: 1200px) {
  .bg-left {
    padding: 40px 30px;
  }

  .col-lg-7 {
    padding: 40px 30px !important;
  }
}


/* form responsive */
/* 🌐 Responsive Navbar Enhancements */
@media (max-width: 992px) {
  .top-bar {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    padding: 8px 15px;
  }

  .top-bar .contact-info {
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
  }

  .navbar {
    padding: 8px 20px;
  }

  .navbar-brand img {
    height: 50px;
  }

  .cart-icon {
    font-size: 20px;
    margin-right: 10px;
  }

  .quote-btn {
    padding: 6px 16px;
    font-size: 14px;
  }
}

/* 📱 For Mobile Devices (≤768px) */
@media (max-width: 768px) {
  .top-bar {
    padding: 6px 10px;
  }

  .top-bar .contact-info {
    font-size: 13px;
    gap: 4px;
  }

  .navbar-nav {
    background: var(--primary);
    padding: 10px 15px;
    border-radius: 8px;
    text-align: center;
  }

  .navbar-nav .nav-link {
    display: block;
    margin: 8px 0;
    font-size: 15px;
  }

  .navbar-toggler {
    border: none;
  }

  .cart-icon {
    margin-right: 0;
  }

  .quote-btn {
    display: block;
    width: 100%;
    margin-top: 10px;
  }
}

/* 📱 Extra Small (≤480px) */
@media (max-width: 480px) {
  .top-bar {
    display: none; /* optional: hide top bar for very small screens */
  }

  .navbar {
    padding: 8px 12px;
  }

  .navbar-brand img {
    height: 45px;
  }

  .quote-btn {
    font-size: 13px;
    padding: 6px 14px;
  }

  .cart-count {
    width: 16px;
    height: 16px;
    font-size: 11px;
  }
}
/* SIider */
@media (max-width: 768px) {
  .carousel-item img {
    height: 70vh;
    width: 100%;
    object-fit: cover;
    object-position: center center; /* 👈 ye important line hai */
  }
}

@media (max-width: 480px) {
  .carousel-item img {
    height: 60vh;
    object-fit: cover;
    object-position: center center; /* 👈 small screen par image perfectly center */
  }
}


/* consut responsiv */
/* ===== Responsive Consultation Section ===== */
@media (max-width: 992px) {
  .consultation-section {
    flex-direction: column;
    height: auto;
    padding: 30px 20px;
    background: linear-gradient(to bottom, white 25%, #0eb89f 25%);
    text-align: center;
  }

  .consultation-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .consultation-logo {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }

  .consultation-content h2 {
    font-size: 1.5rem;
    color: #0eb89f;
  }

  .consultation-contact {
    flex-direction: column;
    font-size: 18px;
    gap: 8px;
  }

  .consultation-contact img {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 576px) {
  .consultation-section {
    margin: 20px;
    border-radius: 8px;
  }

  .consultation-content h2 {
    font-size: 1.3rem;
  }

  .consultation-logo {
    width: 55px;
    height: 55px;
    font-size: 26px;
  }

  .consultation-contact {
    font-size: 16px;
  }
}
/* 🌟 Auto Slide Section */
.auto-slide-section {
  position: relative;
  overflow: hidden;
  padding: 30px 0;
}

/* Slider Container */
.slider-container {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px;
  justify-content: center;
  flex-wrap: nowrap;
}

/* Hide scrollbar */
.slider-container::-webkit-scrollbar {
  display: none;
}

/* Slider Images */
.slider-container img {
  width: 220px;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
  transition: transform 0.7s ease, border-radius 0.5s ease, box-shadow 0.5s ease;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

/* Hover Animation */
.slider-container img:hover {
  transform: rotate(360deg) scale(1.08);
  border-radius: 50%;
  box-shadow: 0 8px 25px rgba(14, 184, 159, 0.35);
}

/* Arrows */
.arrow-controls2 {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
  padding: 0 12px;
}

.arrow-btn2 {
  background: rgba(14, 184, 159, 0.85);
  border: none;
  color: white;
  font-size: 1.3rem;
  border-radius: 50%;
  padding: 8px 12px;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(14, 184, 159, 0.4);
}

.arrow-btn2:hover {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scale(1.1);
}

/* 🎨 Vector Design Image Animation */
#vectorGallery img {
  width: 100%;
  border-radius: 14px;
  transition: transform 0.6s ease, border-radius 0.4s ease;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
}

#vectorGallery img:hover {
  transform: rotate(360deg) scale(1.05);
  border-radius: 50%;
  box-shadow: 0 6px 25px rgba(14, 184, 159, 0.25);
}

/* 📱 Responsive Design */
@media (max-width: 992px) {
  .slider-container img {
    width: 200px;
    height: 160px;
  }
}

@media (max-width: 768px) {
  .auto-slide-section {
    padding: 20px 0;
  }

  .slider-container {
    gap: 16px;
    justify-content: flex-start;
  }

  .slider-container img {
    width: 180px;
    height: 150px;
  }

  .arrow-controls2 {
    display: none; /* mobile pe arrows hide kr diye touch scroll k liye */
  }
}

@media (max-width: 480px) {
  .slider-container img {
    width: 150px;
    height: 130px;
  }

  #vectorGallery img {
    border-radius: 10px;
  }

  #vectorGallery img:hover {
    transform: rotate(360deg) scale(1.03);
  }
}
