:root {
  --primary-color: #0B3B60; /* Dark Navy from logo */
  --secondary-color: #2E7D32; /* Leaf Green from logo */
  --accent-color: #00838F; /* Cyan */
  --background-light: #F8FAF9;
  --text-dark: #1E293B;
  --text-light: #64748B;
  --white: #FFFFFF;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', 'Outfit', system-ui, sans-serif;
}

body {
  background-color: var(--background-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

/* =========================================
   Typography & Utilities 
========================================= */
.text-gradient {
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.text-center { text-align: center; }
.my-4 { margin: 4rem 0; }
.py-4 { padding: 4rem 0; }
.py-6 { padding: 6rem 0; }

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute;
  width: 40%;
  height: 4px;
  background-color: var(--secondary-color);
  bottom: -10px;
  left: 0;
  border-radius: 2px;
}
.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 3rem;
  max-width: 600px;
}
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* =========================================
   Buttons 
========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  font-size: 1rem;
  letter-spacing: 0.5px;
}
.btn-primary {
  background-color: var(--secondary-color);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background-color: #246428;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline {
  border-color: var(--primary-color);
  color: var(--primary-color);
}
.btn-outline:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

/* =========================================
   Header & Navigation 
========================================= */
.top-bar {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.5rem 0;
  font-size: 0.875rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}
.app-header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-sm);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-color);
}
.logo img {
  height: 50px;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}
.nav-links a {
  font-weight: 500;
  color: var(--text-dark);
  font-size: 1rem;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}
.nav-links a:hover::after, .nav-links a.active::after {
  width: 100%;
}
.nav-links a.active {
  color: var(--secondary-color);
}

/* =========================================
   Hero Section 
========================================= */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background-color: var(--primary-color);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/hero_background_1774870051748.png') center/cover no-repeat;
  opacity: 0.2;
}
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  color: var(--white);
}
.hero-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  color: var(--white);
}
.hero-title span {
  color: var(--secondary-color);
}
.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  font-weight: 300;
  opacity: 0.9;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
}

/* =========================================
   Cards Grid (Services, Programs) 
========================================= */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.card {
  background: var(--white);
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}
.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--secondary-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}
.card:hover::before {
  transform: scaleX(1);
}
.card-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--accent-color);
  background: rgba(0, 131, 143, 0.1);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.card-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.card-text {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.card-list {
  list-style: none;
  margin-bottom: 1.5rem;
}
.card-list li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
}
.card-list li i {
  color: var(--secondary-color);
}

/* =========================================
   Why Choose Us 
========================================= */
.highlights-section {
  background: var(--primary-color);
  color: var(--white);
}
.highlights-section .section-title { color: var(--white); }
.highlight-pill {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 1rem 2rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-weight: 500;
  border: 1px solid rgba(255,255,255,0.2);
  margin: 0.5rem;
  transition: var(--transition);
}
.highlight-pill:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
}

/* =========================================
   Footer 
========================================= */
.app-footer {
  background: var(--primary-color);
  color: var(--white);
  padding: 4rem 0 2rem;
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-title {
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}
.footer-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--secondary-color);
}
.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-color);
  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.875rem;
}

/* =========================================
   Mobile Menu Styles
========================================= */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
}

@media (max-width: 991px) {
  .hero-title { font-size: 3rem; }
  .top-bar {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    text-align: center;
  }
  .mobile-menu-btn { 
    display: block; 
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
  }
  .nav-links { 
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100vh;
    background: var(--white);
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    padding: 80px 2rem 2rem;
    transition: right 0.3s ease;
    z-index: 999;
  }
  .nav-links.active {
    right: 0;
  }
  .nav-links li {
    margin-bottom: 1.5rem;
  }
  .nav-container > .hero-buttons {
    display: none; /* Hide header hero button on mobile menu state to save space */
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem; }
  .section-title { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  /* Fallback overrides for inline conditions */
  .contact-grid { grid-template-columns: 1fr !important; }
  .reliability-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 576px) {
  .hero .hero-content {
    text-align: center;
  }
  .hero .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
}

/* =========================================
   Interior Image & About Block
========================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-image img {
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
}
/* Animations */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-slide-up {
  animation: slideUp 0.8s ease forwards;
}

