/* ---------------------------------------------------------
   GLOBAL LAYOUT
--------------------------------------------------------- */

/* Prevent any horizontal scrolling on small screens */
html, body {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #f7f9fc;
  color: #222;
  overflow-x: hidden;
}

/* Prevent padding from creating overflow */
*, *::before, *::after {
  box-sizing: border-box;
}

/* Future-proof: images never cause horizontal scrolling */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.hero,
.cards,
.card,
.contact-box {
  max-width: 100%;
  overflow-x: hidden;
}

/* Phones: force single column and eliminate flex overflow */
@media (max-width: 600px) {
  .cards {
    display: block;
  }
  .card {
    width: 100%;
    margin-bottom: 20px;
  }
}

.container {
  max-width: 900px;       /* Keeps homepage narrow + professional */
  margin: 0 auto;
  padding: 20px;
}

/* ---------------------------------------------------------
   HEADER
--------------------------------------------------------- */
.site-header {
  background: #003366;
  padding: 14px 20px;
  color: #fff;
}

.site-header .brand {
  font-weight: bold;
  font-size: 1.2rem;
}

.nav a {
  color: white;
  text-decoration: none;
  margin-left: 16px;
  font-weight: bold;
}

.nav a:hover {
  text-decoration: underline;
}

.nav-call {
  background: #2ecc71;
  padding: 6px 12px;
  border-radius: 6px;
}

/* ---------------------------------------------------------
   HERO SECTION
--------------------------------------------------------- */

.hero {
  text-align: center;
  padding: 50px 20px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.hero h1 {
  font-size: 2rem;
  margin-bottom: 12px;
   color: #333;
  text-decoration: underline;
  text-decoration-color: black;
   text-shadow: 1px 1px 2px #2ecc71;
}

.hero p {
  margin-bottom: 12px;
  line-height: 1.5;
}

/* ---------------------------------------------------------
   BUTTONS (GLOBAL)
--------------------------------------------------------- */

.primary-cta,
button,
input[type="submit"] {
  background: #2ecc71;      /* Your chosen green */
  color: white;
  padding: 12px 20px;
  text-decoration: none;
  display: inline-block;
  border-radius: 6px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: 0.2s ease;
   box-shadow: 4px 4px 9px rgba(0, 0, 0, 0.3);
}

.primary-cta:hover,
button:hover,
input[type="submit"]:hover {
  background: #27c46a;      /* Slightly darker hover */
}

/* ---------------------------------------------------------
   SERVICES SECTION
--------------------------------------------------------- */

.services h2 {
  text-align: center;
}

.cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* CARD STYLE */
.card {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.services h3 { 
  color: #2ecc71;
  text-decoration: underline;
  text-decoration-color: black;
   text-shadow: 1px 1px 2px #333;
}

/* ---------------------------------------------------------
   WHY CHOOSE US
--------------------------------------------------------- */

.why ul {
  padding-left: 20px;
  line-height: 1.6;
}

/* ---------------------------------------------------------
   CONTACT PAGE
--------------------------------------------------------- */

.contact-box {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.contact-box form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-box input,
.contact-box textarea {
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

.contact-box textarea {
  resize: vertical;
  min-height: 120px;
}

/* ---------------------------------------------------------
   FOOTER
--------------------------------------------------------- */

.site-footer {
  text-align: center;
  padding: 20px;
  color: #777;
  margin-top: 40px;
}

/* ---------------------------------------------------------
   MOBILE CALL BUTTON
--------------------------------------------------------- */

.call-button {
  display: none;
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: #2ecc71;
  color: white;
  padding: 14px 26px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 1000;
}

@media (max-width: 600px) {
  .call-button {
    display: block;
  }
}

/* ---------------------------------------------------------
   RESPONSIVE BREAKPOINTS
--------------------------------------------------------- */

/* TABLETS — two columns for credibility */
@media (min-width: 600px) and (max-width: 1024px) {
  .cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

/* DESKTOPS — keep the narrow 900px layout */
@media (min-width: 1025px) {
  .cards {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }

  .card {
    width: 32%;
  }
}
