@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;700&display=swap');

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #f4f6fb;
  color: #222;
}

h1, h2, h3, h4, h5, p, a, span { opacity: 1; }

/* ===== Navbar ===== */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  z-index: 1000;
}

.logo {
  height: 55px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  background: transparent;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  color: #1a1a1a;
  margin: 0 10px;
  text-decoration: none;
  font-weight: 500;
  transition: color .2s ease;
}

.nav-links a:hover { color: #0d6efd; }

/* Hamburger menu button */
.menu-btn {
  display: none;
  position: relative;
  background: #fff;
  border: 1px solid #e5e5e5;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 26px;
  font-weight: bold;
  color: #1a1a1a;
  cursor: pointer;
  z-index: 1100;
  user-select: none;
  line-height: 1;
}

.menu-btn:hover { background: #f0f0f0; }

/* ===== Hero ===== */
.hero {
  background: url('../images/1784321494614.png') center/cover no-repeat;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 20px;
}

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

.hero > * {
  position: relative;
  color: #fff;
  z-index: 1;
}

.hero h1 { font-size: 28px; max-width: 700px; }

.btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 25px;
  background: #ff9800;
  border-radius: 30px;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  border: none;
  cursor: pointer;
}

/* ===== Feature Cards ===== */
.cards {
  padding: 30px 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.card {
  background: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,.06);
  flex: 1 1 220px;
  max-width: 300px;
  color: #222;
}

.card h3, .card p { color: #222; }

.section { padding: 30px; }

/* ===== Gallery ===== */
.gallery-section { padding: 30px 20px; text-align: center; }
.gallery-section h2 { color: #1a1a1a; }
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}
.gallery img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
}

/* ===== Facilities Grid ===== */
.section-grid { padding: 40px 20px; }
.section-grid h2 { color: #1a1a1a; text-align: center; margin-bottom: 25px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.facility-card {
  position: relative;
  border-radius: 16px;
  padding: 20px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 4px 15px rgba(0,0,0,.15);
  cursor: pointer;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  border: 1px solid #e5e5e5;
  transition: transform .25s ease;
}

.facility-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.5);
  transition: background .25s ease;
}

.facility-card:hover { transform: translateY(-4px) scale(1.02); }
.facility-card:hover::before { background: rgba(0,0,0,.6); }

.facility-card h3,
.facility-card p {
  position: relative;
  z-index: 1;
  color: #fff;
  margin: 4px 0;
}

.facility-card h3 { font-size: 18px; }
.facility-card p { font-size: 13px; opacity: .9; }

/* ===== Contact Section ===== */
.contact-section {
  padding: 40px 20px;
  text-align: center;
}

.contact-section h2 { color: #1a1a1a; }

.contact-section input {
  display: block;
  margin: 10px auto;
  padding: 10px;
  width: 280px;
  max-width: 90%;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.contact-section button {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  background: #25D366;
  color: #fff;
  font-weight: 500;
  cursor: pointer;
}

.contact-section .contact-info {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.contact-section .contact-info p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  margin: 4px 0;
}

.contact-section i,
.contact-section .icon-circle {
  color: #0d6efd;
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #eef3ff;
  font-size: 16px;
  flex-shrink: 0;
}

.mapbtn, .wabtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  margin: 8px 6px;
  color: #fff;
  font-weight: 500;
}

.mapbtn { background: #0d6efd; }
.wabtn { background: #25D366; }

/* ===== Modal ===== */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.9);
  justify-content: center;
  align-items: center;
  z-index: 99999;
}
.modal img { max-width: 95%; max-height: 95%; border-radius: 8px; }

/* ===== Footer ===== */
footer {
  text-align: center;
  padding: 20px;
  background: #fff;
  color: #555;
  font-size: 14px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .menu-btn { display: block; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 10px 20px;
    box-shadow: 0 6px 12px rgba(0,0,0,.08);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    margin: 8px 0;
    width: 100%;
  }

  .hero h1 { font-size: 22px; }
  .card { max-width: 100%; }
}

@media (max-width: 480px) {
  .logo { height: 45px; }
  .facility-card { min-height: 140px; }
}
