/* Reset margins/padding */
html, body {
    margin: 0;
    padding: 0;
  }
  

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f8f9fa;
  color: #222;
  line-height: 1.6;
}

/* ========== HERO SECTION ========== */
.hero {
    background: url('images/mainbackground.jpg') no-repeat center center/cover;
    color: white;
    min-height: 100vh; /* Ensure it takes full screen height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
  }
  

  .hero-logo {
    height: 70px;  /* Make the logo slightly bigger */
    width: auto;
    margin-bottom: 30px;
    opacity: 0.95;
  }
  
  

.hero h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  max-width: 600px;
}

/* ========== BUTTON ========== */
.btn {
  display: inline-block;
  background-color: #a38b5f;
  color: white;
  padding: 12px 24px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #8c774f;
}

/* ========== CONTENT SECTION ========== */
section.content {
  padding: 50px 25px;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

section.content h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  font-weight: 600;
}

/* ========== CARD LIST ========== */
.card-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  padding: 0;
}

.card {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 16px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0;
}

/* ========== CONTACT FORM ========== */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 500px;
  margin: 40px auto 0;
}

.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  width: 100%;
}

.contact-form textarea {
  resize: vertical;
  height: 150px;
}

.contact-form button {
  background-color: #a38b5f;
  color: white;
  border: none;
  padding: 12px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #8c774f;
}

.contact-info {
  margin: 20px 0;
  font-size: 1rem;
  color: #333;
}

.contact-info p {
  margin: 5px 0;
}


/* ========== FOOTER ========== */
footer {
    background-color: #1F2937;
    color: #f0f0f0;
    text-align: center;
    padding: 20px;
    margin-top: 0; /* Ensures no white space */
  }
  

footer nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 20px;
  padding: 0;
}

footer nav a {
  color: #c2b280;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 18px;
  border: 2px solid transparent;
  border-radius: 8px;
  transition: all 0.3s ease;
}

footer nav a:hover,
footer nav a.active {
  background-color: #c2b280;
  color: #1F2937;
  border-color: #f0f0f0;
}

footer p {
  font-size: 0.9rem;
  color: #ccc;
}

.page-header {
    background-color: #1F2937;
    padding: 20px;
    text-align: center;
  }
  
  .page-header nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 0;
    padding: 0;
  }
  
  .page-header nav a {
    color: #f0f0f0;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 6px;
    transition: background-color 0.3s ease;
  }
  
  .page-header nav a:hover,
  .page-header nav a.active {
    background-color: #c2b280;
    color: #1F2937;
  }
  
  /* Main content */
  .page-content {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
  }
  
  .page-content h1 {
    font-size: 2.2rem;
    margin-bottom: 40px;
    font-weight: 600;
    color: #1F2937;
  }
  
  /* Grid of cards */
  .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
  }
  
  .card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    padding: 16px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }
  
  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  }
  
  .card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 12px;
  }
  
  .card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1F2937;
  }
 
  
 /* ========== RESET & BASE ========== */
*,
html,
body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f8f9fa;
  color: #222;
  line-height: 1.6;
}

/* ========== PAGE CONTENT (for inner pages) ========== */
.page-content {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.page-content h1 {
  font-size: 2.2rem;
  margin-bottom: 40px;
  font-weight: 600;
  color: #1F2937;
}

.climate-intro {
  font-size: 1.05rem;
  margin-bottom: 40px;
  color: #333;
}

/* ========== CARD GRID (used on climate.html, etc.) ========== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background-color: #ffffff;
  padding: 18px 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  font-size: 1.05rem;
  font-weight: 500;
  color: #1F2937;
  transition: all 0.2s ease;
  text-align: center;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

/* ========== FOOTER WITH NAVIGATION ========== */
footer {
  background-color: #1F2937;
  color: #f0f0f0;
  text-align: center;
  padding: 40px 20px;
  border: none;
}

footer nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 20px;
  padding: 0;
}

footer nav a {
  color: #c2b280;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 18px;
  border: 2px solid transparent;
  border-radius: 8px;
  transition: all 0.3s ease;
}

footer nav a:hover,
footer nav a.active {
  background-color: #c2b280;
  color: #1F2937;
  border-color: #f0f0f0;
}

footer p {
  font-size: 0.9rem;
  color: #ccc;
}


/* Make the footer fixed at bottom */
footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1F2937; /* or your preferred color */
    color: #f0f0f0;
    text-align: center;
    padding: 20px;
    border: none;
    /* Optional shadow to separate it visually */
    box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.1);
  }
  
  /* Give main content enough bottom padding so it's not hidden under footer */
  .page-content {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    text-align: center;
    /* This is crucial: footer height ~60px + some buffer */
    padding-bottom: 100px;
  }
  
  /* Footer nav styling (same as before, but keep it consistent) */
  footer nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin: 0;
    padding: 0;
  }
  
  footer nav a {
    color: #c2b280;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 18px;
    border: 2px solid transparent;
    border-radius: 8px;
    transition: all 0.3s ease;
  }
  
  footer nav a:hover,
  footer nav a.active {
    background-color: #c2b280;
    color: #1F2937;
    border-color: #f0f0f0;
  }
  
  footer p {
    font-size: 0.9rem;
    color: #ccc;
    margin-top: 10px;
  }

  /* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 99;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.7);
}

.modal-content {
  background: white;
  margin: 10% auto;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  text-align: center;
}

.close {
  color: #aaa;
  float: right;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover {
  color: black;
}

/* Floating Button */
.top-book {
  position: fixed;
  top: 30px;
  left: 30px;
  background: #00bfa6;
  color: white;
  padding: 12px 18px;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease;
}

.top-book:hover {
  background: #009b8a;
}



/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 450px;
  text-align: center;
  position: relative;
}

.modal .close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form button {
  background: #00bfa6;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.contact-form button:hover {
  background: #009b8a;
}

.contact-form label {
  font-weight: 600;
  text-align: left;
  margin-top: 10px;
}

.contact-form select,
.contact-form input[type="radio"] {
  margin-top: 5px;
}

.radio-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 10px 0 15px 0;
}

.radio-group label {
  font-weight: normal;
  font-size: 0.95rem;
}

.top-book {
  position: fixed;
  top: 30px;
  left: 30px;
  background: #00bfa6;
  color: white;
  padding: 12px 18px;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: background 0.3s ease;
}

.top-book:hover {
  background: #009b8a;
}

.top-contact {
  position: fixed;
  top: 80px;
  left: 30px;
  background: #003366;
  color: white;
  padding: 12px 18px;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: background 0.3s ease;
}

.top-contact:hover {
  background: #005fa3;
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background: white;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 450px;
  text-align: center;
  position: relative;
}

.modal .close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.contact-form button {
  background: #00bfa6;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
}

.contact-form button:hover {
  background: #009b8a;
}

.radio-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
}

.contact-info {
  margin-bottom: 15px;
  font-size: 0.95rem;
  color: #333;
  text-align: left;
}

.page-banner {
  height: 300px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-shadow: 0 2px 6px rgba(0,0,0,0.7);
  margin-bottom: 40px;
}

.banner-content h1 {
  font-size: 2.5rem;
  font-weight: 600;
}
.modal-image {
  background-size: cover;
  background-position: center;
  height: 180px;
  border-radius: 10px 10px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}

.modal-image h2 {
  font-size: 2rem;
}

.info-list {
  text-align: left;
  margin-top: 20px;
  font-size: 1rem;
  line-height: 1.6;
}

.info-list li {
  margin-bottom: 12px;
}

.page-banner {
  height: 300px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-shadow: 0 2px 6px rgba(0,0,0,0.7);
  margin-bottom: 40px;
}

.banner-content h1 {
  font-size: 2.5rem;
  font-weight: 600;
}

.info-list {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
  padding: 0 20px;
}

.info-list li {
  margin-bottom: 18px;
}

#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 40px;
  right: 30px;
  z-index: 999;
  font-size: 20px;
  padding: 12px 16px;
  background-color: #003366;
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: background 0.3s ease;
}

#scrollTopBtn:hover {
  background-color: #005fa3;
}

#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 40px;
  right: 30px;
  z-index: 999;
  font-size: 20px;
  padding: 12px 16px;
  background-color: #003366;
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: background 0.3s ease;
}

#scrollTopBtn:hover {
  background-color: #005fa3;
}


