/* =====================================================
   RESET & BASE
===================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #333;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =====================================================
   HEADER & NAVIGATION (DESKTOP FIRST)
===================================================== */

header {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: #4a5568;
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #4a5568;
  font-weight: 500;
  position: relative;
}

.nav-links a:hover {
  color: #667eea;
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #667eea;
}

/* =====================================================
   MOBILE HAMBURGER (FIXED)
===================================================== */

.mobile-menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 36px;
  gap: 5px;
  cursor: pointer;
}

.mobile-menu span {
  display: block;
  width: 24px;
  height: 3px;
  background: #0a2a43;
  border-radius: 3px;
}

/* =====================================================
   MAIN OFFSET
===================================================== */

main {
  margin-top: 80px;
  min-height: calc(100vh - 160px);
}

/* =====================================================
   HERO (HOME & PRODUCT)
===================================================== */

.hero {
  background: rgba(255,255,255,0.95);
  border-radius: 20px;
  padding: 4rem 3rem;
  margin: 2rem 0;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg,#667eea,#764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.2rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* =====================================================
   CTA BUTTONS
===================================================== */

.cta-button {
  display: inline-block;
  background: linear-gradient(135deg,#667eea,#764ba2);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .3s, box-shadow .3s;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102,126,234,.3);
}

.cta-button.secondary {
  background: #fff;
  color: #667eea;
  border: 2px solid #667eea;
}

/* =====================================================
   SECTIONS
===================================================== */

.section {
  background: rgba(255,255,255,0.95);
  border-radius: 15px;
  padding: 3rem;
  margin: 2rem 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #4a5568;
}

/* =====================================================
   PRODUCT HERO LAYOUT
===================================================== */

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-image {
  border-radius: 12px;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* =====================================================
   DOCUMENT LINKS (CATALOG / MANUAL)
===================================================== */

.document-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 2.5rem 0;
  flex-wrap: wrap;
}

.document-links a {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  padding: 1rem 1.6rem;
  background: linear-gradient(135deg,#667eea,#764ba2);
  color: #fff;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(102,126,234,.35);
  transition: transform .25s, box-shadow .25s;
}

.document-links a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(102,126,234,.5);
}

/* =====================================================
   TABLES (DESKTOP FULL WIDTH)
===================================================== */

.specs-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.specs-table th,
.specs-table td {
  padding: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.specs-table th {
  background: linear-gradient(135deg,#667eea,#764ba2);
  color: #fff;
}

/* =====================================================
   CONTACT PAGE (RESTORED LOOK)
===================================================== */

.contact-hero {
  background:
    linear-gradient(rgba(102,126,234,.9), rgba(118,75,162,.9)),
    url('https://images.unsplash.com/photo-1581092918056-0c4c3acd3789?auto=format&fit=crop&w=1800&q=80');
  background-size: cover;
  background-position: center;
  border-radius: 15px;
  padding: 3rem;
  margin: 2rem 0;
  color: white;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.contact-form-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-form,
.contact-info-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-image {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =====================================================
   MODAL
===================================================== */

.modal {
  display: none !important;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,.5);
}

/* =====================================================
   FOOTER
===================================================== */

footer {
  background: rgba(255,255,255,0.95);
  padding: 2rem 0;
  text-align: center;
  color: #666;
}

/* =====================================================
   MOBILE OVERRIDES (ONLY BELOW 768px)
===================================================== */

@media (max-width: 768px) {

.nav-links {
  display: none;
  position: absolute;   /* 🔥 changed from fixed */
  top: 100%;            /* now relative to nav */
  left: 0;
  width: 100%;
  background: #fff;
  flex-direction: column;
  padding: 1rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
  .nav-links.active { display: flex; }

  .mobile-menu { display: flex; }

  .hero { padding: 2rem 1rem; }

  .hero h1 { font-size: 2rem; }

  .section { padding: 2rem 1rem; }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-form-container {
    grid-template-columns: 1fr;
  }

  .document-links {
    flex-direction: column;
    align-items: center;
  }

  .document-links a {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .specs-table {
    display: block;
    overflow-x: auto;
  }
}

.mobile-menu {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* =====================================================
   CONTACT PAGE TABLE (RESTORED)
===================================================== */

.contact-form table,
.contact-info-card table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-form table th,
.contact-form table td,
.contact-info-card table th,
.contact-info-card table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
}

.contact-form table th,
.contact-info-card table th {
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #ffffff;
  font-weight: 600;
}

/* =====================================================
   FAQ SECTION (MATCHES .faq HTML)
===================================================== */

.faq {
  margin-top: 3rem;
}

.faq h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: #4a5568;
  text-align: center;
}

.faq-item {
  background: #ffffff;
  border-radius: 12px;
  margin-bottom: 1.2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  overflow: hidden;
}

/* Question button */
.faq-question {
  width: 100%;
  padding: 1.4rem 1.6rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #4a5568;
  background: #f7fafc;
  border: none;
  cursor: pointer;
  text-align: left;

  display: flex;
  justify-content: space-between;
  align-items: center;

  transition: background 0.3s ease;
}

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

/* + / - icon */
.faq-question span {
  font-size: 1.4rem;
  font-weight: 700;
  color: #667eea;
  transition: transform 0.25s ease;
}

/* Rotate icon when open (JS toggles class) */
.faq-question.active span {
  transform: rotate(45deg); /* + becomes × */
}

/* Answer panel */
.faq-answer {
  padding: 0 1.6rem 1.6rem;
  color: #555;
  line-height: 1.7;
  display: none;
}

.faq-answer.active {
  display: block;
  animation: faqFade 0.25s ease-in;
}

@keyframes faqFade {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =====================================================
   MOBILE CTA BUTTONS — FIX SPACING & SIZE
===================================================== */

@media (max-width: 768px) {

  /* Wrapper that contains both buttons */
  .cta-buttons,
  .product-cta,
  .button-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;               /* space between buttons */
    width: 100%;
    align-items: center;
  }

  /* Individual buttons */
  .cta-buttons a,
  .product-cta a,
  .button-group a,
  .cta-button {
    width: 100%;
    max-width: 320px;        /* consistent button width */
    text-align: center;
    justify-content: center;
    display: flex;
    align-items: center;
  }
}

/* =====================================================
   MOBILE CTA BUTTONS — HARD FIX (NO WRAPPER REQUIRED)
===================================================== */

@media (max-width: 768px) {

  /* Force CTA buttons to behave as block elements */
  a.cta-button {
    display: flex !important;
    width: 100% !important;
    max-width: 320px;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
  }

  /* Add space when two CTA buttons are adjacent */
  a.cta-button + a.cta-button {
    margin-top: 1rem !important;
  }

  /* Ensure secondary button matches height */
  a.cta-button.secondary {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

/* =====================================================
   CONTACT FORM — VISUAL ENHANCEMENT
===================================================== */

/* Form card enhancement */
.contact-form {
  background: linear-gradient(180deg, #ffffff 0%, #f9fafc 100%);
  border: 1px solid #e6eaf2;
}

/* Labels */
.contact-form label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 0.4rem;
}

/* Inputs & textarea */
.contact-form input,
.contact-form textarea {
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

/* Focus effect */
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
}

/* Textarea emphasis */
.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

/* Submit button */
.contact-form .submit-btn {
  margin-top: 0.5rem;
  background: linear-gradient(135deg, #667eea, #764ba2);
  font-size: 1rem;
  padding: 1rem;
  letter-spacing: 0.3px;
  box-shadow: 0 6px 20px rgba(102,126,234,0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-form .submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(102,126,234,0.45);
}

/* Placeholder styling */
.contact-form ::placeholder {
  color: #a0aec0;
  font-size: 0.9rem;
}

/* =====================================================
   CONTACT FORM — SEND BUTTON (REFINED)
===================================================== */

.contact-form .submit-btn {
  background: #2f855a;
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
  padding: 0.95rem 1rem;
  box-shadow: 0 4px 12px rgba(31, 58, 95, 0.25);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-form .submit-btn:hover {
  background: #274c77;                 /* slightly lighter on hover */
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(31, 58, 95, 0.35);
}

.contact-form .submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(31, 58, 95, 0.25);
}

/* =====================================================
   CONTACT FORM — FIELD ALIGNMENT FIX
===================================================== */

/* Ensure consistent vertical stacking */
.contact-form .form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.4rem;
}

/* Labels */
.contact-form label {
  margin-bottom: 0.45rem;
  line-height: 1.2;
}

/* Inputs & textarea — force same box model */
.contact-form input,
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  line-height: 1.4;
}

/* Textarea alignment */
.contact-form textarea {
  min-height: 160px;
}

/* Remove browser quirks */
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  appearance: none;
  -webkit-appearance: none;
  border-radius: 12px;
}

/* =====================================================
   CONTACT FORM — TRUE ALIGNMENT FIX
===================================================== */

/* Force rows to align fields perfectly */
.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: end; /* 🔥 THIS IS THE KEY */
}

/* Ensure all inputs have same height */
.contact-form input,
.contact-form textarea {
  height: 46px;
}

/* Textarea overrides */
.contact-form textarea {
  height: auto;
  min-height: 160px;
}

/* Mobile: stack cleanly */
@media (max-width: 768px) {
  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
}

nav {
  position: relative;   /* 🔥 REQUIRED */
}


/* =====================================================
   HOME PAGE — PRODUCT SECTION VISUAL RESTORE
===================================================== */

/* Product grid spacing refinement */
.products-grid {
  margin-top: 2.5rem;
}

/* Product card refinement */
.product-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 2.2rem 2rem;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.14);
}

/* Product image showcase */
.product-card .product-image {
  height: 200px;
  background: #f7fafc;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.product-card .product-image img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

/* Product title */
.product-card h3 {
  font-size: 1.25rem;
  color: #2d3748;
  margin-bottom: 0.6rem;
}

/* Product description */
.product-card p {
  font-size: 0.95rem;
  color: #4a5568;
  line-height: 1.55;
}

/* Card CTA — override inline styles safely */
.product-card .cta-button {
  margin-top: 1.2rem !important;
  padding: 0.6rem 1.4rem !important;
  font-size: 0.95rem !important;
  border-radius: 30px;
}

/* =====================================================
   FLOATING WHATSAPP BUTTON (RESTORED)
===================================================== */

.whatsapp-float {
  position: fixed;
  width: 56px;
  height: 56px;
  bottom: 22px;
  right: 22px;
  background-color: #25D366;
  color: #ffffff;
  border-radius: 50%;
  text-align: center;
  font-size: 28px;
  line-height: 56px;
  z-index: 3000;                 /* above header & modals */
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.35);
  color: #ffffff;
  text-decoration: none;
}

/* Mobile tuning */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    font-size: 26px;
    line-height: 52px;
    bottom: 18px;
    right: 18px;
  }
}
/* =====================================================
   PRODUCT CARD — WIDTH RESTORE (DESKTOP)
===================================================== */

/* Do NOT force cards to full width */
.product-card {
  width: auto;
  max-width: 100%;
}

/* Let grid control spacing */
.products-grid {
  align-items: stretch; /* default, but explicit */
}

/* Mobile stays full-width visually */
@media (max-width: 768px) {
  .product-card {
    width: 100%;
  }
}

/* =====================================================
   CONTACT PAGE — CONTACT INFORMATION AESTHETIC UPGRADE
===================================================== */

.contact-info-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e6eaf2;
}

/* Individual info rows */
.contact-info-card .info-item {
  display: flex;
  align-items: flex-start;
  padding: 1.1rem 0;
  border-bottom: 1px dashed #e2e8f0;
}

.contact-info-card .info-item:last-child {
  border-bottom: none;
}

/* Icon styling */
.contact-info-card .info-icon {
  background: linear-gradient(135deg, #1f3a5f, #274c77);
  color: #ffffff;
  width: 42px;
  height: 42px;
  border-radius: 12px; /* softer, premium look */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-right: 1rem;
  box-shadow: 0 6px 16px rgba(31, 58, 95, 0.25);
  flex-shrink: 0;
}

/* Text block */
.contact-info-card .info-item div {
  display: flex;
  flex-direction: column;
}

/* Title text (e.g. Email, Phone) */
.contact-info-card .info-item strong {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #718096;
  margin-bottom: 0.2rem;
}

/* Actual contact text */
.contact-info-card .info-item p,
.contact-info-card .info-item a {
  font-size: 0.95rem;
  color: #2d3748;
  text-decoration: none;
}

.contact-info-card .info-item a:hover {
  text-decoration: underline;
}

/* Subtle hover lift */
.contact-info-card .info-item:hover .info-icon {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(31, 58, 95, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* =====================================================
   CONTACT INFO — HEIGHT COMPACTING
===================================================== */

/* Reduce card padding */
.contact-info-card {
  padding: 1.5rem;        /* earlier was ~2rem */
}

/* Tighten spacing between info rows */
.contact-info-card .info-item {
  padding: 0.75rem 0;     /* earlier was ~1.1rem */
}

/* Reduce gap between icon & text */
.contact-info-card .info-icon {
  margin-right: 0.75rem;
}

/* Tighten text spacing */
.contact-info-card .info-item strong {
  margin-bottom: 0.1rem;
}

.contact-info-card .info-item p,
.contact-info-card .info-item a {
  line-height: 1.4;
}

/* =====================================================
   PRODUCT GRID — DESKTOP 2-COLUMN RESTORE
===================================================== */

/* Desktop: exactly 2 products per row */
@media (min-width: 992px) {
  .products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* Tablet: allow flexible layout */
@media (min-width: 768px) and (max-width: 991px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile: single column (already correct) */
@media (max-width: 767px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

