/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

:root {
  --primary-color: #1a1d21;
  --secondary-color: #25292e;
  --accent-color: #3aaf45;
  --text-color: #f0f4f8;
  --dark-overlay: rgba(0, 0, 0, 0.7);
}

body {
  background-color: var(--primary-color);
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
/* Navigation Bar */

.navbar {
  position: fixed;
  width: 100%;
  padding: 1.5rem 0;
  background: rgba(26, 29, 33, 0.079); /* Dark color with opacity */
  backdrop-filter: blur(10px); /* Glassmorphism effect */
  z-index: 1000;
  transition: transform 0.3s ease, background 0.3s ease, padding 0.3s ease;
}

.site-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-color);
  margin-left: 0.5rem;
  display: block;
}

/* Navbar hidden on scroll down */
.navbar.hidden {
  transform: translateY(-100%);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.logo-img {
  height: 50px;
  width: auto;
}

.logo span {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-color);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
/* General Navigation Link Styling */
.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  font-size: 1.2rem;
}

/* Hover and Active Effect for All Links Except Contact */
.nav-links a:not(.cta-nav):hover,
.nav-links a:not(.cta-nav).active {
  color: var(--accent-color);
}

/* Prevent Contact Button from Changing Color */
.cta-nav {
  color: var(--text-color) !important;
  background: var(--accent-color);
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  transition: background 0.3s ease;
}

/* Keep the Contact Button the Same on Hover */
.cta-nav:hover,
.cta-nav.active {
  background: var(--accent-color) !important;
  color: var(--text-color) !important;
}
/* Mobile Menu */
.mobile-menu {
  display: none;
  cursor: pointer;
  z-index: 1001;
}

.bar {
  width: 25px;
  height: 3px;
  background: var(--text-color);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  background: linear-gradient(var(--dark-overlay), var(--dark-overlay)),
    url("../images/hero-4.jpg") center/cover;
  display: flex;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.2rem;
  margin-top: 1rem;
  opacity: 0.8;
}

/* Contact Section with Background */
.contact {
  position: relative;
  padding: 6rem 0;
  text-align: center;
  background: linear-gradient(
      45deg,
      rgba(58, 175, 69, 0.1) 0%,
      rgba(26, 29, 33, 0.95) 100%
    ),
    url("../images/section.jpg") center/cover fixed;
}

.contact-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(58, 175, 69, 0.1) 0%,
    rgba(26, 29, 33, 0.95) 100%
  );
}

.contact .container {
  position: relative;
  z-index: 1;
}

/* Contact Wrapper */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 4rem;
  align-items: start;
}

/* Contact Form */
.contact-form {
  background: rgba(255, 255, 255, 0.05);
  padding: 2.5rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.contact-form h2 {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.contact-form p {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

.form-group {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-group input,
textarea {
  width: 100%;
  padding: 1rem;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-color);
  font-size: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: border 0.3s ease;
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

input:focus,
textarea:focus {
  border: 1px solid var(--accent-color);
  outline: none;
}

textarea {
  height: 120px;
  resize: none;
}

/* Service Selection */
.services-selection {
  text-align: left;
  margin: 2rem 0;
}

.services-selection h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--accent-color);
}

.checkbox-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.checkbox-list label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.2rem;
  cursor: pointer;
}

/* Custom Checkbox Styling */
.checkbox-list input {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #ccc; /* Grey border */
  border-radius: 4px;
  background-color: transparent;
  display: inline-block;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* When checkbox is checked, show green checkmark */
.checkbox-list input:checked {
  background-color: var(--accent-color); /* Green background */
  border-color: var(--accent-color);
}

/* Custom Checkmark */
.checkbox-list input:checked::after {
  content: "\2713"; /* Unicode checkmark */
  font-size: 14px;
  font-weight: bold;
  color: white; /* White checkmark */
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* CTA Button */
.cta-btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: var(--accent-color);
  color: var(--text-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  width: 100%;
  text-align: center;
  margin-top: 1rem;
  cursor: pointer;
  border: none;
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(58, 175, 69, 0.3);
}

/* Contact Details */
.contact-details {
  background: rgba(255, 255, 255, 0.05);
  padding: 2.5rem;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: left;
}

.contact-details h2 {
  font-size: 2rem;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.contact-details p {
  font-size: 1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-details i {
  font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .checkbox-list {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.footer {
  position: relative;
  padding: 5rem 0;
  background: linear-gradient(rgba(26, 29, 33, 0.9), rgba(26, 29, 33, 0.9)),
    url("../images/section-2.jpg") center/cover fixed;
  color: var(--text-color);
}

/* Dark overlay to improve text readability */
.footer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(26, 29, 33, 0.95) 0%,
    rgba(58, 175, 69, 0.1) 100%
  );
  z-index: 0;
}

.footer .container {
  position: relative;
  z-index: 1;
}

/* Footer Content Layout */
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  text-align: left;
  align-items: start;
}

/* Logo & About */
.footer-about {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo img {
  height: 60px;
  width: auto;
}

.footer-about h4 {
  font-size: 1.4rem;
  font-weight: 700;
}

.footer-about p {
  font-size: 1rem;
  opacity: 0.8;
  max-width: 300px;
}

/* Footer Sections */
.footer-links ul,
.footer-services ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  position: relative;
}

/* Footer Links Styling */
.footer-links ul li,
.footer-services ul li,
.footer-contact ul li {
  margin-bottom: 0.6rem;
  font-size: 1rem;
  opacity: 0.8;
  transition: color 0.3s ease;
}

.footer-links a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

/* Contact Icons */
.footer-contact ul li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact i {
  color: var(--accent-color);
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
  font-size: 1rem;
  opacity: 0.8;
}

.footer-legal {
  margin-top: 1rem;
}

.footer-legal a {
  color: var(--text-color);
  text-decoration: none;
  margin: 0 15px;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-about p {
    max-width: 80%;
    margin: 0 auto;
  }

  .footer-links,
  .footer-services {
    display: none;
  }

  .footer-contact ul {
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* Responsive Design */

@media (max-width: 768px) {
  /* NAVIGATION */
  .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%; /* Initially hidden */
    width: 75%;
    height: 100vh; /* Full screen height */
    background: var(--primary-color);
    text-align: center;
    padding: 6rem 0;
    transition: right 0.3s ease;
    z-index: 1000;
  }

  .nav-links.active {
    right: 0; /* Slide in from right */
  }

  .nav-links a {
    display: block;
    padding: 1.5rem 0;
    font-size: 1.2rem;
    font-weight: 600;
  }

  .logo span {
    font-size: 1.5rem;
  }

  /* Ensure the mobile menu icon is visible */
  .mobile-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    /* height: 24px; */
    cursor: pointer;
    position: absolute;
    right: 20px; /* Adjust position */
    top: 50%;
    transform: translateY(-50%);
    z-index: 1100;
  }

  .bar {
    width: 100%;
    height: 3px;
    background: var(--text-color);
    transition: all 0.3s ease;
  }

  /* TYPOGRAPHY */
  .hero h1 {
    font-size: 3rem; /* Adjusting for mobile */
  }

  .mission-vision .section-header h2,
  .values .section-header h2 {
    font-size: 2rem; /* Adjusting for mobile */
  }

  .mission-vision-grid {
    flex-direction: column;
    gap: 2rem;
  }

  .mission,
  .vision {
    width: 100%;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}
