:root {
  --bg: #f6fbff;
  --card: #ffffff;
  --accent: #0494d4;
  --accent-2: #0ac4a7;
  --muted: #55636f;
  --radius: 12px;
  --container: 1100px;
  --gap: 1.25rem;
  --shadow-sm: 0 6px 18px rgba(6, 30, 54, 0.06);
  --shadow-md: 0 10px 30px rgba(6, 30, 54, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial;
  color: #0b2233;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
  border-radius: var(--radius);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

img:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(4, 119, 200, 0.15);
}

.container {
  width: calc(100% - 2rem);
  max-width: var(--container);
  margin: 0 auto;
  padding: 2rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: inherit;
}

.logo {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  padding: 6px;
}

.brand-text {
  font-weight: 700;
  font-size: 1.05rem;
}

.nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
  padding: 0.5rem 0.6rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.3s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.3s ease;
}

.nav a:hover {
  color: var(--accent);
}

.nav a:hover::after {
  width: 100%;
}

.nav a.cta {
  border: 1px solid rgba(4, 119, 200, 0.2);
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  color: var(--accent);
  background: white;
  transition: all 0.3s ease;
}

.nav a.cta:hover {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: white;
  transform: translateY(-2px);
}

.site-header {
  background: linear-gradient(180deg, #eaf6ff 0%, #f6fbff 100%);
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(8, 24, 40, 0.05);
}

.hero {
  position: relative;
  padding-bottom: 0;
}

.hero-inner {
  display: flex;
  gap: 2rem;
  align-items: center;
  padding: 3rem 0 1.5rem;
}

.hero-content {
  flex: 1 1 420px;
  max-width: 700px;
}

.hero-content h1 {
  font-size: 2.2rem;
  margin-bottom: 0.6rem;
  line-height: 1.1;
  color: #04324a;
}

.lead {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn.primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn.primary:hover {
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(4, 119, 200, 0.25);
}

.btn.ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid rgba(4, 119, 200, 0.2);
}

.btn.ghost:hover {
  background: rgba(4, 119, 200, 0.07);
  transform: translateY(-2px);
}

.hero-media {
  flex: 0 0 420px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.intro-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.card {
  background: var(--card);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.spotlight-inner {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  padding: 1rem;
  border-radius: 14px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.spotlight-inner:hover {
  transform: scale(1.01);
  box-shadow: var(--shadow-md);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.9rem;
  margin-top: 0.8rem;
}

.gallery figure {
  background: var(--card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.gallery figure:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.cta-strip {
  margin: 2rem 0;
  background: linear-gradient(90deg, rgba(4, 119, 200, 0.08), rgba(10, 163, 181, 0.05));
  padding: 1.2rem;
  border-radius: 12px;
  text-align: center;
}

.list-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: var(--card);
  padding: 0.9rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.list-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.site-footer {
  background: #042634;
  color: #d6eef6;
  padding: 2.2rem 0 1.4rem;
  margin-top: 2.2rem;
  border-top-left-radius: 22px;
  border-top-right-radius: 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.site-footer h4,
.site-footer h5 {
  color: #e9fbff;
  margin-bottom: 0.6rem;
}

.footer-grid a {
  text-decoration: none;
  color: #cdeef7;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-grid a:hover {
  color: var(--accent-2);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 1rem;
  color: #bfeaf7;
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column-reverse;
    gap: 1rem;
    padding: 2rem 0;
  }

  .hero-media {
    width: 100%;
  }

  .spotlight-inner {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }

  .header-inner {
    gap: 0.6rem;
  }
}

@media (min-width: 901px) and (max-width: 1200px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

a:focus,
button:focus,
input:focus,
textarea:focus {
  outline: 3px solid rgba(4, 119, 200, 0.18);
  outline-offset: 2px;
}

/* === Newsletter and Footer Fix === */

.newsletter {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: flex-start;
}

.newsletter h5 {
  color: #e9fbff;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.newsletter p {
  color: #cdeef7;
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

.newsletter form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 100%;
}

.newsletter input[type="email"] {
  flex: 1;
  min-width: 220px;
  padding: 0.6rem 0.8rem;
  border-radius: 8px;
  border: none;
  font-size: 0.95rem;
  color: #04324a;
  transition: all 0.3s ease;
}

.newsletter input[type="email"]::placeholder {
  color: #7aa7b6;
}

.newsletter input[type="email"]:focus {
  outline: 2px solid var(--accent-2);
  box-shadow: 0 0 6px rgba(10, 196, 167, 0.4);
}

.newsletter button {
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff;
  transition: all 0.3s ease;
}

.newsletter button:hover {
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(4, 119, 200, 0.25);
}

.footer-bottom a {
  color: #9cd8d0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--accent-2);
}

/* ===== RESPONSIVE FIXES START ===== */
.nav-toggle {
  display: none;
}

.nav-toggle-label {
  display: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--muted);
  z-index: 120;
}

@media (max-width: 900px) {
  .nav-toggle-label {
    display: block;
  }

  .nav {
    display: none;
    flex-direction: column;
    background: #fff;
    position: fixed;
    top: 70px;
    right: 1rem;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    padding: 1rem;
    z-index: 200;
  }

  .nav a {
    color: #04324a;
    padding: 0.5rem 0;
  }

  .nav-toggle:checked + .nav-toggle-label + .nav {
    display: flex;
  }

  .hero-inner {
    flex-direction: column-reverse;
    gap: 1.2rem;
    padding: 2rem 1rem;
  }

  .hero-media {
    width: 100%;
  }

  .spotlight-inner {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-purpose {
    grid-template-columns: 1fr;
    padding: 2rem 1rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem 1rem;
  }

  .about-hero {
    height: 50vh;
  }

  .about-hero h1 {
    font-size: 2rem;
  }

  .about-hero p {
    font-size: 1rem;
  }
}

@media (max-width: 700px) {
  .loc-card img {
    height: 160px;
  }
  .loc-info h3 {
    font-size: 1.1rem;
  }
  .loc-info .desc {
    font-size: 0.9rem;
  }
}

@media (min-width: 901px) and (max-width: 1200px) {
  .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}
/* ===== RESPONSIVE FIXES END ===== */

/* === Waterfalls Page Responsive Fix === */

.list-cards {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  margin-top: 1rem;
}

.list-item {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  background: var(--card);
  padding: 1rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.list-item img {
  width: 280px;
  height: 180px;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: var(--radius);
}

.list-item div {
  flex: 1;
}

.list-item h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  color: #04324a;
  font-size: 1.25rem;
}

.list-item p {
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.97rem;
  margin-bottom: 0.8rem;
  text-align: justify;
}

.list-item .btn.small {
  font-size: 0.9rem;
  padding: 0.45rem 0.9rem;
}

/* --- Responsive fixes --- */
@media (max-width: 850px) {
  .list-item {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .list-item img {
    width: 100%;
    height: auto;
  }

  .list-item div {
    width: 100%;
  }

  .list-item h3 {
    font-size: 1.15rem;
  }

  .list-item p {
    font-size: 0.95rem;
  }
}

@media (min-width: 851px) and (max-width: 1150px) {
  .list-item img {
    width: 230px;
    height: 160px;
  }

  .list-item h3 {
    font-size: 1.2rem;
  }
}

/* === Locations Page Enhancement === */

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: var(--gap);
  margin-top: 2rem;
}

.loc-card {
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.loc-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.loc-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 2px solid rgba(4, 119, 200, 0.08);
}

.loc-info {
  padding: 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.loc-info h3 {
  color: #04324a;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
  font-weight: 700;
}

.loc-info .coords {
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 500;
}

.loc-info .desc {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.55;
  text-align: justify;
  flex-grow: 1;
}

.loc-info .btn.small {
  align-self: start;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: background 0.3s ease, transform 0.3s ease;
}

.loc-info .btn.small:hover {
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}


.locations-grid {
  background: linear-gradient(180deg, rgba(4, 119, 200, 0.03), rgba(10, 196, 167, 0.03));
  padding: 1.5rem;
  border-radius: 16px;
}


@media (max-width: 700px) {
  .loc-card img {
    height: 160px;
  }

  .loc-info h3 {
    font-size: 1.1rem;
  }

  .loc-info .desc {
    font-size: 0.9rem;
  }
}

/* === Contact Page Styling === */
.page-intro {
  text-align: center;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.page-intro h1 {
  font-size: 2rem;
  color: #04324a;
  margin-bottom: 0.5rem;
}

.page-intro .lead {
  color: var(--muted);
  font-size: 1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
  background: linear-gradient(180deg, #ffffff, #f6fbff);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: var(--card);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.contact-form label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  font-size: 0.95rem;
  color: #04324a;
}

.contact-form input,
.contact-form textarea {
  margin-top: 0.35rem;
  padding: 0.65rem 0.8rem;
  border-radius: 8px;
  border: 1px solid rgba(4, 119, 200, 0.2);
  font-size: 0.95rem;
  font-family: inherit;
  resize: none;
  background: #f9fcff;
}

.contact-form input:disabled,
.contact-form textarea:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-actions {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.contact-info {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.contact-info h3,
.contact-info h4 {
  color: #04324a;
  margin-bottom: 0.4rem;
}

.contact-info p {
  color: var(--muted);
  line-height: 1.55;
  font-size: 0.95rem;
}

.contact-info a {
  color: var(--accent);
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

/* === Contact Page Responsive === */
@media (max-width: 850px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem 1rem;
  }

  .contact-form,
  .contact-info {
    width: 100%;
  }
}

.simple-footer {
  background: #042634;
  color: #cdeef7;
  text-align: center;
  padding: 1rem 0;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
}

/* === About Page Styling === */

.about-hero {
  position: relative;
  background: url("images/kawasan-hero.jpg") center/cover no-repeat;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1d1616ff;
  text-align: center;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  box-shadow: var(--shadow-md);
}

.about-hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.45);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  
}

.about-hero .hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 0 1rem;
}

.about-hero h1 {
  font-size: 2.4rem;
  margin-bottom: 0.6rem;
}

.about-hero p {
  font-size: 1.1rem;
  line-height: 1.6;
}

.about-intro {
  text-align: center;
  padding: 3rem 0 2rem;
}

.about-intro h2 {
  color: #04324a;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.about-intro p {
  color: var(--muted);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
  font-size: 1rem;
}

.about-purpose {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
  background: linear-gradient(180deg, #ffffff, #f8fcff);
  padding: 3rem 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.about-purpose h2, 
.about-purpose h3 {
  color: #04324a;
}

.about-purpose p {
  color: var(--muted);
  line-height: 1.65;
  text-align: justify;
}

.about-purpose ul {
  list-style: disc;
  padding-left: 1.2rem;
  color: var(--muted);
  line-height: 1.6;
}

.mission-section {
  background: linear-gradient(90deg, rgba(4, 119, 200, 0.05), rgba(10, 196, 167, 0.07));
  text-align: center;
  padding: 4rem 1rem;
  border-radius: var(--radius);
  margin: 3rem auto;
  box-shadow: var(--shadow-sm);
}

.mission-section h2 {
  color: #04324a;
  font-size: 1.9rem;
  margin-bottom: 1rem;
}

.mission-section p {
  color: var(--muted);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
  font-size: 1rem;
}

.team {
  text-align: center;
  padding: 3rem 1rem;
}

.team h2 {
  color: #04324a;
  margin-bottom: 0.6rem;
}

.team p {
  color: var(--muted);
}

.team-list {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.team-list li {
  background: var(--card);
  padding: 0.8rem 1.3rem;
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  font-weight: 600;
  color: #04324a;
  transition: all 0.3s ease;
  list-style: none;
}

.team-list li:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff;
}

@media (max-width: 850px) {
  .about-purpose {
    grid-template-columns: 1fr;
    padding: 2rem 1rem;
  }

  .about-hero {
    height: 50vh;
  }

  .about-hero h1 {
    font-size: 2rem;
  }

  .about-hero p {
    font-size: 1rem;
  }
}
