body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.container {
  width: 100%;
  max-width: 1200px; /* or whatever you like */
  margin: 0 auto;
  padding: 0 1em; 
}


/* -------------------------- Navbar section -------------------------- */
.navbar {
  position: sticky; /* or fixed*/
  top: 0;
  width: 100%;
  z-index: 1000; /* Keep it above all other content */
  background-color: #1a1a1a;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05); /* subtle shadow for separation */
  color: white; /* can delete */
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 1em;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

/* Desktop Nav Links */
.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  color: #ffffff; /* white */
  padding: 10px 0;
  transition: all 0.3s ease;
}

/* Hover underline */
.nav-links a::after {
  content: '';
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #ffffff; /* white underline */
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: #ffffff; /* white */
}

/* to keep the underline when tab is active */
.nav-links a.active::after {
  width: 100%;
}

/* Hamburger Menu */
.hamburger {
  font-size: 2rem;
  cursor: pointer;
  display: none;
  background: none;
  border: none;
  color: #ffffff; /* white */
  position: static;
  align-self: center;
  margin-left: auto;
}

/* Show hamburger on small screens */
@media (max-width: 1000px) {
  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
  }
}

/* Overlay Menu */
.overlay {
  position: fixed;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(2px);
  transition: left 0.3s ease-in-out;
  z-index: 1000;
}

.overlay.active {
  left: 0;
}

.overlay-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.overlay-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.overlay-content ul li {
  margin: 20px 0;
}

.overlay-content ul li a {
  text-decoration: none;
  font-size: 1.5rem;
  color: #000;
  font-weight: 600;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 20px;
  right: 16px;
  font-size: 2rem;
  cursor: pointer;
  color: #333;
  z-index: 1101;
}

/* Hide hamburger when menu is open */
body.menu-open .hamburger {
  display: none;
}













/* -------------------------- Home Hero section -------------------------- */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75); /* 75% black overlay */
  z-index: 0;
}

.hero {
  background-image: url('./images/hero.jpg'); /* or just 'hero.jpg' if it's in the same folder */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white; /* Ensure text is readable */
  padding: 100px 20px;
  text-align: center;
  min-height: 60vh; /* Adjust height as needed */
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem; /* approx. 48px */
  position: relative;
  z-index: 2;
}

.hero p {
  font-size: 1.5rem; /* approx. 24px */
  position: relative;
  z-index: 2;
}










/* -------------------------- About Us section -------------------------- */

.about-section {
  padding: 2em 1em;
  background-color: #f9f9f9;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
}

.about-container {
  display: flex;
  flex-wrap: wrap; /* ensures it stacks on small screens */
/*   gap: 2em; */
/*   max-width: 1000px; */
  margin: 0 auto;
  justify-content: space-between; /* or center, depending on your layout */
  align-items: stretch; /* let left and right grow to same height */
  padding: 0 1em;        /* Adds spacing on the outer sides */
}



.about-left {
  flex: 1 1 45%; /* flex-grow, flex-shrink, min-width */
  min-width: 300px;
  padding-left: 1em;     /* Pushes content away from the left edge */
  padding-right: 1em;    /* (Optional) gives balance */
  box-sizing: border-box;
}
.about-left h2 {
  text-align: left;
  font-size: 2rem;
  margin-bottom: 1em;
}
.about-left p {
  text-align: left;
  margin-bottom: 1.2em;
  max-width: 500px;
}
.about-left ul {
  text-align: left;
  margin-bottom: 1.2em;
  list-style-position: outside;
  padding-left: 1.2em;
  max-width: 500px;
}



.about-right {
  flex: 1 1 45%;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2em 1em;
  min-height: 250px; /* adjust as needed for vertical space */
  background-color: #e6e6e6; /* Slightly darker background than the left */
}
.about-right p {
  font-size: 1.3rem;  /* slightly larger */
  font-weight: bold;
  max-width: 500px;
/*   margin: 0 0 1em 0; */
}












/* -------------------------- Contact section -------------------------- */
.contact-section {
  padding: 2em;
  max-width: 600px;
  margin: 0 auto;
}
.contact-section h2 {
  text-align: center;
  font-size: 2rem;       /* Optional: adjust as needed */
  font-weight: bold;     /* Optional: make it bold */
  margin-bottom: 1em;    /* Optional: spacing below */
}

.contact-section form {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.contact-section input,
.contact-section textarea {
  padding: 0.5em;
  font-size: 1em;
  font-family: inherit; /* Ensures both use the body font */
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: vertical; /* Optional: allows resizing only vertically */
}
.contact-section textarea::placeholder,
.contact-section input::placeholder {
  font-family: inherit;
  font-size: 1em;
  color: #999;
}
.contact-section select {
  padding: 0.5em;
  font-size: 1em;
  font-family: inherit;
  border: 1px solid #ccc;
  border-radius: 4px;
  color: #333;
  background-color: #fff;
}
.contact-section select:invalid {
  color: #999;
}


.contact-section button {
  width: fit-content;       /* Makes the button as wide as its content */
  align-self: center;       /* Centers it in the flex column */
  margin: 1em;
  padding: 0.7em 1.5em;      /* Adds horizontal padding */
  background-color: navy; /* Navy Blue */
  color: white;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  border-radius: 4px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-section button:hover {
  background-color: #003366; /* Slightly lighter navy */
  transform: scale(1.05);
}




#form-response {
  text-align: center;
  font-size: 1em;
  color: green;
  opacity: 0;
  transition: opacity 0.5s ease;
  height: 1.2em;           /* Reserve consistent space */
  margin-top: -0.5em;      /* Bring it closer to the button */
  pointer-events: none;    /* Prevent layout interaction */
}

#form-response.show {
  opacity: 1;
}






/* -------------------------- Footer section -------------------------- */
.site-footer {
  margin-top: auto;
  background-color: #f0f0f0;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #555;
}

/* For the button on the FAQs footer */
.site-footer a {
  color: #555;            /* to match your footer */
  text-decoration: none;   /* removes underline */
  font-weight: bold;       /* already handled by <strong>, but redundant is fine */
}

.site-footer a:hover {
  text-decoration: underline; /* adds underline on hover if you want */
}







/* -------------------------- FAQs section -------------------------- */
.page-title {
  background-color: #ffffff; /* or #f7f7f7 Light gray background (optional) */
  padding: 3rem 1rem 1rem;   /* Spacing around the title */
  text-align: center;
}

.page-title h1 {
  margin: 0;
  font-size: 2.5rem;
  color: #1a1a1a; /* Dark gray/black text */
}

.faq-section {
  background-color: #ffffff; /* White background */
  color: #333; /* Default dark text */
  padding: 1rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}
.faq h2 {
  margin-bottom: 0.3rem;
}

.faq-item {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
  background-color: #fff;
  transition: box-shadow 0.2s ease;
}

.faq-item:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
  background-color: #fafafa;
  padding: 1rem 1.25rem;
  font-size: 1.05rem;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  text-align: left;
  transition: background-color 0.2s;
}

.faq-question:hover {
  background-color: #f0f0f0;
}

.faq-question .caret {
  font-size: 1.2rem;
  color: #333;
  transition: transform 0.3s ease;
}


.faq-answer {
  padding: 0 1.25rem;
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-answer ul {
  padding-left: 1.5rem;
  margin: 0.5rem 0;
  list-style-type: disc;
}
.faq-answer li {
  margin-bottom: 0.5rem;
}


.faq-item.open .faq-answer {
  padding-bottom: 1rem;
  max-height: 400px; /* Safe value for long answers */
}

.faq-item.open .caret {
  transform: rotate(180deg);
}
















