/* Reset / base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
  scroll-behavior: smooth;
  /* padding-top will be set dynamically by JS based on header height */
}

/* Fixed Header / navbar */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #0d4f8b;
  color: #fff;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition:
    background 0.28s ease,
    padding 0.28s ease,
    box-shadow 0.28s ease;
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo img {
  height: 130px;
  max-height: 15vh;
  object-fit: contain;
  transition: height 0.28s ease;
}

/* Header when scrolled */
header.scrolled {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.22);
}

header.scrolled .navbar {
  padding: 6px 20px;
}

header.scrolled .logo img {
  height: 80px;
}

/* Nav links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 850;
  padding: 10px 15px;
  border-radius: 10px;
  transition: background 0.25s;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.16);
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 40px;
  left: 0;
  background: #0d4f8b;
  min-width: 200px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  z-index: 999;
}

.dropdown-menu li a {
  display: block;
  color: #fff;
  padding: 10px 14px;
}

.dropdown-menu li a:hover {
  background: rgba(255, 255, 255, 0.16);
}

.dropdown-menu.show {
  display: block;
}

/* Offset anchors for sticky header */
section,
.section-content {
  scroll-margin-top: 140px;
}

/* Hero */
.hero {
  background: url("hero-bg.jpg") center/cover no-repeat;
  min-height: 460px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 110px 20px;
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
}

.hero > * {
  position: relative;
}

.hero-heading {
  color: #fff;
  font-weight: 700;
  font-size: 2.8rem;
  line-height: 1.2;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.6);
}

.hero .sub {
  margin-top: 0.35rem;
  opacity: 0.95;
}

.hero .hero-actions {
  margin-top: 1rem;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sections */
.section-content {
  max-width: 1100px;
  margin: 60px auto;
  padding: 0 20px;
}

.section-content h2 {
  font-size: 2rem;
  color: #0d4f8b;
  margin-bottom: 18px;
}

/* Bullets */
.bullets {
  padding-left: 18px;
}

.bullets li {
  margin-bottom: 8px;
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: #f9f9f9;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card h3,
.card h4 {
  margin-bottom: 8px;
  color: #184b88;
}

.muted {
  color: #6b7280;
  margin: 0.25rem 0 0.75rem;
  font-size: 0.95rem;
}

.job-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 8px;
  background: #0d4f8b;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn:hover {
  opacity: 0.92;
}

.btn-outline {
  background: #ffffff;
  color: #0d4f8b;
  border: 2px solid #0d4f8b;
}

.btn-outline:hover {
  background: rgba(13, 79, 139, 0.06);
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.team-card {
  background: #f9f9f9;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  padding: 22px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.team-photo {
  width: 128px;
  height: 128px;
  margin: 0 auto 14px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h3 {
  margin: 6px 0 2px;
  color: #184b88;
  font-size: 1.15rem;
}

.team-card .role {
  color: #666;
  font-weight: 600;
  margin-bottom: 8px;
}

.team-card .bio {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
}

/* Gallery – fading slider */
.gallery-slider {
  position: relative;
  max-width: 1100px;
  height: 360px;
  margin: 10px auto 30px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.gallery-slider .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  animation: fadeCycle 12s infinite;
}

.gallery-slider .s2 {
  animation-delay: 4s;
}

.gallery-slider .s3 {
  animation-delay: 8s;
}

@keyframes fadeCycle {
  0% {
    opacity: 0;
  }
  5% {
    opacity: 1;
  }
  30% {
    opacity: 1;
  }
  35% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/* Thumbs */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.gallery-grid img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.25s ease;
}

.gallery-grid img:hover {
  transform: scale(1.04);
}

/* Forms */
form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 640px;
}

form label {
  font-weight: 600;
  color: #0d4f8b;
}

form input,
form textarea {
  padding: 12px;
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  font-size: 1rem;
}

form textarea {
  min-height: 120px;
}

form button {
  padding: 12px;
  background: #0d4f8b;
  color: #fff;
  border: 0;
  border-radius: 8px;
  font-weight: 700;
}

form button:hover {
  background: #104a82;
}

.form-note {
  font-size: 0.92rem;
  color: #0d4f8b;
  margin-top: 6px;
}

/* Thank-you block */
.thankyou {
  margin-top: 16px;
}

/* CTA band */
.cta-band {
  background: linear-gradient(90deg, #1667ba, #1f7de0);
  color: #fff;
  padding: 40px 20px;
}

.cta-wrap {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.cta-wrap h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.cta-wrap p {
  opacity: 0.95;
  margin-bottom: 16px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Footer */
footer {
  background: #0d4f8b;
  color: #fff;
  text-align: center;
  padding: 20px;
}

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  z-index: 1400;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.7);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

/* Responsive tweaks */
@media (max-width: 820px) {
  .logo img {
    height: 96px;
  }
}

@media (max-width: 640px) {
  .logo img {
    height: 80px;
  }

  .nav-links {
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .hero-heading {
    font-size: 2.1rem;
  }

  .section-content {
    margin: 40px auto;
  }

  .whatsapp-float {
    right: 12px;
    bottom: 12px;
    width: 50px;
    height: 50px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}

