/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  color: #333;
  line-height: 1.65;
  background: #fff;
}

h1, h2, h3 {
  color: #0F3B82; /* Dark Blue */
}

a {
  text-decoration: none;
}

/* ===== Header Contact Bar ===== */
.top-contact-bar {
  position: absolute;
  top: 1rem;
  right: 2rem;
  background: #004c8c;          /* dark blue background */
  padding: 0.4rem 1rem;
  border-radius: 25px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  font-size: 1rem;
  z-index: 10;
}

/* Phone link styles */
.phone-link {
  color: #fff;                  /* white text by default */
  font-weight: 600;
  text-decoration: none;        /* remove underline */
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

/* Hover: gold text with subtle shadow */
.phone-link:hover {
  color: #FFD700;               /* gold on hover */
  text-shadow: 0 1px 2px rgba(0,0,0,0.3); /* subtle shadow for pop */
}

/* Underline only the text, not the icon */
.phone-link span {
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s ease;
}

.phone-link:hover span {
  border-color: currentColor;
}

/* Icon sizing */
.phone-link i {
  font-size: 1.2rem;
}

/* Mobile-specific adjustments */
@media (max-width: 768px) {
  .top-contact-bar {
    position: absolute;       /* stays top-right */
    top: 1rem;
    right: 1rem;
    background: #004c8c;      /* same dark blue background */
  }

  .phone-link {
    font-size: 1.1rem;        /* slightly larger for mobile */
  }

  .phone-link i {
    font-size: 1.3rem;        /* scale icon slightly */
  }
}




/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(to right, #0F3B82, #1E90FF); /* Blue Gradient */
  color: white;
  text-align: center;
  padding: 5rem 1rem;
  overflow: hidden;
  height: 850px;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0.35;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  width: 100%;
}

/* Hero H1 – Gold with subtle shadow for better contrast */
.hero h1 {
  color: #FFD700; /* Gold heading to pop against blue background */
  font-size: 2.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.5); /* subtle shadow for depth */
}


.hero p {
  font-size: 1.3rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background: #FFD700; /* Gold */
  color: #0F3B82;
  font-weight: bold;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  transition: background 0.3s;
}

.cta-button:hover {
  background: #DAA520; /* Darker Gold */
}

/* Hero Responsive */
@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 600px;
    padding: 2rem 1rem;
  }
  
  .hero-bg {
    object-fit: cover;
    object-position: center 40%;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
}

/* About Us Section */
.about {
  padding: 4rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  background: #E6F0FA; /* Light Blue, matches Why Choose Us section */
}

.about-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap; /* Ensures wrapping on smaller screens */
  text-align: left;
}

.about-logo-wrap {
  flex: 1 1 250px; /* Allow logo area to shrink/grow */
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-logo {
  max-width: 250px; /* Keeps logo controlled */
  height: auto;
}

.about-text {
  flex: 2 1 500px;
  max-width: 700px;
}

.about h2 {
  position: relative;
  display: inline-block; /* ensures gold line aligns with heading text */
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #0F3B82;
}

.about h2::after {
  content: '';
  display: block;
  height: 4px;             /* thickness of the line */
  width: 50px;             /* fixed length, consistent with other sections */
  background-color: #FFD700; /* Gold */
  margin-top: 0.5rem;      /* space below heading */
  border-radius: 2px;
}

.about p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.about .cta-button {
  margin-top: 1.5rem;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .about-container {
    flex-direction: column;
    text-align: center;
  }
  .about-text {
    max-width: 100%;
  }
  .about-logo {
    max-width: 180px; /* Slightly smaller on mobile */
    margin-bottom: 1.5rem;
  }
  .about h2 {
    font-size: 1.75rem; /* slightly smaller for mobile */
  }
  .about h2::after {
    width: 40px; /* adjust line length for mobile */
    margin-top: 0.4rem;
  }
}


/* Why Choose Us Section */
.why-choose-us {
  padding: 4rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  background: #E6F0FA;
}

.why-choose-us h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  position: relative;
}

.why-choose-us h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #FFD700;
  margin: 0.5rem auto 1.5rem;
  border-radius: 2px;
}

.why-intro {
  max-width: 800px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

.why-choose-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.why-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 1.5rem;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.why-card .checkmark {
  display: inline-block;
  color: #FFD700;
  font-size: 1.5rem;
  margin-right: 0.5rem;
}

.why-card h3 {
  font-size: 1.3rem;
  margin: 0.5rem 0;
}

.why-card p {
  font-size: 1rem;
}

.why-choose-us .cta-button {
  margin-top: 2rem;
}

/* Services Section */
.services {
  padding: 4rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.services h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

.services h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #FFD700;
  margin: 0.5rem auto 1.5rem;
  border-radius: 2px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: white;
  border-radius: 1rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding: 1.5rem;
}

.service-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 0.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin: 1rem 0;
}

.service-card p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

/* Service Lists with checkmarks */
.service-card ul {
  text-align: left;
  margin-top: 0.5rem;
}

.service-card ul li {
  list-style: none;
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.5rem;
}

.service-card ul li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #FFD700;
}

/* Business Inquiries Section */
.contact-business {
  background: #F5F5F5;
  padding: 4rem 1rem;
  text-align: center;
}

.contact-business h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  position: relative;
}

.contact-business h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #FFD700;
  margin: 0.5rem auto 1.5rem;
  border-radius: 2px;
}

.contact-business p {
  max-width: 600px;
  margin: 0 auto 2rem;
}

.contact-business ul {
  list-style: none;
  margin-bottom: 2rem;
  padding-left: 0;
}

.contact-business ul li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.5rem;
}

.contact-business ul li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #FFD700;
}

.contact-business .cta-button {
  background: #0F3B82;
  color: white;
}

.contact-business .cta-button:hover {
  background: #1E90FF;
}

/* Contact Section */
.contact {
  padding: 4rem 1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  background: #F9F9F9;
  border-top: 1px solid #E6E6E6;
  border-bottom: 1px solid #E6E6E6;
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

.contact h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: #FFD700;
  margin: 0.5rem auto 1.5rem;
  border-radius: 2px;
}

.contact ul {
  list-style: none;
  padding-left: 0;
}

.contact ul li {
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.5rem;
}

.contact ul li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #FFD700;
}

/* Floating CTA */
.floating-cta {
  position: fixed;
  bottom: 1rem;
  right: 1rem;
  background: #FFD700;
  color: #0F3B82;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 1000;
  transition: background 0.3s;
}

.floating-cta:hover {
  background: #DAA520;
}

/* Footer */
footer {
  background: #0F3B82;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  border-top: 3px solid #FFD700;
}

/* Responsive Typography */
@media (max-width: 768px) {
  .services h2,
  .why-choose-us h2,
  .contact-business h2,
  .contact h2 {
    font-size: 1.75rem;
  }
  
  .service-card h3 {
    font-size: 1.3rem;
  }

  .service-card p,
  .service-card ul li,
  .why-card p {
    font-size: 0.95rem;
  }
  
  .why-logo {
    width: 150px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .cta-button {
    padding: 0.6rem 1.2rem;
    font-size: 0.95rem;
  }
  .service-card h3 {
    font-size: 1.25rem;
  }
  .service-card p,
  .service-card ul li {
    font-size: 0.9rem;
  }
  .floating-cta {
    bottom: 5rem;
  }
}

footer .trust-icon {
  color: #FFD700; /* gold to match your theme */
  margin-right: 0.5rem; /* space between icon and text */
  vertical-align: middle; /* align with text baseline */
  font-size: 1.2rem; /* adjust size to match text */
}
/* Footer phone link styling */
.footer-phone {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.3s ease;
}

/* Hover color (optional — adjust to match your accent color) */
.footer-phone:hover {
  color: #FFD700;
}

/* Underline only the text, not the icon */
.footer-phone span {
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.footer-phone:hover span {
  border-color: currentColor;
}

/* Icon size tweak (optional) */
.footer-phone i {
  font-size: 1rem;
}

/* Footer address styling */
.footer-address {
  color: #fff;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
}

.footer-address i {
  font-size: 1rem;
}

.footer-address:hover {
  color: #FFD700;
}

/* Modal background */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
  animation: fadeIn 0.3s ease;
}

/* Modal content */
.modal-content {
  background: #fff;
  margin: 5% auto;
  padding: 2rem;
  border-radius: 1rem;
  max-width: 600px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  animation: slideIn 0.4s ease;
}

.modal-content h2 {
  text-align: center;
  margin-bottom: 1.5rem; /* optional for spacing */
}

/* Close button top right X*/
.modal .close {
  color: #333;
  float: right;
  font-size: 1.8rem;
  font-weight: bold;
  cursor: pointer;
}

/* Referral form styles */
.referral-form label {
  display: block;
  margin-top: 1rem;
  margin-bottom: 0.25rem;
  font-weight: bold;
  color: #0F3B82;
}

.referral-form input,
.referral-form textarea {
  width: 100%;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 0.5rem;
  font-size: 1rem;
}

.referral-form textarea {
  height: 120px;
  resize: vertical;
}

.referral-form button {
  margin-top: 1.5rem;
  width: 100%;
}

/* Animations */
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}

@keyframes slideIn {
  from {transform: translateY(-30px); opacity: 0;}
  to {transform: translateY(0); opacity: 1;}
}

/* Modal Successful Message Fade-In */
.fade-in {
  animation: fadeInMessage 0.5s ease forwards;
}

@keyframes fadeInMessage {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Center Close Form button */
#referral-form-element .cta-button {
  display: block;
  margin: 1.5rem auto 0 auto; /* auto left/right centers */
}


/* General form container */
form {
  max-width: 600px; /* keeps it from stretching too wide on desktop */
  margin: 0 auto;   /* center align */
  font-family: inherit; /* inherits your site font */
  color: #222; /* adjust to match your site branding */
}

/* Labels */
form label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  font-size: 1rem; /* slightly larger for readability */
}

/* Inputs & textareas */
form input[type="text"],
form input[type="email"],
form input[type="tel"],
form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 20px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

/* Larger text area for message */
form textarea {
  min-height: 140px;
  resize: vertical;
}

/* Hover + focus states for accessibility */
form input:focus,
form textarea:focus {
  border-color: #4a90e2; /* or your site’s accent color */
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
  outline: none;
}

/* Checkbox styling */
form input[type="checkbox"] {
  margin-right: 8px;
}

/* Mobile responsive tweaks */
@media (max-width: 600px) {
  form {
    padding: 0 16px;
  }
  form label {
    font-size: 0.95rem;
  }
  form input, 
  form textarea {
    font-size: 0.95rem;
  }
}




/* ============================= */
/* Contact & Business Inquiries Lists - Consistent Indentation */
/* ============================= */
.contact-business ul,
.contact ul {
  max-width: 600px;        /* keeps lists centered */
  margin: 1rem auto 2rem;  /* spacing above and below list */
  padding-left: 0;         /* remove default browser padding */
}

.contact-business ul li,
.contact ul li {
  list-style: none;
  position: relative;      /* for checkmark positioning */
  padding-left: 1.8rem;    /* ensures all text lines start aligned */
  margin-bottom: 0.75rem;
  line-height: 1.4;        /* better spacing for wrapped lines */
}

.contact-business ul li::before,
.contact ul li::before {
  content: '✔';
  color: #FFD700;
  position: absolute;
  left: 0;                 /* places checkmark at start of padding */
  top: 0;
  font-size: 1.1rem;
  line-height: 1.2;
}

