/* Fullscreen hero */
.hero{
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000; /* fallback */
  font-family: 'Montserrat', sans-serif;
}

/* Carousel behind text */
.hero-carousel{ position: absolute; inset: 0; z-index: 0; }
.fade-slide{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: 0; transition: opacity 1.2s ease-in-out;
}
.fade-slide.active{ opacity: 1; }

/* Contrast scrim for readability */
.hero::after{
  content:"";
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.25));
}

/* Copy overlay */
.hero-copy{
  position: relative; z-index: 2; /* above scrim and images */
  max-width: 700px;
  color: #fff;
  padding: 0 24px;
  display: grid;
  gap: 14px;
  /* align left-ish; center vertically */
  top: 50%;
  transform: translateY(-50%);
  margin-left: clamp(16px, 6vw, 80px);
  text-shadow: 0 2px 6px rgba(0,0,0,.6);
}
.hero-copy .eyebrow{ font-size: 18px; opacity:.9; margin:0; }
.hero-copy h1{
  margin:0;
  font-weight: 800;
  letter-spacing: 1.5px;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.02;
}
.hero-copy .sub{ margin:0 0 8px; font-size: clamp(16px, 2.6vw, 22px); opacity:.95; }

/* Glowing CTA */
.animated-button{
  text-decoration:none;
  display:inline-block;
  background: linear-gradient(135deg, #e60000, #8b0000);
  color:#fff; padding: 14px 26px;
  border-radius: 10px; font-weight: 800; letter-spacing:.8px;
  box-shadow: 0 10px 30px rgba(230,0,0,.35);
  transition: transform .15s ease, filter .2s ease, box-shadow .2s ease;
  animation: glow 2.4s ease-in-out infinite;
  width:auto;
  justify-self: start;
}
.animated-button:hover{ transform: translateY(-2px); filter: brightness(1.05); }
@keyframes glow{
  0%,100%{ box-shadow: 0 10px 30px rgba(230,0,0,.35); }
  50%{   box-shadow: 0 14px 38px rgba(230,0,0,.55); }
}

/* Social vertical stack */
.hero-social{
  position: absolute;
  right: clamp(12px, 3vw, 28px);
  top: 50%; transform: translateY(-50%);
  z-index: 2; display: grid; gap: 10px;
}
.hero-social .soc{
  width: 100px; height: 150px;
  border-radius: 8px;
  display: grid; place-items: center;
  /* box-shadow: 0 6px 16px rgba(0,0,0,.18); */
  transition: transform .15s ease, filter .2s ease;
}
.hero-social .soc:hover{ transform: translateY(-2px); filter: brightness(.95); }
.hero-social img{ width: 80px; height: 80px; display:block; }

/* Small screens: let text breathe and center */
@media (max-width: 560px){
  .hero-copy{
    margin-left: 16px;
    top: auto; transform: none;
    padding-top: 84px; padding-bottom: 40px;
  }
}

/* ABOUT */
.about-dd .container{
  padding-left: clamp(28px, 7vw, 100px);
  padding-right: clamp(20px, 5vw, 60px);
  font-size: 18px;
  line-height: 1.65;
}

.section-title{
  text-align:center;
  font-size: clamp(24px, 4vw, 34px);
  color:#e60000;
  margin-bottom: 40px;
  font-weight: 800;
}

/* Side-by-side layout */
.about-row{
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 1fr;
  gap: clamp(18px, 4vw, 40px);
  align-items: center;
  margin-bottom: 50px;
  padding: 0; /* container supplies page margins */
}

/* Swap columns for the "reverse" row
.about-row.reverse figure{ order: 2; }
.about-row.reverse .about-text{ order: 1; } */

.about-row figure{ margin:0; }
.about-row img{
  width:100%;
  height:auto;
  display:block;
  border-radius: var(--radius, 12px);
  box-shadow: var(--shadow, 0 8px 24px rgba(0,0,0,.12));
}
.btn{
  text-decoration:none;
  display:inline-block;     /* so it hugs the text */
  padding: 12px 22px;
  border-radius: var(--radius,10px);
  background: var(--accent, #e60000);
  color:#fff;
  font-weight:700;
}
.btn:hover{ filter: brightness(.95); }
/* Readable text for older audiences */
.about-text{
  color:#111;
  max-width: 58ch;  /* comfortable line length */
}
.about-text h3{
  font-size: clamp(20px, 2.6vw, 26px);
  margin: 0 0 10px;
}
.about-text p{
  margin: 0 0 14px;
  color:#333;
}
.about-text strong{
  font-weight: 800;
  color:#000;
}

/* Subtle logos under the copy */
.about-text .brand-mark{
  margin-top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  opacity: .18;
  filter: grayscale(100%);
}
.about-text .brand-mark img{
  height: 80px;
  width: auto;
}

/* Stack on small screens */
@media (max-width: 860px){
  .about-row{
    grid-template-columns: 1fr;
  }
  .about-row.reverse figure,
  .about-row.reverse .about-text{
    order: initial;
  }
}
/* Mini Header for HDC */
.hdc-mini {
  display: flex;
  gap: 20px;
  align-items: center;
  background: #e5e5e5;
  padding: 20px;
  border-radius: var(--radius, 12px);
  box-shadow: var(--shadow, 0 6px 20px rgba(0,0,0,.15));
}

.hdc-mini img.hdc-logo {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
}

.hdc-mini h4 {
  margin: 0 0 8px;
  font-size: 20px;
}

.hdc-mini p {
  margin: 0 0 12px;
}

.hdc-mini .btn {
  text-decoration: none;
  background: #e60000;
  color: white;
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
}

@media (min-width: 860px) {
  .about-row {
    grid-template-columns: 1fr 1fr;
  }
}

/* ACCESSIBILITY helper */
.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}

.section-title{ text-align:center; font-size:clamp(22px,3.8vw,32px); color:#e60000; margin:0 0 24px; font-weight:800; }

.testimonials {
  background-color: #f4f4f4; /* Background for the section */
  padding: 40px 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns */
  gap: 10px;
}

.testimonial-card {
  background: linear-gradient(135deg, #ff0000d9, #870000); /* Red gradient */
  color: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 0 10px rgba(255, 0, 0, 0.7); /* Glowing box shadow */
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  transition: box-shadow 0.5s ease; /* Smooth transition */
}
.testimonial-card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1), 0 0 15px rgba(255, 0, 0, 1); /* Stronger glow on hover */
  text-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000, 0 0 30px #ff0000; /* Glowing text effect */
}
.testimonial-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 5px;
}

.testimonial-card blockquote {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 5px;
  font-family: 'Montserrat', sans-serif;
}

.testimonial-card figcaption {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  text-align: center;
  margin-bottom: 30px;
}


/* Contact Form Specific Styling */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  
}
/* Center the contact form as a single white box */
.container.contact-grid.centered {
  /* expand container so centering isn't constrained */
  max-width: 100%;
  min-height: 100dvh;           /* full viewport height (mobile-safe) */
  display: grid;
  place-items: center;          /* centers the card both ways */
  grid-template-columns: 1fr;   /* force single column */
  padding: 40px 16px;           /* breathing room around the box */
  background: #f6f6f6;          /* subtle contrast behind the white box */
  
}
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* Card for Contact Form */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  margin: 0; /* Ensure no margin is added to the card */
  border-radius: 15px;
}

/* Form Header */
.lead {
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.4;
  margin: 0 0 18px;
  color: var(--black);
}

/* Fields */
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 16px 0; /* Maintain margin specifically for form fields */
}

.field label {
  font-weight: 600;
  font-size: 14px;
  color: #444;
}

.req {
  color: var(--red);
}

.input,
.textarea {
  width: 100%;
  font: inherit;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px 12px;
  outline: none;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.textarea {
  min-height: 140px;
  resize: vertical;
}

.input:focus,
.textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(230, 0, 0, 0.12);
}

/* Submit Button */
.btn {
  appearance: none;
  border: none;
  border-radius: 10px;
  padding: 14px 22px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  background: var(--red);
  color: #fff;
  transition: transform 0.05s ease, filter 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 10px 18px rgba(230, 0, 0, 0.18);
}

.btn:hover {
  filter: brightness(1.05);
}

.btn:active {
  transform: translateY(1px) scale(0.997);
}

/* Small Print */
.smallprint {
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted);
}

.smallprint a {
  color: inherit;
  text-decoration: underline;
}

.contact-grid.centered .card {
  max-width: 560px;  /* adjust to taste: 480–640px works well */
  width: 100%;
  margin: 0 auto;
  /* (your .card styling from above stays in effect) */
}
/* Contact Form – Larger Fonts */
.contact-grid .section-title {
  font-size: clamp(1.8rem, 2.8vw, 2.2rem); /* bigger "Contact Us" heading */
}

.contact-grid .lead {
  font-size: clamp(1rem, 1.6vw, 1.2rem);   /* slightly bigger lead text */
}

.contact-grid .field label {
  font-size: 1rem; /* was 14px */
}

.contact-grid .input,
.contact-grid .textarea {
  font-size: 1rem; /* was smaller, now matches subscribe form size */
}

.contact-grid .btn {
  font-size: 1rem;
  padding: 16px 24px; /* taller button to match bigger text */
}
/* Optional: ensure mobile feels snug */
@media (max-width: 480px) {
  .contact-grid.centered { padding: 28px 14px; }
  .contact-grid.centered .card { border-radius: 12px; }
}

/* Responsive Form (Mobile) */
@media (max-width: 600px) {
  .input,
  .textarea {
    padding: 12px;
  }
}

/* Subscribe */
.subscribe{ padding: clamp(20px,5vw,60px) 0; }

.subscribe-card h3 {
  font-size: clamp(1.6rem, 2.4vw, 2rem); /* bigger heading */
  margin-bottom: 0.4em;
}

.subscribe-card p {
  font-size: clamp(1rem, 1.4vw, 1.2rem); /* bigger body text */
  opacity: .92;
}

.subscribe-form input {
  font-size: 1rem; /* bigger input text */
}

.subscribe-form .btn {
  font-size: 1rem; /* bigger button text */
}

.subscribe-card {
  position: relative;
  max-width: 800px;            /* keeps it from being fullscreen */
  margin: 0 auto;              /* center horizontally */
  padding: clamp(18px, 4vw, 28px);
  border-radius: var(--radius, 12px);
  box-shadow: var(--shadow, 0 10px 30px rgba(0, 0, 0, .18));
  text-align: center;
  color: #fff;

  /* background image with overlay */
  background: 
    linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), /* overlay */
    url('public/1686262548-full-2.jpg'); /* change to your image path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.subscribe-card p{ opacity:.92; }
.subscribe-form{
  margin-top:14px;
  display:grid; grid-template-columns: 1fr auto; gap:10px;
  max-width:560px; margin-inline:auto;
}
.subscribe-form input{
  border:none; border-radius:10px; padding:12px 14px; outline:none;
}
.subscribe-form .btn{ border-radius:10px; }

/* =========================
   MOBILE / RESPONSIVE OVERRIDES
   ========================= */

/* General container padding on small screens */
@media (max-width: 1200px){
  .about-dd .container { padding-left: 32px; padding-right: 24px; }
}

/* Header: keep everything on one line until it needs to wrap, then stack nicely */
@media (max-width: 980px){
  .site-header .header-inner{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap; /* allows logo/title to drop below if needed */
    padding: 10px 12px;
  }
  .hdc-home-link span{ display:none; }             /* hide long text label */
  .hdc-home-link .hdc-home-icon{ width: 36px; }    /* icon-only on tablet */
  .hdc-logo{ height: 84px; }                        /* smaller logo */
  .header-text h1{ font-size: clamp(20px, 4vw, 28px); }
  .header-text p{ font-size: 12px; }
}

/* Hero: make it shorter and center content on phones */
@media (max-width: 820px){
  .hero{ height: 85vh; }
  .hero-copy{
    margin-left: 16px;
    max-width: 92%;
  }
  .animated-button{ font-size: 14px; padding: 12px 18px; }
  .hero-social { right: 10px; }
  .hero-social .soc{ width: 72px; height: 100px; }
  .hero-social img{ width: 56px; height: 56px; }
}

/* Very small phones: avoid the Safari address-bar jumpiness */
@media (max-width: 560px){
  .hero{ height: 100dvh; }              /* use dynamic vh on mobile */
  .hero-copy{
    top: auto; transform: none;
    padding-top: 84px; padding-bottom: 40px;
    text-align: left;
  }
  .hero-copy .eyebrow{ font-size: 16px; }
  .hero-copy h1{ font-size: clamp(28px, 9vw, 40px); }
  .hero-copy .sub{ font-size: 16px; }
  .animated-button{
    width: 100%;
    text-align: center;
    justify-self: stretch;
  }
  .hero-social{ display: none; }        /* hide vertical social tower on very small screens */
}

/* About rows: stack earlier; keep comfy typography */
@media (max-width: 900px){
  .about-row{ grid-template-columns: 1fr; gap: 18px; }
  .about-text{ max-width: 60ch; }
  .about-text h3{ font-size: 20px; }
  .about-text p{ font-size: 16px; }
}

/* HDC mini card: stack icon above text on phones */
@media (max-width: 640px){
  .hdc-mini{
    flex-direction: column;
    text-align: center;
  }
  .hdc-mini img.hdc-logo{ width: 84px; height: 84px; }
}

/* Testimonials: 3→2→1 columns */
@media (max-width: 1100px){
  .testimonial-grid{ grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .testimonial-card blockquote{ font-size: 1.25rem; }
}
@media (max-width: 680px){
  .testimonial-grid{ grid-template-columns: 1fr; gap: 12px; }
  .testimonial-card{ padding: 16px; }
  .testimonial-card blockquote{ font-size: 1.1rem; }
}

/* Contact section: ensure clean single-column and comfy tap targets */
@media (max-width: 900px){
  .container.contact-grid.centered{
    padding: 28px 14px;
    min-height: auto; /* avoid giant empty space on small screens */
  }
  .contact-grid{ grid-template-columns: 1fr; gap: 22px; }
  .contact-grid .section-title{ font-size: 1.6rem; }
  .field{ margin: 12px 0; }
  .input, .textarea{ padding: 12px; font-size: 16px; } /* 16px avoids iOS zoom */
  .btn{ padding: 14px 18px; font-size: 15px; }
}

/* Subscribe card: keep it centered, reduce text sizes slightly */
@media (max-width: 720px){
  .subscribe-card{ margin: 0 12px; }
  .subscribe-form{ grid-template-columns: 1fr; }
  .subscribe-form .btn{ width: 100%; }
}

/* Footer: wrap the horizontal menu and center content */
@media (max-width: 760px){
  .site-footer .footer-content{ text-align: center; }
  .site-footer .footer-menu{
    display: flex; flex-wrap: wrap;
    gap: 10px 16px; justify-content: center;
  }
  .site-footer .socials{ margin-top: 8px; }
  .site-footer .socials img{ max-width: 26px; }
}

/* Off-canvas: ensure backdrop and panel play nice on small screens */
@media (max-width: 560px){
  .offcanvas{ width: 88vw; } /* slightly narrower drawer */
}
.trust-popup {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: linear-gradient(to right, #8b0000, #e60000);
  color: #ffffff;
  padding: 20px 26px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  box-shadow: 0 0 20px rgba(230, 0, 0, 0.6); /* outer glow */
  z-index: 1000;
  animation: fadeInUp 1.2s ease;
  max-width: 320px;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
}

.trust-popup p {
  margin: 6px 0;
  gap: 100px;
}

.popup-main {
  font-size: 1.2rem;
  font-weight: 700;
}

.popup-lic {
  font-size: 1.3rem;
  font-weight: 800;
  margin-top: 8px;
}

.close-popup {
  position: absolute;
  top: 6px;
  right: 10px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: bold;
  cursor: pointer;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
