/* Fonts & Colors */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff;
  color: #0B4C85;
  scroll-behavior: smooth;
}

/* Fixed site header */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  background-color: #0B4C85;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  z-index: 9999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.menu-btn {
  font-size: 24px;
  background: transparent;
  color: white;
  border: none;
  cursor: pointer;
}

.site-logo-link img, #site-logo {
  height: 54px;
  width: auto;
  display: block;
}

/* Drawer */
.drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  max-width: 85%;
  background: white;
  z-index: 10000;
  transform: translateX(-110%);
  transition: transform 0.20s ease;
  box-shadow: 2px 0 12px rgba(0,0,0,0.12);
  overflow-y: auto;
  padding: 24px;
}

.drawer.open { transform: translateX(0); }
.drawer-close { background: transparent; border: none; font-size: 20px; position: absolute; right: 14px; top: 12px; cursor: pointer; }
.drawer-content h2 { margin-top: 6px; }
.drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 9998; }

/* utility hidden */
.hidden { display: none !important; }

/* Add page top offset so content doesn't hide under fixed header */
body { padding-top: 64px; }

/* Header Section */
header {
  background-color: #0B4C85;
  color: white;
  text-align: center;
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
  min-height: 150px;
}

header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

header p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.btn {
  background-color: white;
  color: #0B4C85;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  font-size: 0.95rem;
}

.btn:hover {
  background-color: #084273;
  color: white;
}

.btn.secondary {
  background-color: transparent;
  border: 2px solid white;
  color: white;
}

.btn.secondary:hover {
  background-color: white;
  color: #0B4C85;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  justify-content: flex-start;
}

.call-options {
  margin-top: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.call-options.hidden {
  display: none;
}

.call-number {
  background-color: rgba(255, 255, 255, 0.9);
  color: #0B4C85;
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  font-size: 0.9rem;
}

.call-number:hover {
  background-color: white;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}

/* Bubble Animation */
.bubbles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.bubble {
  position: absolute;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  animation: rise 6s infinite linear;
}

.bubble:nth-child(1) {
  width: 40px;
  height: 40px;
  left: 10%;
  animation-delay: 0s;
}

.bubble:nth-child(2) {
  width: 20px;
  height: 20px;
  left: 20%;
  animation-delay: 2s;
}

.bubble:nth-child(3) {
  width: 50px;
  height: 50px;
  left: 35%;
  animation-delay: 1s;
}

.bubble:nth-child(4) {
  width: 80px;
  height: 80px;
  left: 50%;
  animation-delay: 0s;
}

.bubble:nth-child(5) {
  width: 35px;
  height: 35px;
  left: 70%;
  animation-delay: 1s;
}

.bubble:nth-child(6) {
  width: 25px;
  height: 25px;
  left: 90%;
  animation-delay: 4s;
}

@keyframes rise {
  0% {
    bottom: -100px;
    transform: translateX(0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    bottom: 1080px;
    transform: translateX(-100px);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .bubble {
    background: rgba(255, 255, 255, 0.12);
    animation-duration: 4s;
  }
  
  @keyframes rise {
    0% {
      bottom: -30px;
      transform: translateX(0);
      opacity: 0;
    }
    20% {
      opacity: 0.8;
    }
    80% {
      opacity: 0.8;
    }
    100% {
      bottom: 350px;
      transform: translateX(-30px);
      opacity: 0;
    }
  }
}

/* Hero Layout */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 2;
}

.hero-text {
  flex: 1;
  min-width: 250px;
  text-align: left;
  z-index: 3;
}

.hero-logo {
  flex: 0 0 auto;
  z-index: 3;
}

.hero-logo img {
  height: 215px;
  width: auto;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.hero-logo img:hover {
  transform: scale(1.05);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  /* Compact header for mobile */
  header {
    padding: 40px 15px;
    min-height: 300px;
  }
  
  header h1 {
    font-size: 1.8rem;
    margin-bottom: 8px;
  }
  
  header p {
    font-size: 1rem;
    margin-bottom: 15px;
  }
  
  .hero {
    flex-direction: column;
    text-align: center;
    gap: 25px;
  }
  
  .hero-text {
    text-align: center;
  }
  
  .hero-logo {
    order: -1;
  }
  
  .hero-logo img {
    height: 120px;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 15px;
    justify-content: center;
  }
  
  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
    width: 180px;
  }
  

}

/* Offers Section */
#offers {
  text-align: center;
  background-color: #f0f5fa;
  padding: 40px 20px;
  color: #0B4C85;
  font-weight: 500;
}

#offers strong {
  color: #E63946;
}

/* Services Section */
.services-section {
  padding: 72px 20px;
  background: #ffffff;
  color: #0B4C85;
}

.services-heading {
  text-align: center;
  color: #F97316;
  font-size: 2.25rem;
  margin-bottom: 32px;
  font-weight: 600;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: stretch;
  padding: 0 12px;
}

.service-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(11,76,133,0.06);
  transition: transform 280ms ease, box-shadow 280ms ease;
  border: 1px solid rgba(11,76,133,0.04);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(11,76,133,0.12), 0 0 18px 4px rgba(255,111,97,0.08);
  outline: 2px solid rgba(255,111,97,0.06);
}

.service-image { height: 160px; width: 100%; overflow: hidden; background: #f2f6fb; }
.service-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.service-body { padding: 16px 18px 22px; flex: 1; display: flex; flex-direction: column; }
.service-body h3 { margin: 0 0 8px 0; font-size: 1.125rem; color: #0B4C85; }
.service-body p { margin: 0; color: #385b7a; font-size: 0.95rem; line-height: 1.45; }

/* Fade-in animation */
.service-card { opacity: 0; transform: translateY(18px); }
.services-section.in-view .service-card { animation: fadeInUp 520ms ease forwards; }
.services-section.in-view .service-card:nth-child(1) { animation-delay: 0ms; }
.services-section.in-view .service-card:nth-child(2) { animation-delay: 80ms; }
.services-section.in-view .service-card:nth-child(3) { animation-delay: 160ms; }
.services-section.in-view .service-card:nth-child(4) { animation-delay: 240ms; }
.services-section.in-view .service-card:nth-child(5) { animation-delay: 320ms; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  .service-image { height: 140px; }
  .services-heading { font-size: 1.6rem; }
}

/* Contact Section */
#contact {
  text-align: center;
  padding: 60px 20px;
  background-color: #B5CCE3;
  color: black; 
}

.contact-options {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

/* Override button colors specifically inside the contact section to be black */
#contact .btn {
  background-color: white;
  color: black;
  border: none;
}

#contact .btn.secondary {
  background-color: transparent;
  color: black;
  border: 2px solid black;
}

#contact a.btn, #contact a.btn.secondary { text-decoration: none; }



/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background-color: #062f57;
  color: white;
  font-size: 1.0rem;
}
