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

:root {
  /* Colors from the new logo */
  --primary-green: #1B6B2E;
  --primary-light: #2D8C43;
  --primary-dark: #0D3B15;
  --golden-amber: #D4930D;
  --warm-brown: #7B4A1E;
  --accent-orange: #E8750A;
  
  --bg-cream: #FDF8F0;
  --bg-white: #FFFFFF;
  --text-dark: #1A1A1A;
  --text-gray: #4A4A4A;
  --text-light: #FDF8F0;
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Spacing */
  --section-padding: 5rem 0;
  
  /* Shadows */
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.1);
  
  /* Radii */
  --radius-md: 12px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--bg-cream);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography Utilities */
.section-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--golden-amber);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 3rem;
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2rem;
  height: 2px;
  background-color: var(--golden-amber);
}

.section-label.center {
  padding-left: 0;
}

.section-label.center::before {
  display: none;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-gray);
  max-width: 800px;
  margin-bottom: 3rem;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-family: var(--font-heading);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--golden-amber);
  color: var(--bg-white);
  box-shadow: 0 4px 15px rgba(212, 147, 13, 0.3);
}

.btn-primary:hover {
  background-color: var(--primary-green);
  color: var(--bg-white);
  box-shadow: 0 6px 20px rgba(27, 107, 46, 0.3);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--golden-amber);
  color: var(--golden-amber);
}

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

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: var(--transition);
}

.header.scrolled {
  background-color: rgba(253, 248, 240, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: var(--shadow-sm);
}

.header.scrolled .nav-link {
  color: var(--text-dark);
}

.header.scrolled .logo-text {
  color: var(--primary-dark);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 1001;
}

.logo img {
  height: 60px;
  width: auto;
  transition: var(--transition);
}

.header.scrolled .logo img {
  height: 50px;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--bg-white);
  display: none; /* Hide text if we have the new logo image */
}

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

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--bg-white);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--golden-amber);
  transition: var(--transition);
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary-dark);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1001;
}

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

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(13, 59, 21, 0.9) 0%, rgba(27, 107, 46, 0.7) 100%);
  z-index: -1;
}

.hero-content {
  color: var(--bg-white);
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--bg-white);
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-title span {
  color: var(--golden-amber);
}

.hero-desc {
  font-size: clamp(1.125rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat-icon {
  font-size: 2rem;
  color: var(--golden-amber);
}

.hero-stat-info {
  text-align: left;
}

.hero-stat-val {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}

.hero-shape {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  line-height: 0;
}

.hero-shape svg {
  display: block;
  width: calc(100% + 1.3px);
  height: 100px;
}

.hero-shape .shape-fill {
  fill: var(--bg-cream);
}

/* About Section */
.about {
  padding: var(--section-padding);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-img-wrapper {
  position: relative;
}

.about-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 2;
}

.about-img-shape {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--golden-amber);
  border-radius: var(--radius-lg);
  z-index: 1;
}

.about-card {
  background: var(--bg-white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  border-left: 4px solid var(--primary-green);
}

.about-card-icon {
  font-size: 2rem;
  color: var(--primary-green);
}

.about-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.about-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
}

.value-item {
  background: var(--bg-white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.value-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.value-icon {
  width: 50px;
  height: 50px;
  background: rgba(212, 147, 13, 0.1);
  color: var(--golden-amber);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.value-title {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.value-desc {
  font-size: 0.875rem;
  color: var(--text-gray);
}

/* Services */
.services {
  padding: var(--section-padding);
  background-color: var(--bg-white);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-cream);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  z-index: 1;
  border: 1px solid rgba(0,0,0,0.03);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--primary-green);
  transition: var(--transition);
  z-index: -1;
}

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

.service-card:hover::before {
  height: 100%;
}

.service-card:hover .service-title,
.service-card:hover .service-desc,
.service-card:hover .service-index {
  color: var(--bg-white);
}

.service-card:hover .service-icon {
  background: rgba(255,255,255,0.2);
  color: var(--bg-white);
}

.service-index {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(27, 107, 46, 0.05);
  transition: var(--transition);
  line-height: 1;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--bg-white);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.service-desc {
  color: var(--text-gray);
  transition: var(--transition);
}

/* Stats Section */
.stats {
  padding: 4rem 0;
  background: var(--primary-dark);
  color: var(--bg-white);
  position: relative;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.2);
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--golden-amber);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-label {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}

/* Infrastructure / Assets */
.infrastructure {
  padding: var(--section-padding);
}

.infra-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.infra-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  group: hover;
  cursor: pointer;
}

.infra-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.infra-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 59, 21, 0.9) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0.9;
  transition: var(--transition);
}

.infra-card:hover .infra-overlay {
  opacity: 1;
}

.infra-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--golden-amber);
  color: var(--bg-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.infra-title {
  color: var(--bg-white);
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.infra-desc {
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
  transform: translateY(20px);
  opacity: 0;
  transition: var(--transition);
}

.infra-card:hover .infra-desc {
  transform: translateY(0);
  opacity: 1;
}

/* Hub Production */
.hub {
  padding: var(--section-padding);
  background: var(--bg-white);
}

.hub-container {
  background: var(--bg-cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  box-shadow: var(--shadow-lg);
}

.hub-content {
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hub-info-badges {
  display: flex;
  gap: 1.5rem;
  margin: 2rem 0;
}

.hub-badge {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--bg-white);
  padding: 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  flex: 1;
}

.hub-badge-icon {
  width: 40px;
  height: 40px;
  background: rgba(27, 107, 46, 0.1);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.25rem;
}

.hub-badge-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-gray);
  margin-bottom: 0.25rem;
}

.hub-badge-val {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.hub-contacts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hub-contact {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 500;
}

.hub-contact i {
  color: var(--golden-amber);
}

.hub-image {
  position: relative;
  height: 100%;
}

.hub-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Blog Preview */
.blog {
  padding: var(--section-padding);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

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

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.blog-img-wrapper {
  position: relative;
  height: 220px;
}

.blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--golden-amber);
  color: var(--bg-white);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}

.blog-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.blog-card:hover .blog-title {
  color: var(--primary-green);
}

.blog-excerpt {
  color: var(--text-gray);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.blog-footer {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-gray);
  border-top: 1px solid rgba(0,0,0,0.05);
  padding-top: 1rem;
}

.blog-dot {
  width: 4px;
  height: 4px;
  background: var(--golden-amber);
  border-radius: 50%;
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 4rem 0 0;
  position: relative;
}

.footer-wave {
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  transform: rotate(180deg);
}

.footer-wave svg {
  display: block;
  width: calc(100% + 1.3px);
  height: 50px;
}

.footer-wave .shape-fill {
  fill: var(--bg-cream);
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  color: var(--bg-white);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
}

.footer-logo img {
  height: 50px;
  filter: brightness(0) invert(1);
}

.footer-desc {
  margin-bottom: 1.5rem;
  max-width: 400px;
}

.footer-est {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--golden-amber);
  border: 1px solid var(--golden-amber);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.footer-title {
  color: var(--bg-white);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-heading);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link {
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--golden-amber);
  padding-left: 0.5rem;
}

.footer-contact {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}

.footer-contact i {
  color: var(--golden-amber);
  margin-top: 0.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.scroll-top {
  background: rgba(255,255,255,0.1);
  border: none;
  color: var(--bg-white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.scroll-top:hover {
  background: var(--golden-amber);
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .about-grid, .hub-container, .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .hub-content {
    padding: 2rem;
  }
  
  .hub-image {
    height: 300px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem 2rem;
  }
  
  .stat-item:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    height: 100vh;
    background: var(--bg-white);
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-link {
    color: var(--text-dark);
    font-size: 1.25rem;
  }
  
  .header.scrolled .logo-text {
    color: var(--primary-dark);
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .header .btn-primary {
    display: none;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .about-values {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-item::after {
    display: none;
  }
  
  .hub-info-badges {
    flex-direction: column;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
