/* ========================================
   GLOBAL
======================================== */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Spectral', serif;
  background-color: #082a55;
  color: white;
}

/* ========================================
   HEADER
======================================== */
.header-overlay {
  position: relative;
  text-align: center;
}

.header-image {
  width: 100%;
  height: 100vh;
  max-height: 600px;
  object-fit: cover;
  filter: brightness(40%) blur(1px);
}

.header-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  padding: 0 1em;
  width: 90%;
}

/* HERO TITLE & TAGLINE */
.hero-title {
  font-size: 6em;
  font-weight: 800;
  background: linear-gradient(90deg, #FFD700, #FFC107, #FFB300);
  color: #ffd425;
  -webkit-background-clip: text;
  text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.7);
  margin-bottom: 0.3em;
  line-height: 1.1;
}

.hero-tagline {
  font-size: 2em;
  font-weight: bold;
  color: #fff8dc;
  text-shadow: 1px 1px 6px rgba(255, 193, 7, 0.5);
  margin-bottom: 0.2em;
}

.hero-subtagline {
  font-size: 1.4em;
  color: white;
}

/* CTA BUTTON */
.cta-button {
  display: inline-block;
  margin-top: 1em;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: bold;
  color: #082a55;
  background-color: #FFC107;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  animation: fadeInUp 1s ease-out 0.5s both;
}

.cta-button:hover {
  background-color: #FFB300;
  transform: translateY(-2px);
}

/* ANIMATION */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   HERO TITLE RESPONSIVE (Adjusted)
======================================== */
@media (max-width: 992px) { /* tablets */
  .hero-title {
    font-size: 5.5em; /* slightly bigger than before */
  }
  .hero-tagline {
    font-size: 1.8em; /* slightly smaller */
  }
  .hero-subtagline {
    font-size: 1.2em;
  }
}

@media (max-width: 768px) { /* small tablets / large phones */
  .hero-title {
    font-size: 4.5em; /* bigger than previously suggested */
  }
  .hero-tagline {
    font-size: 1.6em;
  }
  .hero-subtagline {
    font-size: 1.1em;
  }
}

@media (max-width: 480px) { /* small phones */
  .hero-title {
    font-size: 3.5em; /* bigger than tagline */
    line-height: 1.1;
  }
  .hero-tagline {
    font-size: 1.4em; /* smaller than title, still readable */
  }
  .hero-subtagline {
    font-size: 1em;
  }
}



/* ========================================
   SECTIONS
======================================== */
section {
  padding: 2.5em;
  text-align: center;
}

h2 {
  font-size: 2.5em;
  color: #ffd425;
  margin-bottom: 1em;
}

/* ========================================
   BENEFITS
======================================== */
.why-us h2 {
  font-size: 3em;
  text-align: center; /* center the heading */
}

.benefits {
  display: flex;
  flex-direction: column;   /* keep each benefit on its own line */
  align-items: center;      /* center horizontally */
  gap: 1.5em;
  font-size: 1.5em;
  line-height: 1.8;
  list-style: none;
  padding-left: 0;
  max-width: 1000px;        /* keeps long text on one line if possible */
  margin: 2em auto 1.5em auto; /* auto left/right centers the container */
  text-align: center;        /* center text inside each <li> */
}

.benefits li {
  margin-bottom: 0.5em;
}

.benefits i {
  color: #ffd425;
  margin-right: 0.5em;
}


/* ========================================
   STEPS
======================================== */
.how-it-works h2 {
  font-size: 3em;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2em;
}

.step-box {
  background-color: #0c3a6e;
  padding: 1.5em;
  border-radius: 10px;
  width: 280px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.step-box h3 {
  margin-top: 0;
}

.step-box p {
  font-size: 1.3em;
}

.step-box:hover h3 {
  color: #ffffff;
  text-decoration: underline;
}

/* ========================================
   CAROUSEL
======================================== */
.carousel h2 {
  font-size: 3em;
}

.carousel {
  padding: 2em;
  text-align: center;
}

.carousel-container {
  display: flex;
  gap: 1em;
  overflow-x: auto;
  padding: 1em 2em;
  scroll-padding-right: 2em;
}

.carousel-container img {
  width: 200px;
  height: auto;
  border-radius: 10px;
  object-fit: contain;
}

/* ========================================
   CONTACT
======================================== */
.contact-section h2 {
  font-size: 3em;
}

.contact-section p {
  font-size: 1.3em;
  line-height: 1.6;
}

.contact-layout {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2em;
  max-width: 1200px;
  margin: 2em auto;
  padding: 0 2em;
}

.form-side {
  flex: 1;
  max-width: 600px;
}

.image-side {
  flex: 1 1 400px; /* responsive width */
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-image {
  max-width: 80%;      /* reduce size to 80% of container */
  max-height: 400px;   /* optional: cap the height */
  width: auto;         /* keep aspect ratio */
  height: auto;        /* keep aspect ratio */
  border-radius: 10px; /* optional styling */
}


/* FORM STYLING */
.custom-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;
  row-gap: 20px;
}

.custom-form input,
.custom-form textarea {
  background-color: #082a55;
  border: 1px solid white;
  color: white;
  padding: 12px;
  border-radius: 8px;
  font-size: 16px;
  font-family: 'Spectral', serif;
  width: 100%;
  box-sizing: border-box;
}

.custom-form textarea {
  grid-column: span 2;
  resize: none;
  height: 100px;
}

.custom-form button {
  grid-column: span 2;
  background-color: #ffd425;
  color: #082a55;
  border: none;
  padding: 14px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  width: 50%;
  margin: 0 auto;
  transition: 0.3s;
}

.contact-info a {
  color: #ffffff;  /* makes phone and email text white */
  text-decoration: none; /* optional: remove underline */
}

/* Optional: change hover color */
.contact-info a:hover {
  color: #f0f0f0; /* slightly lighter on hover */
}
.custom-form button {
  margin-top: 1rem; /* space above button */
}

.contact-info a:hover {
  text-decoration: underline;
}

.phone-icon,
.mail-icon {
  color: #ffd425;
  margin-right: 8px;
}

/* ========================================
   FOOTER
======================================== */
.site-footer {
  background-color: black;
  color: white;
  text-align: center;
  padding: 1em;
}

/* ===== CONTACT INFO & LAYOUT FIX ===== */

/* Desktop / Laptop view (above 768px) */
@media (min-width: 769px) {
  .contact-layout {
    display: flex;
    flex-wrap: nowrap;       /* prevent wrapping */
    gap: 2em;
    justify-content: center; /* center overall layout */
    align-items: flex-start; /* top align form and image */
    max-width: 1200px;
    margin: 2em auto;
    padding: 0 2em;
  }

  .form-side {
    flex: 1 1 500px;      /* allow shrink/grow, base width 500px */
    max-width: 600px;     /* cap form width */
  }

  .image-side {
    flex: 1 1 400px;      /* allow shrink/grow, base width 400px */
    display: flex;
    justify-content: center; /* center image horizontally */
    align-items: flex-start;
  }

  .image-side img.contact-image {
    width: 100%;          /* fill container width */
    max-width: 450px;     /* max width for desktop */
    height: auto;
    max-height: 400px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
  }

  /* Center contact info under form */
  .contact-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1em;
    font-size: 0.9em;
    margin-top: 1em;
    width: 100%;
  }

  .contact-row .contact-item {
    display: flex;
    align-items: center;
  }

  .contact-row .contact-separator {
    color: #fff;
  }

  .contact-row i {
    font-size: 1em;
    margin-right: 0.3em;
  }
}

/* Mobile view (up to 768px) */
@media (max-width: 768px) {
  .contact-layout {
    flex-direction: column;
    gap: 1.5em;
  }

  .form-side, .image-side {
    flex: 1 1 100%;
  }

  /* Center contact info nicely: phone row, email row */
  .contact-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5em;
    font-size: 1em;
    margin-top: 1em;
  }

  .contact-row .contact-item {
    display: flex;
    align-items: center;
  }

  .contact-row .contact-separator {
    display: none; /* hide | on mobile */
  }

  /* Form fields full width & consistent */
  .custom-form input,
  .custom-form textarea {
    width: 100% !important;
    box-sizing: border-box;
    font-size: 1em;
    padding: 12px;
  }

  .custom-form textarea {
    min-height: 100px;
  }

  .custom-form button {
    width: 100%;
  }

  /* Image slightly bigger for mobile */
  .image-side img.contact-image {
    max-height: 400px; /* increase from 350px to 400px */
    width: 100%;
    object-fit: cover;
    margin-top: 1em;
    border-radius: 10px;
  }
}

/* Extra small mobile (up to 600px) */
@media (max-width: 600px) {
  .contact-row {
    font-size: 0.95em;
  }

  .image-side img.contact-image {
    max-height: 350px; /* slightly bigger */
  }
}




