/* ========================================
   AL GHARBIA GROUP - PROFESSIONAL STYLING
   Premium Green & White Corporate Design
   ======================================== */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Playfair+Display:wght@600;700;800&family=Inter:wght@300;400;500;600;700&display=swap");

/* ========================================
   ROOT VARIABLES & GLOBAL STYLES
   ======================================== */

:root {
  /* Primary Colors */
  --emerald: #007f5f;
  --dark-green: #014f43;
  --white: #ffffff;
  --light-gray: #f8f8f8;
  --black: #000000;

  /* Gradients */
  --green-gradient: linear-gradient(135deg, #007f5f, #014f43);

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;

  /* Typography */
  --font-serif: "Playfair Display", serif;
  --font-sans: "Poppins", sans-serif;
  --font-mono: "Inter", sans-serif;

  /* Transitions */
  --transition: all 0.3s ease;
  --transition-slow: all 0.6s ease;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* ========================================
   SCROLLBAR STYLING - EMERALD THEME
   ======================================== */

/* Chrome, Safari, Edge */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
  background: var(--emerald);
  border-radius: 6px;
  border: 2px solid var(--light-gray);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--dark-green);
}

/* Firefox */
* {
  scrollbar-color: var(--emerald) var(--light-gray);
  scrollbar-width: thin;
}

body {
  font-family: var(--font-sans);
  color: var(--black);
  background-color: var(--white);
  line-height: 1.6;
  /* overflow-x: hidden; */
  font-weight: 400;
}

a {
  color: var(--emerald);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--dark-green);
}

/* ========================================
   CONTAINER & LAYOUT
   ======================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* ========================================
   PRELOADER / LOADING SCREEN
   ======================================== */

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.6s ease-out;
}

.preloader.hide {
  opacity: 0;
  pointer-events: none;
}

.preloader-content {
  text-align: center;
}

.preloader-logo {
  width: 300px;
  height: 300px;
  margin-bottom: var(--spacing-xl);
  animation: fadeInDown 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  object-fit: contain;
}

.loader {
  width: 80px;
  height: 80px;
  border: 5px solid var(--light-gray);
  border-top-color: var(--emerald);
  border-radius: 50%;
  margin: 0 auto;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   TOP INFO BAR
   ======================================== */

.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--dark-green);
  padding: var(--spacing-sm) 0;
  z-index: 998;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.top-bar.hide {
  transform: translateY(-100%);
}

.top-bar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  gap: var(--spacing-xl);
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 400;
  transition: var(--transition);
}

.top-bar-item i {
  color: var(--emerald);
  font-size: 1rem;
}

.top-bar-item:hover {
  color: var(--emerald);
}

@media (max-width: 768px) {
  .top-bar {
    padding: var(--spacing-sm);
    min-height: auto;
  }

  .top-bar-container {
    flex-direction: column;
    gap: var(--spacing-sm);
    text-align: center;
  }

  .top-bar-left,
  .top-bar-right {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
  }

  .top-bar-item {
    font-size: 0.8rem;
  }

  .navbar {
    top: auto;
    position: relative;
    margin-top: 0;
  }

  .navbar.hide-top-bar {
    top: auto;
    position: relative;
  }
}

/* ========================================
   NAVIGATION BAR - STYLISH AESTHETIC
   ======================================== */

.navbar {
  position: fixed;
  top: 50px;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: var(--spacing-md) 0;
  z-index: 999;
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-bottom: 1px solid rgba(0, 127, 95, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
  will-change: transform, top;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 1);
  backdrop-filter: blur(20px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  padding: var(--spacing-sm) 0;
}

.navbar.hide-top-bar {
  top: 0;
}

.navbar.navbar-hide {
  transform: translateY(-100%);
  box-shadow: none;
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.navbar-logo {
  width: 70px;
  height: 70px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.navbar-logo:hover {
  transform: scale(1.08) rotate(2deg);
  filter: drop-shadow(0 8px 16px rgba(0, 127, 95, 0.3));
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-lg);
}

.nav-link {
  color: var(--emerald);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  font-family: var(--font-sans);
  text-transform: uppercase;
}

.nav-link::before {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--emerald), var(--dark-green));
  transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-link:hover {
  color: var(--dark-green);
  transform: translateY(-2px);
}

.nav-link:hover::before {
  width: 100%;
}

.nav-link.active {
  color: var(--dark-green);
}

.nav-link.active::before {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
  z-index: 1000;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--emerald);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .top-bar {
    padding: var(--spacing-sm) var(--spacing-lg);
    height: auto;
    min-height: 45px;
  }

  .navbar {
    top: 45px;
    padding: var(--spacing-sm) 0;
    position: fixed;
  }

  .navbar.hide-top-bar {
    top: 0;
  }

  .hamburger {
    display: flex;
    z-index: 1001;
  }

  .hamburger span {
    width: 24px;
    height: 2.5px;
    background-color: var(--emerald);
  }

  .nav-menu {
    position: fixed;
    top: 105px;
    left: 0;
    width: 100%;
    background: linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.98) 0%,
      rgba(248, 248, 248, 0.95) 100%
    );
    flex-direction: column;
    gap: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(20px);
    z-index: 1000;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }

  .nav-menu.active {
    max-height: 600px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
  }

  .nav-link {
    padding: 1.2rem var(--spacing-lg);
    border-bottom: 1px solid rgba(0, 127, 95, 0.1);
    font-size: 0.95rem;
    color: var(--dark-green);
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .nav-link::before {
    display: none;
  }

  .nav-link:active,
  .nav-link:hover {
    background-color: rgba(0, 127, 95, 0.08);
    color: var(--emerald);
    transform: none;
    padding-left: calc(var(--spacing-lg) + 8px);
  }
}

@media (max-width: 480px) {
  .navbar-logo {
    width: 40px;
    height: 40px;
  }

  .nav-menu {
    top: 90px;
  }

  .nav-link {
    padding: 1rem var(--spacing-md);
    font-size: 0.85rem;
  }
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Hero Canvas for advanced effects */
.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background: linear-gradient(135deg, #007f5f00 0%, #014f4315 100%);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  will-change: transform;
  backface-visibility: hidden;
  animation: heroZoom 10s ease-in-out infinite;
  filter: brightness(0.85) contrast(1.1) saturate(0.95);
}

@keyframes heroZoom {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 127, 95, 0.7) 0%,
    rgba(1, 79, 67, 0.75) 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
  backdrop-filter: blur(1px);
  z-index: 1;
}

/* Premium gradient overlays */
.hero-gradient-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 100%
  );
  z-index: 2;
  pointer-events: none;
}

.hero-gradient-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
  z-index: 2;
  pointer-events: none;
}

/* Floating decorative elements */
.hero-float {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  z-index: 1;
  animation: float 20s infinite ease-in-out;
}

.hero-float-1 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, var(--emerald), var(--white));
  top: -200px;
  right: -150px;
  animation-delay: 0s;
}

.hero-float-2 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, var(--white), var(--emerald));
  bottom: -100px;
  left: -100px;
  animation-delay: -5s;
}

.hero-float-3 {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, var(--dark-green), var(--white));
  top: 50%;
  right: 10%;
  animation-delay: -10s;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, 30px) scale(1.1);
  }
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  color: var(--white);
  animation: fadeInUp 0.8s ease-out 0.2s both;
  max-width: 950px;
  padding: var(--spacing-lg);
  margin-top: 200px;
}

/* Hero Badge */
.hero-badge {
  display: inline-block;
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  margin-bottom: 0.8rem;
  animation: fadeInDown 0.6s ease-out 0.1s both;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
}

.hero-badge:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 9vw, 5.5rem);
  font-weight: 800;
  margin-bottom: 0.8rem;
  color: var(--white);
  text-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  letter-spacing: -2px;
  line-height: 1.15;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

/* Title accent line */
.hero-title-accent {
  width: 80px;
  height: 5px;
  background: linear-gradient(90deg, transparent, #ffffff, transparent);
  margin: 0.8rem auto 1rem;
  border-radius: 10px;
  animation: slideInRight 0.8s ease-out 0.4s both;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2.2vw, 1.5rem);
  margin-bottom: 1.5rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 750px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 300;
  line-height: 1.7;
  letter-spacing: 0.3px;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

/* Hero Stats Section */
.hero-stats {
  display: flex;
  gap: 3rem;
  justify-content: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.stat:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  text-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: fadeInUp 1s ease-out 0.8s both;
}

.scroll-dot {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-15px);
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .hero {
    margin-top: 140px;
    height: 90vh;
    min-height: 90vh;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .navbar.hide-top-bar {
    top: 0;
  }
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  padding: 1rem 2.5rem;
  border: 2px solid transparent;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.15);
  transition: left 0.4s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #00a878, #007f5f);
  color: var(--white);
  box-shadow: 0 12px 36px rgba(0, 127, 95, 0.4);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(0, 127, 95, 0.6);
  background: linear-gradient(135deg, #00c896, #009973);
}

.btn-primary:active {
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(20px);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 16px 40px rgba(255, 255, 255, 0.15);
  transform: translateY(-6px);
}

.btn-secondary:active {
  transform: translateY(-2px);
}

.btn-small {
  padding: 0.7rem 1.8rem;
  font-size: 0.85rem;
}

/* ========================================
   SECTION CTA
   ======================================== */

.section-cta {
  text-align: center;
  margin-top: var(--spacing-2xl);
  animation: fadeIn 0.8s ease 0.3s both;
}

/* ========================================
   SECTION TITLE
   ======================================== */

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  color: var(--dark-green);
  text-align: center;
  margin-bottom: var(--spacing-2xl);
  position: relative;
  padding-bottom: var(--spacing-lg);
  letter-spacing: -0.5px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg, #007f5f, #014f43);
  border-radius: 2px;
}

/* ========================================
   ABOUT SECTION
   ======================================== */

.about {
  padding: var(--spacing-2xl) 0;
  background: linear-gradient(180deg, var(--light-gray) 0%, #f0f8f5 100%);
  position: relative;
  overflow: hidden;
}

.about::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(0, 127, 95, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
  align-items: center;
  margin-bottom: var(--spacing-2xl);
  position: relative;
  z-index: 1;
}

.about-content {
  animation: fadeInLeft 0.8s ease;
}

.about-content p {
  margin-bottom: var(--spacing-md);
  font-size: 1.05rem;
  line-height: 1.8;
  color: #333;
  position: relative;
  padding-left: var(--spacing-lg);
}

.about-content p::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--emerald);
  font-weight: bold;
  font-size: 1.3rem;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.about-image {
  position: relative;
  animation: slideInRight 0.8s ease;
}

.about-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 25px 50px rgba(0, 127, 95, 0.2);
  border: 3px solid var(--emerald);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.about-image:hover img {
  transform: translateY(-10px);
  box-shadow: 0 35px 70px rgba(0, 127, 95, 0.3);
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Counters Grid */
.counters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-2xl);
  position: relative;
  z-index: 1;
}

.counter-card {
  background: linear-gradient(135deg, #007f5f, #014f43);
  color: var(--white);
  padding: var(--spacing-lg);
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0, 127, 95, 0.2);
  animation: scaleIn 0.6s ease;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.counter-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.6s ease;
}

.counter-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 60px rgba(0, 127, 95, 0.35);
}

.counter-card:hover::before {
  left: 100%;
}

.counter-number {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.counter-label {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Mobile About */
@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .counters-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* ========================================
   CURRENT PROJECTS SECTION
   ======================================== */

.current-projects {
  background: var(--white);
  padding: 6rem 2rem;
}

.projects-wrapper {
  max-width: 1300px;
  margin: 0 auto;
}

.projects-header {
  text-align: center;
  margin-bottom: 4rem;
}

.projects-header .section-title {
  color: var(--dark-green);
  margin-bottom: 0.8rem;
  font-size: 2.8rem;
}

.projects-header .section-subtitle {
  color: var(--emerald);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.project-showcase {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: stretch;
}

.project-visual {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-visual:hover {
  box-shadow: 0 30px 80px rgba(0, 127, 95, 0.2);
  transform: translateY(-8px);
}

.project-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-visual:hover img {
  transform: scale(1.05);
}

.project-status {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background: linear-gradient(135deg, var(--emerald), var(--dark-green));
  color: var(--white);
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 10px 30px rgba(0, 127, 95, 0.35);
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--white);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.project-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3rem;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: 20px;
  border: 2px solid #f0f0f0;
  transition: all 0.3s ease;
}

.project-details:hover {
  border-color: var(--emerald);
  background: var(--white);
}

.project-details h3 {
  font-size: 2rem;
  color: var(--dark-green);
  margin: 0 0 1.5rem 0;
  line-height: 1.3;
  font-weight: 800;
}

.project-scope {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 2rem;
  font-weight: 500;
}

.project-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.info-block {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
}

.info-block i {
  color: var(--emerald);
  font-size: 1.5rem;
  margin-top: 0.3rem;
  flex-shrink: 0;
}

.info-block h4 {
  color: var(--dark-green);
  margin: 0 0 0.3rem 0;
  font-size: 1rem;
  font-weight: 700;
}

.info-block p {
  color: #666;
  margin: 0;
  font-size: 1rem;
}

.btn-learn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: linear-gradient(135deg, var(--emerald), var(--dark-green));
  color: var(--white);
  padding: 1.2rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 127, 95, 0.3);
  width: fit-content;
}

.btn-learn-more:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 127, 95, 0.4);
  color: var(--white);
  gap: 1.2rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .current-projects {
    padding: 4rem 1.5rem;
  }

  .projects-header .section-title {
    font-size: 2.2rem;
  }

  .project-showcase {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .project-details {
    padding: 2.5rem;
  }

  .project-details h3 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .current-projects {
    padding: 3rem 1rem;
  }

  .projects-header {
    margin-bottom: 2.5rem;
  }

  .projects-header .section-title {
    font-size: 2rem;
  }

  .projects-header .section-subtitle {
    font-size: 1.1rem;
  }

  .project-showcase {
    gap: 1.5rem;
  }

  .project-visual {
    border-radius: 15px;
    height: 350px;
  }

  .project-details {
    padding: 2rem;
    border-radius: 15px;
  }

  .project-details h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .project-scope {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .project-info {
    gap: 1.2rem;
    margin-bottom: 1.5rem;
  }

  .btn-learn-more {
    padding: 1rem 1.8rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .current-projects {
    padding: 2rem 0.8rem;
  }

  .projects-header {
    margin-bottom: 2rem;
  }

  .projects-header .section-title {
    font-size: 1.7rem;
    margin-bottom: 0.5rem;
  }

  .projects-header .section-subtitle {
    font-size: 1rem;
  }

  .project-visual {
    height: 300px;
    border-radius: 12px;
  }

  .project-status {
    bottom: 1.5rem;
    left: 1.5rem;
    padding: 0.7rem 1.5rem;
    font-size: 0.85rem;
  }

  .project-details {
    padding: 1.5rem;
    border-radius: 12px;
  }

  .project-details h3 {
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
  }

  .project-scope {
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    line-height: 1.6;
  }

  .project-info {
    gap: 1rem;
    margin-bottom: 1.2rem;
  }

  .info-block {
    gap: 0.8rem;
  }

  .info-block i {
    font-size: 1.3rem;
  }

  .info-block h4 {
    font-size: 0.95rem;
  }

  .info-block p {
    font-size: 0.9rem;
  }

  .btn-learn-more {
    padding: 0.9rem 1.6rem;
    font-size: 0.95rem;
    width: 100%;
    justify-content: center;
  }
}

/* Services Header */
.services-header {
  padding: 4rem 0;
  background: var(--white);
}

.services-header .section-title {
  margin: 0 0 1rem 0;
}

.services-header .section-subtitle {
  text-align: center;
  color: #999;
  margin: 0;
  font-size: 1.1rem;
}

.sticky-parent {
  height: 200vh;
}
.sticky {
  position: sticky;
  top: 0px;
  max-height: 100vh;
  overflow-x: hidden;
  overflow-y: hidden;
  background: var(--white);
}
.dim {
  display: block;
  min-width: 32%;
  width: 32%;
  height: 80vh;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}
.horizontal {
  display: flex;
  height: 100vh;
  gap: 2rem;
  padding: 0 2rem;
}

/* Service Card Styling */
.service-card {
  position: relative;
  overflow: hidden;
  background: var(--white);
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
  box-shadow: 0 20px 60px rgba(0, 127, 95, 0.2);
  transform: translateY(-8px);
}

.service-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
  z-index: 1;
}

.service-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover .service-image-wrapper img {
  transform: scale(1.12);
}

.service-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  padding: 3rem 2.5rem;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.3) 30%,
    rgba(0, 127, 95, 0.2) 60%,
    rgba(0, 0, 0, 0.92) 100%
  );
  color: var(--white);
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  transition: all 0.4s ease;
}

.service-card:hover .service-overlay {
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 127, 95, 0.15) 30%,
    rgba(0, 127, 95, 0.35) 60%,
    rgba(0, 127, 95, 0.95) 100%
  );
}

.service-overlay .service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    var(--emerald) 0%,
    var(--dark-green) 100%
  );
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 127, 95, 0.35);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card:hover .service-overlay .service-icon {
  transform: scale(1.2) rotateZ(5deg);
  box-shadow: 0 15px 40px rgba(0, 127, 95, 0.5);
  background: linear-gradient(
    135deg,
    var(--emerald) 0%,
    var(--dark-green) 100%
  );
}

.service-overlay h3 {
  color: var(--white);
  margin: 0 0 1rem 0;
  font-size: 1.95rem;
  font-weight: 800;
  line-height: 1.25;
  transition: color 0.3s ease;
  letter-spacing: -0.5px;
}

.service-card:hover .service-overlay h3 {
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 127, 95, 0.4);
}

.service-overlay p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
  transition: color 0.3s ease;
  font-weight: 500;
}

/* Responsive Styles */
@media (max-width: 1440px) {
  .sticky-parent {
    height: 250vh;
  }

  .dim {
    min-width: 40%;
    width: 40%;
    height: 75vh;
  }

  .horizontal {
    gap: 1.5rem;
    padding: 0 1.5rem;
  }

  .service-overlay {
    padding: 2.5rem 2rem;
  }

  .service-overlay h3 {
    font-size: 1.75rem;
  }

  .service-overlay p {
    font-size: 0.9rem;
    line-height: 1.55;
  }
}

@media (max-width: 1024px) {
  .sticky-parent {
    height: auto;
  }

  .sticky {
    position: relative;
    max-height: none;
    overflow-x: visible;
    overflow-y: visible;
  }

  .horizontal {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 2rem;
    height: auto;
  }

  .dim {
    min-width: 100%;
    width: 100%;
    height: 55vh;
    margin-bottom: 0;
  }

  .service-overlay {
    padding: 2.5rem 2rem;
  }

  .service-overlay h3 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
  }

  .service-overlay p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .service-overlay .service-icon {
    width: 65px;
    height: 65px;
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
  }
}

@media (max-width: 768px) {
  .horizontal {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .dim {
    height: 50vh;
  }

  .service-overlay {
    padding: 2rem 1.5rem;
  }

  .service-overlay h3 {
    font-size: 1.4rem;
    margin-bottom: 0.7rem;
  }

  .service-overlay p {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .service-overlay .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }
}

@media (max-width: 600px) {
  .horizontal {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    padding: 5px;
  }

  .dim {
    height: 50vh;
    width: 100%;
  }

  .service-overlay {
    padding: 2rem 1.5rem;
  }

  .service-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 0.7rem;
  }

  .service-overlay p {
    display: none;
  }

  .service-overlay .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .service-card {
    border-radius: 12px;
  }

  .service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 50px rgba(0, 127, 95, 0.25);
  }
}

@media (max-width: 480px) {
  .horizontal {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    padding: 5px;
  }

  .dim {
    height: 48vh;
    width: 100%;
  }

  .service-overlay {
    padding: 1.8rem 1.2rem;
  }

  .service-overlay h3 {
    font-size: 1.2rem;
    margin-bottom: 0.6rem;
  }

  .service-overlay p {
    display: none;
  }

  .service-overlay .service-icon {
    width: 55px;
    height: 55px;
    font-size: 1.2rem;
    margin-bottom: 0.9rem;
  }

  .service-card {
    border-radius: 10px;
  }

  .service-card:hover {
    transform: translateY(-4px);
  }
}
@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes rotateIn {
  from {
    opacity: 0;
    transform: rotate(-10deg) scale(0.9);
  }
  to {
    opacity: 1;
    transform: rotate(0) scale(1);
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* ========================================
   INTERSECTION OBSERVER ANIMATIONS
   ======================================== */

.reveal {
  opacity: 0;
}

.reveal.active {
  animation: slideUp 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.reveal-left {
  opacity: 0;
}

.reveal-left.active {
  animation: slideInLeft 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.reveal-right {
  opacity: 0;
}

.reveal-right.active {
  animation: slideInRight 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.reveal-scale {
  opacity: 0;
}

.reveal-scale.active {
  animation: scaleUp 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.reveal-rotate {
  opacity: 0;
}

.reveal-rotate.active {
  animation: rotateIn 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.reveal-bounce {
  opacity: 0;
}

.reveal-bounce.active {
  animation: bounceIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* Stagger effect for grid items */
.reveal.stagger-1 {
  animation-delay: 0.1s;
}

.reveal.stagger-2 {
  animation-delay: 0.2s;
}

.reveal.stagger-3 {
  animation-delay: 0.3s;
}

.reveal.stagger-4 {
  animation-delay: 0.4s;
}

.reveal.stagger-5 {
  animation-delay: 0.5s;
}

.reveal.stagger-6 {
  animation-delay: 0.6s;
}

.reveal.stagger-7 {
  animation-delay: 0.7s;
}

.reveal.stagger-8 {
  animation-delay: 0.8s;
}

/* ========================================
   SUBSIDIARIES SECTION
   ======================================== */

.subsidiaries {
  padding: 6rem 2rem;
  background: linear-gradient(
    135deg,
    rgba(0, 127, 95, 0.05) 0%,
    rgba(1, 79, 67, 0.02) 100%
  );
  position: relative;
  overflow: hidden;
}

.subsidiaries .section-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 3rem;
  text-align: center;
}

.subsidiaries-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.subsidiaries-carousel {
  flex: 1;
  overflow: hidden;
  border-radius: 15px;
  background: white;
  max-height: 100%;
}

.subsidiaries-grid-carousel {
  display: flex;
  gap: 2rem;
  padding: 0;
  scroll-behavior: smooth;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.subsidiary-card {
  min-width: calc(33.333% - 1.35rem);
  width: calc(33.333% - 1.35rem);
  border-radius: 15px;
  overflow: hidden;
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
}

.subsidiary-image {
  width: 100%;
  height: 300px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #007f5f 0%, #014f43 100%);
}

.subsidiary-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.subsidiary-card:hover .subsidiary-image img {
  transform: scale(1.1);
}

.subsidiary-info {
  padding: 2rem;
}

.subsidiary-info h3 {
  font-size: 1.3rem;
  color: #014f43;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.subsidiary-info p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
}

/* Carousel Navigation Buttons */
.carousel-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #007f5f 0%, #014f43 100%);
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 127, 95, 0.3);
  z-index: 10;
  position: relative;
}

.carousel-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 127, 95, 0.5);
  background: linear-gradient(135deg, #014f43 0%, #007f5f 100%);
}

.carousel-btn:active {
  transform: scale(0.95);
}

.carousel-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Responsive - Tablet (3 cards visible) */
@media (min-width: 1024px) {
  .subsidiary-card {
    min-width: calc(33.333% - 1.35rem);
    width: calc(33.333% - 1.35rem);
  }
}

/* Responsive - Large Desktop (still 3 cards) */
@media (min-width: 1440px) {
  .subsidiary-card {
    min-width: calc(33.333% - 1.35rem);
    width: calc(33.333% - 1.35rem);
  }
}

/* Responsive - Small screens */
@media (max-width: 768px) {
  .subsidiaries {
    padding: 4rem 1rem;
  }

  .subsidiaries .section-title {
    font-size: 2rem;
  }

  .subsidiaries-carousel-wrapper {
    gap: 1rem;
  }

  .carousel-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .subsidiary-image {
    height: 250px;
  }

  .subsidiary-info {
    padding: 1.5rem;
  }

  .subsidiary-info h3 {
    font-size: 1.1rem;
  }

  .subsidiary-info p {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .subsidiaries-carousel-wrapper {
    flex-direction: column;
    gap: 1.5rem;
  }

  .carousel-btn {
    width: 45px;
    height: 45px;
  }

  .subsidiaries .section-title {
    font-size: 1.8rem;
  }

  .subsidiary-image {
    height: 220px;
  }
}

/* ========================================
   SUBSIDIARIES GRID (About Page)
   ======================================== */

.subsidiaries-grid-carousel {
  display: flex;
  gap: 2rem;
  padding: 0;
  scroll-behavior: smooth;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.subsidiary-item {
  min-width: calc(50% - 1rem);
  width: calc(50% - 1rem);
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  border-top: 4px solid #007f5f;
  flex-shrink: 0;
}

.subsidiary-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 127, 95, 0.2);
}

.subsidiary-item-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, #007f5f 0%, #014f43 100%);
}

.subsidiary-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.subsidiary-item:hover .subsidiary-item-image img {
  transform: scale(1.08);
}

.subsidiary-item-content {
  padding: 2rem;
}

.subsidiary-item-content h3 {
  font-size: 1.2rem;
  color: #014f43;
  margin-bottom: 1rem;
  font-weight: 700;
}

.subsidiary-item-content p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .subsidiary-item {
    min-width: calc(50% - 1rem);
    width: calc(50% - 1rem);
  }
}

@media (max-width: 768px) {
  .subsidiary-item {
    min-width: 100%;
    width: 100%;
  }

  .subsidiary-item-content {
    padding: 1.5rem;
  }

  .subsidiary-item-content h3 {
    font-size: 1.1rem;
  }

  .subsidiary-item-image {
    height: 200px;
  }
}

/* ========================================
   CERTIFICATIONS SECTION
   ======================================== */

.certifications {
  padding: var(--spacing-2xl) 0;
  background-color: var(--white);
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
}

.cert-card {
  background-color: var(--white);
  border: 2px solid var(--dark-green);
  padding: var(--spacing-lg);
  border-radius: 10px;
  text-align: center;
  transition: var(--transition);
  animation: fadeIn 0.6s ease;
}

.cert-card:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.cert-icon {
  font-size: 3rem;
  color: var(--emerald);
  margin-bottom: var(--spacing-md);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.cert-card h3 {
  color: var(--dark-green);
  margin-bottom: var(--spacing-sm);
}

.cert-card p {
  color: #666;
  font-size: 0.95rem;
}

/* ========================================
   PROJECTS SECTION
   ======================================== */

.projects {
  padding: var(--spacing-2xl) 0;
  background: linear-gradient(180deg, var(--light-gray) 0%, #ffffff 100%);
  position: relative;
}

.projects::after {
  content: "";
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(0, 127, 95, 0.08) 0%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  position: relative;
  z-index: 1;
}

.project-card {
  position: relative;
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid rgba(0, 127, 95, 0.1);
}

.project-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 30px 60px rgba(0, 127, 95, 0.2);
  border-color: var(--emerald);
}

.project-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(1, 79, 67, 0.9) 0%,
    rgba(0, 127, 95, 0.8) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: center;
  color: var(--white);
  padding: var(--spacing-lg);
  backdrop-filter: blur(4px);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-card:hover .project-image {
  transform: scale(1.15);
}

.project-overlay h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin-bottom: var(--spacing-lg);
  animation: slideUp 0.5s ease;
}

/* ========================================
   LEADERSHIP SECTION
   ======================================== */

.leadership {
  padding: var(--spacing-2xl) 0;
  background: var(--green-gradient);
}

.leadership-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
}

.leadership-message {
  display: flex;
  gap: var(--spacing-lg);
  align-items: center;
  animation: fadeIn 0.8s ease;
}

.leadership-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
  flex-shrink: 0;
}

.message-text {
  color: var(--white);
}

.message-text h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
}

.message-text .fa-quote-left {
  font-size: 2rem;
  opacity: 0.8;
  margin-bottom: var(--spacing-sm);
}

.message-text p {
  font-size: 1rem;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .leadership-content {
    grid-template-columns: 1fr;
  }

  .leadership-message {
    flex-direction: column;
    text-align: center;
  }
}

/* ========================================
   CAREERS SECTION
   ======================================== */

.careers {
  padding: var(--spacing-2xl) 0;
  background: linear-gradient(135deg, var(--dark-green) 0%, var(--emerald) 100%);
  position: relative;
  overflow: hidden;
}

.careers::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  z-index: 0;
}

.careers::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  z-index: 0;
}

.careers-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.careers .section-title {
  color: var(--white);
  margin-bottom: 0.5rem;
  animation: fadeInUp 1s ease-out;
}

.careers .section-subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.3rem;
  margin-bottom: 3rem;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.careers-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 3rem 2rem;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  animation: fadeInScale 1s ease-out 0.4s both;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.careers-icon {
  font-size: 3.5rem;
  color: var(--emerald);
  margin-bottom: 1.5rem;
  animation: float 3s ease-in-out infinite;
}

.careers-card h3 {
  font-size: 2rem;
  color: var(--dark-green);
  margin-bottom: 1.5rem;
  font-weight: 700;
  font-family: var(--font-serif);
}

.careers-card p {
  color: #555;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.careers-text {
  font-weight: 500;
  color: var(--emerald) !important;
}

.careers-contact {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid #e0e0e0;
}

.careers-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark-green);
  margin-bottom: 1rem !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.careers-email {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.3rem;
  color: var(--emerald);
  font-weight: 700;
  text-decoration: none;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, var(--emerald), var(--dark-green));
  color: var(--white) !important;
  border-radius: 8px;
  transition: var(--transition);
}

.careers-email:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 127, 95, 0.3);
  background: linear-gradient(135deg, var(--dark-green), var(--emerald));
}

.careers-email i {
  font-size: 1.5rem;
}

/* Responsive - Tablet */
@media (max-width: 1024px) {
  .careers {
    padding: var(--spacing-xl) 0;
  }

  .careers-card {
    padding: 2.5rem 2rem;
  }

  .careers-card h3 {
    font-size: 1.7rem;
  }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .careers {
    padding: var(--spacing-xl) 0;
  }

  .careers-card {
    padding: 2rem 1.5rem;
  }

  .careers-card h3 {
    font-size: 1.5rem;
  }

  .careers-card p {
    font-size: 0.95rem;
  }

  .careers-email {
    font-size: 1.1rem;
    padding: 0.9rem 1.2rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .careers-label {
    font-size: 0.9rem;
  }
}

/* Responsive - Small Mobile */
@media (max-width: 480px) {
  .careers {
    padding: var(--spacing-lg) 0;
  }

  .careers-card {
    padding: 1.5rem 1rem;
  }

  .careers-icon {
    font-size: 2.5rem;
  }

  .careers-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  .careers-card p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

  .careers-email {
    font-size: 1rem;
    padding: 0.8rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .careers-label {
    font-size: 0.85rem;
  }

  .careers-contact {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
  }
}

/* ========================================
   CONTACT SECTION
   ======================================== */

.contact {
  padding: var(--spacing-2xl) 0;
  background-color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-2xl);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.contact-form input,
.contact-form textarea {
  padding: var(--spacing-md);
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--emerald);
  box-shadow: 0 0 10px rgba(0, 127, 95, 0.2);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.info-box {
  background-color: var(--light-gray);
  padding: var(--spacing-lg);
  border-radius: 5px;
  border-left: 4px solid var(--emerald);
}

.info-box h4 {
  color: var(--dark-green);
  margin-bottom: var(--spacing-sm);
}

.info-box p {
  color: #666;
}

.map-placeholder {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  background: var(--dark-green);
  color: var(--white);
  padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.footer-column h4 {
  font-size: 1.1rem;
  margin-bottom: var(--spacing-md);
  color: var(--white);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: var(--spacing-sm);
}

.footer-column a {
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition);
}

.footer-column a:hover {
  color: var(--white);
}

.social-icons {
  display: flex;
  gap: var(--spacing-md);
}

.social-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--white);
  color: var(--dark-green);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: var(--transition-slow);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
  :root {
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
  }

  .hero {
    margin-top: 70px;
  }

  .hero-title {
    margin-bottom: var(--spacing-md);
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    max-width: 300px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}
