/* GLOBAL */
* { margin:0; padding:0; box-sizing:border-box; }
body { font-family: 'Inter', sans-serif; color:#222; line-height:1.6; }

/* NAVBAR */
nav {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px 60px;
  background:white;
  position:fixed;
  width:100%;
  top:0;
  box-shadow:0 2px 10px rgba(0,0,0,0.05);
  z-index:1000;
}
.logo img { height:45px; }
.menu a {
  margin-left:25px;
  text-decoration:none;
  color:#333;
  font-weight:500;
  position:relative;
}
.menu a::after {
  content:"";
  position:absolute;
  width:0%;
  height:2px;
  bottom:-5px;
  left:0;
  background:#0a7a3d;
  transition:0.3s;
}
.menu a:hover::after { width:100%; }

/* HERO */
.hero {
  height:100vh;
  background:linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
  url('https://images.unsplash.com/photo-1509395176047-4a66953fd231?q=80&w=1600');
  background-size:cover;
  background-position:center;
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
  color:white;
  padding:20px;
}

.hero h1 { font-size:3rem; margin-bottom:20px; }
.hero p { max-width:700px; margin:auto; }

.btn {
  display:inline-block;
  margin-top:20px;
  padding:12px 25px;
  background:#0a7a3d;
  color:white;
  text-decoration:none;
  border-radius:5px;
}

/* WHO WE ARE SECTION */
.who-we-are {
  padding: 80px 60px;
  background: #ffffff;
}

.who-we-are .container {
  max-width: 1200px;
  margin: auto;
}

.who-we-are h2 {
  text-align: center;
  color: #0a7a3d;
  margin-bottom: 40px;
}

.wwd-item {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.wwd-item.reverse {
  flex-direction: row-reverse;
}

.wwd-image img {
  width: 100%;
  max-width: 450px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.wwd-text {
  flex: 1;
}

.wwd-text h3 {
  color: #0a7a3d;
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.wwd-text p {
  color: #444;
  line-height: 1.7;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .wwd-item {
    flex-direction: column;
    text-align: center;
  }
  .wwd-item.reverse {
    flex-direction: column;
  }
  .wwd-image img {
    max-width: 100%;
  }
}

/* SECTIONS */
section { padding:50px 40px; }
.section-title { text-align:center; margin-bottom:30px; }
.section-title h2 { color:#0a7a3d; }

/* ABOUT CARDS */
.about-cards-container {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:20px;
  max-width:960px;
  margin:20px auto;
}
.about-card {
  border:1px solid #0a7a3d;
  border-radius:8px;
  background:#f9f9f9;
  text-align:center;
  width:250px;
  height:150px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:15px 15px;
  transition: transform 0.3s, box-shadow 0.3s;
}
.about-card h3 { margin-bottom:10px; color:#0a7a3d; }
.about-card p { margin:0; text-align:center; }
.about-card:hover { transform:translateY(-1px); box-shadow:0 4px 12px rgba(0,0,0,0.1); }

/* CLIENT CAROUSEL */
.client-carousel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: calc(250px * 3 + 20px * 2 + 120px); /* 3 cards + 2 gaps + arrows */
  margin: 40px auto;
  position: relative;
}

.carousel-btn {
  background:#0a7a3d;
  color:white;
  border:none;
  border-radius:5px;
  padding:10px 15px;
  font-size:1.5rem;
  cursor:pointer;
  z-index: 2;
}

.carousel-viewport {
  overflow: hidden;
  width: calc(250px * 3 + 20px * 2); /* 3 cards visible + gaps */
}

.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease;
  flex-wrap: nowrap;
  padding-top: 1px; /* prevents top border from being hidden */
}

.carousel-track .client-card {
  flex: 0 0 auto;
  width: 250px;
  height: 150px;
  border: 1px solid #0a7a3d;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f9f9f9;
  overflow: hidden;
  padding: 30px;       /* add more padding so borders are visible */
  box-sizing: border-box;
}

.carousel-track .client-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.carousel-btn:disabled { opacity:0.3; cursor:not-allowed; }


/* FOOTER */
footer { background:#0a7a3d; color:white; text-align:center; padding:30px; }

/* RESPONSIVE */
@media(max-width:768px){
  nav { padding:15px 20px; }
  section { padding:40px 20px; }
  .about-card { width:180px; height:130px; }
  .carousel-viewport { width:100%; }
}
/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 40px auto 20px;
  padding: 0 20px;
}

.service-card {
  background: #fff;
  border: 1px solid #d8eedf;
  border-radius: 10px;
  padding: 30px 25px;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(10, 122, 61, 0.12);
  border-color: #0a7a3d;
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.service-card h3 {
  color: #0a7a3d;
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.service-card p {
  color: #444;
  font-size: 0.95rem;
  line-height: 1.75;
}

/* CONTACT FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  margin: 0 auto;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #0a7a3d;
}

.contact-form button {
  padding: 13px;
  background: #0a7a3d;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}

.contact-form button:hover {
  background: #086632;
}

.logo-card {
  height: auto !important;
  min-height: 150px;
  padding: 20px !important;
  justify-content: space-between;
}

.logo-card img {
  max-width: 100%;
  max-height: 90px;
  object-fit: contain;
  display: block;
  margin: 0 auto 10px;
}

.logo-card p {
  font-size: 0.82rem;
  color: #555;
  margin-top: 8px;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 14px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.4);
  transition: border-color 0.2s, background 0.2s;
}

.footer-social a:hover {
  border-color: white;
  background: rgba(255,255,255,0.1);
}

/* CONSENT CHECKBOX */
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: #555;
  line-height: 1.5;
  cursor: pointer;
}

.consent-label input[type="checkbox"] {
  margin-top: 3px;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  accent-color: #0a7a3d;
  cursor: pointer;
}

.consent-label a {
  color: #0a7a3d;
  text-decoration: underline;
}
