/** Navbar Styling */

.basic-navbar {
  position: sticky;
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  height: 5rem;
}

.logo {
  height: 4.5rem;
  width: 4.5rem;
}

.navbar-brand {
  font-weight: 500;
  color: #22751d; 
  font-size: 24px;
  transition: 0.3s color;
}

.dropdown-menu {
  text-align: center;
}

.dropdown-item {
  position: relative;
  color: #22751d; 
}

.dropdown-item:hover {
  color: #e41a0c; 
  background: none;
}

.dropdown-item.active {
  color: #ffffff; 
  background-color: #e41a0c; 
}

.login-btn {
  background-color: #22751d; 
  color: #ffffff !important; 
  font-size: 14px;
  padding: 0.7rem 1.5rem;
  border-radius: 10px;
  text-decoration: none !important;
  transition: 0.3s background-color;
}

.login-btn:hover {
  background-color: #e41a0c; 
}

.navbar-toggler {
  border: none;
  font-size: 1.25rem;
}

.navbar-toggler:focus,
.btn-close:focus {
  box-shadow: none;
  outline: none;
}

.nav-link {
  position: relative;
  color: #22751d; 
  font-weight: 500 !important;
  margin: 0 1.5rem;
}

.nav-link:hover,
.nav-link.active {
  color: #e41a0c; 
}

@media (min-width: 991px) {
  .nav-link::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: #22751da9; 
    visibility: hidden;
    transition: 0.3s ease-in-out;
  }

  .nav-link:hover::before,
  .nav-link.active::before {
    width: 100%;
    visibility: visible;
  }

  .dropdown-item::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 1px;
    background-color: #22751da9; 
    visibility: hidden;
    transition: 0.3s ease-in-out;
  }

  .dropdown-item:hover::before {
    width: 100%;
    visibility: visible;
  }
}

/** Footer Styling */
#footer {
  display: block;
  position: relative;
  background-color: #22751d; 
  font-size: 14px;
  line-height: 32px;
  font-weight: 400;
  font-family: poppins, sans-serif;
}

#footer .footer-content {
  padding: 60px 0 40px;
}

#footer .copyright-content {
  min-height: 80px;
  padding: 30px 0;
  background-color: #ffd54f; /* Gold */
  font-size: 13px;
}

.dark #footer,
#footer.inverted,
#footer.dark {
  background-color: #181818;
}

.dark #footer p,
#footer.inverted p,
#footer.dark p {
  color: #999;
  line-height: 1.5rem;
}

.dark #footer a:not(.btn):not(:hover),
#footer.inverted a:not(.btn):not(:hover),
#footer.dark a:not(.btn):not(:hover) {
  color: #999;
}

.dark #footer .widget .widget-title,
.dark #footer .widget h4,
#footer.inverted .widget .widget-title,
#footer.inverted .widget h4,
#footer.dark .widget .widget-title,
#footer.dark .widget h4 {
  color: #fff;
}

.dark #footer .copyright-content,
#footer.inverted .copyright-content,
#footer.dark .copyright-content {
  background-color: #1e1e1e;
}

.widget {
  margin-bottom: 30px;
  position: relative;
}

.widget .widget-title,
.widget > h4 {
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 24px;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.widget:after,
.widget:before {
  clear: both;
  content: " ";
  display: table;
}

.list {
  list-style: none;
  font-size: 1rem;
}

.list a {
  text-decoration: none;
}

.list a:hover {
  color: #e41a0c; 
}

.footer-btn {
  background-color: #22751d; 
  color: #fff !important;
  font-size: 14px;
  padding: 0.8rem 1.5rem;
  border-radius: 10px;
  text-decoration: none !important;
  transition: 0.3s background-color;
  border: none;
}

.footer-btn:hover {
  background-color: #e41a0c; 
}

.social-links {
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

.fa-brands {
  cursor: pointer;
  color: #fff;
}

.copyright-content {
  color: #fff;
}

/** Home form Styling */
.hero-section {
  cursor: auto;
  position: relative;
  background: url("./assets/herob.jpg") no-repeat center;
  background-size: cover;
  width: 100%;
  height: 60%;
}

.hero-section::before {
  position: absolute;
  content: "";
  background-color: rgba(4, 56, 39, 0.555);
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  height: 100%;
}

.hero-section .container {
  height: 90vh;
  z-index: 1;
}

.hero-section h1 {
  color: #fff;
  font-size: 3.5rem;
  z-index: 10;
}

.who-we-are {
  flex-direction: row;
  gap: 3rem;
  padding: 3rem;
}

.who-we-are img {
  width: 40rem;
  height: auto;
}

.who-we-are button {
  border-color: #22751d;
  font-size: 16px;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s background-color;
}

.who-we-are button:hover {
  border-color: #22751d;
  background-color: #22751d5b;
}

@media (max-width: 720px) {
  .hero-section h1 {
    font-size: 3rem;
  }

  .who-we-are img {
    width: 100%;
    height: auto;
  }

  .who-we-are {
    flex-direction: column;
  }
}

@media (max-width: 451px) {
  .hero-section {
    background-image: url("assets/home-banner-sm.png");
  }
  .hero-section h1 {
    font-size: 2.5rem;
  }

  .hero-section h2 {
    font-size: 1.5rem;
  }

  .who-we-are img {
    display: none;
  }
}

/** About Us Page */
.about-us-section {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  gap: 2rem;
}

.accordion {
  width: 100%;
}

.about-img {
  height: 50%;
  width: 50%;
}

.governance-system {
  background-color: #045824bd;
}

/** Where We Work Pages */
.www-cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

@media (max-width: 1024px) {
  .www-cards-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 461px) {
  .www-cards-container {
    grid-template-columns: repeat(1, 1fr);
  }
}

/** Contact Us Page */
/* Contact Form Styling */

.contact-us-page {
  padding: 4rem;
}

.contact-us-page h1,
.contact-us-page p {
  color: #181818;
}

.contact-us-page form {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.contact-us-page label {
  color: #22751d;
  font-weight: 500;
}

.contact-us-page input,
.contact-us-page textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.contact-us-page button {
  border: #22751d;
  background-color: #22751d;
  color: #fff;
  font-size: 16px;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s background-color;
}

.contact-us-page button:hover {
  background-color: #e41a0c;
}

@media (max-width: 425px) {
  .contact-us-page {
    padding: 1rem;
  }
}

/** General Styling */
.assembly-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
}

.card {
  background-color: #fff;
  width: auto;
  height: auto;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.card-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.card-heading {
  font-size: 1.5em;
  color: #333;
  margin-bottom: 10px;
}

.card-text {
  color: #888;
  font-size: 0.9em;
  line-height: 1.6;
}

@media (max-width: 425px) {
  .assembly-cards {
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
  }
}