/* =========================================
   TABLE OF CONTENTS
   1. Variables (:root)
   2. Reset & Base Styles
   3. Typography
   4. Layout: Header & Navigation
   5. Components: Buttons
   6. Components: Cards & Features
   7. Section: Hero & Intro
   8. Section: Stats
   9. Section: Portfolio
   10. Section: Video & Poster
   11. Section: Testimonials
   12. Section: Articles
   13. Section: Contact
   14. Layout: Footer
   15. Animations & Utils
   16. Media Queries (Responsive)
   ========================================= */

/* =========================================
   1. VARIABLES (:root)
   ========================================= */
:root {
  /* --- Palette: Professional Emerald Green --- */
  --primary-dark: #064e3b;
  --primary: #059669;
  --primary-light: #34d399;
  --primary-lighter: #6ee7b7;
  --secondary: #1e293b;
  --secondary-light: #475569;

  /* --- Text Colors --- */
  --text-heading: #1f2937;
  --text-body: #4b5563;
  --text-muted: #9ca3af;

  /* --- Backgrounds --- */
  --bg-white: #ffffff;
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-dark: #0f172a;
  --accent-bg: #ecfdf5;
  --accent-dark: #e2e8f0;

  /* --- Accent Colors --- */
  --accent-amber: #f59e0b;
  --accent-teal: #14b8a6;
  --accent-sky: #0ea5e9;

  /* --- Typography --- */
  --font-heading: "Outfit", "Poppins", -apple-system, sans-serif;
  --font-body: "Plus Jakarta Sans", "Inter", -apple-system, sans-serif;

  /* --- Effects: Shadows --- */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md:
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg:
    0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl:
    0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* --- Effects: Gradients --- */
  --gradient-primary: linear-gradient(135deg, #059669 0%, #064e3b 100%);
  --gradient-accent: linear-gradient(135deg, #34d399 0%, #059669 100%);
  --gradient-bg: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  --gradient-hero: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  --gradient-text: linear-gradient(
    135deg,
    #059669 0%,
    #14b8a6 50%,
    #0ea5e9 100%
  );
  --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);

  /* --- Effects: Borders & Radius --- */
  --border-radius-sm: 0.375rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 0.75rem;
  --border-radius-xl: 1rem;
  --border-radius-2xl: 1.5rem;
  --border-radius-full: 9999px;

  /* --- Transitions --- */
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* =========================================
   2. RESET & BASE STYLES
   ========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  line-height: 1.7;
  font-weight: 400;
  background-color: #f8fafc;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =========================================
   3. TYPOGRAPHY
   ========================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-padding {
  padding: 100px 8%;
}

.section-title {
  margin-bottom: 60px;
  position: relative;
  text-align: center;
}

.section-title::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: var(--accent-bg);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.8;
}

.section-title::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  margin: 15px auto 0;
  border-radius: 2px;
}

/* Animated accent on section title */
.section-title .title-accent {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -2px;
  width: 20px;
  height: 10px;
  background: var(--primary-light);
  border-radius: 5px;
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%,
  100% {
    opacity: 0.5;
    transform: translateX(-50%) scale(1);
  }
  50% {
    opacity: 1;
    transform: translateX(-50%) scale(1.2);
  }
}

.section-title h3 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title p {
  color: var(--text-body);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* =========================================
   4. LAYOUT: HEADER & NAVIGATION
   ========================================= */
header {
  position: fixed;
  width: 100%;
  top: 0;
  padding: 15px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

header.scrolled {
  padding: 12px 8%;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
}

.logo img {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  box-shadow: 0 4px 15px rgba(21, 128, 61, 0.2);
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.05) rotate(3deg);
}

.logo h1 {
  font-size: 24px;
  margin: 0;
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

#nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}

#nav-menu a {
  text-decoration: none;
  color: var(--secondary);
  font-weight: 600;
  font-size: 15px;
  position: relative;
  transition: var(--transition-normal);
}

#nav-menu a:hover,
#nav-menu a.active {
  color: var(--primary);
}

#nav-menu a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: var(--gradient-primary);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#nav-menu a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-dark));
  border-radius: 5px;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* =========================================
   5. COMPONENTS: BUTTONS
   ========================================= */
.btn-nav-cta {
  padding: 12px 28px;
  background: var(--gradient-primary);
  color: white !important;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(21, 128, 61, 0.35);
  font-weight: 600;
  transition: var(--transition-normal);
}

.btn-nav-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(21, 128, 61, 0.45);
}

.btn-nav-cta::after {
  display: none;
}

.btn-primary-custom {
  padding: 18px 40px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-normal);
  box-shadow: 0 10px 30px -5px rgba(21, 128, 61, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: none;
  font-size: 16px;
  position: relative;
  overflow: hidden;
}

.btn-primary-custom::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.5s ease;
}

.btn-primary-custom:hover::before {
  left: 100%;
}

.btn-primary-custom:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -5px rgba(21, 128, 61, 0.5);
  color: white;
  text-decoration: none;
}

.btn-primary-custom i {
  transition: transform 0.3s ease;
}

.btn-primary-custom:hover i {
  transform: translateX(5px);
}

.btn-secondary-custom {
  padding: 18px 40px;
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 50px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition-normal);
  margin-left: 15px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  position: relative;
  overflow: hidden;
}

.btn-secondary-custom::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.btn-secondary-custom:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-4px);
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(21, 128, 61, 0.25);
}

.btn-secondary-custom:hover i {
  transform: scale(1.1);
}

/* =========================================
   6. COMPONENTS: CARDS & FEATURES
   ========================================= */
.feature-card {
  background: white;
  padding: 45px 35px;
  border-radius: 28px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.5s ease;
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
  border-color: rgba(21, 128, 61, 0.15);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card .icon-wrapper {
  width: 80px;
  height: 80px;
  background: var(--accent-bg);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  color: var(--primary);
  font-size: 32px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover .icon-wrapper {
  background: var(--gradient-primary);
  color: white;
  transform: rotate(10deg) scale(1.1);
  box-shadow: 0 10px 30px rgba(21, 128, 61, 0.3);
}

.feature-card h4 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  transition: color 0.3s ease;
}

.feature-card:hover h4 {
  color: var(--primary);
}

/* =========================================
   7. SECTION: HERO & INTRO - ENHANCED
   ========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 100px;
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #d1fae5 100%);
  overflow: hidden;
}

/* Enhanced background pattern */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(
      circle at 20% 80%,
      rgba(5, 150, 105, 0.08) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(20, 184, 166, 0.06) 0%,
      transparent 40%
    ),
    radial-gradient(
      circle at 40% 40%,
      rgba(14, 165, 233, 0.04) 0%,
      transparent 30%
    );
  pointer-events: none;
}

.hero-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}

.blob-1 {
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: linear-gradient(
    180deg,
    rgba(74, 222, 128, 0.2) 0%,
    rgba(21, 128, 61, 0.05) 100%
  );
  animation: float 8s ease-in-out infinite;
}

.blob-2 {
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: linear-gradient(
    180deg,
    rgba(56, 189, 248, 0.15) 0%,
    rgba(21, 128, 61, 0.05) 100%
  );
  animation: float 10s ease-in-out infinite reverse;
}

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  opacity: 0.15;
}

.shape-1 {
  top: 20%;
  left: 10%;
  width: 60px;
  height: 60px;
  border: 3px solid var(--primary);
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.shape-2 {
  top: 40%;
  right: 15%;
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 10px;
  transform: rotate(45deg);
  animation: float-reverse 7s ease-in-out infinite;
}

.shape-3 {
  bottom: 30%;
  left: 20%;
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-radius: 50%;
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(3deg);
  }
}

@keyframes float-reverse {
  0%,
  100% {
    transform: translateY(0) rotate(45deg);
  }
  50% {
    transform: translateY(-15px) rotate(50deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.min-vh-100 {
  min-height: 100vh;
}

.badge-custom {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: rgba(21, 128, 61, 0.08);
  color: var(--primary);
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 25px;
  border: 1px solid rgba(21, 128, 61, 0.15);
  backdrop-filter: blur(10px);
}

.badge-custom i {
  font-size: 16px;
}

.hero-title {
  font-size: 3.8rem;
  line-height: 1.15;
  margin-bottom: 25px;
  color: var(--text-heading);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-body);
  margin-bottom: 45px;
  max-width: 550px;
  line-height: 1.8;
}

.hero-stats {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: white;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.stat-icon-small {
  width: 32px;
  height: 32px;
  background: var(--accent-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 14px;
}

.stat-text {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-heading);
}

.hero-image-col {
  position: relative;
}

.hero-img-wrapper {
  position: relative;
  z-index: 2;
}

.hero-img-decoration {
  position: absolute;
  top: -30px;
  right: -30px;
  width: 200px;
  height: 200px;
  background: var(--gradient-accent);
  border-radius: 40px;
  opacity: 0.15;
  z-index: -1;
  transform: rotate(15deg);
}

.hero-main-img {
  width: 100%;
  max-width: 500px;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.12));
  animation: float 6s ease-in-out infinite;
}

.custom-shape-divider-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: rotate(180deg);
}

.custom-shape-divider-bottom svg {
  position: relative;
  display: block;
  width: calc(140% + 1.3px);
  height: 100px;
}

.custom-shape-divider-bottom .shape-fill {
  fill: #ffffff;
}

/* =========================================
   8. SECTION: STATS - ENHANCED WITH GLASSMORPHISM
   ========================================= */
.stats-section {
  margin-top: -80px;
  position: relative;
  z-index: 10;
  padding: 50px 8%;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.stats-section .row {
  display: flex;
  justify-content: space-around;
}

.stat-item {
  text-align: center;
  padding: 30px;
  position: relative;
}

.stat-item::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 50px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(21, 128, 61, 0.2),
    transparent
  );
}

.stat-item:last-child::after {
  display: none;
}

.stat-item .stat-icon {
  width: 70px;
  height: 70px;
  background: var(--accent-bg);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: var(--primary);
  transition: all 0.4s ease;
}

.stat-item:hover .stat-icon {
  background: var(--gradient-primary);
  color: white;
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 30px rgba(21, 128, 61, 0.3);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
  line-height: 1;
}

.stat-label {
  color: var(--text-body);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  margin-top: 8px;
}

/* =========================================
   9. SECTION: PORTFOLIO - ENHANCED
   ========================================= */
.portfolio {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  position: relative;
}

.portfolio::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(180deg, #ffffff 0%, transparent 100%);
  pointer-events: none;
}

.portfolio-item {
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  height: 320px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  display: block;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-item:hover img {
  transform: scale(1.15);
}

.portfolio-item .portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 35px;
  background: linear-gradient(
    to top,
    rgba(5, 46, 22, 0.95) 0%,
    rgba(5, 46, 22, 0.7) 50%,
    transparent 100%
  );
  color: white;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.4s ease;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-overlay h5 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

/* =========================================
   10. SECTION: VIDEO & POSTER - ENHANCED
   ========================================= */
#video {
  background: #f8fafc;
}

#poster {
  background: white;
}

.video-card {
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.video-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  border-color: rgba(21, 128, 61, 0.15);
}

.video-thumbnail {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.video-card:hover .video-thumbnail img {
  transform: scale(1.1);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(21, 128, 61, 0.4);
  transition: all 0.4s ease;
}

.play-button i {
  color: white;
  font-size: 24px;
  margin-left: 4px;
}

.video-card:hover .play-button {
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 15px 40px rgba(21, 128, 61, 0.5);
}

.video-card-body {
  padding: 25px;
}

.video-category {
  display: inline-block;
  padding: 6px 14px;
  background: var(--accent-bg);
  color: var(--primary);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.video-card h5 {
  font-size: 1.2rem;
  margin: 15px 0 10px;
  color: var(--text-heading);
}

.video-card p {
  font-size: 0.95rem;
  color: var(--text-body);
  margin: 0;
  line-height: 1.6;
}

/* Poster Card */
.poster-card {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.04);
  background: white;
}

.poster-card:hover {
  transform: translateY(-10px) rotate(1deg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.poster-card img {
  width: 100%;
  height: auto;
  transition: transform 0.6s ease;
}

.poster-card:hover img {
  transform: scale(1.05);
}

/* =========================================
   11. SECTION: TESTIMONIALS - ENHANCED
   ========================================= */
.testimonials {
  background: var(--gradient-bg);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(
      circle at 20% 30%,
      rgba(21, 128, 61, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(74, 222, 128, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.testimonial-card {
  background: white;
  padding: 45px;
  border-radius: 28px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 120px;
  font-family: Georgia, serif;
  color: rgba(21, 128, 61, 0.08);
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.testimonial-card .stars {
  color: #fbbf24;
  margin-bottom: 20px;
  font-size: 16px;
  letter-spacing: 3px;
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text-heading);
  margin-bottom: 30px;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 15px;
}

.user-profile img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--accent-bg);
}

.user-profile h6 {
  font-size: 1rem;
  margin: 0;
  color: var(--text-heading);
}

.user-profile small {
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 600;
}

/* =========================================
   12. SECTION: CONTACT - ENHANCED WITH GLASS
   ========================================= */
#contact {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
}

.contact-wrapper {
  background: white;
  border-radius: 35px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-wrap: wrap;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.contact-info-panel {
  background: var(--gradient-primary);
  color: white;
  padding: 60px;
  flex: 1;
  min-width: 350px;
  position: relative;
  overflow: hidden;
}

.contact-info-panel::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 50%;
  bottom: -100px;
  right: -100px;
}

.contact-info-panel::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 50%;
  top: -50px;
  left: -50px;
}

.contact-info-panel h4 {
  font-size: 1.8rem;
  margin-bottom: 35px;
  position: relative;
  z-index: 1;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.info-item i {
  background: rgba(255, 255, 255, 0.15);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-size: 20px;
  transition: all 0.3s ease;
}

.info-item:hover i {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}

.info-item h6 {
  color: white;
  font-size: 1rem;
  margin-bottom: 5px;
}

.info-item p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.5;
}

.map-panel {
  flex: 1.5;
  min-width: 350px;
  min-height: 450px;
}

.map-panel iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* =========================================
   13. SECTION: ARTICLES - ENHANCED
   ========================================= */
#articles {
  background: white;
}

.article-card {
  border: none;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
  background: white;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 420px;
}

.article-card:hover {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  transform: translateY(-8px);
}

.article-card .article-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.article-card .article-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.article-card:hover .article-image-wrapper img {
  transform: scale(1.12);
}

.article-card .article-category-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--gradient-primary);
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 8px 20px rgba(21, 128, 61, 0.35);
}

.article-card-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-card .article-date {
  font-size: 13px;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.article-card .article-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 15px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.5rem;
}

.article-card .article-excerpt {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.article-card .article-read-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-top: auto;
}

.article-card .article-read-more:hover {
  color: var(--primary-dark);
  gap: 15px;
}

.article-card .article-read-more i {
  transition: transform 0.3s ease;
}

.article-card:hover .article-read-more i {
  transform: translateX(5px);
}

/* =========================================
   14. LAYOUT: FOOTER - ENHANCED
   ========================================= */
footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  color: rgba(255, 255, 255, 0.7);
  padding-top: 80px;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

footer h5 {
  color: white;
  margin-bottom: 25px;
  font-size: 1.2rem;
  font-weight: 700;
  position: relative;
}

footer h5::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

footer p {
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

footer a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
  margin-bottom: 14px;
  position: relative;
  padding-left: 0;
}

footer a:hover {
  color: var(--primary-light);
  padding-left: 10px;
}

footer a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 2px;
  background: var(--primary-light);
  transition: width 0.3s ease;
}

footer a:hover::before {
  width: 6px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin: 0;
  padding: 0;
  transition: all 0.3s ease;
}

.social-links a::before {
  display: none;
}

.social-links a:hover {
  background: var(--gradient-primary);
  transform: translateY(-5px);
  padding-left: 0;
}

.social-links a i {
  font-size: 18px;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 30px 0;
  margin-top: 60px;
  text-align: center;
}

/* Newsletter */
.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 14px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  font-size: 14px;
  transition: all 0.3s ease;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
}

.newsletter-form button {
  padding: 14px 25px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(21, 128, 61, 0.3);
}

/* =========================================
   15. ANIMATIONS & UTILS
   ========================================= */

/* Loading Screen */
#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease;
}

#loading.loaded {
  opacity: 0;
  pointer-events: none;
}

.loader {
  text-align: center;
}

.loader-circle {
  width: 60px;
  height: 60px;
  border: 4px solid var(--accent-bg);
  border-top: 4px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 15px;
}

.loader-text {
  color: var(--primary);
  font-weight: 600;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Modal */
.modal {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  align-items: center;
  justify-content: center;
}

.modal.show {
  display: flex;
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--primary);
}

.modal-content {
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  max-height: 90vh;
  max-width: 90%;
  width: auto;
  height: auto;
  display: block;
  margin: auto;
}

#caption {
  color: white;
  text-align: center;
  padding: 20px;
}

#caption h4 {
  color: white;
  font-size: 1.5rem;
}

/* Video Modal Styles */
.video-modal-content {
  position: relative;
  width: 80vw;
  max-width: 1000px;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.video-modal-content iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Make video card clickable */
.video-card {
  cursor: pointer;
}

.video-card .video-thumbnail {
  cursor: pointer;
}

.video-card .play-button {
  cursor: pointer;
  pointer-events: auto;
}

/* Add hover effect to indicate clickability */
.video-card:hover .play-button {
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 15px 40px rgba(21, 128, 61, 0.5);
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 8px 25px rgba(5, 150, 105, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s;
  z-index: 999;
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(5, 150, 105, 0.5);
}

/* Spinner */
.spinner-border {
  color: var(--primary) !important;
}

/* Consistent Section Spacing */
section {
  position: relative;
}

/* Better Visual Separation */
#features {
  background: var(--bg-white);
}

#portfolio {
  background: var(--bg-secondary);
}

#testimonials {
  background: var(--gradient-bg);
}

#articles {
  background: var(--bg-white);
}

/* Enhanced Card Consistency */
.feature-card,
.video-card,
.poster-card,
.article-card,
.testimonial-card {
  border-radius: 20px;
}

/* Better Button Consistency */
.btn-container {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-top: 35px;
}

/* Enhanced Section Divider */
.section-divider {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(5, 150, 105, 0.2),
    transparent
  );
  margin: 0;
}

/* Improved Empty State */
.empty-state {
  text-align: center;
  padding: 60px 20px;
}

.empty-state i {
  font-size: 64px;
  color: var(--text-muted);
  margin-bottom: 20px;
  opacity: 0.5;
}

.empty-state h4 {
  color: var(--text-heading);
  margin-bottom: 10px;
}

.empty-state p {
  color: var(--text-muted);
  max-width: 400px;
  margin: 0 auto;
}

/* =========================================
   16. MEDIA QUERIES (RESPONSIVE)
   ========================================= */
@media (max-width: 991.98px) {
  .hero {
    text-align: center;
    padding-top: 130px;
    padding-bottom: 80px;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .hero-subtitle {
    margin: 0 auto 35px;
  }

  .hero-stats {
    justify-content: center;
  }

  .btn-container {
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
  }

  .btn-secondary-custom {
    margin-left: 0;
  }

  .hamburger {
    display: flex;
  }

  #nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 25px 0;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    clip-path: circle(0% at 100% 0);
    transition: all 0.5s ease-in-out;
  }

  #nav-menu.active {
    clip-path: circle(150% at 100% 0);
  }

  #nav-menu a {
    margin: 12px 0;
    width: 100%;
    text-align: center;
  }

  #nav-menu a::after {
    display: none;
  }

  .stats-section {
    margin-top: 0;
    border-radius: 0;
    padding: 40px 5%;
  }

  .stat-item::after {
    display: none;
  }

  .contact-info-panel,
  .map-panel {
    min-width: 100%;
  }

  .contact-info-panel {
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.05rem;
  }

  .section-title h3 {
    font-size: 2rem;
  }

  .section-padding {
    padding: 70px 5%;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .testimonial-card {
    padding: 30px;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .hero-main-img {
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .logo img {
    width: 40px;
    height: 40px;
  }

  .logo h1 {
    font-size: 18px;
  }

  .badge-custom {
    font-size: 12px;
    padding: 10px 18px;
  }

  .btn-primary-custom,
  .btn-secondary-custom {
    padding: 14px 28px;
    font-size: 14px;
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
  }
}
