/* Basic Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --green: #013220;
  --accent: #2ecc71;
  --ink: #111;
  --bg: #f5f7fa;
}

/* Global reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* === Navbar base === */
:root{
  --brand:#0f3b30;    /* dark green */
  --accent:#2ecc71;   /* light green */
  --ink:#1f2937;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }

.navbar{
  position: sticky; top:0; z-index:1000;
  background: var(--brand);
  color:#fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.12);
}

.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; padding:12px 16px;
}

/* Brand / wordmark */
.brand{
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color:#fff;
  text-decoration:none;
  white-space:nowrap;
  min-width:0;
}

/* Toggle on right */
.menu-toggle{
  display:inline-flex; align-items:center; justify-content:center;
  width:32px; height:32px;
  font-size:18px;
  color:#fff; background:none; border:2px solid transparent; border-radius:10px;
  cursor:pointer;
}
.menu-toggle:focus-visible{ outline: none; border-color: var(--accent); }

/* Links */
.nav-links{
  list-style:none; margin:0; padding:0;
  display:flex; align-items:center; gap:22px;
}
.nav-links a{
  color:#fff; text-decoration:none; font-weight:600;
}
.nav-links a:hover, .nav-links a:focus-visible{ color:var(--accent); }

/* ===== Mobile (collapsed) ===== */
@media (max-width: 768px){
  .nav-inner{ gap:8px; }
  .brand{
    font-size:16px; line-height:1.1;
    overflow:hidden; text-overflow:ellipsis;
  }

  /* collapse menu into a panel */
  nav{ width:100%; }
  .nav-links{
    position: absolute; left:0; right:0; top:100%;
    background: var(--brand);
    flex-direction: column;
    gap: 8px;
    padding: 10px 0;
    border-top: 1px solid rgba(255,255,255,.15);

    /* slide animation */
    max-height: 0; overflow: hidden; opacity: 0;
    transition: max-height .25s ease, opacity .2s ease;
  }
  .nav-links.active{
    max-height: 280px;
    opacity: 1;
  }

  /* show toggle, hide inline menu at first */
  .menu-toggle{ display:inline-flex; }
}

/* ===== Desktop ===== */
@media (min-width: 769px){
  .menu-toggle{ display:none; }
  .nav-links{
    position: static; flex-direction: row;
    background: transparent; padding: 0; max-height:none; opacity:1;
  }
}

/* Optional: highlight current page */
.nav-links a.active{ color: var(--accent); }

body {
  font-family: 'Poppins', Arial, sans-serif; /* consistent font */
  font-size: 16px;      /* consistent base size */
  line-height: 1.6;
  background: var(--bg);
  color: var(--ink);
}


/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ---------- Header (nav on right) ---------- */
header {
  background:  #013220;
  color: #fff;
}

header .container {
  display: flex;
  align-items: center;
  padding: 8px 16px; /* Increased top/bottom padding */
  gap: 12px;
}

/* stop old float behavior */
header nav { float: none; margin-left: auto; }  /* push nav to far right */

header img {
  height: 75px; /* Bigger logo */
  filter: brightness(0) invert(1);
}

/* menu */
header nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 35px;                     /* space between items */
  margin: 0;
  padding: 0;
}

header nav ul li { list-style: none; }

header nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: color .3s ease;
}



header nav ul li a i {           /* align the contact icon nicely */
  margin-left: 6px;
  transform: translateY(1px);
}

.hero {
  background: #fff; /* dark green */
  color: #1b4a3d;
  padding: 40px 16px;
}

.hero-container {
  max-width: 1100px;
  margin: 0 auto;
}

.hero-row {
  display: flex;
  align-items: center; /* vertical center */
  gap: 40px; /* more space between logo and text */
}

.hero-img {
  flex: 0 0 80px; /* make image area bigger */
  max-width: 40%;
  height: auto;
  background: #fff; /* white background for logo */

  border-radius: 8px; /* optional rounded corners */
 
  object-fit: contain; /* keep proportions */
}

.hero-copy {
  flex: 1; /* take remaining space for text */
}


.hero-title {
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 800;
  margin: 0 0 16px;
}

.hero-copy p {
  font-size: 18px;
  line-height: 1.6;
}

/* Mobile: stack image above text */
@media (max-width: 780px) {
  .hero-row {
    flex-direction: column;
    text-align: center;
  }
  .hero-img {
    width: 220px;
  }
}




/* ---------- About ---------- */
.about {
  background: #fff;
  padding: 70px 20px;
  text-align: center;
}
.about h3 { font-size: 30px; font-weight: 700; margin-bottom: 20px; color: #013220; }
.about p  { font-size: 17px; max-width: 750px; margin: 0 auto; color: #555; line-height: 1.7; }

/* Logo grid section */
.logo-section {
  padding: 60px 0 40px;
  text-align: center;
}

.logo-section h3 {
  font-size: 28px;
  margin-bottom: 28px;
  color: #013220;
}

/* Responsive grid */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px 42px; /* row / column spacing */
}

/* Card style like screenshot */
.logo-card {
  display: grid;
  place-items: center;
  background: #fff;
  border-radius: 14px;
  padding: 26px;
  min-height: 170px;              /* consistent card height */
  text-decoration: none;
  box-shadow:
    0 2px 0 rgba(0,0,0,0.06) inset,          /* thin inner border look */
    0 14px 28px rgba(0,0,0,0.12),            /* big soft outer shadow */
    0 10px 10px rgba(0,0,0,0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.logo-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 2px 0 rgba(0,0,0,0.06) inset,
    0 22px 40px rgba(0,0,0,0.16),
    0 10px 10px rgba(0,0,0,0.10);
}

/* Logo image fit */
.logo-card img {
  width: 100%;
  max-width: 180px;   /* keep logos similar size */
  height: 100px;      /* fixed box for uniformity */
  object-fit: contain;
  filter: grayscale(0);   /* set to 1 for gray logos if you want */
}

/* Tighten on small screens */
@media (max-width: 480px) {
  .logo-card { min-height: 140px; padding: 20px; }
  .logo-card img { max-width: 150px; height: 80px; }
}

.services-section {
  padding: 60px 0;
}

.service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 50px 0;
}

.service-text {
  flex: 1;
  padding-right: 30px;
}

.service-text h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #013220;
}

.service-text p {
  font-size: 16px;
  line-height: 1.6;
  text-align: center;
}

.service-icon {
  flex-shrink: 0;
}

.service-icon img {
  width: 80px;
  height: auto;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .service-row {
    flex-direction: column;
    text-align: center;
  }
  .service-text {
    padding-right: 0;
    margin-bottom: 20px;
  }
}


/* Contact section */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  padding: 70px 0;
}

.contact-left h2 {
  font-size: 44px;
  letter-spacing: 1px;
  margin-bottom: 18px;
  color: #0b0b0b;
}

.contact-left p { margin: 10px 0; }

.contact-form { width: 100%; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.field { display: flex; flex-direction: column; gap: 6px; }

.field label {
  font-size: 14px;
  color: #333;
}

.field input,
.field textarea {
  border: none;
  border-bottom: 2px solid #111;
  background: transparent;
  padding: 10px 0;
  outline: none;
  font-size: 15px;
}

.field input:focus,
.field textarea:focus {
  border-bottom-color: #2ecc71; /* green focus */
}

.divider {
  border: none;
  border-bottom: 1px solid #cfcfcf;
  margin: 22px 0;
}

/* Upload */
.upload-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.upload-btn input { display: none; }

.upload-btn span {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid #111;
  border-radius: 4px;
  cursor: pointer;
  user-select: none;
}

#fileName { font-size: 14px; color: #013220; }

.submit-btn {
  width: 100%;
  margin-top: 28px;
  padding: 14px;
  background: #000;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .2s ease;
}
.submit-btn:hover { opacity: .9; }

/* Responsive */
@media (max-width: 900px) {
  .contact { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}

#map-section h3 { margin: 10px 0 16px; color: #013220; }
.map-embed {
  position: relative;
  width: 100%;
  height: 440px;               /* adjust header height here */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(0,0,0,.12), 0 10px 10px rgba(0,0,0,.08);
}
.map-embed iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* Floating chat button */
.chat-fab{
  position: fixed;
  right: 22px;
  bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: #4f8f8f;          /* teal pill */
  color: #fff;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(0,0,0,.22), 0 6px 12px rgba(0,0,0,.18);
  z-index: 9999;
  transition: transform .15s ease, box-shadow .15s ease, opacity .2s;
}
.chat-fab i{ font-size: 18px; line-height: 1; }
.chat-fab:hover{ transform: translateY(-2px); box-shadow: 0 16px 30px rgba(0,0,0,.25); }
.chat-fab:active{ transform: translateY(0); }
@media (max-width: 480px){
  .chat-fab{ right: 14px; bottom: 14px; padding: 11px 16px; }
  .chat-fab span{ font-size: 14px; }
}



/* ---------- Footer ---------- */
footer {
  background: #013220;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  margin-top: 50px;
  font-size: 14px;
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  header .container { flex-wrap: wrap; }
  header nav { width: 100%; margin-left: 0; }
  header nav ul { justify-content: center; gap: 18px; }
}
