/* Trimmed CSS for fhp.html - only rules used on that page */
:root {
  --gold: #c19636;
  --black: #191919;
  --white: #fff;
  --red: #d43737;
}

html {
  scroll-behavior: smooth;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: var(--white);
  color: var(--black);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Global interactive transitions & focus */
a, button, .feature { transition: all 0.3s ease; }
button:active { transform: scale(0.95); }
a:focus, button:focus, input:focus { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Hero / Section basics */
.hero { text-align: center; color: var(--gold); padding: 5rem 2rem; }
.hero h1 { font-size: 2.8rem; color: var(--gold); margin-bottom: 0.5rem; }
.hero p { font-size: 1.5rem; font-weight: 1000; color: var(--black)}

/* Home split layout: left = title/intro, right = compact contact */
#home { padding: 4rem 2rem; background: url('https://psemhrkkqymxgekfhmnc.supabase.co/storage/v1/object/public/product-images/40.webp');
    background-size: cover;
    background-position: center 10%;
    min-height: 600px;        /* set min height to define minimum visible area */
 }

/* Layout for hero home: stack heading/text, buttons sit together below */
.home {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.5rem;
  scroll-margin-top: 140px;

  position: relative; /* REQUIRED */
  overflow: hidden;
}

.home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35); /* fade strength */
  z-index: 0;
}
.home > * {
  position: relative;
  z-index: 1;
}

.home h1 {
  margin: 0 0 0.25rem;
  color: var(--white);
  font-size: clamp(1.8rem, 2.5vw, 4rem);
  line-height: 1.15;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.home p {
  font-size: clamp(1rem, 3.5vw, 2rem);
  font-weight: 400;
  color: var(--white);
}


/* Buttons side-by-side under the text, with spacing and increased width */
.home .get-quote,
.home .phone-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.25rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  cursor: pointer;
  margin: 0 0.6rem;
  min-width: 300px;
  width: min(42%, 420px);
  box-sizing: border-box;
}

.home .get-quote { background: var(--gold); color: var(--white); border: 2px solid rgba(0,0,0,0.6); box-shadow: 0 8px 24px rgba(0,0,0,0.18); }
.home .get-quote:hover { background: #b9952c; color: #000; transform: translateY(-3px); }

.home .phone-contact { background: var(--gold); color: var(--white); border: 2px solid rgba(0,0,0,0.6); box-shadow: 0 8px 24px rgba(0,0,0,0.18); }
.home .phone-contact:hover { background: #b9952c; color: #000; transform: translateY(-3px); }

.home-inline-image {
  margin: .5rem 0;
  max-width: 100%;
  width: 220px;        /* adjust size here */
  height: auto;
  border-radius: 12px; /* optional */
}

@media (max-width: 768px) {
  .home .get-quote,
  .home .phone-contact {
    width: 100%;
    min-width: unset;
    max-width: 320px;
    margin: 0.4rem 0;
  }
}



/* Impact products area */
.features { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: center; }
.feature { background-color: var(--white); border-radius: 6px; box-shadow: 0 2px 6px rgba(0,0,0,0.1); width: 250px; text-align: center; padding: 1rem; min-width: 240px; max-width: 90vw; flex-shrink: 0; margin: 0 1rem; cursor: pointer; position: relative; transition: transform 0.3s ease, box-shadow 0.3s ease;border: 2px solid transparent; }
.feature:hover { transform: scale(1.05); box-shadow: 0 10px 30px rgba(0,0,0,0.4); z-index: 20; border: 2px solid black; }
.feature img { width: 100%; height: 250px; object-fit: cover; border-radius: 6px; display: block; cursor: pointer; }

/* Carousel */
.features-carousel { width: 100vw; max-width: 100%; overflow: visible; position: relative; margin: 0 auto 2rem auto; }
.features-track { display: flex; transition: transform 0.5s cubic-bezier(.77,0,.18,1); position: relative; }
.carousel-btn { background: rgba(0,0,0,0.5); color: #fff; border: none; font-size: 2.5rem; padding: 0.5rem 1rem; border-radius: 50%; cursor: pointer; position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; transition: background 0.2s; }
.carousel-btn.left { left: 0; }
.carousel-btn.right { right: 0; }
.carousel-btn:hover { background: #d4af37; color: #000; }

/* Gallery slider */
/* Hero clickable section */
.hero-link {
  cursor: pointer;
  text-align: center;
  padding: 3rem 1rem;
  transition: transform 0.3s, box-shadow 0.3s;
}

.hero-link .section-header h1 {
  font-size: 2.6rem;
  margin-bottom: 0.5rem;
  color: var(--gold);
}

.hero-link .section-header p {
  font-size: 1rem;
  color: #555;
}

/* Keep your existing slider CSS unchanged */
.slider { position: relative; display: flex; align-items: center; justify-content: center; width: 100%; margin: 2rem auto; margin-bottom: 8rem; }
.slider-img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; transition: transform 0.3s, opacity 0.3s; display: block; }
.slider-img.main { width: 60%; height: 400px; z-index: 2; box-shadow: 0 0 15px rgba(0,0,0,0.15); }
.slider-img.preview { width: 20%; height: 200px; opacity: 0.5; filter: blur(1px) grayscale(0.1); cursor: default; margin: 0 1rem; }
.slider-img.main:hover { transform: scale(1.5); box-shadow: 0 10px 30px rgba(0,0,0,0.4); z-index: 10; }
.prev, .next { position: absolute; top: 50%; background: rgba(0,0,0,0.5); color: white; border: none; font-size: 2rem; padding: 0.6rem 1.2rem; cursor: pointer; border-radius: 50%; transform: translateY(-50%); z-index: 3; }
.prev { left: 0; }
.next { right: 0; }
.next:hover, .prev:hover { background: #d4af37; color: #000; }

/* Optional: mobile adjustments for hero section padding */
@media (max-width: 768px) {
  .hero-link { padding: 2rem 1rem; }
  .slider-img.main { width: 80%; height: 250px; }
  .slider-img.preview { width: 25%; height: 120px; margin: 0 0.5rem; }
}


/* Embedded maps (previously inline style) */
.map-embed { border: 0; width: 100%; height: 450px; }

/* Mission & questions styling 
#mission, #questions { background-color: var(--gold); }*/

/* Contact form & popup */
/* Contact popup modal */
.contact-popup { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.6); justify-content: center; align-items: center; z-index: 2000; }
.contact-popup.show { display: flex; }
.contact-popup .contact-panel { background-color: var(--gold); border: 1px solid black; width: 90vw; max-width: 700px; margin: 0 1rem; text-align: center; padding: 2rem; border-radius: 12px; position: relative; }
.contact-popup .contact-panel form { display: flex; flex-direction: column; }
.contact-popup .contact-panel input, .contact-popup .contact-panel textarea { margin-bottom: 1rem; padding: 0.8rem; border: 1px solid black; border-radius: 4px; font-family: 'Montserrat', sans-serif; font-size: 1rem; }
/* Selects in contact form to match inputs */
.contact-popup .contact-panel select {
  margin-bottom: 1rem;
  padding: 0.8rem;
  border: 1px solid black;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  background: var(--white);
}
.contact-close { position: absolute; top: 8px; right: 10px; background: transparent; border: none; font-size: 1.8rem; cursor: pointer; }

/* Simple layout for select labels and inputs in one row on wider screens */
.contact-row {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.contact-row label {
  font-weight: 600;
  margin-right: 0.25rem;
}
.contact-row select {
  min-width: 80px;
}
.contact-popup .contact-panel button[type="submit"] { background-color: black; color: #fff; font-weight: 600; border: none; padding: 1rem; cursor: pointer; border-radius: 4px; transition: background 0.3s ease; }
.contact-popup .contact-panel button[type="submit"]:hover { background-color: #b9952c; }

.popup { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); justify-content: center; align-items: center; z-index: 1000; opacity: 0; transition: opacity 0.3s ease; }
.popup.show { display: flex; opacity: 1; }
.popup-content { background: #fff; padding: 2rem; border-radius: 8px; text-align: center; max-width: 400px; position: relative; z-index: 1001; }
.popup-content button { margin-top: 1rem; }

/* --- Improved Mobile Responsive Adjustments --- */
@media (max-width: 768px) {
  .contact-popup .contact-panel {
    padding: 1.5rem;   /* Reduce padding to save space */
    width: 75vw;
    margin: 10px;      /* Small margin to ensure it doesn't touch screen edges */
  }

  /* Make the title smaller so it doesn't push inputs down */
  .contact-popup .contact-panel h1 {
    font-size: 1.5rem;
    margin-top: 0.5rem;
  }

  .contact-popup .contact-panel p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  /* Stack labels and inputs tightly */
  .contact-row { 
    flex-direction: column; 
    align-items: stretch; 
    gap: 0.2rem; /* Tighten gap between label and its select */
    margin-bottom: 0.5rem;
  }

  .contact-row label { 
    text-align: left;
    font-size: 0.85rem;
    margin-bottom: 2px;
  }

  .contact-popup .contact-panel input, 
  .contact-popup .contact-panel textarea, 
  .contact-popup .contact-panel select { 
    padding: 0.6rem; /* Smaller padding saves a lot of vertical height */
    margin-bottom: 0.8rem;
  }

  /* Ensure the close button is always visible and clickable */
  .contact-close {
    top: 5px;
    right: 8px;
    font-size: 2rem;
    z-index: 10;
  }
}

/* Footer */
footer { display: flex; justify-content: space-between; align-items: center; background: var(--black); color: var(--white); padding: 2rem; flex-wrap: wrap; gap: 2rem; text-align: center; }
.footer-left, .footer-center, .footer-nav { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-left p { margin: 0; font-size: 0.9rem; text-align: left; }
.footer-center { align-items: center; }
.footer-center .logo { max-width: 150px; height: auto; margin-bottom: 1rem; }
.social-links { display: flex; gap: 1rem; }
.social-links a { color: var(--white); transition: color 0.3s ease; display: inline-flex; }
.social-links a:hover, .social-links a:focus { color: var(--gold); outline: none; }
.social-links svg { width: 24px; height: 24px; fill: none; stroke: currentColor;}
.footer-nav ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 1rem; flex-wrap: wrap; justify-content: flex-end; }
.footer-nav ul li a { color: var(--white); text-decoration: none; font-weight: 600; font-size: 1rem; transition: color 0.3s ease; }
.footer-nav ul li a:hover, .footer-nav ul li a:focus { color: var(--gold); outline: none; }

/* Animations used on features */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.feature { animation: fadeInUp 0.6s ease-out; animation-fill-mode: both; }
.feature:nth-child(1) { animation-delay: 0.1s; }
.feature:nth-child(2) { animation-delay: 0.2s; }
.feature:nth-child(3) { animation-delay: 0.3s; }

/* Hide footer nav on small screens and center footer content */
@media (max-width: 768px) {
  .footer-nav { display: none; }
  footer { flex-direction: column; align-items: center; text-align: center; gap: 1rem; }
  .footer-left p { text-align: center; }
  .footer-center { align-items: center; }
}

/* Extra small tweaks: center Our Values boxes on small screens */
@media (max-width: 900px) {
  .about-left .features { align-items: center; justify-content: center; }
  .about-left .feature { max-width: 360px; width: 100%; margin: 0 auto; text-align: center; }
  .about-left h1, .about-left h2 { text-align: center; }
}

/* About + FAQ two-column layout */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  /* full-bleed across viewport while keeping inner padding */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 2.5rem 2rem;
  box-sizing: border-box;
  align-items: stretch; /* ensure both columns match height */
   position: relative;
  z-index: 1;
}
.about-left { text-align: left; display: flex; flex-direction: column; }
.about-left h1 { color: var(--gold); margin-top: 0; }
.about-left p { color: var(--black); margin-top: 0; }
.about-right { text-align: left; display: flex; flex-direction: column; }
.about-right .faq-container { display: flex; flex-direction: column; gap: 1rem; }
.about-right h1 { color: var(--gold); margin-top: 0; }
.about-right p { color: var(--white); margin-top: 0; }
.faq-item { background: var(--white); padding: 1rem; border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,0.06); border: 1px solid rgba(0,0,0,0.04); }
.faq-item h3 { margin: 0 0 0.5rem 0; font-size: 1.05rem; }
.faq-item p {color: var(--black);}

/* Make feature cards inside about fluid and avoid hover scaling that breaks heights */
.about-left .features { display: flex; flex-direction: column; gap: 1rem; }
.about-left .features p {color: var(--black)}
.about-left .feature { width: 100%; max-width: none;}
.about-left .feature:hover { transform: none; box-shadow: 0 6px 18px rgba(0,0,0,0.08); }

@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; width: auto; margin-left: 0; margin-right: 0; padding: 2rem 1rem; }
  .about-left, .about-right { text-align: left; }
}

/* New Simplified 3-Box Product Section */
#simple-products {
  padding: 4rem 2rem;
  text-align: center;
}

#simple-products .section-header h2 {
  font-size: 2.6rem;
  color: var(--gold);
  margin-bottom: 3rem;
}

#simple-products .section-header p {
  font-size: 1.5rem;
  color: var(--black);
  margin-bottom: 2.5rem;
}

/* GRID: 3 columns full width */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
  gap: 2rem;
  margin-bottom: 5rem;
}

/* CARD BOXES */
.product-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  height: 350px;
  text-decoration: none;
  border: 2px solid black;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* IMAGES fill perfectly */
.product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Label overlay */
.product-label {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(25, 25, 25, 0.6); /* var(--black) with transparency */
  color: var(--white);
  text-align: center;
  padding: 1rem;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 1px;
  backdrop-filter: blur(3px);
}

/* Hover Effects (matches your theme transitions) */
.product-card:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  z-index: 10;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  .product-card {
    height: 300px;
  }
}

/* Manufacturers grid - 5 OR 6 IN REPEAT LINE*/
.manufacturers-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  max-width: 100%;
  margin: 1.5rem auto;
  align-items: center;
  justify-items: center;
  padding: 0 2rem;
}
.manufacturers-grid .manu-item {
  background: var(--white);
  padding: 1rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  width: 100%;
  max-width: 260px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.06);
}
.manufacturers-grid .manu-item img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 768px) {
  .manufacturers-grid {
    display: flex;             /* Change grid to flex for side-by-side */
    overflow-x: auto;         /* Allow horizontal scrolling */
    scroll-snap-type: x mandatory; /* The magic: forces snapping */
    gap: 20px;
    padding: 20px;
    scrollbar-width: none;    /* Hides scrollbar on Firefox */
  }

  /* Hide scrollbar for Chrome, Safari and Opera */
  .manufacturers-grid::-webkit-scrollbar {
    display: none;
  }

  .manu-item {
    flex: 0 0 80%;            /* Each item takes up 80% of screen width */
    scroll-snap-align: center; /* Snaps the item to the center of the screen */
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;            /* Adjusted height for visibility */
    background: #f9f9f9;      /* Optional: card-like background */
    border-radius: 8px;
  }

  .manu-item img {
    max-width: 70%;
    height: auto;
    object-fit: contain;
  }
}

/* Tighten vertical spacing so sections sit flush */
header, section {
  margin: 0;
}

/* Remove default vertical padding between sections (override .hero and section rules) */
section {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Many sections use the .hero class with large padding — collapse it here */
.hero {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Override inline padding on #home (if present in HTML) */
#home {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Ensure adjacent sections have no gap */
header + section,
section + section {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Keep manufacturers grid horizontal padding but remove extra vertical spacing */
.manufacturers-grid {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Centered Get Quote button styling (restores previous look) */
.home {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0; /* let inline min-height control vertical size */
  position: relative;
  margin-bottom: 2rem;
}

/* Services section styles */
.services-section { padding: 4rem 2rem; background: linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0)); }
.services-section .section-header { text-align: center; margin-bottom: 2rem; margin-top:2rem;}
.services-section .section-header h2 { color: var(--gold); font-size: 2.4rem; margin: 0 0 0.25rem; }
.services-section .section-header p { color: var(--black); margin: 0 0 1rem; font-weight: 1000; font-size: 1.5rem;}
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; width:100%; overflow: visible; margin-bottom: 2rem;}
.service-card { position: relative; height: 500px; border-radius: 12px; cursor: pointer; background: #fff; box-shadow: 0 6px 18px rgba(0,0,0,0.06); transition: transform 0.28s ease, box-shadow 0.28s ease; display: flex; align-items: center; justify-content: center; overflow: visible; }
.service-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 18px 40px rgba(0,0,0,0.12); }
.service-card .thumb { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(0.85); transition: transform 0.4s ease; overflow: hidden; }
.service-card .title { position: relative; z-index: 2; color: var(--black); font-weight: 700; font-size: 1.25rem; padding: 1rem; text-align: center; background: rgba(255,255,255,0.6); backdrop-filter: blur(4px); border-radius: 8px; }

/* Modal / flip display */
.services-modal { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,0.6); z-index: 2500; }
.services-modal.show { display: flex; }
.services-modal .modal-card { width: min(920px, 90vw); height: min(560px, 80vh); perspective: 1400px; }
.services-modal .card-inner { width: 100%; height: 100%; position: relative; transform-style: preserve-3d; transition: transform 0.8s cubic-bezier(.2,.9,.2,1); }
.services-modal .card-inner.flipped { transform: rotateY(180deg); }
.services-modal .card-face { position: absolute; inset: 0; backface-visibility: hidden; border-radius: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.services-modal .card-front { background: #111; color: #fff; }
.services-modal .card-back { transform: rotateY(180deg); color: #fff; position: relative; }
.services-modal .card-back::before { content: ''; position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.28; filter: blur(2px) grayscale(0.1); }
.services-modal .card-back .back-content { position: relative; z-index: 2; padding: 2rem; max-width: 84%; text-align: center; margin: 0 auto;background: rgba(0,0,0,0.6); border-radius: 12px; padding: 2rem 2.5rem; }
.services-modal .modal-close { position: absolute; top: 1rem; right: 1rem; background: rgba(0,0,0,0.4); color: #fff; border: none; padding: 0.5rem 0.75rem; border-radius: 6px; cursor: pointer; z-index: 2600; }

/* Use the injected .bg-placeholder element (from JS) for the faded background
   and disable the CSS ::before pseudo-element which conflicts with it. */
.services-modal .card-back::before { display: none; }
.services-modal .card-back .bg-placeholder {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 1;
  filter: blur(0);
  z-index: 1;
  pointer-events: none;
}
.services-modal .card-back .back-content { position: relative; z-index: 2; }

/* Additional 3D and overflow tweaks to prevent clipping during the flip */
.services-modal .modal-card { overflow: visible; -webkit-transform-style: preserve-3d; transform-style: preserve-3d; }
.services-modal .card-inner { will-change: transform; transform-origin: center center; }
.services-modal .card-face { -webkit-backface-visibility: hidden; backface-visibility: hidden; width:100%; height:100%; }
.services-modal .card-back .bg-placeholder { transform: translateZ(-1px); }

/* Responsive: stack to 2 then 1 column */
@media (max-width: 900px) { .services-grid { grid-template-columns: repeat(2, 1fr); } .service-card { height: 200px; } }
@media (max-width: 560px) { .services-grid { grid-template-columns: 1fr; } .service-card { height: 180px; } .services-modal .modal-card { width: 96vw; height: 70vh; } }

/* Company section for aboutother.html */
.company-section { padding: 3rem 1rem; background: #fff; }
.company-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: stretch; }
.company-text { display: flex; flex-direction: column; justify-content: center; gap: 1rem; padding: 1rem 1rem; }
.company-text h1 { font-size: 2.5rem; color: var(--gold); margin: 0; }
.company-text h2 { font-size: 1.5rem; color: var(--black); margin: 0; font-weight: 1000; }
.company-text p { color: var(--black); max-width: 720px; }
.company-actions { margin-top: .5rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.9rem 1.25rem; border-radius: 10px; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn-primary { background: var(--gold); color: var(--white); border: 2px solid rgba(0,0,0,0.6); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.btn-primary:hover { background: #b9952c; color: #000; }
.company-image { overflow: hidden; }
.company-image img { width: 100%; height: 100%; object-fit: contain; display: block; min-height: calc(100vh - 240px); }

@media (max-width: 900px) {
  .company-inner {
    display: flex;
    flex-direction: column; /* Stack elements vertically */
    align-items: center;    /* Center everything horizontally */
  }

  /* 1. Keep the heading and paragraph at the top */
  .company-text {
    display: flex;
    flex-direction: column;
    padding: 1rem;
    order: 1; 
  }

  /* 2. Move the image container to the second position */
  .company-image {
    order: 2;
    width: 100%;
    margin-bottom: 1.5rem; /* Space between image and buttons */
  }

  .company-image img {
    width: 100%;
    height: auto;
    min-height: 300px;
    object-fit: cover;
    border-radius: 8px;
  }

  /* 3. Move the buttons to the very bottom */
  .company-actions {
    order: 3;
    width: 100%;
    display: flex;
    flex-direction: column; /* Stack buttons on top of each other for mobile */
    gap: 10px;
  }
}


.faq-section {
  max-width: 1100px;
  margin: 4rem auto;
  padding: 0 1.5rem;
}

.faq-section h1{
  color: var(--gold);
  text-align: center;
}

/* Each FAQ row */
.faq-item {
  border-bottom: 1px solid #ccc;
}

/* Question bar */
.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
  padding: 1.25rem 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.25s ease;

  color: #000000; /* Or whatever your desktop text color is */
  -webkit-tap-highlight-color: transparent; /* Removes the gray/blue flash when tapping on mobile */
}

/* Hover state */
.faq-question:hover {
  background: var(--gold);
  color: var(--black);
}

/* Active/open state */
.faq-item.active .faq-question {
  background: var(--gold);
  color: var(--black);
}


/* Plus / minus icon */
.faq-question .icon {
  font-size: 1.5rem;
  color: var(--black);
  transition: transform 0.2s ease;
}

/* Answer area */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: #f5f5f5;
}

/* Answer text */
.faq-answer p {
  padding: 1rem;
  margin: 0;
  line-height: 1.6;
  color: #000;
}

/* Open state */
.faq-item.active .faq-answer {
  max-height: 500px; /* large enough for content */
}

.faq-item.active .icon {
  transform: rotate(45deg); /* + turns into × / – style */
}

