/* =========================
   TABLETS (≤ 1024px)
========================= */
@media (max-width: 1024px) {
  .main-header {
    padding: 12px 20px;
  }

  nav ul {
    gap: 15px;
  }

  .hero-overlay h1 {
    font-size: 36px;
  }

  .hero-overlay p {
    font-size: 17px;
  }

  .services-preview,
  .about-preview {
    padding: 60px 25px;
  }

  /* Testimonials: 2 cards */
  .testimonial-card {
    flex: 0 0 50%;
  }
}

/* =========================
   MOBILE & SMALL TABLETS (≤ 768px)
========================= */
@media (max-width: 768px) {
  /* show hamburger */
  .menu-toggle {
    display: block;
    z-index: 1300;
  }

  .hero-overlay h1 {
    font-size: 36px;
  }

  .hero-overlay p {
    font-size: 17px;
  }
  /* off-canvas menu */
  nav {
    position: fixed;
    top: 0;
    right: -260px; /* hidden off-screen */
    width: 260px;
    height: 100vh;
    background: #7a1e1e;
    transition: right 0.4s ease;
    padding-top: 80px; /* space below header */
    box-shadow: -8px 0 30px rgba(0, 0, 0, 0.35);
  }

  .hero {
    height: 65vh; /* was ~75–100vh */
    min-height: 480px;
  }
  
  .cta {
    padding: 10px 26px;     /* reduced padding */
    font-size: 14px;        /* smaller text */
    border-width: 1.5px;
    margin-top: 18px;
  }

  nav.active {
    right: 0; /* slide in */
  }

  nav ul {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding: 0 24px;
    list-style: none;
  }

  nav ul li a {
    color: #fff;
    font-size: 16px;
    text-decoration: none;
  }
}

/* =========================
   SMALL PHONES (≤ 480px)
========================= */
@media (max-width: 480px) {
  .hero-overlay h1 {
    font-size: 24px;
  }

  .hero-overlay p {
    font-size: 15px;
  }

  .btn {
    width: 90%;
    margin: 8px auto;
    display: block;
  }
}


/* =========================
   TRUST NEWS TICKER (MOBILE)
========================= */
@media (max-width: 768px) {
  .trust {
    display: block !important;
    overflow: hidden !important;
    padding: 18px 0;
    text-align: center;
  }

  .trust-track {
    display: flex;
    width: max-content;
    gap: 36px;
    animation: trustScroll 25s linear infinite;
  }

  .trust-box {
    all: unset;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    white-space: nowrap;
    padding-right: 28px;
    position: relative;
  }

  .trust-box::after {
    content: "•";
    position: absolute;
    right: 10px;
    color: #d4af37;
    font-size: 18px;
  }

  /* Pause animation when user touches */
  .trust:hover .trust-track {
    animation-play-state: paused;
  }
}

@media (max-width: 768px) {

  .hero-overlay {
    padding-top: 70px;     /* space below header */
  }

}

/* =========================
   TRUST NEWS TICKER — MOBILE ONLY (SAFE)
========================= */
@media (max-width: 768px) {

  section.trust {
    display: block;
    overflow: hidden;
    background: #7a1e1e;
    padding: 18px 0;
  }

  section.trust .trust-track {
    display: flex;
    gap: 36px;
    width: max-content;
    animation: trustScroll 28s linear infinite;
  }

  section.trust .trust-box {
    all: unset;                  /* reset desktop styles */
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #ffffff;
    white-space: nowrap;
    position: relative;
    padding-right: 28px;
  }

  section.trust .trust-box::after {
    content: "•";
    position: absolute;
    right: 10px;
    color: #d4af37;
    font-size: 18px;
  }

  section.trust:hover .trust-track {
    animation-play-state: paused;
  }
}

/* smooth, no-delay animation */
@keyframes trustScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  section.trust {
    overflow: hidden !important;
  }
}
@media (max-width: 768px) {
  .hero {
    height: 65vh;
    min-height: 460px;
  }

  .hero-overlay {
    padding-top: 90px;
  }

  .hero-overlay h1 {
    font-size: 26px;
    line-height: 1.3;
  }

  .hero-overlay p {
    font-size: 15px;
  }
}
@media (max-width: 768px) {
  .service-card-modern img {
    height: 200px;
  }

  .service-content h3 {
    font-size: 18px;
  }

  .service-content p {
    font-size: 14px;
  }
}

@media (max-width: 768px) {

  .modern-services {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
  }

  .modern-services::-webkit-scrollbar {
    display: none;
  }

  .service-card-modern {
    flex: 0 0 48%;              /* TWO cards visible */
    scroll-snap-align: start;
    border-radius: 18px;
  }

  .service-card-modern img {
    height: 160px;              /* SHORTER height */
  }

  .service-content {
    padding: 16px;
  }

  .service-content h3 {
    font-size: 16px;
  }

  .service-content p {
    font-size: 13px;
    line-height: 1.5;
  }

  .service-btn {
    padding: 8px 16px;
    font-size: 13px;
  }
}
@media (max-width: 768px) {

  .about-container {
    display: flex;
    flex-direction: column;
    gap: 24px; /* clean spacing */
  }

  /* Force correct order */
  .about-content {
    order: 2;
    text-align: center;
  }

  .about-video-frame {
    order: 1;
  }

  .about-content h2 {
    font-size: 26px;
    margin-bottom: 14px;
  }

  .about-content p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 18px;
  }

  .about-btn {
    margin: 0 auto;
    padding: 10px 24px;
    font-size: 14px;
  }

  /* Reduce video dominance */
  .about-video-frame {
    max-width: 100%;
  }

  .video-wrapper {
    border-radius: 18px;
  }
}
        
/* CONTACT HEADER */
.contact-hero {
  text-align: center;
  padding: 60px 20px 20px;
}

.contact-subtitle {
  font-size: 1.05rem;
  color: #444;
  margin-bottom: 30px;
}

/* ADDRESS CARD */
.contact-address-box {
  max-width: 720px;
  margin: 0 auto;
  background: linear-gradient(135deg, #fff7ec, #fff);
  border-radius: 18px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-left: 6px solid #8b1d1d;
}

.address-icon {
  font-size: 2.2rem;
}

.address-text strong {
  font-size: 1.1rem;
  color: #8b1d1d;
  display: block;
  margin-bottom: 4px;
}

.address-text p {
  margin: 0;
  line-height: 1.6;
  color: #333;
}

/* MOBILE */
@media (max-width: 768px) {
  .contact-address-box {
    flex-direction: column;
    text-align: center;
  }
}
