body {
  font-family: Arial, Helvetica, sans-serif;
  margin: 0;
  color: #1f2937;
  line-height: 1.6;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px; /* reduced top/bottom padding */
  background-color: #0f2a44;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
}

header h1 {
  font-size: 22px; /* smaller than default */
  margin: 0;
}

header nav a {
  color: white;
  text-decoration: none;
  margin-left: 15px;
  font-size: 14px; /* smaller nav links */
  transition: color 0.2s;
}

header nav a:hover {
  color: #ffd700; /* subtle hover effect */
}

.hero {
  position: relative;
  text-align: center;
  background-size: cover;         
  background-position: center;    
  background-repeat: no-repeat;   
  min-height: 300px;             /* default for desktop */
  padding: 100px 20px;           /* default vertical padding */
}

/* Hero content box */
.hero-content {
  display: inline-block;
  max-width: 800px;
  padding: 35px;                 
  border-radius: 8px;
  background-color: rgba(0,0,0,0.5); 
  color: white;                     
  text-align: center;
  margin: 0 auto;
}

.hero h2 {
  font-size: 36px;
  margin-bottom: 15px;
  color: white;
}

/* Overview page hero heading */
.hero-overview h2 {
  color: #0f2a44 !important;  /* navy color, overrides any previous white */
}

/* Optional: paragraph text under heading */
.hero-overview p {
  color: #1f2937;  /* dark gray */
}

/* Tablet screens */
@media (max-width: 1024px) {
  .hero {
    min-height: 380px;
    padding: 80px 20px;
  }

  .hero-content {
    padding: 30px;
  }

  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }
}

/* Mobile screens */
@media (max-width: 768px) {
  .hero {
    min-height: 300px;
    padding: 60px 15px;
  }

  .hero-content {
    padding: 25px;
  }

  .hero h2 {
    font-size: 28px;
  }

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

.button {
  display: inline-block;
  background: #0f2a44;
  color: white;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 4px;
  margin-top: 20px;
}



/* Hero / Intro section for Offerings and Overview page */
.hero-offerings,
.hero-overview {
  text-align: center;
  background-color: #f5f5f5 !important; /* Light Gray */
  background-image: none !important;    /* Removes any background images */
  padding: 40px 20px;                  /* Shorter vertical padding */
  min-height: auto !important;         /* Overrides the 300px default */
}

/* Ensure the content box inside these heroes is transparent with navy text */
.hero-offerings .hero-content,
.hero-overview .hero-content {
  background-color: transparent !important;
  color: #0f2a44 !important;           /* Navy text */
  padding: 0;
}

.hero-offerings h2,
.hero-overview h2 {
  font-size: 32px;
  margin-bottom: 12px;
  color: #0f2a44 !important;           /* Forced Navy heading */
}

.hero-offerings p,
.hero-overview p {
  font-size: 16px;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
  color: #1f2937 !important;           /* Dark gray text */
}

@media (max-width: 768px) {
  .hero-offerings,
  .hero-overview {
    padding: 40px 15px;           /* reduce padding on mobile */
  }

  .hero-offerings h2,
  .hero-overview h2 {
    font-size: 28px;              /* smaller headings on mobile */
  }

  .hero-offerings p,
  .hero-overview p {
    font-size: 15px;              /* smaller paragraph on mobile */
  }
}

.section {
  max-width: 1000px;
  margin: auto;
  padding: 50px 30px;
}

.button {
  display: inline-block;
  background: #0f2a44;
  color: #ffffff;
  padding: 12px 25px;
  text-decoration: none;
  border-radius: 4px;
  margin-top: 15px;
}

footer {
  background: #f3f4f6;
  padding: 40px 30px;
  font-size: 14px;
  text-align: center;
  color: #4b5563;
}

/* The spacer div creates exactly one "empty line" of height */
.footer-spacer {
  height: 24px; 
}

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px; /* Increased space between menu items */
  flex-wrap: wrap; /* Ensures it stays clean on mobile */
}

.footer-nav a {
  color: #0f2a44;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: #ffd700; /* Subtle gold hover to match your header */
}

form input,
form textarea {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 15px;
  border: 1px solid #d1d5db;
  border-radius: 4px;
}

form button {
  background: #0f2a44;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 4px;
  cursor: pointer;
}

.offerings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
  gap: 25px;
  margin-top: 30px;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .offerings-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
  }
}

@media (max-width: 768px) {
  .offerings-grid {
    grid-template-columns: 1fr; /* 1 column on mobile */
  }
}

.offering-card {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 25px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.offering-card h4 {
  color: #0f2a44;
  margin-bottom: 12px;
}

.offering-card p {
  color: #4b5563;
  font-size: 15px;
  line-height: 1.5;
}

.offering-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Mobile Only: Hide Header Navigation */
@media (max-width: 768px) {
  header nav {
    display: none !important; /* Removes the links from the top on mobile */
  }

  header {
    justify-content: center; /* Centers your Logo/Agency name on mobile */
    text-align: center;
  }
}

/* This targets mobile devices only */
@media (max-width: 768px) {
  
  /* Makes the paragraph text (labels and address) larger */
  .section p {
    font-size: 20px; 
    line-height: 1.8; /* Ensures lines don't touch each other */
    margin-bottom: 30px; /* Adds space between the different contact methods */
  }

  /* Makes the clickable links (phone/email) even larger for easy tapping */
  .section p a {
    font-size: 22px;
    font-weight: bold;
    text-decoration: underline; /* Makes it obvious they are clickable */
  }

  /* Specifically makes the "Contact Us" header bigger too */
  .section h2 {
    font-size: 32px;
  }
}

/* Specific override for the Contact Page on Mobile */
@media screen and (max-width: 768px) {
  /* 1. Prevent Safari from auto-shrinking text */
  html {
    -webkit-text-size-adjust: 100%;
  }

  /* 2. Target the contact info wrapper specifically */
  .section p {
    font-size: 20px !important; /* Force the size change */
    line-height: 1.8 !important;
  }

  /* 3. Target the links (Phone & Email) so they are easy to tap */
  .section p a {
    font-size: 22px !important;
    font-weight: bold;
    color: #0f2a44; /* Ensures your navy blue is consistent */
    display: inline-block;
    padding: 10px 0; /* Creates a larger 'tap target' for thumbs */
  }
}
