/* =====================
   GLOBAL
===================== */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #ffffff;
  color: #333;
}

.center {
  text-align: center;
}

/* =====================
   NAVBAR
===================== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #0a3d62;
  padding: 14px 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  color: #fff;
  font-size: 20px;
  font-weight: bold;
}

.menu {
  list-style: none;
  display: flex;
  gap: 22px;
  margin: 0;
  padding: 0;
}

.menu li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.menu li a:hover,
.menu a.active {
  text-decoration: underline;
}

.menu-toggle {
  display: none;
  font-size: 26px;
  color: #fff;
  cursor: pointer;
}

/* =====================
   HEADER
===================== */
.header {
  background: #0a3d62;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}

/* =====================
   SLIDER
===================== */
.slider {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.slide.active {
  opacity: 1;
}

/* arrows */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.55);
  color: #fff;
  border: none;
  font-size: 28px;
  padding: 10px 14px;
  cursor: pointer;
  z-index: 5;
  border-radius: 4px;
}

.arrow.left { left: 15px; }
.arrow.right { right: 15px; }

/* overlay */
.overlay {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.55);
  color: #fff;
  padding: 22px 30px;
  text-align: center;
  border-radius: 8px;
}

/* =====================
   BUTTON
===================== */
.btn {
  background: #2e7d32;
  color: #fff;
  padding: 12px 26px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
  text-decoration: none;
}

/* =====================
   SECTIONS
===================== */
.section {
  max-width: 1200px;
  margin: auto;
  padding: 60px 20px;
}

.light {
  background: #f7f9fb;
}

/* =====================
   FORM
===================== */
input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 4px;
  border: 1px solid #ccc;
}

/* =====================
   FEATURES / SERVICES
===================== */
.feature-grid,
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.feature-card,
.service-card {
  background: #fff;
  padding: 28px 22px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover,
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.2);
}

.service-card .icon {
  font-size: 42px;
  margin-bottom: 15px;
}

.service-card h3 {
  color: #0a3d62;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 15px;
  color: #444;
}

/* =====================
   BENEFITS
===================== */
.benefits {
  max-width: 600px;
  margin: 30px auto 0;
  list-style: none;
  padding: 0;
}

.benefits li {
  margin: 12px 0;
  font-size: 16px;
}

/* =====================
   CTA
===================== */
.cta {
  background: #0a3d62;
  color: #fff;
  text-align: center;
}

.form-box {
  max-width: 400px;
  margin: 25px auto 0;
}

/* =====================
   GALLERY (FIXED HEIGHT)
===================== */
.gallery-modern {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.gallery-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 320px;
}

.gallery-item:hover {
  transform: translateY(-8px);
}

.gallery-item img {
  flex: 1;
  width: 100%;
  object-fit: cover;
  display: block;
}

.gallery-item span {
  background: #f1f1f1;
  padding: 12px;
  font-weight: 600;
  text-align: center;
  font-size: 14px;
}

/* =====================
   LIGHTBOX
===================== */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

/* =====================
   FOOTER
===================== */
footer {
  background: #0a3d62;
  color: #fff;
  text-align: center;
  padding: 15px;
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 768px) {

  .menu {
    display: none;
    flex-direction: column;
    background: #0a3d62;
    position: absolute;
    top: 64px;
    right: 0;
    width: 220px;
    padding: 15px;
  }

  .menu.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .slider {
    height: 280px;
  }

  .overlay {
    padding: 16px;
    font-size: 14px;
  }

  .feature-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item {
    height: 280px;
  }
}

@media (min-width: 992px) {
  .gallery-item {
    height: 340px;
  }
}
