
/* Base Styles */
:root {
  --primary: #264734;          /* Forest Green */
  --primary-dark: #1c3727;
  --secondary: #C6A664;        /* Goldenrod */
  --secondary-dark: #ab9258;
  --accent: #6A7BA2;           /* Slate Blue */
  --accent-dark: #596a8d;
  --light: #ffffff;            /* White */
  --dark: #2E2E2E;             /* Dark Slate */
  --gray: #6c757d;
  --light-gray: #e9ecef;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background-color: var(--light);
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary);
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.section-header h2::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 4px;
  background-color: var(--accent);
  bottom: -10px;
  left: 25%;
}

.section-header p {
  font-size: 1.2rem;
  color: var(--gray);
  max-width: 700px;
  margin: 0 auto;
}

.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  border: none;
  transition: var(--transition);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hover-scale {
  transition: transform 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.03);
}

/* Navigation */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  z-index: 1000;
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

#navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo h1 {
  color: var(--primary);
  font-size: 1.8rem;
  margin: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: var(--dark);
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

.hamburger {
  display: none;
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--primary);
}

/* Hero Section */
.hero {
  padding-top: 7rem;
  background-color: var(--light);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(26, 124, 119, 0.05);
  z-index: 0;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
  animation-delay: 0.2s;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--gray);
  margin-bottom: 2rem;
  animation-delay: 0.4s;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  animation-delay: 0.6s;
}

.hero-image {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  animation-delay: 0.8s;
}

.hero-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* Services Section */
.services {
  background-color: var(--light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-align: center;
}

.service-card .icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Process Section */
.process {
  background-color: #f9f9f9;
}

.process-steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  counter-reset: step;
}

.process-step {
  flex: 1 1 200px;
  max-width: 300px;
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
}

.step-number {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1.5rem;
}

.process-step h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Benefits Section */
.benefits {
  background-color: var(--light);
}

.benefits-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.benefit-item i {
  font-size: 2rem;
  color: var(--primary);
  min-width: 40px;
}

.benefit-item h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.calculator-container {
  display: flex;
  justify-content: center;
}

.calculator {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 400px;
}

.calculator h3 {
  color: var(--primary);
  text-align: center;
  margin-bottom: 1.5rem;
}

.calculator-input {
  margin-bottom: 1.5rem;
}

.calculator-input label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--gray);
}

.calculator-input input {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--light-gray);
  border-radius: 5px;
  font-size: 1rem;
}

.calculator-result {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.calculator-result p {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 0.5rem;
}

.calculator-result h3 {
  color: var(--accent);
  margin-bottom: 0;
}

.calculator button {
  width: 100%;
}

/* Contact Section */
.contact {
  background-color: var(--light);
  color: var(--dark);

}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
}

.contact-info h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.info-item i {
  font-size: 1.2rem;
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-links a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: var(--accent);
  color: white;
  border-radius: 50%;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--accent-dark);
  transform: translateY(-3px);
}

.contact-form form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 0;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--light-gray);
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
  background-color: var(--light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--secondary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(198, 166, 100, 0.2);
}

.full-width {
  grid-column: 1 / -1;
}

/* Footer */
footer {
  background-color: var(--primary);
  color: white;
  padding: 4rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo h2 {
  margin-bottom: 1rem;
}

.footer-links h3,
.footer-services h3,
.footer-newsletter h3 {
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.footer-links h3::after,
.footer-services h3::after,
.footer-newsletter h3::after {
  content: '';
  position: absolute;
  width: 50%;
  height: 3px;
  background-color: var(--accent);
  bottom: -7px;
  left: 0;
}

.footer-links ul,
.footer-services ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.newsletter-form {
  display: flex;
  margin-top: 1.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.8rem;
  border: none;
  border-radius: 5px 0 0 5px;
}

.newsletter-form button {
  border-radius: 0 5px 5px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 2.8rem;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }


}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: 0;
    flex-direction: column;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-100vh);
    transition: transform 0.3s ease;
    backdrop-filter: blur(10px);
  }
  
  .nav-links.active {
    transform: translateY(0);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
  }
  
  .hamburger {
    display: block;
  }
  
  .hero .container {
    grid-template-columns: 1fr;
  }
  
  .hero-content {
    text-align: center;
    order: 2;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-image {
    order: 1;
    margin-bottom: 2rem;
  }
  
  .benefits-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-form form {
    grid-template-columns: 1fr;
    gap:1rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .contact-grid {
  grid-template-columns: 1fr; /* Stack vertically */
  gap: 2rem;                  /* Add spacing between form and info */
  padding: 0 1rem;            /* Add horizontal padding */

}
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 0.7rem;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .section-header h2 {
    font-size: 2rem;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-links h3::after,
  .footer-services h3::after,
  .footer-newsletter h3::after {
    left: 25%;
    width: 50%;
  }
  
  .newsletter-form {
    flex-direction: column;
    gap: 1rem;
  }
  
  .newsletter-form button {
    border-radius: 5px;
  }
  
  .footer-bottom-links {
    justify-content: center;
  }
}

  .logo h1{
    color:black;
  }


.contact-form {
  max-width: 700px;
  width: 100%;
  margin: 0 auto;
}


.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: flex-start;
  margin-top: 2rem;
}


.calculator-disclaimer {
  font-size: 8pt;
  color: var(--gray);
  margin-top: 1rem;
  display: block;
  line-height: 1.6;
  text-align: center;
  max-width: 100%;
}
/* Modern dropdown styling */
.calculator select {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--light-gray);
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
  background-color: #fff;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%236c757d' height='18' viewBox='0 0 20 20' width='18' xmlns='http://www.w3.org/2000/svg'><path d='M5.516 7.548l4.489 4.489 4.489-4.489.974.974-5.463 5.463L4.542 8.522z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 1rem;
  cursor: pointer;
}

select::-ms-expand {
  display: none;
}

select:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(198, 166, 100, 0.2);
}
