 .product-card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    background: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }
  .product-img-wrapper {
    overflow: hidden;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    position: relative;
  }
  .product-img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    padding: 15px;
    transition: transform 0.5s ease;
  }
  .product-card:hover .product-img {
    transform: scale(1.06);
  }
  .card-title, .card-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Base styles (mobile-first) */
.card-title {
  font-size: 0.9rem;      /* ~14.4px */
  font-weight: 600;
}

.card-text {
  font-size: 0.8rem;      /* ~12.8px */
  color: #666;
}

/* Tablet and up (≥768px) */
@media (min-width: 768px) {
  .card-title {
    font-size: 1rem;      /* ~16px */
  }

  .card-text {
    font-size: 0.9rem;    /* ~14.4px */
  }
}

/* Desktop and up (≥992px) */
@media (min-width: 992px) {
  .card-title {
    font-size: 1.05rem;   /* ~16.8px */
  }

  .card-text {
    font-size: 1rem;      /* ~16px */
  }
}


  .whatsapp-button {
  display: flex;
  align-items: center;
  padding: 1rem;
  background-color: #25D366; /* WhatsApp green */
  color: white; /* Sets text color to white */
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.whatsapp-button:hover {
  background-color: #1DA851; /* Darker green on hover */
  transform: scale(1.05);
}

.whatsapp-button h3,
.whatsapp-button span,
.whatsapp-button i {
  color: white; /* Ensures all child elements have white text */
}


/* ---------- Testimonial slider typography ---------- */

.testimonial-item{
  /* Base size for small screens */
  font-size: 1rem;            /* 16 px */
  line-height: 1.5;
}

.testimonial-rating i{
  font-size: 1rem;            /* star icons */
  color: #ffc107;             /* Bootstrap’s warning‑yellow */
}

.testimonial-content p{
  font-size: 0.95rem;         /* 15 px */
  margin-bottom: 0.75rem;
}

.author-content h3{
  font-size: 1rem;            /* customer name */
  font-weight: 600;
  margin: 0 0 .25rem;
}

.author-content p{
  font-size: 0.875rem;        /* 14 px, customer position */
  color: #6c757d;             /* subtle grey */
  margin: 0;
}

/* --------- Tablet (≥ 768 px) --------- */
@media (min-width: 768px){
  .testimonial-item{font-size: 1.05rem;}     /* 16.8 px */
  .testimonial-content p{font-size: 1rem;}   /* 16 px */
  .author-content h3{font-size: 1.1rem;}     /* 17.6 px */
}

/* --------- Desktop (≥ 992 px) --------- */
@media (min-width: 992px){
  .testimonial-item{font-size: 1.1rem;}      /* 17.6 px */
  .testimonial-content p{font-size: 1.05rem;}/* 16.8 px */
  .author-content h3{font-size: 1.2rem;}     /* 19.2 px */
}

.testimonial-content p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 10;
  line-clamp: 10; /* 🔧 Standard property for future support */
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.95rem;
  line-height: 1.5;
  max-height: calc(1.5em * 10); /* Fallback for unsupported browsers */
}

/* Default (mobile-first) */
.team-member-item .team-content h3 {
  font-size: 0.8rem;          /* ~16px on mobile */
  line-height: 1.3;
  margin-top: 0.5rem;
  text-align: center;
}

/* Tablet (≥768px) */
@media (min-width: 768px) {
  .team-member-item .team-content h3 {
    font-size: 1.1rem;      /* ~17.6px */
  }
}

/* Desktop (≥992px) */
@media (min-width: 992px) {
  .team-member-item .team-content h3 {
    font-size: 1.2rem;      /* ~19.2px */
  }
}

/* Product Search Bar styling */
.product-search-box {
  position: relative;
  border-radius: 50px;
  background: #fff;
  border: 1px solid #cbd5e1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}
.product-search-box:focus-within {
  border-color: #055722;
  box-shadow: 0 4px 20px rgba(5, 87, 34, 0.12);
  transform: translateY(-2px);
}
.product-search-input {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 14px 45px 14px 55px !important;
  border-radius: 50px !important;
  font-size: 1rem;
  height: auto !important;
  width: 100%;
  color: #334155;
  background: transparent !important;
}
.product-search-box .search-icon {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 1.15rem;
  transition: color 0.3s ease;
}
.product-search-box:focus-within .search-icon {
  color: #055722;
}
.clear-search-btn {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #94a3b8;
  cursor: pointer;
  line-height: 1;
  padding: 0 5px;
  transition: color 0.3s ease, transform 0.2s ease;
}
.clear-search-btn:hover {
  color: #ef4444;
  transform: translateY(-50%) scale(1.1);
}


/* Centered Enquiry Popup Modal Backdrop */
.enquiry-popup-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  z-index: 99998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.enquiry-popup-backdrop.show-backdrop {
  opacity: 1;
  pointer-events: all;
}

/* Centered Enquiry Popup Card Styling */
.enquiry-popup-card {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40%) scale(0.95);
  width: 95%;
  max-width: 780px;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.15);
  border: 1px solid rgba(226, 232, 240, 0.8);
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  padding: 45px 50px;
}
.enquiry-popup-card.hide-popup {
  transform: translate(-50%, -40%) scale(0.95);
  opacity: 0;
  pointer-events: none;
}
.enquiry-popup-card.show-popup {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: all;
}
.popup-card-header {
  margin-bottom: 30px;
}
.popup-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #055722; /* Theme green color matching Enquire Now heading */
  margin: 0 0 10px 0;
  letter-spacing: -0.5px;
}
.popup-subtitle {
  font-size: 1.05rem;
  font-weight: 500;
  color: #475569; /* Slate 600 */
  line-height: 1.5;
  margin: 0;
}
.close-popup-btn {
  position: absolute;
  top: 25px;
  right: 25px;
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  color: #94a3b8;
  cursor: pointer;
  padding: 5px;
  transition: color 0.2s ease, transform 0.2s ease;
}
.close-popup-btn:hover {
  color: #ef4444;
  transform: scale(1.1);
}
.popup-card-body {
  margin-top: 10px;
}
.popup-form-control {
  background: #f8fafc !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 10px !important;
  font-size: 0.95rem !important;
  padding: 14px 18px !important;
  box-shadow: none !important;
  transition: all 0.2s ease !important;
  color: #334155 !important;
}
.popup-form-control:focus {
  border-color: #055722 !important;
  background: #fff !important;
  box-shadow: 0 0 0 4px rgba(5, 87, 34, 0.15) !important;
}
.popup-form-control::placeholder {
  color: #94a3b8 !important;
}
/* Custom Select styles */
.custom-select-trigger {
  cursor: pointer;
  user-select: none;
}
.select-arrow {
  font-size: 0.8rem;
  color: #64748b;
  transition: transform 0.2s ease;
}
.select-arrow.rotate-arrow {
  transform: rotate(180deg);
}
.custom-options-container {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  max-height: 200px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  z-index: 10005;
  margin-top: 5px;
}
.custom-option {
  padding: 12px 16px;
  font-size: 0.9rem;
  color: #334155;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.custom-option:hover {
  background: #f1f5f9;
  color: #055722;
}

@media (max-height: 650px) {
  .enquiry-popup-card {
    max-height: 90vh;
    overflow-y: auto;
  }
}

@media (max-width: 768px) {
  .enquiry-popup-card {
    padding: 35px 30px;
    max-height: 90vh;
    overflow-y: auto;
  }
  .popup-title {
    font-size: 1.9rem;
  }
  .popup-subtitle {
    font-size: 0.95rem;
  }
}

/* Adjust layout for mobile - centered floating popup */
@media (max-width: 576px) {
  .enquiry-popup-card {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -40%) scale(0.95);
    width: 92%;
    max-width: 480px;
    max-height: 85vh;
    overflow-y: auto;
    border-radius: 20px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.2);
    padding: 30px 24px;
  }
  .enquiry-popup-card.hide-popup {
    transform: translate(-50%, -40%) scale(0.95);
    opacity: 0;
    pointer-events: none;
  }
  .enquiry-popup-card.show-popup {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    pointer-events: all;
  }
  .popup-card-header {
    margin-bottom: 20px;
  }
  .popup-title {
    font-size: 1.6rem;
  }
  .popup-subtitle {
    font-size: 0.85rem;
  }
  .close-popup-btn {
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
  }
  .popup-form-control {
    padding: 10px 14px !important;
    font-size: 0.9rem !important;
  }
}

/* Custom Premium Alert/Toast Notification System */
.custom-toast-container {
  position: fixed;
  top: 30px;
  right: 30px;
  z-index: 100000;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}
.custom-toast {
  pointer-events: auto;
  min-width: 320px;
  max-width: 420px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(226, 232, 240, 0.8);
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transform: translateX(120%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}
.custom-toast.show-toast {
  transform: translateX(0);
  opacity: 1;
}
.custom-toast-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.custom-toast-success .custom-toast-icon {
  background: rgba(34, 197, 94, 0.1);
  color: #22c55e;
}
.custom-toast-error .custom-toast-icon {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}
.custom-toast-info .custom-toast-icon {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}
.custom-toast-content {
  flex-grow: 1;
}
.custom-toast-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px 0;
}
.custom-toast-msg {
  font-size: 0.85rem;
  font-weight: 500;
  color: #64748b;
  line-height: 1.4;
  margin: 0;
}
.custom-toast-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  line-height: 1;
  color: #94a3b8;
  cursor: pointer;
  padding: 2px;
  transition: color 0.2s ease;
  flex-shrink: 0;
}
.custom-toast-close:hover {
  color: #64748b;
}

@media (max-width: 576px) {
  .custom-toast-container {
    top: 20px;
    right: 20px;
    left: 20px;
    width: auto;
  }
  .custom-toast {
    min-width: 100%;
    max-width: 100%;
  }
}

/* Decrease navbar height on desktop for a professional, compact appearance */
@media (min-width: 992px) {
  header.main-header .navbar {
    padding: 15px 0 !important;
  }
  header.main-header .navbar-brand img {
    max-height: 80px !important;
    width: auto !important;
  }
  header.main-header .main-menu ul li.nav-item .nav-link {
    padding: 10px 18px !important;
  }
}
