@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

/* Prevent horizontal scroll */
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
}

/* Navigation */
nav ul.nav-links {
  display: flex;
  list-style: none;
  gap: 1.8rem;
}

nav ul.nav-links li a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  display: inline-block;
}

nav ul.nav-links li a:hover {
  background-color: var(--brown);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(61, 43, 36, 0.6);
  transform: translateY(-2px);
}

nav ul.nav-links li a.active {
  background-color: #754c24; /* Darker brown for active */
  color: var(--white);
  box-shadow: 0 4px 15px rgb(117 76 36 / 0.8);
  font-weight: 700;
  cursor: default;
  pointer-events: none;
}


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

/* Root Colors */
:root {
  --primary-green: #012114;
  --dark-green: #3e4e3e;
  --brown: #6b512c;
  --light-gray: #f1f1f1;
  --black: #1a1a1a;
  --white: #fff;
}

/* Container for consistent horizontal padding */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

/* Header */
header {
  background-color: var(--primary-green);
  position: fixed ;
  top: 0;
  left: 0;
  z-index: 999;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  width: 100%;          /* span full viewport */
  z-index: 1000;  
}

/* Logo */

.logo {
  margin-left: -10px;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--dark-green);
}
.container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* logo circle container */
.logo-circle{
  width: 50px;         
  height: 50px;
  border-radius: 50%;
  background:#fff;      
  overflow:hidden;     
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;        
  box-shadow:0 0 10px rgba(0,0,0,.15); 
}

/* make JPEG fill the circle */
.logo-circle img{
  width:100%;
  height:100%;
  object-fit:cover;     
}

/* Navigation */
nav ul.nav-links {
  display: flex;
  list-style: none;
  gap: 1.8rem;
}

nav ul.nav-links li a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

nav ul.nav-links li a:hover,
nav ul.nav-links li a.active {
  background-color: var(--brown);
  color: var(--white);
}

/* Hamburger Menu (hidden desktop) */
.hamburger {
  display: none;
  flex-direction: column;
  z-index: 2000; 
  width: 28px;
  height: 22px;
  cursor: pointer;
  justify-content: space-between;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background-color: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .hamburger {
    display: flex; 
  }

   header .container {
    height: 60px;
    padding: 0 2rem;     
  }
  .logo {
    font-size: 0.8rem; 
  }
  .logo-circle {
    width: 40px; 
    height: 40px;
  }
 
  nav ul.nav-links {
    position: fixed;
    top: 60px;
    right: -220px;
    width: 200px;
    height: calc(100% - 60px);
    background-color: var(--dark-green);
    flex-direction: column;
    padding: 2rem 1rem;
    gap: 1.5rem;
    transition: right 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
  }

  nav ul.nav-links.show {
    right: 0; 
  }

  nav ul.nav-links li a {
    font-size: 1.1rem;
  }

  .hamburger {
    display: flex;
  }
}

/* Hamburger toggle animation */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Home Section */
.home {
  position: relative;
  height: 100vh;
  overflow: hidden;
  color: var(--white);
  text-align: center;
}

/* Background slides */
.bg-slider {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  z-index: -2;
}

.bg-slider.bg1 {
  z-index: -2;
}

.bg-slider.bg2 {
  z-index: -1;
}

/* Overlay to darken bg for readability */
.home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 135, 84, 0.65); 
  z-index: -1;
}

/* Home Text content */
.home-content {
  position: relative;
  max-width: 700px;
  padding: 0 1rem;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  text-align: center;
  padding-top: 25rem;
}

.home-content h2 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.6);
  margin: 0;
}

.home-content p {
  font-size: 1.3rem;
  font-weight: 500;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  margin: 0;
}

.home-content .btn {
  background-color: var(--brown);
  color: var(--white);
  font-weight: 600;
  padding: 0.85rem 2.4rem;
  border-radius: 40px;
  text-decoration: none;
  box-shadow: 0 6px 14px rgb(141 110 99 / 0.5);
  transition: background-color 0.3s ease, transform 0.3s ease;
  display: inline-block;
  margin-top: 1rem;
}

.home-content .btn:hover {
  background-color: #6f4e37;
  transform: scale(1.07);
  box-shadow: 0 8px 18px rgb(111 78 55 / 0.8);
}

/* About Section */
.about {
  min-height: 100vh;           
  display: flex;               
  align-items: center;         
  background: var(--light-gray); 
  position: relative;
}

.about-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--dark-green);
}

.about-text p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #444;
}

.about-image {
  flex: 1;
  min-width: 300px;
  display: flex;
  justify-content: center;
}

.about-image img {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 60% / 40%; 
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}
.slide-in-left,
.slide-in-right {
  opacity: 0;
  transform: translateX(60px);
  transition: all 0.8s ease-out;
}

.slide-in-left.visible {
  transform: translateX(0);
  opacity: 1;
}

.slide-in-right {
  transform: translateX(-60px);
}

.slide-in-right.visible {
  transform: translateX(0);
  opacity: 1;
}

/* Services Section */
/* --- OUR SERVICES --- */
.services{
  background:#1e2a22;           
  color:#fff;
  padding:6rem 2rem 8rem;
  box-sizing:border-box;
  min-height:100vh;             
}

/* centered heading */
.section-title{
  font-size:2.8rem;
  margin:0 auto 3rem;
  max-width:900px;
  text-align:center;
  color:#f4f4f4;
  line-height:1.2;
}

/* responsive card grid */
.service-cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:2rem;
  max-width:1200px;
  margin:0 auto;
  
  }

/* card styling */
.card{
  background:#2e3b30;
  border-radius:20px;
  padding:2rem 1.5rem;
  box-shadow:0 8px 26px rgba(0,0,0,.25);
  transition:transform .4s ease,box-shadow .4s ease;
}
.card img{
  width:100%;
  height:200px;
  object-fit:cover;
  border-radius:15px;
  margin-bottom:1.2rem;
}
.card h3{
    font-size:1.5rem;
    margin-bottom:.8rem;
    color:#f0f0f0
}
.card p{
    font-size:1rem;
    color:#ccc
}

.card:hover{
  transform:translateY(-10px) scale(1.03);
  box-shadow:0 14px 34px rgba(0,0,0,.35);
}

/* slide‑fade animation */
.slide-fade{
    opacity:0;
    transform:translateY(40px);
    transition:all .8s ease-out
}
.slide-fade.visible{
    opacity:1;
    transform:translateY(0)
}


/* Contact Section */
.contact{
  position:relative;
  background-image: url("../images/contact-bg.jpg"); 
    background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color:#fff;
  padding:6rem 2rem;
  text-align:center;
  overflow:hidden;
  min-height:100vh;          
}
.contact::before{             
  content:'';
  position:absolute;inset:0;
  background:rgba(10,135,84,.65);
  z-index:0;
}
.contact-title{
  font-size:2.8rem;
  margin:0 auto 3rem;
  max-width:900px;
  position:relative;
  z-index:1;
}

/* wrapper: two columns desktop, stacked mobile */
.contact-wrapper{
  position:relative;z-index:1;
  display:flex;
  flex-wrap:wrap;
  gap:4rem;
  max-width:1100px;
  margin:0 auto;
  justify-content:space-between;
}

/* LEFT info */
.contact-info{flex:1 1 330px;text-align:left}
.contact-info ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:1.6rem}
.contact-info li{display:flex;align-items:center;gap:.7rem;font-size:1.1rem}
.contact-info a{color:#fff;text-decoration:none}
.contact-info svg{flex-shrink:0}

/* RIGHT form */
.contact-form{
  flex:1 1 380px;
  background:#fff;          
  color:#222;
  border-radius:16px;
  padding:2rem 1.8rem;
  display:flex;flex-direction:column;gap:1.2rem;
  box-shadow:0 8px 26px rgba(0,0,0,.25);
}
.contact-form label{display:flex;flex-direction:column;font-size:.95rem;text-align:left}
.contact-form input,
.contact-form textarea{
  padding:.8rem 1rem;
  border:1px solid #ccc;
  border-radius:8px;
  font-family:inherit;
  font-size:1rem;
}
.contact-form button{
  background: var(--primary-green);
  color: #fff;
  border:none;
  padding:.9rem;
  font-weight:700;
  border-radius:30px;
  cursor:pointer;
  transition:transform .3s,box-shadow .3s;
}
.contact-form button:hover{
  transform:translateY(-3px);
  box-shadow:0 6px 18px rgba(0,0,0,.3);
}
.error-msg,.success-msg{display:none;font-size:.85rem;margin-top:.3rem}
.error-msg{color:#e99}
.success-msg{color:#2ecc71}

/* slide‑fade animation */
.slide-fade{opacity:0;transform:translateY(40px);transition:all .8s ease-out}
.slide-fade.visible{opacity:1;transform:translateY(0)}

/* mobile layout */
@media(max-width:767px){
  .contact-wrapper{flex-direction:column;align-items:center;text-align:center}
  .contact-info{text-align:center}
  .contact-info li{justify-content:center}
  .contact-form{flex:0 1 100%;max-width:480px}
}

/* Footer */
/* Footer main green section */
footer {
  background-color: var(--primary-green); 
  color: #fff;
  padding: 0.4rem 1rem; 
  font-size: 0.95rem;
  line-height: 0.9;
    min-height: 50px; 

  
}

/* Flex container for footer content */
.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center; 
    flex-wrap: wrap;
    gap: 1rem;
    min-height: 50px; 
}

/* Company info on left */
.footer-company-info {
  flex: 1 1 300px;
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  justify-content: center; 
}

/* Contact links on right */
.footer-contact-links {
  flex: 1 1 280px;
  display: flex;
  flex-direction: column;
  justify-content: center; 
  gap: 0.5rem;
  font-size: 0.9rem;
  text-align: right;
}

.footer-contact-links p {
  margin: 0;
}

.footer-contact-links a {
  color: #cbe8a7; 
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-contact-links a:hover,
.footer-contact-links a:focus {
  color: #e1b12c; 
  outline: none;
}

/* Thin full-width line */
.footer-bottom-line {
  height: 0.1px;
  background-color: #a2d44b;
  width: 100vw;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  margin: 1rem 0; 
  border-radius: 1px;
  z-index: 10;
}

/* Copyright & design credit below line */
.footer-credit {
  max-width: 1100px;
  margin: 0 auto 0;

  text-align: center;
  color: #d7e8bf; /* pale green */
  font-size: 0.65rem;
  line-height: 1.4;
  font-weight: 100;
}

/* Responsive adjustments */
@media (max-width: 720px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 0.5rem;
    min-height: auto; 
  }

  .footer-contact-links {
    text-align: left;
    flex-direction: row;
    gap: 0.5rem;
    justify-content: center;
    width: 100%;
  }

  .footer-contact-links p {
    margin: 0;
    font-size: 0.9rem;
  }

  .footer-credit p {
    font-size: 0.75rem;
  }

  .footer-company-info {
    font-size: 0.95rem;
  }
}



/* Responsive */
@media(max-width:767px){
  .contact-wrapper{flex-direction:column;align-items:center}
  .contact-info ul{align-items:center;text-align:center}
  .contact-info li{justify-content:center}
}

@media (max-width: 768px) {
  .home-content h2 {
    font-size: 2rem;
  }
  .home-content p {
    font-size: 1.1rem;
  }
}
