/* Base Styles */
body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background-color: #F5F5DC;
  color: #333;
}

body.lock-scroll {
  overflow: hidden;
}
button {
  background-color: #FFD700;
  color: #333;
  border: none;
  padding: 10px 20px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

button:hover {
  background-color: #e6c200;
}

/* Header Layout */
.site-header {
  background-color: #fff;
  padding: 20px 40px;
  position: relative;
  z-index: 1000;
}

/* Top Row: Logo + Hamburger */
.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 1001;
  background-color: #fff;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #2E7D32;
  letter-spacing: 1px;
}

/* Desktop Nav */
.nav-desktop {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-desktop a {
  font-size: 1rem;
  font-weight: 600;
  color: #2E7D32;
  text-decoration: none;
}

/* Hide desktop nav on mobile */
@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .hamburger {
    display: block;
  }
}

/* Show desktop nav by default */
@media (min-width: 769px) {
  .nav-desktop {
    display: flex;
  }

  .hamburger {
    display: none;
  }

  .nav-overlay {
    display: none !important;
  }
}


/* Hamburger Button */
.hamburger {
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  z-index: 1002;
}

/* Fullscreen Navigation Overlay */
.nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #fff;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  z-index: 9999;
  padding-top: 100px; /* Prevent overlap with logo */
  animation: fadeSlideIn 0.4s ease-out;
}

.nav-overlay.show {
  display: flex;
}

.nav-overlay a {
  font-size: 1.2rem;
  color: #2E7D32;
  text-decoration: none;
  font-weight: 600;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
}

/* Animation */
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Trigger */
@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 80px 20px;
  background-color: #ffffff;
  
}

.hero h1 {
  font-size: 2.5rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* About Section */
#about {
  padding: 60px 40px;
  background-color: #F5F5DC;
}

/* Services Grid */
#services {
  padding: 60px 40px;
  background-color: #ffffff;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.card {
  background-color: #F5F5DC;
  padding: 20px;
  border: 1px solid #2E7D32;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Base shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px); /* Subtle lift */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25); /* Deeper shadow on hover */
}

/* Responsive Grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
  padding: 0 20px;
}

/* Mobile Optimization */
@media (max-width: 600px) {
  .card {
    font-size: 0.95rem;
    padding: 15px;
  }
}

h1 {
  background: linear-gradient(to right, #2E7D32, #FFD700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: slideIn 0.6s ease-out;
}

.vatvruksha-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  color: #2E7D32; /* Vatvruksha Green */
  text-transform: uppercase;
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  animation: slideIn 0.6s ease-out;
}



/* Slide-in animation */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.vatvruksha-subheading {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.2rem;
  color: #444;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 500;
  opacity: 0.9;
  animation: fadeIn 0.8s ease-in;
}

/* Fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 0.9;
    transform: translateY(0);
  }
}


/* Responsive adjustment */
@media (max-width: 768px) {
  .vatvruksha-heading {
    font-size: 1.6rem;
    letter-spacing: 1px;
  }
}




/* Contact Section */
#contact {
  padding: 60px 40px;
  background-color: #ffffff;
}

form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin-top: 20px;
}

input, textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* Footer */
footer {
  background-color: #2E7D32;
  color: #fff;
  padding: 30px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer-links {
  margin-bottom: 20px;
}

.footer-links h4 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  color: #FFD700;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin: 5px 0;
}

.footer-links ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.footer-links ul li a:hover {
  text-decoration: underline;
}

header.sticky {
  position: fixed;
  top: 0;
  width: 93.6%;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  background-color: #fff;
  z-index: 1000;
}
/* Optional: Dark Mode Variant */
body.dark-mode .logo-text {
  color: #A5D6A7; /* Light green for dark backgrounds */
}

.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #FFD700;
  color: #2E7D32;
  padding: 15px 25px;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: none;
  z-index: 9999;
  animation: fadeInOut 3s ease-in-out;
}

@keyframes fadeInOut {
  0% { opacity: 0; transform: translateY(20px); }
  10% { opacity: 1; transform: translateY(0); }
  90% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(20px); }
}
html {
  scroll-behavior: smooth;
}
