@import url(https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Open+Sans:wght@400;500;600&family=Raleway:wght@400;500;600&display=swap);
.navbar {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1285px;
  background-color: #4f6d3a;
  border-radius: 25px;
  z-index: 1000;
  box-sizing: border-box;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
}
.logo img {
  height: 45px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
}
.nav-links a {
  text-decoration: none;
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #d4e8c2;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
}
.nav-links a.active,
.nav-links a:hover {
  background-color: #d4e8c2;
  color: #4f6d3a;
}

/* LOGIN BUTTON (NEW CLEAN STYLE) */
.login-btn {
  border: 1px solid #d4e8c2;
  color: #d4e8c2 !important;
  padding: 6px 16px;
  border-radius: 20px;
  background: transparent;
  transition: all 0.3s ease;
}

.login-btn:hover {
  background: #d4e8c2;
  color: #4f6d3a !important;
  transform: translateY(-2px);
}

/* USER PROFILE MENU */
.user-menu {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.user-menu i {
  font-size: 20px;
  color: #d4e8c2;
}

/* DROPDOWN */
.user-dropdown {
  position: absolute;
  top: 40px;
  right: 0;
  background: #ffffff;
  color: #333;
  padding: 14px;
  border-radius: 12px;
  display: none;
  min-width: 200px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  animation: fadeIn 0.2s ease;
}

.user-dropdown p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}

.user-dropdown button {
  margin-top: 10px;
  width: 100%;
  padding: 8px;
  border: none;
  background: #e74c3c;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
}

.user-dropdown button:hover {
  background: #c0392b;
}

/* SMALL ANIMATION */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu-toggle {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}
.menu-toggle:hover {
  background-color: rgb(212 232 194 / 0.1);
}
.bar {
  width: 35px;
  height: 4px;
  background-color: #d4e8c2;
  border-radius: 3px;
  transition: 0.3s;
}
.menu-toggle.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}
.menu-toggle.active .bar:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  margin: 0;
  padding: 0;
  display: block;
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: 0;
}
.hero-overlay {
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 470px;
  max-width: 1270px;
  background-color: rgb(138 154 91 / 0.5);
  border-radius: 20px;
  backdrop-filter: blur(3.5px);
  -webkit-backdrop-filter: blur(3.5px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}
.hero-content h1 {
  color: #faf3e0;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: 64px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
}
.hero-content p {
  color: #d4e8c2;
  text-align: center;
  font-family: "Open Sans";
  font-size: 32px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin: 0 auto;
}
.hero-content .primary-btn {
  margin-top: 50px;
  padding: 12px 28px;
  background: #d4e8c2;
  border: none;
  border-radius: 8px;
  color: #4f6d3a;
  font-family: "Raleway", sans-serif;
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 6px 14px rgb(0 0 0 / 0.2);
  transition: all 0.3s ease;
  width: 270px;
  height: 70px;
}
.hero-content .primary-btn:hover {
  background-color: #8a9a5b;
  color: #faf3e0;
  transform: translateY(-2px);
}
#scrollToTop {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  border: none;
  outline: none;
  background: #8a9a5b;
  color: #faf3e0;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  padding: 0;
  border-radius: 50%;
  transition:
    background 0.3s,
    transform 0.3s,
    opacity 0.3s;
  box-shadow: 0 4px 15px rgb(0 0 0 / 0.4);
}
#scrollToTop i {
  font-size: 20px;
  transform: none !important;
  display: inline-block;
  line-height: 1;
}
#scrollToTop:hover {
  background-color: #8a9a5b;
  transform: translateY(-5px);
  color: #faf3e0;
}
@media screen and (max-width: 1024px) {
  .navbar {
    width: 100% !important;
    left: 0 !important;
    top: 0 !important;
    transform: none !important;
    border-radius: 0 !important;
    position: fixed;
  }
  .menu-toggle {
    display: flex;
    z-index: 1001;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 280px;
    background-color: #4f6d3a;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    transition: right 0.4s ease-in-out;
    box-shadow: -10px 0 20px rgb(0 0 0 / 0.2);
  }
  .nav-links.active {
    right: 0;
  }
  .hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
  }
  .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 600px;
    height: auto;
    padding: 40px 20px;
    margin-top: 60px;
  }
  .hero-content h1 {
    font-size: 42px !important;
  }
  .hero-content p {
    font-size: 22px !important;
  }
}
@media screen and (max-width: 768px) {
  .hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
  }
  .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 92%;
    max-width: 350px;
    height: auto;
    padding: 30px 15px;
    margin-top: 80px;
    background-color: rgb(79 109 58 / 0.9);
  }
  .hero-content h1 {
    font-size: 28px !important;
    line-height: 1.2;
  }
  .hero-content p {
    font-size: 16px !important;
    line-height: 1.5;
  }
  .hero-content .primary-btn {
    width: 220px;
    height: 60px;
    font-size: 16px;
    margin-top: 30px;
  }
  #scrollToTop {
    display: flex;
    align-items: center;
    justify-content: center;
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}
.footer {
  width: 100%;
  background-color: #2f3e1f;
  padding: 3vw 6vw;
  color: #d4e8c2;
}
.footer-logo {
  width: 8vw;
  height: auto;
  margin-bottom: 1.5vw;
}
.footer-left p {
  font-size: 1vw;
  line-height: 1.6;
  margin-bottom: 1.5vw;
  font-family: "Open Sans", sans-serif;
}
.footer-divider {
  border: none;
  border-top: 1px solid #d4e8c2;
  margin: 2vw 0;
}
.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2vw;
  width: 100%;
}
.footer-left {
  flex: 1;
  max-width: 35vw;
}
.footer-links {
  display: flex;
  flex: 1;
  justify-content: flex-end;
  gap: 3vw;
}
.footer-column {
  flex: 0 1 auto;
  min-width: 120px;
  padding-right: 50px;
}
.footer-column img {
  width: 40px;
  height: auto;
  transition: transform 0.2s ease;
}
.footer-column img:hover {
  transform: scale(1.1);
}
.footer-column:last-child {
  text-align: right;
}
.footer-column h4 {
  font-size: 1.2vw;
  margin-bottom: 1vw;
  color: #d4e8c2;
  font-family: "Montserrat", sans-serif;
}
.footer-column a {
  display: block;
  font-size: 0.95vw;
  color: #faf3e0;
  text-decoration: none;
  margin-bottom: 0.8vw;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
}
.footer-column a:hover {
  text-decoration: underline;
}
.social-icons {
  display: flex;
  flex-direction: row;
  gap: 15px;
  justify-content: flex-end;
  align-items: center;
}
.social-icons a {
  display: flex;
  margin-bottom: 0;
  width: 30px;
}
.footer .copyright {
  text-align: center;
  font-size: 0.9vw;
  color: #a3c585;
  margin-top: 2vw;
}
@media screen and (max-width: 1024px) {
  .footer {
    padding: 40px 30px;
  }
  .footer-logo {
    width: 120px;
    margin-bottom: 20px;
  }
  .footer-left {
    max-width: 100%;
    margin-bottom: 30px;
  }
  .footer-left p {
    font-size: 16px;
    max-width: 500px;
  }
  .footer-links {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 40px;
  }
  .footer-column {
    padding-right: 0;
    min-width: 150px;
  }
  .footer-column h4 {
    font-size: 18px;
    margin-bottom: 15px;
  }
  .footer-column a {
    font-size: 15px;
    margin-bottom: 12px;
  }
  .footer .copyright {
    font-size: 14px;
    margin-top: 40px;
  }
}
@media screen and (max-width: 768px) {
  .footer {
    padding: 50px 20px;
    text-align: center;
  }
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .footer-logo {
    margin: 0 auto 20px auto;
  }
  .footer-left p {
    font-size: 14px;
    margin: 0 auto;
  }
  .footer-links {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 30px;
  }
  .footer-column,
  .footer-column:last-child {
    text-align: center;
    padding-right: 0;
  }
  .social-icons {
    justify-content: center;
  }
  .footer-divider {
    margin: 30px 0;
  }
}

/* SAFE LOGIN BUTTON FIX */
.nav-links .login-btn {
  border: 1px solid #d4e8c2;
  color: #d4e8c2 !important;
  padding: 6px 14px;
  border-radius: 20px;
  background: transparent;
  transition: all 0.3s ease;
}

.nav-links .login-btn:hover {
  background: #d4e8c2;
  color: #4f6d3a !important;
}

.user-menu {
  position: relative;
}

.user-icon {
  width: 35px;
  height: 35px;
  background: #8a9a5b;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  cursor: pointer;
}

.user-dropdown {
  position: absolute;
  top: 45px;
  right: 0;
  background: #ffffff;
  color: #333;
  padding: 14px;
  border-radius: 12px;
  display: none;
  min-width: 200px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  animation: fadeIn 0.2s ease;
}

.user-dropdown.show {
  display: block;
}
