@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Inter:wght@400;500;600&display=swap');

:root {
  /* Brand Colors */
  --primary: #195e54;
  --primary-light: #26897b;
  --primary-dark: #0f3c35;
  --secondary: #f4c264;
  --accent: #e28054;
  
  /* Neutrals */
  --bg-light: #f8faf9;
  --bg-white: #ffffff;
  --text-main: #2b3a38;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  
  /* Spaces */
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
  --spacing-xxl: 6rem;
  
  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 24px;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-dark);
}

p {
  margin-bottom: var(--spacing-md);
}

a {
  text-decoration: none;
  color: var(--primary);
  transition: all 0.3s ease;
}

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

/* Base Components */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.section {
  padding: var(--spacing-xxl) 0;
  position: relative;
}

.section-light { background-color: var(--bg-white); }
.section-dark { background-color: var(--primary-dark); color: var(--bg-white); }
.section-dark h2, .section-dark h3 { color: var(--bg-white); }
.section-tint { background-color: var(--bg-light); }

.text-center { text-align: center; }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--bg-white);
  box-shadow: 0 4px 14px rgba(25, 94, 84, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(25, 94, 84, 0.4);
  color: var(--bg-white);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--primary-dark);
}

.btn-secondary:hover {
  background-color: #eeb041;
  transform: translateY(-2px);
  color: var(--primary-dark);
}

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

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

/* Circular Logo Crop (Navbar & Footer) */
.logo-container img {
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.navbar .logo-container img {
  width: 55px;
  height: 55px;
  transition: transform 0.3s ease;
}

.navbar .logo-container:hover img {
  transform: scale(1.05);
}

.footer .logo-container img {
  width: 90px;
  height: 90px;
  border-color: rgba(255,255,255,0.1);
  margin-bottom: var(--spacing-md);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  transition: all 0.4s ease;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.nav-links a {
  color: var(--bg-white);
  font-weight: 500;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.5px;
}

.navbar.scrolled .nav-links a {
  color: var(--primary-dark);
}

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

/* Hamburger */
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--bg-white);
  font-size: 1.5rem;
}

.navbar.scrolled .hamburger {
  color: var(--primary-dark);
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-img-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  filter: brightness(0.65);
  transform: scale(1.05);
  animation: heroZoom 20s ease-out infinite alternate;
}

@keyframes heroZoom {
  0% { transform: scale(1.05); }
  100% { transform: scale(1.15); }
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 650px;
  color: var(--bg-white);
}

.hero-content h1 {
  font-size: 4rem;
  color: var(--bg-white);
  margin-bottom: var(--spacing-md);
  line-height: 1.1;
  text-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-lg);
  color: rgba(255,255,255,0.9);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

/* Pages Hero Base */
.page-hero {
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  background-color: var(--primary-dark);
}
.page-hero-bg {
  position: absolute;
  top:0; left:0; width:100%; height:100%; object-fit: cover;
  opacity: 0.4;
}
.page-hero-content {
  position: relative; z-index: 1;
}
.page-hero-content h1 {
  font-size: 4rem;
  color: #fff;
}

/* Grids and Cards */
.grid {
  display: grid;
  gap: var(--spacing-lg);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

/* Aspect Ratio Images */
.img-ratio-16-9 {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
}

.img-ratio-3-2 {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
}

.img-ratio-1-1 {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}
.img-ratio-4-3 {
  aspect-ratio: 4 / 3;
  object-fit: cover; 
  width: 100%;
}

.card-img-wrapper {
  overflow: hidden;
}

.card-img-wrapper img {
  transition: transform 0.5s ease;
}

.card:hover .card-img-wrapper img {
  transform: scale(1.08);
}

.card-content {
  padding: var(--spacing-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  margin-bottom: var(--spacing-sm);
  font-size: 1.25rem;
}

.card-desc {
  color: var(--text-muted);
  flex-grow: 1;
  margin-bottom: var(--spacing-md);
}

/* Feature/Split section */
.split-section {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
}

.split-content {
  flex: 1;
}

.split-image {
  flex: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.badge {
  display: inline-block;
  padding: 6px 14px;
  background-color: rgba(25, 94, 84, 0.1);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--spacing-md);
}

/* Services Grid Overlay */
.service-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  cursor: pointer;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 60, 53, 0.9) 0%, rgba(15, 60, 53, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--spacing-lg);
  transition: all 0.3s ease;
}

.service-card:hover img {
  transform: scale(1.1);
}

.service-card h3 {
  color: var(--bg-white);
  margin-bottom: 5px;
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.service-card p {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  margin: 0;
}

.service-card:hover h3 {
  transform: translateY(0);
}

.service-card:hover p {
  opacity: 1;
  transform: translateY(0);
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  background: var(--primary);
  border-radius: var(--radius-md);
  padding: 3rem;
  color: white;
  margin-top: -80px;
  position: relative;
  z-index: 10;
  box-shadow: var(--shadow-lg);
}
.stat-item h4 {
  color: var(--secondary);
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

/* Accordion */
.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  overflow: hidden;
}
.accordion-header {
  padding: 1.5rem;
  background: var(--bg-white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  color: var(--primary-dark);
}
.accordion-content {
  padding: 0 1.5rem;
  background: var(--bg-light);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.accordion-item.active .accordion-content {
  padding: 1.5rem;
  max-height: 500px;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}
.form-control {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  background: var(--bg-light);
  transition: border-color 0.3s ease;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--bg-white);
}
textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Footer Section */
.footer {
  background-color: var(--primary-dark);
  color: var(--bg-white);
  padding: 5rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
  margin-top: 1rem;
}

.footer-col h4 {
  color: var(--bg-white);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Scroll Animation Classes */
.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* Contact info grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
}
.contact-info-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-content h1 { font-size: 3.5rem; }
  .split-section { flex-direction: column; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); margin-top: -40px;}
  .footer-top { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .hamburger { display: block; }
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--bg-white);
    flex-direction: column;
    padding-top: 2rem;
    transition: left 0.3s ease;
  }
  .nav-links.active { left: 0; }
  .nav-links a { color: var(--primary-dark); font-size: 1.25rem; }
  .navbar { background: rgba(255,255,255,0.95); }
  
  .hero-content h1 { font-size: 2.5rem; }
  .hero-buttons { flex-direction: column; }
  
  .grid-2 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; position: static; margin-top: 2rem; padding: 2rem;}
  .footer-top { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
