/* ---------- RESET & VARIABLES (Geospatial tech feel) ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #fafef9;
  color: #1a2e2c;
  line-height: 1.5;
  scroll-behavior: smooth;
}

:root {
  --primary: #0f5b5a;
  --primary-dark: #0a4342;
  --secondary: #2c7a6e;
  --accent: #4c9a8b;
  --earth: #c2a575;
  --light-bg: #eef6f2;
  --gray-bg: #f4f9f6;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
}

/* container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* section spacing */
section {
  padding: 80px 0;
}

/* headings */
h1, h2, h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

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

.section-title h2 {
  background: linear-gradient(135deg, #0f5b5a, #2c7a6e);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.section-title p {
  color: #4a6a64;
  max-width: 600px;
  margin: 0.5rem auto 0;
}

/* buttons & links */
.btn {
  display: inline-block;
  background: var(--primary);
  color: white;
  padding: 12px 28px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(15,91,90,0.2);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: white;
}

/* navigation */
.navbar {
  background: white;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(2px);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(120deg, #0f5b5a, #3c9b8b);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  letter-spacing: -0.02em;
}

.logo i {
  color: var(--primary);
  background: none;
  -webkit-background-clip: unset;
  margin-right: 4px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-weight: 500;
  color: #1f3e3b;
  transition: var(--transition);
}

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

.menu-icon {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Hero Section with map-ish grid pattern */
.hero {
  background: linear-gradient(135deg, #eefaf5 0%, #ffffff 100%), repeating-linear-gradient(45deg, rgba(79, 141, 124, 0.03) 0px, rgba(79,141,124,0.03) 2px, transparent 2px, transparent 8px);
  padding: 100px 0 80px;
}

.hero-grid {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 3rem;
}

.hero-content {
  flex: 1;
}

.hero-content h1 {
  font-size: 3.2rem;
  margin-bottom: 1.2rem;
  line-height: 1.2;
}

.hero-tagline {
  font-size: 1.2rem;
  color: #2d5a55;
  margin-bottom: 2rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.hero-visual {
  flex: 1;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 300"><path fill="%230f5b5a10" d="M50,150 L150,80 L280,130 L350,90 L350,250 L50,250 Z" stroke="%230f5b5a40" stroke-width="2"/><circle cx="120" cy="180" r="12" fill="%234c9a8b80"/><circle cx="260" cy="150" r="18" fill="%232c7a6e70"/><path d="M180 230 L210 200 L250 220 L280 190" stroke="%23c2a575" fill="none" stroke-width="2"/></svg>') no-repeat center;
  background-size: contain;
  min-height: 260px;
  opacity: 0.7;
}

/* Cards Grid */
.services-grid, .projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 1rem;
}

.service-card, .project-card {
  background: white;
  border-radius: 28px;
  padding: 2rem 1.5rem;
  transition: var(--transition);
  box-shadow: var(--shadow);
  text-align: center;
  border: 1px solid #e0ede8;
}

.service-card:hover, .project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 30px -12px rgba(0,0,0,0.15);
  border-color: var(--accent);
}

.service-icon {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.service-card h3, .project-card h3 {
  margin-bottom: 0.75rem;
}

.service-card p {
  color: #4b6b66;
}

/* About Section : team flex */
.about-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.mission-vision {
  flex: 1.5;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mv-card {
  background: white;
  border-left: 5px solid var(--primary);
  padding: 1.5rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.team {
  flex: 1;
  background: var(--gray-bg);
  border-radius: 28px;
  padding: 1.5rem;
}

.team-members {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
}

.member {
  flex: 1;
  min-width: 120px;
  text-align: center;
}

.member i {
  font-size: 3rem;
  color: var(--earth);
}

/* Contact form + map */
.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  background: white;
  border-radius: 32px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.contact-form {
  flex: 1;
  padding: 2rem;
}

.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  padding: 12px 16px;
  margin: 10px 0;
  border: 1px solid #cbdcd6;
  border-radius: 28px;
  font-family: inherit;
  transition: 0.2s;
}

.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(15,91,90,0.2);
}

.error-msg {
  color: #d9534f;
  font-size: 0.8rem;
  margin-top: -6px;
  margin-bottom: 8px;
  display: block;
}

.map-container {
  flex: 1;
  min-height: 350px;
  background: #cfdfd9;
}

iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
footer {
  background: #0d2f2d;
  color: #cfe9e2;
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  font-size: 1.6rem;
  font-weight: bold;
}

.social-links i {
  font-size: 1.4rem;
  margin-right: 1rem;
  color: #cfe9e2;
  transition: 0.2s;
  cursor: pointer;
}

.social-links i:hover { 
  color: white; 
}

.copyright {
  text-align: center;
  font-size: 0.85rem;
  border-top: 1px solid #2b5b56;
  padding-top: 1.5rem;
}

/* fade-in animation */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 { 
    font-size: 2.3rem; 
  }
  
  .hero-grid { 
    flex-direction: column; 
  }
  
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 70px);
    background: white;
    flex-direction: column;
    align-items: center;
    padding-top: 2rem;
    transition: 0.3s;
    box-shadow: 2px 0 12px rgba(0,0,0,0.1);
    gap: 1.8rem;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .menu-icon {
    display: block;
  }
  
  .contact-wrapper {
    flex-direction: column;
  }
  
  .map-container {
    min-height: 280px;
  }
  
  section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .services-grid, .projects-grid {
    grid-template-columns: 1fr;
  }
  
  .team-members {
    flex-direction: column;
    align-items: center;
  }
  
  .member {
    width: 100%;
  }
}