/* Chrome Text Size Fix */
html {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}


/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #ffffff;
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  padding: 0 40px;
  position: fixed;
  top: 0;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  z-index: 2000;
}

.logo {
  color: #4caf50;
  font-size: 24px;
  font-weight: bold;
  letter-spacing: 1px;
}

/* Nav Menu */
nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  align-items: center;
}

nav ul li {
  display: flex;
  align-items: center;
  padding: 0 !important;
  margin: 0 !important;
}

nav ul li a {
  text-decoration: none;
  color: #333 !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  font-family: "Poppins", sans-serif !important;
  letter-spacing: 0.3px !important;
  line-height: 1 !important;
  display: flex;
  align-items: center;
  height: 70px;
  transition: 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
  color: #4caf50 !important;
}

#menu-btn {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #333;
}

/* Hero Section */
.hero {
  height: 60vh;              /* was 100vh */
  max-height: 550px;        /* prevents huge screens */
  min-height: 360px;        /* keeps it usable on mobile */
  background: url("images/hero.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  color: white;
  padding: 40px;
}


.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(76, 175, 80, 0.6);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 18px;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  background: #4caf50;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: 0.3s;
}

.btn:hover {
  background: #45a049;
}

/* Page Headers */
section,
.page-header {
  padding-top: 100px; /* prevent overlap in Firefox */
  scroll-margin-top: 80px;
}

.page-header {
  text-align: center;
  padding-bottom: 40px;
}

.page-header h1 {
  font-size: 36px;
  margin-bottom: 10px;
  color: #4caf50;
}

.page-header p {
  font-size: 18px;
  color: #555;
}

/* Features Section */
.features {
  padding: 60px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.feature-box {
  background: white;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: 0.3s;


  /* NEW – required for <a> tag usage */
  display: block;
  text-decoration: none;
  color: inherit;

}

.feature-box:hover {
  transform: translateY(-5px);
  border: 1px solid #4caf50;
}

/* Services Section */
.services,
.services-page {
  padding: 60px 40px;
  text-align: center;
}

.services-container {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.service-card {
  background: white;
  border-radius: 10px;
  padding: 0 0 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}

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

.service-card:hover {
  transform: translateY(-5px);
  border: 1px solid #4caf50;
}

/* About Section */
.about {
  padding: 60px 40px;
  background: #f7fdf7;
  text-align: center;
}

.about-content ul {
  list-style: disc;
  padding-left: 20px;
  margin-top: 15px;
  display: inline-block;
  text-align: left;
}

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

.contact-form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

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

textarea {
  height: 120px;
  resize: none;
}

#form-status {
  font-size: 14px;
  margin-top: 10px;
}

/* Footer */
footer {
  background: #4caf50;
  color: white;
  text-align: center;
  padding: 20px 0;
}

/* MOBILE MENU */
@media (max-width: 768px) {
  nav ul {
    position: absolute;
    top: 70px;
    right: 0;
    width: 220px;
    background: #ffffff;
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    display: none;
    border-left: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    z-index: 3000;
  }

  nav ul.show {
    display: flex !important;
  }

  #menu-btn {
    display: block;
  }

  nav ul li {
    text-align: left;
  }
}


/* Styling the Column containing the links */
.footer-col {
    color: #ffffff; /* Sets the "|" separators to white */
}

/* Specific styling for the links inside the footer */
.footer-col a {
    color: #ffffff;          /* Makes links white */
    text-decoration: none;   /* Removes the default underline */
    margin: 0 5px;           /* Adds space around the "|" */
    font-size: 15px;
    transition: color 0.3s ease;
    display: inline-block;   /* Ensures they stay on one line */
}

/* Hover effect */
.footer-col a:hover {
    color: #3498db;          /* Changes to blue when you hover */
    text-decoration: underline;
}

/* Ensure social media icons are also white */
.social-links a {
    color: #ffffff !important;
    font-size: 20px;
    margin-right: 15px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-links a:hover {
    color: #3498db !important;
    transform: translateY(-3px); /* Subtle lift effect */
}



/* Wrap this in a media query so it doesn't break the mobile menu */
@media (min-width: 769px) {
  nav ul {
      display: flex;
      list-style: none;
      align-items: center;
  }
}

.logo-img {
    height: 60px; 
    width: auto;  
    display: block;
}