/*────────────────────────────────────────────────────────────────────────────
  BASE SITE STYLES
────────────────────────────────────────────────────────────────────────────*/
body, html {
  margin: 0;
  padding: 0;
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  color: #000;
  background: #fff url('../images/background.png') top center repeat;
}

.container {
  width: 90%;
  max-width: 960px;
  margin: auto;
  padding: 0.5rem 1rem 1rem;
}


.header-flex {
  background: #fff;
  color: #002244;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 1rem 2rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.header-nav {
  display: flex;
  gap: 1rem;
}
.header-nav a {
  color: #004a99;
  text-decoration: none;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}
.header-nav a:hover { background: #e6f0ff }
.header-nav a.cta-button {
  background: #004a99;
  color: #fff;
}
.header-nav a.cta-button:hover {
  background: #003366;
}

#themeToggle {
  background: transparent;
  border: none;
  font-size: 1.25rem;
  color: #004a99;
  cursor: pointer;
}

main {
  flex: 1;
}
main section {
  margin: 0 0 2rem;
}

footer {
  text-align: center;
  padding: 1rem;
  background: #f0f0f0;
  margin-top: auto;
}

/* Highlight box */
.highlight-box {
  background: rgba(255,255,255,0.98);
  padding: 2rem;
margin: 10px auto 2rem;
  max-width: 600px;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.1);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: background-color 0.3s, box-shadow 0.3s;
}

/* Logo */
.logo {
  display: block;
  margin: 0 auto 0.3rem;
  max-width: 250px;
}

/* Mobile tweaks */
@media (max-width: 600px) {
  .header-nav {
    flex-wrap: nowrap;
    gap: 0.5rem;
    justify-content: flex-start;
  }
  .header-nav a {
    font-size: 0.9rem;
    padding: 0.4rem 0.6rem;
  }
  .header-flex {
    gap: 1rem;
  }
}

/* Hamburger (desktop hidden) */
.hamburger {
  display: none;
  font-size: 2rem;
  background: none;
  border: none;
  color: #004a99;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-right { display: none }
  .header-nav {
    justify-content: center;
    width: 100%;
  }
  .header-nav a {
    padding: 0.4rem 0.75rem;
    font-size: 0.95rem;
  }
}

/* Custom banner */
.custom-banner {
  display: flex;
  justify-content: center;
  margin: 20px auto 30px;
}
.banner-content {
  background: linear-gradient(135deg, #004c8c, #0079c1);
  color: #fff;
  padding: 1.2rem 2rem;
  border-radius: 30px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  text-align: center;

  /* NEW sizing: 90% of the viewport, capped at 1200px wide */
  width: 90vw;
  max-width: 1200px;
  margin: 0 auto;
}

.banner-content h1 {
  font-size: 1.1rem;
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.banner-content p {
  font-size: 0.8rem;
  margin: 2px 0 0;
  font-weight: 300;
  opacity: 0.9;
}

/* Fade-in helper */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease-out forwards;
}
@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0) }
}

/* Service cards */
.service-card {
  background: #f9f9f9;
  border-left: 4px solid #0079c1;
  padding: 20px;
  margin: 15px 0;
  transition: transform 0.3s;
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

/* Mobile “Let’s Talk” button */
.lets-talk-button { display: none }
@media (max-width: 768px) {
  .lets-talk-button {
    display: inline-block;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    padding: 12px 24px;
    background: #0079c1;
    color: #fff;
    font-weight: 600;
    border-radius: 30px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: background 0.3s;
    white-space: nowrap;
  }
  .lets-talk-button:hover {
    background: #005e99;
  }
}

/* Testimonial carousel (if used) */
.testimonial-carousel {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
}
.testimonial-wrapper {
  position: relative;
  padding: 10px 20px;
  min-height: 140px;
  box-sizing: border-box;
}
.testimonial {
  position: absolute;
  top: 0; left: 100%;
  width: 100%;
  opacity: 0;
  transition: all 0.4s ease-in-out;
}
.testimonial p {
  font-style: italic;
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 10px;
}
.testimonial h4 {
  font-size: 0.95rem;
  color: #666;
}
input[type="radio"] { display: none }
#t-1:checked ~ .testimonial-wrapper .t1,
#t-2:checked ~ .testimonial-wrapper .t2,
#t-3:checked ~ .testimonial-wrapper .t3 {
  left: 0;
  opacity: 1;
  position: relative;
}
.testimonial-nav {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  justify-content: center;
}
.testimonial-nav label {
  width: 12px;
  height: 12px;
  background: #bbb;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}
input#t-1:checked ~ .testimonial-nav label[for="t-1"],
input#t-2:checked ~ .testimonial-nav label[for="t-2"],
input#t-3:checked ~ .testimonial-nav label[for="t-3"] {
  background: #0079c1;
}

/*────────────────────────────────────────────────────────────────────────────
  IMAGE CAROUSEL STYLES (replace all previous .carousel-* CSS)
────────────────────────────────────────────────────────────────────────────*/

.carousel-section {
  padding: 2rem 0;
}

.carousel-container {
  position: relative;
  max-width: 600px;
  width: 100%;
  height: 400px;            /* fixed height */
  margin: 0 auto;
  overflow: hidden;         /* hide overflow */
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  /* no padding/margin needed here */
}

.carousel-slide {
  min-width: 100%;          /* one slide per view */
  height: 100%;
  display: flex;
  justify-content: center;  /* center horizontally */
  align-items: center;      /* center vertically */
  box-sizing: border-box;
}

.carousel-slide img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;      /* show the whole PNG */
  object-position: center;  /* center it */
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.8);
  border: none;
  font-size: 1.8rem;
  padding: 0.4rem 0.6rem;
  cursor: pointer;
  z-index: 10;
  border-radius: 50%;
  transition: background 0.3s, color 0.3s;
}

.carousel-btn:hover {
  background: #0079c1;
  color: #fff;
}

.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }
/* ─── CAROUSEL AUTO-HEIGHT OVERRIDE ─── */

/* 1) Let the container grow/shrink to the slide’s height */
.carousel-container {
  height: auto !important;
  overflow: hidden;    /* still hide overflow for sliding */
}

/* 2) Let each slide size itself to its content */
.carousel-slide {
  height: auto !important;
}

/* 3) Make images fill the width and keep their aspect */
.carousel-slide img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;    /* no cropping or stretching */
  object-position: center !important;
}
.service-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
}

.service-card {
  flex: 1 1 calc(50% - 1rem);
  max-width: calc(50% - 1rem);
  box-sizing: border-box;
}

/* Optional: stack on smaller screens */
@media (max-width: 768px) {
  .service-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
.highlight-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.highlight-wrapper .highlight-box {
  flex: 1 1 45%;
  max-width: 48%;
  box-sizing: border-box;
}

/* Stack on small screens */
@media (max-width: 768px) {
  .highlight-wrapper .highlight-box {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
.carousel-pause-btn {
  position: absolute;
  bottom: 10px;
  right: 12px;
  background: rgba(255,255,255,0.8);
  border: none;
  border-radius: 20px;
  font-size: 1rem;
  padding: 0.3rem 0.6rem;
  cursor: pointer;
  z-index: 20;
  transition: background 0.3s;
}
.carousel-pause-btn:hover {
  background: rgba(0,121,193,0.9);
  color: #fff;
}
.container .custom-banner {
  width: 100%;
  max-width: none;
}

.container .banner-content {
  width: 90%;
  max-width: 1200px;
}
