/* ===== CSS Variables ===== */
:root {
  --green: #7AB832;
  --green-dark: #5E9425;
  --green-light: #f3f9ec;
  --blue: #4A94C9;
  --blue-dark: #3A7AAD;
  --blue-light: #edf5fb;
  --navy: #0F034D;
  --navy-light: #f0f0f8;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-500: #868e96;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: 0.2s ease;
  --max-width: 1100px;
}

/* ===== Reset ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  background: var(--white);
}

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

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

a:hover {
  color: var(--green);
}

ul {
  list-style: none;
}

/* ===== Utilities ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4rem 0;
}

.section-gray {
  background: var(--gray-50);
}

.section-green {
  background: var(--green);
  color: var(--white);
}

.section-green h2,
.section-green p {
  color: var(--white);
}

.section-navy {
  background: var(--navy);
  color: var(--white);
}

.section-navy h2,
.section-navy p {
  color: var(--white);
}

.section-centered {
  text-align: center;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-500);
  margin-bottom: 2.5rem;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-align: center;
}

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

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

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

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

.btn-lg {
  padding: 0.85rem 2rem;
  font-size: 1.05rem;
}

/* ===== Header ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.header-top {
  background: var(--navy);
  color: var(--white);
  font-size: 0.85rem;
  padding: 0.4rem 0;
  text-align: center;
}

.header-top a {
  color: var(--white);
  font-weight: 500;
}

.header-top a:hover {
  color: var(--green-light);
}

.header-main {
  padding: 0.75rem 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  text-decoration: none;
}

.logo:hover {
  color: var(--navy);
}

.logo-text {
  line-height: 1.2;
}

.logo-text .company-name {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
}

.logo-text .company-suffix {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--gray-500);
  letter-spacing: 0.02em;
}

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

.nav a {
  padding: 0.5rem 1rem;
  color: var(--gray-700);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav a:hover {
  color: var(--green-dark);
}

.nav a.active {
  background: var(--green-light);
  color: var(--green-dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-800);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 3, 77, 0.75), rgba(33, 37, 41, 0.6));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 3rem 1.5rem;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.hero-small {
  min-height: 30vh;
}

.hero-small h1 {
  font-size: 2rem;
}

/* ===== Services Grid ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid var(--gray-200);
}

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

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--green-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.5;
}

/* ===== About / Two Column ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.two-col-text h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1rem;
}

.two-col-text p {
  color: var(--gray-700);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.two-col-text ul {
  margin-top: 1rem;
}

.two-col-text ul li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--gray-700);
  font-size: 0.95rem;
}

.two-col-text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
}

.two-col-image img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: var(--green);
  color: var(--white);
  text-align: center;
  padding: 3rem 1.5rem;
}

.cta-banner h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--white);
}

.cta-banner p {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.cta-banner .btn {
  background: var(--white);
  color: var(--green-dark);
}

.cta-banner .btn:hover {
  background: var(--gray-100);
  color: var(--green-dark);
}

/* ===== Contact Info ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: var(--green-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 0.15rem;
}

.contact-item p,
.contact-item a {
  font-size: 0.9rem;
  color: var(--gray-500);
}

/* ===== Gallery ===== */
.gallery {
  column-count: 4;
  column-gap: 1rem;
}

.gallery img {
  width: 100%;
  margin-bottom: 1rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.gallery img:hover {
  box-shadow: var(--shadow-md);
  transform: scale(1.02);
}

/* ===== Vendor Cards ===== */
.vendor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.vendor-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  text-align: center;
  font-weight: 500;
  color: var(--gray-700);
  font-size: 0.95rem;
  transition: all var(--transition);
}

.vendor-card:hover {
  border-color: var(--green);
  box-shadow: var(--shadow-sm);
}

/* ===== Footer ===== */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 3rem 0 0;
}

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

.footer h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1rem;
}

.footer p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--gray-300);
}

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

.footer-links a {
  color: var(--gray-300);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--green);
}

.footer-bottom {
  margin-top: 2rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--gray-500);
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-col {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery {
    column-count: 3;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    box-shadow: var(--shadow-md);
    gap: 0;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.75rem 1rem;
    width: 100%;
  }

  .nav-toggle {
    display: flex;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero-small h1 {
    font-size: 1.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    column-count: 2;
  }

  .section {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .gallery {
    column-count: 1;
  }

  .hero {
    min-height: 40vh;
  }

  .hero h1 {
    font-size: 1.5rem;
  }
}
