/* ================= GLOBAL STYLES ================= */
:root {
  --primary-green: #4F812A;
  --dark-green: #3a6a1e;
  --light-green: #d4ffd1;
  --white: #ffffff;
  --text-dark: #222;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #ffffff;
  color: #222;
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
  color: var(--primary-blue);
}

a:hover {
  color: var(--dark-blue);
}

/* ================= HEADER & NAVBAR ================= */
header {
    background: var(--primary-green);
  border-bottom: 2px solid var(--light-grey);
}


.theme-color{
 background: linear-gradient( 88deg, var(--primary-green), var(--dark-green));
  color:#fff;
  padding:6px 12px;
  font-size:14px;   
}

/* ================= NAVBAR ================= */
.main-navbar {
  background: var(--primary-green);
  padding: 8px 0;
}

/* Logo size perfect */
.navbar-brand img {
  height: 55px;
  width: auto;
}

/* Toggler Icon White */
.navbar-toggler-icon {
  filter: invert(1);
}



/* Hover underline desktop */
@media (min-width: 992px) {
  .navbar-nav .nav-link {
    position: relative;
  }
  .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 3px;
    background: var(--teal);
    transition: 0.3s;
  }
  .navbar-nav .nav-link:hover::after {
    width: 100%;
  }
}

/* ================= MOBILE SIDEBAR MENU ================= */
.navbar-collapse {
  background: var(--primary-green);
  padding: 10px 0;
}

/* Default Bootstrap mobile dropdown */
.navbar-collapse {
    background: var(--primary-green);
    padding: 15px;
}

.navbar-nav {
  flex-direction: column;
}

.navbar-nav .nav-link {
  text-align: right;
  border-bottom: 1px solid var(--light-grey);
  padding: 15px 25px;
  font-size: 1.2rem;
  color: #feffff !important;
}

/* Plus Dropdown Button */
.plus-btn {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--light-grey);
  color: var(--dark-blue);
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
}

/* Close Button Mobile */
.close-menu {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--teal);
  color: #fff;
  width: 35px;
  height: 35px;
  font-size: 22px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
}

/* Desktop Restore */
@media (min-width: 992px) {
  .navbar-nav {
    position: static;
    height: auto;
    width: auto;
    background: transparent;
    flex-direction: row !important;
    padding-top: 0;
  }
  .navbar-nav .nav-link {
    border: none;
    font-size: 1rem;
  }

  .plus-btn,
  .close-menu {
    display: none;
  }
}

/* ================= CAROUSEL ================= */
.banner-carousel {
  width: 100%;
  height: 85vh;
  overflow: hidden;
}

.banner-carousel .carousel-item {
  height: 85vh;
  background-size: cover;
  background-position: center;
}

.banner-caption {
  background: rgba(0, 0, 0, 0.4);
  padding: 30px 50px;
  border-radius: 10px;
  color: #fff;
}

.banner-caption h1 {
  font-weight: 700;
  color: #dfffd6;
}

/* Arrow buttons */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0,0,0,0.45);
  border-radius: 50%;
  padding: 15px;
}

/* ================= BUTTON STYLE ================= */
.btn-primary-custom {
  background: var(--teal);
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  transition: 0.3s;
  border: none;
  font-size: 1.1rem;
}
.btn-primary-custom:hover {
  background: var(--dark-blue);
}

/* ================= FOOTER ================= */
footer {
  background: rgb(79,129,42) !important;
  padding: 30px 0;
  color: var(--dark-blue);
}

footer a {
  color: #ffffff;
  font-weight: 600;
}
footer a:hover {
  text-decoration: underline;
  color: var(--primary-blue);
}

/* ================= SCROLL TOP BUTTON ================= */
#scrollTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  background: var(--teal);
  color: white;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  cursor: pointer;
  font-size: 18px;
}

/* Footer Social Icons */
.social-icon span {
  background: #4F812A;       /* green theme */
  color: #fff;
  padding: 10px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  transition: 0.3s;
  font-size: 14px;
}

.social-icon span:hover {
  background: #fff;        /* darker green on hover */
  color: #ffffff;
}
