/* ========================================
   The Desert Geeks - Global Stylesheet
   ======================================== */

/* ---------- Root Variables ---------- */
:root {
  --color-primary: #e87c2a;        /* Desert orange accent */
  --color-secondary: #0078d7;      /* Azure accent for buttons/links */
  --color-dark: #1e1e1e;           /* Charcoal text */
  --color-light: #F5E9C8;          /* Off-white background */
  --color-gray: #777;
  --color-white: #ffffff;
  --color-card: #f0f0f0;           /* Unified card background */
  --max-width: 1200px;
  --font-primary: 'Comic Neue', sans-serif;
}

/* ---------- Global Reset ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  color: var(--color-dark);
  background-color: var(--color-white); /* One background for all pages */
  line-height: 1.5;
}

/* Reusable container */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Force header-bar container to use the same width as other containers */
.hero-header > .container.header-bar {
  max-width: var(--max-width) !important;
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Generic headings & text */
h1, h2, h3 {
  font-weight: 700;
  color: var(--color-dark);
}

h2 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 0.75rem;
  color: var(--color-dark);
}

/* Links */
/* ---------- Links (Updated: NO underline) ---------- */
a {
  color: var(--color-secondary);
  text-decoration: none !important;
}

a:hover {
  text-decoration: none !important;
  opacity: 0.8;       /* keep a hover cue without underline */
}

/* ---------- Buttons ---------- */

.btn-primary,
.btn-secondary {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease, color 0.12s ease;
  
  /* NEW BASE STYLE */
  background-color: var(--color-primary);
  color: var(--color-light);
  border: 2px solid var(--color-primary);
}

/* HOVER (shared for both) */
.btn-primary:hover,
.btn-secondary:hover {
  background-color: var(--color-light);
  color: var(--color-primary);
  text-shadow: 0 0 1px rgba(0,0,0,0.25);
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

/* Button variant for use on primary backgrounds (e.g., CTA section) */
.btn-contrast {
  background-color: var(--color-light);
  color: var(--color-primary);
  border-color: var(--color-light);
}

/* Keep it light on hover too; just animate subtly */
.btn-contrast:hover {
  background-color: var(--color-light);   /* do NOT switch back to primary */
  color: var(--color-primary);
  border-color: var(--color-light);
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
}

/* ------------------------------------------------------------
   Button utilities
   ------------------------------------------------------------ */

/* Center a button under its text/content */
.btn-center {
  display: block;          /* needed for margin auto centering */
  width: fit-content;      /* shrink to content width */
  margin: 1rem auto 0;     /* center horizontally + add top gap */
}


/* ========================================
   HERO HEADER + ROGGIN BADGE + NAV (FINAL CLEAN VERSION)
   ======================================== */

/* Hero header background + structure */
.hero-header {
  position: relative;
  color: var(--color-white);
  background-image: url('../images/banner-final-large.webp');
  background-size: cover;
  background-position: center;
  min-height: 450px;
  display: flex;
  flex-direction: column;
}

/* Ensure header container matches site-wide container width */
.hero-header > .container.header-bar {
  max-width: var(--max-width) !important;
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header bar layout (desktop) */
.header-bar {
  padding-top: 0.75rem;
  padding-bottom: 0;
  display: flex;
  justify-content: flex-end;      /* nav right aligned */
  align-items: flex-start;        /* top aligned */
  position: relative;
  z-index: 5;
}

/* Roggin badge – absolutely centered */
.rogger-badge {
  position: absolute;
  top: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: #F5E9C8;
  z-index: 6;
}

.rogger-badge span {
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.rogger-badge img {
  display: block;
  margin: 0.25rem auto 0;
  height: 42px;
  width: auto;
}

/* NAVIGATION */
.header-bar .nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.header-bar .nav a {
  color: #F5E9C8;
  font-size: larger;
  text-decoration: none;
  font-weight: 700;
  transition: opacity 0.3s ease;
}

.header-bar .nav a:hover {
  opacity: 0.8;
}

.header-bar .nav a.active {
  opacity: 1;
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 2px;
}

/* Hero text anchored toward the bottom */
.hero-overlay {
  flex: 1;
  display: flex;
  align-items: flex-end;
}

.hero-centered-text {
  width: 100%;
  text-align: center;
  padding-bottom: 3rem;
}

/* Hero title + tagline */
.hero-title {
  font-size: 4rem;
  letter-spacing: 0.12em;
  margin-bottom: 0.75rem;
  color: var(--color-primary);
}

.hero-tagline {
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: #F5E9C8;
}

.hero-title,
.hero-tagline {
  font-family: 'Cinzel', serif;
  text-shadow:
    0 0 4px rgba(0,0,0,0.75),
    0 0 6px rgba(0,0,0,0.7),
    0 2px 4px rgba(0,0,0,0.65);
}


/* ========================================
   MOBILE HEADER BEHAVIOR
   ======================================== */

@media (max-width: 768px) {

  /* Badge becomes normal flow so nav stacks under it */
  .rogger-badge {
    position: static;
    transform: none;
    margin-top: 0.5rem;
    text-align: center;
  }

  /* Stack badge + nav vertically */
  .header-bar {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.75rem;
  }

  .header-bar .nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.25rem;
  }

  /* Smaller hero text */
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-tagline {
    font-size: 1rem;
  }

  .hero-centered-text {
    padding-bottom: 2.5rem;
  }
}

/* ========================================
   SECTION BASICS
   ======================================== */

section {
  padding: 3rem 0;
}

section h2 {
  text-align: center;
  color: var(--color-primary)
}

section p {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-intro {
  max-width: 760px;
  margin: 0.25rem auto 0;
  text-align: center;
  font-size: 1.02rem;
  color: #4e5963;
  line-height: 1.65;
}

/* ========================================
   CARD SYSTEM
   ======================================== */

/* Base text card (sidebars, info panels, etc.) */
.card,
.text-card,
.service-summary-card,
.about-sidebar-card,
.about-card,
.about-box,
.info-card,
.sidebar-box,
.about-highlight {
  background-color: var(--color-card);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  margin-bottom: 1.25rem;
}

/* Cards with images (service cards, etc., including About sidebar photo) */
.card-with-image,
.service-card,
.feature-card,
.about-photo-card {
  background-color: var(--color-card);
  border-radius: 8px;
  padding: 1.25rem 1.25rem 1.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 360px;
  gap: 0.75rem;
  text-align: left;
}

.card-with-image img,
.service-card img,
.feature-card img,
.about-photo-card img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.card-with-image h3,
.service-card h3,
.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.card-with-image p,
.service-card p,
.feature-card p {
  font-size: 0.95rem;
  color: var(--color-gray);
}

/* Make the paragraph act as the spacer in service cards */
.service-card p {
  margin-bottom: auto;  /* pushes anything after it (the button) to the bottom */
}

/* Tidy up the button spacing at the bottom */
.service-card a.btn-primary.btn-center {
  margin-top: 0.75rem;   /* space between text and button */
  margin-bottom: 0.75rem;/* gap from bottom of card */
}


/* ========================================
   CARD HOVER ANIMATION (GLOBAL)
   ======================================== */

.card,
.text-card,
.service-summary-card,
.about-sidebar-card,
.about-card,
.about-box,
.info-card,
.sidebar-box,
.about-highlight,
.card-with-image,
.service-card,
.feature-card,
.about-photo-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover,
.text-card:hover,
.service-summary-card:hover,
.about-sidebar-card:hover,
.about-card:hover,
.about-box:hover,
.info-card:hover,
.sidebar-box:hover,
.about-highlight:hover,
.card-with-image:hover,
.service-card:hover,
.feature-card:hover,
.about-photo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}


/* ========================================
   HOME / SERVICES GRID
   ======================================== */

.services-overview {
  text-align: center;
  background-color: var(--color-light);
}

.services-overview h2 + h2 {
  margin-top: 0.25rem;
}

/* Default shared services grid for services pages */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

/* Homepage-only teaser grid */
.homepage-services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem;
  margin-top: 1.75rem;
  align-items: stretch;
}

.services-list {
  list-style: none;
  padding-left: 250px;
  margin-top: 1rem;
}

/* Slightly more polished look for homepage teaser cards */
.services-overview .service-card {
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 16px;
  padding: 1.1rem 1.1rem 1.4rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.services-overview .service-card img {
  border-radius: 12px;
}

.services-overview .service-card h3 {
  font-size: 1.35rem;
  margin-top: 0.15rem;
  margin-bottom: 0.35rem;
  color: var(--color-dark);
}

.services-overview .service-card p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #5a6672;
}

/* Trust strip beneath teaser cards */
.trust-strip {
  margin: 1.75rem auto 0;
  width: 100%;
  max-width: 100%;
  padding: 0.95rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(232,124,42,0.10), rgba(0,120,215,0.08));
  border: 1px solid rgba(232,124,42,0.18);
  text-align: center;
}

.trust-strip p {
  margin: 0;
  max-width: none;
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #37424d;
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .homepage-services-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    border-radius: 18px;
    padding: 1rem 1rem;
  }
}

@media (max-width: 600px) {
  .services-grid,
  .homepage-services-grid {
    grid-template-columns: 1fr;
  }

  .section-intro {
    font-size: 0.98rem;
  }

  .services-overview .service-card h3 {
    font-size: 1.22rem;
  }

  .trust-strip p {
    font-size: 0.92rem;
    line-height: 1.5;
  }
}

/* ========================================
   ABOUT PREVIEW
   ======================================== */

.about-preview {
  background-color: var(--color-white);
}

.about-flex {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  margin-top: 1.5rem;
}

.about-text p {
  margin-bottom: 1rem;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

@media (max-width: 900px) {
  .about-flex {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1; /* image on top on smaller screens if desired */
  }
}

/* ========================================
   COMMUNITY NEEDS SURVEY
   ======================================== */

.community-preview {
  background-color: var(--color-light);
}

.community-flex {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  margin-top: 1.5rem;
}

.community-text p {
  margin-bottom: 1rem;
}

.community-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

@media (max-width: 900px) {
  .about-flex {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1; /* image on top on smaller screens if desired */
  }

  .community-flex {
    grid-template-columns: 1fr;
  }

  .community-image {
    order: -1; /* image on top on smaller screens if desired */
  }
}

/* ========================================
   TESTIMONIALS / GOOGLE REVIEWS WIDGET
   ======================================== */

.testimonials {
  background-color: var(--color-white);
}

.testimonials h2 {
  margin-bottom: 1.5rem;
}

.testimonials-widget-wrapper {
  margin-top: 1rem;
}

/* Center widget and prevent it from stretching too wide */
.testimonials-widget-wrapper .elfsight-app-f90c9738-1795-4947-9523-d80147deac10 {
  max-width: 100%;
}

/* ========================================
   CALL TO ACTION
   ======================================== */

.cta {
  text-align: center;
  background-color: var(--color-primary);
  color: var(--color-white);
}

.cta h2 {
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.cta p {
  color: var(--color-white);
  margin-bottom: 1.25rem;
}

/* ========================================
   ABOUT PAGE LAYOUT
   ======================================== */

.about-section {
  background-color: var(--color-light);
  padding: 3rem 0;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: flex-start;
  margin-top: 1.5rem;
}

.about-main h2 {
  margin-bottom: 0.75rem;
}

.about-main h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.about-main ul {
  padding-left: 1.25rem;
  margin-left: 0 !important;
  margin-bottom: 1rem;
  list-style-position: outside;
}

/* Pill-style list for “Why People Choose…” */

.about-pill-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.about-pill-list li {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  line-height: 1.2;
  white-space: nowrap;
}
/* About page pill list */
.about-pill-list li {
  display: inline-block;
  padding: 8px 16px;
  margin: 6px;
  border-radius: 999px;
  background: var(--color-primary);
  color: white;
  font-weight: 600;

  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

/* Hover effect */
.about-pill-list li:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 14px rgba(0,0,0,0.18);
}

/* Sidebar spacing */
.about-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

/* Photo caption in sidebar */
.about-photo-caption {
  font-size: 0.9rem;
  color: var(--color-gray);
  margin: 0.25rem 0 0;
}

/* About page CTA paragraph at bottom */
.about-cta {
  margin-top: 1.5rem;
  font-weight: 700;
}

.about-hwh-list {
  list-style: none;
  padding-left: 50px;
  margin-top: 1rem;
}
/* ========================================
   About Page Lower Grid
   ======================================== */

.about-grid-section {
  padding: 3rem;
  background-color: var(--color-white);
}

.about-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.about-info-card {
  background: var(--color-card);
  border-radius: 18px;
  padding: 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.about-info-card h2 {
  margin-top: 0;
  text-align: center;
}

.about-info-card p:last-child,
.about-info-card ul:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .about-info-grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive: stack main + sidebar on smaller screens */
@media (max-width: 900px) {
  .about-layout {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   TECH TIPS PAGE
   ======================================== */
.techtip-source {
  font-size:0.85rem; 
  opacity:0.75;
}

/* ========================================
   CONTACT PAGE
   ======================================== */

.contact-section {
  background-color: var(--color-white);
}

.contact-section h2 {
  margin-bottom: 0.5rem;
}

.contact-section p {
  margin-bottom: 1.5rem;
}

/* Contact form */
.contact-form {
  max-width: 680px;
  margin: 0 auto;
  text-align: left;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: #213547;
  font-size: 0.98rem;
  letter-spacing: 0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  border: 1px solid #cfd8e3;
  background: #fcfcf9;
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.4;
  color: #1f2a33;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease,
    transform 0.12s ease;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.03);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: #aebdcb;
  background: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  background: #ffffff;
  box-shadow:
    0 0 0 4px rgba(48, 130, 206, 0.14),
    inset 0 1px 2px rgba(0,0,0,0.02);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #7e8b98;
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-group input:invalid:focus,
.form-group select:invalid:focus,
.form-group textarea:invalid:focus {
  border-color: #cc4b37;
  box-shadow: 0 0 0 4px rgba(204, 75, 55, 0.14);
}

/* Honeypot (hidden) */
.honeypot {
  display: none;
}

/* Form status message */
.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  min-height: 1.2em;
}

.form-status:empty {
  display: none;
}

/* ========================================
   ARTICLE PAGE LAYOUT
   ======================================== */
.article-featured-image {
  max-width: 300;
  margin: 0 auto 24px;
}

.article-featured-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}



/* ========================================
   FOOTER
   ======================================== */

.footer {
  background-color: #222;
  color: var(--color-white);
  padding: 1.5rem 0;
  font-size: 0.9rem;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between; /* overall layout */
  gap: 2rem;
  flex-wrap: wrap; /* allows stacking on small screens */
}

/* Make each section share the row evenly */
.footer-left,
.footer-center,
.footer-right {
  flex: 1 1 0;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.flag-icon {
  width: 28px;
  height: auto;
}

/* Wrapper that stacks the two text lines next to the flag */
.footer-left-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.footer-left-text p {
  margin: 0;
  color: var(--color-white);
}

.footer-credit {
  font-size: 0.8rem;
  color: #bbbbbb;
  margin-top: 0.15rem;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
}

.footer-right p {
  margin-bottom: 0.15rem;
  color: var(--color-white);
}

.footer-service-area {
  font-size: 0.85rem;
  color: #cccccc;
}

.footer-center {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.social-icon {
  width: 24px;
  height: 24px;
  fill: #ffffff;
  transition: fill 0.2s ease, transform 0.2s ease;
}

.footer-social{
  display: flex;
  gap: 14px;
  justify-content: center;
}

.footer-center a:hover .social-icon {
  fill: var(--color-primary);
  transform: scale(1.15);
}

.footer-social a,
.footer-center a {
  color: #ffffff;
}

.footer-survey-link{
  flex: 0 0 100%;     /* forces a full-width row */
  margin-top: 10px;
  text-align: center;
  text-decoration: underline;
}

/* ========================================
   MODAL POPUP STYLES
   ======================================== */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: linear-gradient(rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.55));
  backdrop-filter: blur(3px);
  z-index: 999;
}

.modal-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 720px;
  max-width: calc(100% - 24px);
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px 28px 24px;
  border-radius: 22px;
  background: linear-gradient(180deg, #fffdf9 0%, #fffaf2 100%);
  border: 1px solid rgba(222, 174, 80, 0.22);
  box-shadow:
    0 18px 50px rgba(0,0,0,0.20),
    0 6px 18px rgba(0,0,0,0.10);
  z-index: 1000;
}

.modal-box::before {
  content: "";
  display: block;
  height: 6px;
  width: calc(100% + 56px);
  margin: -28px -28px 20px;
  border-radius: 22px 22px 0 0;
  background: linear-gradient(90deg, #f59e0b 0%, #f97316 40%, #2563eb 100%);
}

.close-btn {
  float: right;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  color: #5b6773;
  background: #ffffff;
  border: 1px solid #dbe3ec;
  border-radius: 999px;
  padding: 0;
  margin: 0 0 10px 12px;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease,
    transform 0.12s ease,
    box-shadow 0.18s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.close-btn:hover {
  color: #1f2937;
  background: #fff7ed;
  border-color: #f59e0b;
  transform: translateY(-1px);
}

.close-btn:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.18);
}

.modal-contact-section {
  padding: 6px 0 4px;
  clear: both;
}

.modal-contact-section h2 {
  margin-top: 0;
  margin-bottom: 0.55rem;
  color: #172554;
  font-size: clamp(1.65rem, 2.5vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.modal-contact-section p {
  margin-bottom: 1.4rem;
  color: #556270;
  font-size: 1rem;
  line-height: 1.55;
}

.modal-contact-section .contact-form {
  width: 100%;
  max-width: none;
  padding: 1.1rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(219, 227, 236, 0.9);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.modal-contact-section .form-group {
  margin-bottom: 1rem;
}

.modal-contact-section .form-status {
  margin-top: 1rem;
}

#businessFields {
  margin-top: 0.35rem;
  padding: 1rem 1rem 0.35rem;
  border: 1px solid #e9dcc3;
  border-radius: 16px;
  background: linear-gradient(180deg, #fffaf1 0%, #fffefb 100%);
}

.contact-form button[type="submit"],
#modalSurveyForm button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  padding: 0.9rem 1.35rem;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  color: #ffffff;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 45%, #2563eb 100%);
  box-shadow:
    0 10px 22px rgba(37, 99, 235, 0.16),
    0 6px 14px rgba(249, 115, 22, 0.18);
  transition:
    transform 0.14s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease;
}

.contact-form button[type="submit"]:hover,
#modalSurveyForm button[type="submit"]:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
  box-shadow:
    0 14px 26px rgba(37, 99, 235, 0.18),
    0 8px 18px rgba(249, 115, 22, 0.20);
}

.contact-form button[type="submit"]:active,
#modalSurveyForm button[type="submit"]:active {
  transform: translateY(0);
}

.contact-form button[type="submit"]:focus,
#modalSurveyForm button[type="submit"]:focus {
  outline: none;
  box-shadow:
    0 0 0 5px rgba(37, 99, 235, 0.16),
    0 10px 22px rgba(0,0,0,0.14);
}

/* ========================================
   SURVEY FORM LAYOUT FIX
   ======================================== */

#modalSurveyForm {
  text-align: left;
}

#modalSurveyForm .form-group {
  text-align: left;
}

#modalSurveyForm label {
  display: block;
  margin-bottom: 0.45rem;
  text-align: left;
}

#modalSurveyForm .form-group > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#modalSurveyForm .survey-checkboxes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem 0.9rem;
  width: 100%;
  margin-top: 0.35rem;
}

#modalSurveyForm .survey-checkbox-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  gap: 0.75rem;
  text-align: left;
  padding: 0.8rem 0.9rem;
  border: 1px solid #dbe3ec;
  border-radius: 14px;
  background: #ffffff;
  transition:
    border-color 0.18s ease,
    background-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.12s ease;
}

#modalSurveyForm .survey-checkbox-row:hover {
  border-color: #b7c6d6;
  background: #fcfdfd;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transform: translateY(-1px);
}

#modalSurveyForm .survey-checkbox-row input[type="checkbox"] {
  width: 18px !important;
  height: 18px !important;
  display: inline-block !important;
  margin: 2px 0 0 0;
  flex: 0 0 auto;
  accent-color: #2563eb;
  box-shadow: none;
}

#modalSurveyForm .survey-checkbox-row label {
  display: inline-block !important;
  margin: 0 !important;
  line-height: 1.35;
  font-weight: 600;
  color: #243444;
}

#modalSurveyForm button[type="submit"] {
  display: flex;
  margin: 22px auto 0 auto;
}

.form-help,
.field-note,
small.form-note {
  display: block;
  margin-top: 0.4rem;
  color: #667685;
  font-size: 0.88rem;
  line-height: 1.35;
}

/* Hero Press Styling */
.hero-press {
  margin-top: 20px;
  text-align: center;
  font-size: 0.9rem;
  opacity: 0.9;
}

.hero-press span {
  display: block;
  margin-bottom: 4px;
}

.hero-press img {
  height: 40px;
}

@media (max-width: 768px) {
  .modal-box {
    width: calc(100% - 16px);
    max-height: 88vh;
    padding: 20px 18px 18px;
    border-radius: 18px;
  }

  .modal-box::before {
    width: calc(100% + 36px);
    margin: -20px -18px 16px;
    border-radius: 18px 18px 0 0;
  }

  .modal-contact-section h2 {
    font-size: 1.55rem;
  }

  .modal-contact-section .contact-form {
    padding: 0.95rem;
    border-radius: 16px;
  }

  #modalSurveyForm .survey-checkboxes {
    grid-template-columns: 1fr;
  }

  .contact-form button[type="submit"],
  #modalSurveyForm button[type="submit"] {
    width: 100%;
    min-width: 0;
  }
}


@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-right {
    align-items: center;
    text-align: center;
  }
}


/* Keep roadrunner (right side of banner) visible as screen shrinks */
@media (max-width: 1400px) {
  .hero-header {
    background-position: 55% center;
  }
}

@media (max-width: 1100px) {
  .hero-header {
    background-position: 70% center;
  }
}

@media (max-width: 900px) {
  .hero-header {
    background-position: 85% center;
  }
}

@media (max-width: 700px) {
  .hero-header {
    background-position: 95% center;
  }
}

@media (max-width: 500px) {
  .hero-header {
    background-position: 100% center;
  }
}