/* ===== SUBSECTIONS SECTION STYLES ===== */
.product-page
{

margin:0;
 padding:0; 
 font-family:"Poppins", sans-serif; 
 background:#ffffff;
}
.subsections {
  padding: 60px 0;
  background: #ffffff;
}
 
.subsections-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.subsections-row {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin-bottom: 30px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.subsections-row:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.subsections-left,
.subsections-right {
  flex: 1;
  width: 50%;
  min-width: 280px;
  transition: all 0.3s ease;
}

.subsections-left {
  background: linear-gradient(135deg, rgb(22, 53, 99), rgb(31, 122, 255)) !important;
  color: #ffffff;
}

.subsections-right {
  background: linear-gradient(135deg, #f8f9fa 0%, #f0f2f5 100%);
  color: #333333;
}

/* Product Details Class */
.product-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 400px;
}

.subsections-content {
  padding: 50px 45px;
}

.subsections-left .subsections-content h3,
.subsections-right .subsections-content h3 {
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 20px 0;
  position: relative;
  padding-bottom: 15px;
  letter-spacing: -0.3px;
}

.subsections-left .subsections-content h3 {
  color: #ffffff;
  border-bottom: 3px solid #08a5f4;
}

.subsections-right .subsections-content h3 {
  color: #1d73be;
  border-bottom: 3px solid #08a5f4;
}

.subsections-text {
  font-size: 16px;
  line-height: 1.8;
}

.subsections-left .subsections-text {
  color: rgba(255, 255, 255, 0.95);
}

.subsections-right .subsections-text {
  color: #555555;
}

.subsections-text p {
  margin-bottom: 16px;
}

.subsections-text ul,
.subsections-text ol {
  padding-left: 20px;
  margin: 15px 0;
}

.subsections-text li {
  margin-bottom: 10px;
}

.subsections-text strong {
  font-weight: 700;
}

.subsections-left .subsections-text strong {
  color: #08a5f4;
}

.subsections-right .subsections-text strong {
  color: #1d73be;
}

/* Button styling within subsections */
.subsections-text .btnquote {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 12px 28px;
  background: #08a5f4;
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.subsections-text .btnquote:hover {
  background: #1d73be;
  transform: translateX(5px);
  gap: 12px;
}

.subsections-right .subsections-text .btnquote {
  background: #1d73be;
}

.subsections-right .subsections-text .btnquote:hover {
  background: #08a5f4;
}

.subsections-text a i {
  font-size: 14px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .subsections {
    padding: 50px 0;
  }

  .subsections-content {
    padding: 40px 35px;
  }

  .subsections-left .subsections-content h3,
  .subsections-right .subsections-content h3 {
    font-size: 26px;
  }

  .product-details {
    min-height: 350px;
  }
}

@media (max-width: 768px) {
  .subsections {
    padding: 40px 0;
  }

  .subsections-row {
    flex-direction: column;
    margin-bottom: 25px;
    border-radius: 15px;
  }

  .subsections-left,
  .subsections-right {
    width: 100%;
  }

  .subsections-content {
    padding: 35px 30px;
  }

  .subsections-left .subsections-content h3,
  .subsections-right .subsections-content h3 {
    font-size: 24px;
    margin-bottom: 15px;
    padding-bottom: 12px;
  }

  .subsections-text {
    font-size: 15px;
    line-height: 1.7;
  }

  .product-details {
    min-height: auto;
    padding: 20px 0;
  }
}

@media (max-width: 480px) {
  .subsections {
    padding: 30px 0;
  }

  .subsections-container {
    padding: 0 15px;
  }

  .subsections-content {
    padding: 25px 20px;
  }

  .subsections-left .subsections-content h3,
  .subsections-right .subsections-content h3 {
    font-size: 22px;
  }

  .subsections-text {
    font-size: 14px;
    line-height: 1.6;
  }

  .subsections-text a {
    padding: 10px 20px;
    font-size: 13px;
  }
}

/* Animation for rows */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

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

.subsections-row {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.subsections-row:nth-child(1) {
  animation-delay: 0.1s;
}

.subsections-row:nth-child(2) {
  animation-delay: 0.2s;
}

.subsections-row:nth-child(3) {
  animation-delay: 0.3s;
}

.subsections-row:nth-child(4) {
  animation-delay: 0.4s;
}

/* Hover effect for content */
.subsections-left:hover .subsections-content,
.subsections-right:hover .subsections-content {
  transform: translateY(-3px);
  transition: transform 0.3s ease;
}


            /* ===== NEW FAQ SECTION STYLES ===== */
            .faq-wrapper {
  background: linear-gradient(135deg, #0a2b3e 0%, #1a4a6f 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  display:none;
}

/* Animated background pattern */
.faq-wrapper::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image:
    radial-gradient(
      circle at 20% 80%,
      rgba(8, 165, 244, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(29, 115, 190, 0.1) 0%,
      transparent 50%
    );
  animation: pulse 10s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

.faq-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

/* Header Styles */
.faq-header {
  text-align: center;
  margin-bottom: 60px;
}

.faq-badge {
  display: inline-block;
  background: rgba(8, 165, 244, 0.2);
  backdrop-filter: blur(10px);
  color: #08a5f4;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 20px;
  border: 1px solid rgba(8, 165, 244, 0.3);
  animation: fadeInUp 0.6s ease;
}

.faq-title {
  font-size: 48px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  animation: fadeInUp 0.6s ease 0.1s backwards;
}

.faq-title::before {
  position: absolute;
  left: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  opacity: 0.5;
}

.faq-title::after {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  opacity: 0.5;
}

.faq-subtitle {
  font-size: 18px;
  color: #fff;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.6s ease 0.2s backwards;
}

/* FAQ Grid Layout */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(500px, 1fr));
  gap: 24px;
}

/* FAQ Card Styles */
.faq-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.6s ease backwards;
  animation-delay: calc(var(--delay, 0) * 0.1s);
}

.faq-card:nth-child(1) {
  --delay: 1;
}

.faq-card:nth-child(2) {
  --delay: 2;
}

.faq-card:nth-child(3) {
  --delay: 3;
}

.faq-card:nth-child(4) {
  --delay: 4;
}

.faq-card:nth-child(5) {
  --delay: 5;
}

.faq-card:nth-child(6) {
  --delay: 6;
}

.faq-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.faq-card.active {
  background: #ffffff;
  box-shadow: 0 15px 35px rgba(8, 165, 244, 0.3);
}

.faq-card-inner {
  padding: 0;
}

/* Question Styles */
.faq-question {
  padding: 22px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  transition: all 0.3s ease;
  position: relative;
}

.faq-card.active .faq-question {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-bottom: 2px solid #08a5f4;
}

.faq-question-text {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
  font-weight: 600;
  font-size: 18px;
  color: #1a4a6f;
}

.faq-icon-left {
  font-size: 24px;
  color: #08a5f4;
  transition: all 0.3s ease;
}

.faq-card.active .faq-icon-left {
  transform: scale(1.1);
  color: #15b1ff;
}

/* Icon Wrapper */
.faq-icon-wrapper {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.faq-card:hover .faq-icon-wrapper {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.3);
}

.faq-icon {
  color: #ffd700;
  /* Gold color for plus/minus icon */
  font-size: 18px;
  transition: all 0.3s ease;
}

/* When FAQ is active/open */
.faq-card.active .faq-icon-wrapper {
  background: rgba(8, 165, 244, 0.3);
  border-color: rgba(8, 165, 244, 0.5);
}

.faq-card.active .faq-icon {
  color: #08a5f4;
  /* Blue color when active */
}

/* Optional: Different colors for different states */
.faq-card.active .faq-icon-wrapper:hover {
  background: rgba(8, 165, 244, 0.5);
  transform: scale(1.1);
}

/* Make sure these styles are present */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  background: #ffffff;
}

.faq-card.active .faq-answer {
  max-height: 800px;
  /* Make sure this is large enough for your content */
}

.faq-answer-content {
  padding: 25px;
  background: linear-gradient(135deg, #fafbfc 0%, #ffffff 100%);
  border-top: 1px solid rgba(8, 165, 244, 0.1);
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.faq-answer-content > i {
  font-size: 32px;
  color: #08a5f4;
  flex-shrink: 0;
  margin-top: 5px;
}

.faq-answer-content > div {
  flex: 1;
  color: #555;
  line-height: 1.8;
  font-size: 16px;
}

.faq-answer-content p {
  margin-bottom: 15px;
}

.faq-answer-content p:last-child {
  margin-bottom: 0;
}

.faq-answer-content ul,
.faq-answer-content ol {
  padding-left: 20px;
  margin: 15px 0;
}

.faq-answer-content li {
  margin-bottom: 8px;
}

.faq-answer-content strong {
  color: #1d73be;
  font-weight: 700;
}

.faq-answer-content a {
  color: #08a5f4;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.faq-answer-content a:hover {
  border-bottom-color: #08a5f4;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

/* Responsive Design */
@media (max-width: 1100px) {
  .faq-grid {
    grid-template-columns: 1fr;
    max-width: 700px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .faq-wrapper {
    padding: 50px 0;
  }

  .faq-title {
    font-size: 36px;
  }

  .faq-title::before,
  .faq-title::after {
    display: none;
  }

  .faq-subtitle {
    font-size: 16px;
  }

  .faq-question-text {
    font-size: 16px;
    gap: 12px;
  }

  .faq-icon-left {
    font-size: 20px;
  }

  .faq-question {
    padding: 18px 20px;
  }

  .faq-answer-content {
    padding: 20px;
    gap: 12px;
    flex-direction: column;
  }

  .faq-answer-content > i {
    font-size: 28px;
    margin-bottom: 10px;
  }

  .faq-icon-wrapper {
    width: 32px;
    height: 32px;
  }

  .faq-icon {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .faq-wrapper {
    padding: 40px 0;
  }

  .faq-section {
    padding: 0 15px;
  }

  .faq-title {
    font-size: 28px;
  }

  .faq-badge {
    font-size: 12px;
    padding: 6px 16px;
  }

  .faq-question-text {
    font-size: 15px;
    gap: 10px;
  }

  .faq-icon-left {
    font-size: 18px;
  }

  .faq-question {
    padding: 15px;
  }

  .faq-answer-content {
    padding: 16px;
  }

  .faq-answer-content > div {
    font-size: 14px;
    line-height: 1.7;
  }
}

/* Hover Effects */
.faq-card {
  position: relative;
  overflow: hidden;
}

.faq-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(8, 165, 244, 0.1),
    transparent
  );
  transition: left 0.5s ease;
  pointer-events: none;
}

.faq-card:hover::before {
  left: 100%;
}

/* Scrollbar Styling */
.faq-answer::-webkit-scrollbar {
  width: 6px;
}

.faq-answer::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.faq-answer::-webkit-scrollbar-thumb {
  background: #08a5f4;
  border-radius: 10px;
}

.faq-answer::-webkit-scrollbar-thumb:hover {
  background: #1d73be;
}

/* ===== PRODUCT DETAILS PAGE STYLES ===== */

.brand-slider-section {
  background: #f3f3f3;
  padding: 50px 0;
  text-align: center;
  overflow: hidden;
}

.brand-title {
  font-size: 20px;
  color: #1d73be;
  margin-bottom: 30px;
  font-weight: 600;
}

.brand-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.brand-track {
  display: flex;
  width: max-content; /* Changed from calc(200%) - this allows dynamic width based on content */
  animation: scroll 30s linear infinite; /* Slightly slower for better visibility */
}

.brand-item {
  flex: 0 0 auto; /* Changed from 0 0 200px to auto */
  width: 200px; /* Added explicit width */
  margin: 0 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-item img {
  max-width: 150px;
  max-height: 80px;
  object-fit: contain;
  transition: 0.3s;
}

/* Optional: Add hover effect to pause animation */
.brand-slider:hover .brand-track {
  animation-play-state: paused;
}

/* Optional: Add fade edges for better visual effect */
.brand-slider::before,
.brand-slider::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.brand-slider::before {
  left: 0;
  background: linear-gradient(to right, #f3f3f3, transparent);
}

.brand-slider::after {
  right: 0;
  background: linear-gradient(to left, #f3f3f3, transparent);
}

/* Keyframes animation - moves by 50% since content is duplicated */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Mobile responsive */
@media (max-width: 768px) {
  .brand-item {
    width: 150px;
    margin: 0 20px;
  }

  .brand-item img {
    max-width: 120px;
    max-height: 60px;
  }

  .brand-slider::before,
  .brand-slider::after {
    width: 50px;
  }
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.product-details-page {
  max-width: 1400px;
  margin: 0 auto;
  padding: 40px 20px;
}

/* Alert Messages */
.alert-success-custom {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-error-custom {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 30px;
}

.alert-error-custom ul {
  margin: 0;
  padding-left: 20px;
}

/* Product + Enquiry Section - Side by Side */
.product-enquiry-section {
  margin-bottom: 60px;
}

.product-enquiry-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

/* LEFT SIDE: Product Details */
.product-details-left {
  flex: 1.2;
  min-width: 280px;
}

.product-main-image {
  background: #f8f9fa;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.product-main-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.product-detail-title {
  font-size: 32px;
  font-weight: 600;
  color: #1d73be;
  margin: 0 0 15px 0;
}

.product-short-desc p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.product-full-description h3,
.product-specifications h3 {
  font-size: 20px;
  font-weight: 600;
  color: #2f4f7f;
  margin: 20px 0 12px 0;
  padding-bottom: 8px;
  border-bottom: 2px solid #08a5f4;
  display: inline-block;
}

.product-full-description p {
  font-size: 15px;
  color: #444;
  line-height: 1.7;
}

.product-specifications .spec-content {
  font-size: 15px;
  color: #444;
  line-height: 1.7;
}

.product-specifications .spec-content ul,
.product-specifications .spec-content ol {
  padding-left: 20px;
  margin: 10px 0;
}

/* RIGHT SIDE: Enquiry Form */
.enquiry-form-right {
  flex: 0.8;
  min-width: 320px;
}

.enquiry-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: sticky;
  top: 20px;
}

.enquiry-header {
  background: linear-gradient(135deg, rgb(22, 53, 99), rgb(31, 122, 255)) !important;
  color: white;
  padding: 25px 25px 20px;
  text-align: center;
}

.enquiry-header h3 {
  font-size: 24px;
  margin: 0 0 10px 0;
  font-weight: 600;
}

.enquiry-header h3 i {
  margin-right: 10px;
}

.enquiry-header p {
  font-size: 14px;
  margin: 0;
  opacity: 0.9;
}

.enquiry-form {
  padding: 25px;
}

.form-group-enquiry {
  margin-bottom: 18px;
}

.form-group-enquiry label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
}

.form-group-enquiry label i {
  color: #1d73be;
  width: 20px;
  margin-right: 5px;
}

.required {
  color: #dc3545;
}

.form-group-enquiry input,
.form-group-enquiry textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  font-size: 14px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

.form-group-enquiry input:focus,
.form-group-enquiry textarea:focus {
  outline: none;
  border-color: #08a5f4;
  box-shadow: 0 0 0 3px rgba(8, 165, 244, 0.1);
}

.form-group-enquiry textarea {
  resize: vertical;
}

/* CAPTCHA Styles */
.captcha-group {
  margin-bottom: 20px;
}

.captcha-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.captcha-image {
  height: 50px;
  border-radius: 8px;
  border: 1px solid #ddd;
  background: #f5f5f5;
}

.captcha-refresh {
  background: #f0f0f0;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  transition: background 0.2s;
}

.captcha-refresh:hover {
  background: #e0e0e0;
}

.error-text {
  display: block;
  font-size: 12px;
  color: #dc3545;
  margin-top: 5px;
}

.btn-submit-enquiry {
  width: 100%;
  background: linear-gradient(135deg, #08a5f4 0%, #1d73be 100%);
  color: white;
  border: none;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  margin-top: 10px;
}

.btn-submit-enquiry:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(8, 165, 244, 0.3);
}

.form-footer-note {
  text-align: center;
  font-size: 12px;
  color: #888;
  margin-top: 15px;
  margin-bottom: 0;
}

.form-footer-note i {
  margin-right: 5px;
}

/* Related Products Section */
.related-products-section {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.section-title {
  font-size: 28px;
  font-weight: 600;
  color: #2f4f7f;
  text-align: center;
  margin-bottom: 30px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.product-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.product-link {
  text-decoration: none;
  display: block;
}

.product-image {
  height: 220px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-info {
  padding: 18px;
}

.product-title {
  font-size: 18px;
  font-weight: 600;
  color: #1d73be;
  margin: 0 0 10px 0;
}

.view-details {
  font-size: 14px;
  color: #08a5f4;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s;
}

.product-link:hover .view-details {
  gap: 8px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .product-enquiry-container {
    flex-direction: column;
  }

  .enquiry-card {
    position: static;
  }

  .product-detail-title {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .product-details-page {
    padding: 20px 15px;
  }

  .enquiry-header h3 {
    font-size: 20px;
  }

  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .captcha-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }

  .btn-submit-enquiry {
    padding: 12px;
    font-size: 14px;
  }
}

.faq-section {
  padding: 40px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-title {
  text-align: center;
  font-size: 32px;
  color: #fff;
  margin-bottom: 40px;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 18px;
  color: #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8f9fa;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #e9ecef;
}

.faq-icon {
  transition: transform 0.3s ease;
  color: #1d73be;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  padding: 0 20px;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    padding 0.3s ease;
  background: #ffffff;
  color: #555;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  /* Adjust based on content */
  padding: 20px;
}

/* Optional: Add a subtle border when active */
.faq-item.active {
  border-color: #1d73be;
  box-shadow: 0 2px 8px rgba(29, 115, 190, 0.1);
}
/* old */
.product-detail-page {
  max-width: 1400px;
  margin: 35px auto 60px;
  padding: 20px;
}

.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 12px 22px;
  background: #0f172a;
  color: #fff;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  transition: 0.3s ease;
  text-decoration: none;
}

.back-btn:hover {
  background: #1e293b;
  transform: translateY(-2px);
  color: #fff;
}

.product-detail-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  overflow: hidden;
  padding: 35px;
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: start;
}

.product-gallery-section {
  width: 100%;
}

.gallery-card {
  background: #ffffff;
  border-radius: 26px;
  padding: 22px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.gallery-heading {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
}

/* Main Image Box */
.main-image-box {
  width: 100%;
  height: 500px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(145deg, #e2e8f0, #f8fafc);
  position: relative;
  cursor: pointer;
}

.main-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: zoom-in;
  transition: transform 0.45s ease;
}

.main-image-box:hover img {
  transform: scale(1.03);
}

/* Extra Images Section */
.extra-images-section {
  margin-top: 30px;
}

.section-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 16px;
  align-items: center;
  gap: 10px;
}



/* Enhanced Extra Images Grid */
.extra-images-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.extra-image-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.extra-image-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.extra-image-card:hover::before {
  opacity: 1;
}

.extra-image-card:hover {
  transform: translateY(-5px);
  border-color: #0f172a;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
}

.extra-image-card.active-card {
  border-color: #0f172a;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.2);
  position: relative;
}

.extra-image-card.active-card::after {
  content: "✓";
  position: absolute;
  top: 8px;
  right: 8px;
  background: #22c55e;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
  z-index: 2;
}

.extra-image-preview {
  width: 100%;
  height: 130px;
  overflow: hidden;
  background: #e2e8f0;
  position: relative;
}

.extra-image-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.extra-image-card:hover .extra-image-preview img {
  transform: scale(1.1);
}

/* Zoom Icon Overlay */
.extra-image-card .zoom-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 2;
}

.extra-image-card:hover .zoom-overlay {
  transform: translate(-50%, -50%) scale(1);
}

.zoom-overlay i {
  color: #0f172a;
  font-size: 18px;
}

.product-info-section {
  width: 100%;
}

.info-card {
  background: #ffffff;
  border-radius: 26px;
  padding: 30px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
  position: sticky;
  top: 20px;
}

.product-badge {
  display: inline-block;
  background: linear-gradient(135deg, #0f172a, #334155);
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}

.product-title {
  font-size: 32px;
  line-height: 1.2;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
}

.description-box {
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  padding: 20px;
  margin-bottom: 24px;
  max-height: 300px;
  overflow-y: auto;
}

.description-title {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.description-title::before {
  content: "";
  width: 6px;
  height: 20px;
  border-radius: 20px;
  background: linear-gradient(180deg, #0f172a, #475569);
  display: inline-block;
}

.product-description {
  font-size: 14px;
  line-height: 1.8;
  color: #475569;
}

.enquiry-section {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}

.enquiry-title {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.enquiry-title::before {
  content: "✉";
  font-size: 20px;
}

.form-group {
  margin-bottom: 12px;
}

.form-control {
  width: 100%;
  height: 44px;
  border-radius: 12px;
  border: 2px solid #e2e8f0;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 500;
  color: #1e293b;
  background: #f8fafc;
  outline: none;
  transition: all 0.25s ease;
}

textarea.form-control {
  height: 90px;
  padding: 10px 14px;
  resize: vertical;
}

.form-control:focus {
  border-color: #0f172a;
  background: #ffffff;
}

.btn-quote {
  width: 100%;
  height: 48px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 8px;
}

.btn-quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(15, 23, 42, 0.25);
}

.small-note {
  text-align: center;
  font-size: 11px;
  color: #64748b;
  margin-top: 10px;
  font-weight: 500;
}

.success-message {
  background: #22c55e;
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
}

.error-message {
  background: #ef4444;
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  margin-bottom: 16px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
}

.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(15, 23, 42, 0.95);
  justify-content: center;
  align-items: center;
  padding: 30px;
}

.image-modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 18px;
  object-fit: contain;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 28px;
  font-size: 36px;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s;
  z-index: 10000;
}

.close-modal:hover {
  transform: scale(1.1);
}

.modal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  transition: background 0.3s;
}

.modal-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}

.modal-arrow.prev {
  left: 30px;
}

.modal-arrow.next {
  right: 30px;
}

/* ========== RESPONSIVE STYLES ========== */

/* Tablet Landscape (992px - 1200px) */
@media (max-width: 1200px) {
  .extra-images-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }

  .extra-image-preview {
    height: 120px;
  }
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .main-image-box {
    height: 450px;
  }

  .extra-images-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
  }

  .extra-image-preview {
    height: 110px;
  }

  .info-card {
    position: static;
  }
}

/* Mobile Landscape (576px - 767px) */
@media (max-width: 767px) {
  .product-detail-page {
    margin: 20px auto;
    padding: 15px;
  }

  .product-detail-card {
    padding: 20px;
  }

  .gallery-card {
    padding: 16px;
  }

  .gallery-heading {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .main-image-box {
    height: 350px;
    border-radius: 18px;
  }

  .extra-images-section {
    margin-top: 20px;
  }

  .section-title {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .extra-images-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .extra-image-preview {
    height: 100px;
  }

  .extra-image-card {
    border-radius: 12px;
  }

  .info-card {
    padding: 20px;
  }

  .product-title {
    font-size: 24px;
  }

  .description-box {
    padding: 16px;
  }

  .enquiry-title {
    font-size: 18px;
  }
}

/* Mobile Portrait (481px - 575px) */
@media (max-width: 575px) {
  .product-detail-page {
    margin: 15px auto;
    padding: 12px;
  }

  .product-detail-card {
    padding: 15px;
    border-radius: 20px;
  }

  .gallery-card {
    padding: 12px;
    border-radius: 18px;
  }

  .gallery-heading {
    font-size: 18px;
  }

  .main-image-box {
    height: 280px;
    border-radius: 14px;
  }

  .extra-images-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .extra-image-preview {
    height: 85px;
  }

  .extra-image-card {
    border-radius: 10px;
    border-width: 1.5px;
  }

  .extra-image-card.active-card::after {
    width: 18px;
    height: 18px;
    font-size: 10px;
    top: 4px;
    right: 4px;
  }

  .info-card {
    padding: 16px;
    border-radius: 18px;
  }

  .product-title {
    font-size: 20px;
  }

  .product-badge {
    font-size: 11px;
    padding: 6px 12px;
  }

  .description-title {
    font-size: 16px;
  }

  .product-description {
    font-size: 13px;
  }

  .enquiry-title {
    font-size: 16px;
  }

  .form-control {
    height: 40px;
    font-size: 13px;
  }

  textarea.form-control {
    height: 80px;
  }

  .btn-quote {
    height: 44px;
    font-size: 14px;
  }

  .modal-arrow {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .modal-arrow.prev {
    left: 15px;
  }

  .modal-arrow.next {
    right: 15px;
  }

  .close-modal {
    top: 15px;
    right: 20px;
    font-size: 28px;
  }
}

/* Small Mobile (up to 380px) */
@media (max-width: 380px) {
  .main-image-box {
    height: 240px;
  }

  .extra-images-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .extra-image-preview {
    height: 100px;
  }

  .product-title {
    font-size: 18px;
  }

  .info-card {
    padding: 14px;
  }
}

/* For very large screens (1400px+) */
@media (min-width: 1400px) {
  .extra-images-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .extra-image-preview {
    height: 150px;
  }

  .main-image-box {
    height: 550px;
  }
}

/* Hover effect for touch devices */
@media (hover: hover) {
  .extra-image-card:hover {
    transform: translateY(-5px);
  }
}

/* Loading animation for images */
@keyframes imageLoad {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.extra-image-preview img {
  animation: imageLoad 0.3s ease-out;
}
