/* 1. Force the page to take up 100% of the screen height */
html, body {
   margin: 0;
  padding: 0;
  height: 100%;
}

/* 2. Turn the body into a vertical flexbox container */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* 3. Wrap all your main content (everything except the footer) 
   in a <main> tag and give it this rule to push the footer down */
main {
  flex: 1; 
}

/* 4. Keep your footer pinned tightly at the bottom container */
footer {
  flex-shrink: 0; /* Prevents the footer from squishing */
}


body {
    margin: 0;
    padding: 0;
    background-color: #00843D;
  }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

  .center-me {
    text-align: center;
    color: white;        
  }

/* Reset standard browser margins and padding */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Style the top bar container */
.top-bar {
  background-color: #333;       /* Dark background color */
  display: flex;                /* Flexbox aligns logo and links horizontally */
  justify-content: space-between; /* Pushes logo to left, links to right */
  align-items: center;          /* Aligns items perfectly center vertically */
  padding: 15px 30px;           /* Padding inside the bar */
  position: sticky;             /* Optional: Keeps bar locked at top on scroll */
  top: 0;
  z-index: 1000;                /* Keeps the top bar above page content */
}

/* Style the logo text */
.logo {
  color: #fff;
  font-size: 24px;
  font-weight: bold;
}

/* Remove default list behavior */
.nav-links {
  list-style: none;             /* Removes the bullet points */
  display: flex;                /* Displays list items horizontally */
  gap: 20px;                    /* Creates even gaps between individual links */
}

/* Format link aesthetics */
.nav-links a {
  color: #fff;                  /* White text color */
  text-decoration: none;        /* Removes default link underline */
  font-size: 16px;              
  transition: color 0.3s ease;  /* Smooth hover transition */
}

/* Add an explicit visual effect when hovering */
.nav-links a:hover {
  color: #04AA6D;               /* Green accent text color on mouse hover */
}

/* Visually highlight the currently active page */
.nav-links a.active {
  border-bottom: 2px solid #04AA6D;
}

   /* Remove default browser margins and scrollbars */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        body {
            overflow: hidden; /* Prevents accidental scrollbars */
        }
        .services {
            width: 100vw;       /* 100% of viewport width */
            height: 100vh;      /* 100% of viewport height */
            object-fit: cover;  /* Fills space without distortion */
            display: block;     /* Eliminates baseline gap */
        }

/* Base footer styling */
footer {
  background-color: #1a1a1a;
  color: #ffffff;
  padding: 40px 20px 20px 20px;
  font-family: sans-serif;
}

/* Flexbox container for columns */
.footer-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

/* Individual column sizing */
.footer-col {
  flex: 1;
  min-width: 250px;
  margin-bottom: 20px;
}

.footer-col h3 {
  margin-bottom: 15px;
  color: #f4f4f4;
}

/* Link formatting */
.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Hover effect for links */
.footer-col ul li a:hover {
  color: #ffffff;
}

/* Bottom copyright bar layout */
.footer-bottom {
  text-align: center;
  border-top: 1px solid #333;
  padding-top: 20px;
  margin-top: 20px;
  font-size: 14px;
  color: #aaa;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .footer-col {
    margin-bottom: 30px;
  }
}
