:root {
  /* Refined Color Palette - Premium Greens & Grays */
  --primary-main: #064e3b; /* Emerald 900 */
  --primary-light: #10b981; /* Emerald 500 */
  --primary-soft: #ecfdf5; /* Emerald 50 */
  --secondary-main: #0f766e; /* Teal 700 */
  --accent-main: #34d399; /* Emerald 400 */

  --bg-main: #ffffff;
  --bg-soft: #f9fafb;
  --bg-muted: #f3f4f6;

  --text-primary: #111827; /* Gray 900 */
  --text-secondary: #4b5563; /* Gray 600 */
  --text-muted: #9ca3af; /* Gray 400 */

  --border-soft: rgba(0, 0, 0, 0.05);
  --border-glow: rgba(16, 185, 129, 0.2);

  --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 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-premium: 0 25px 50px -12px rgba(6, 78, 59, 0.15);
}

/* Base Styles */
body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Soft Glassmorphism */
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-dark {
  background: rgba(17, 24, 39, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Utility Classes */
.premium-shadow {
  box-shadow: var(--shadow-premium);
}

.text-gradient {
  background: linear-gradient(
    135deg,
    var(--primary-main),
    var(--primary-light)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-premium {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-premium:active {
  transform: scale(0.95);
}

.hover-lift {
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Refined Swiper Bullets */
.hero-swiper .swiper-pagination-bullet {
  background: var(--primary-main) !important;
  width: 6px !important;
  height: 6px !important;
  margin: 0 6px !important;
  opacity: 0.2 !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.hero-swiper .swiper-pagination-bullet-active {
  width: 24px !important;
  border-radius: 4px !important;
  opacity: 1 !important;
}

/* Swiper Navigation Arrows */
.hero-swiper .swiper-button-next,
.hero-swiper .swiper-button-prev {
  width: 48px !important;
  height: 48px !important;
  background: white !important;
  border-radius: 50% !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
  border: 1px solid rgba(0, 0, 0, 0.06) !important;
  color: #064e3b !important;
  top: 50% !important;
}

.hero-swiper .swiper-button-next::after,
.hero-swiper .swiper-button-prev::after {
  font-size: 14px !important;
  font-weight: 900 !important;
}

.hero-swiper .swiper-button-prev {
  left: 24px !important;
}

.hero-swiper .swiper-button-next {
  right: 24px !important;
}

.hero-swiper .swiper-button-next:hover,
.hero-swiper .swiper-button-prev:hover {
  background: #064e3b !important;
  color: white !important;
  transform: scale(1.1);
}

/* Layout Helpers */
.section-padding {
  padding: 5rem 0;
}

@media (min-width: 1024px) {
  .section-padding {
    padding: 8rem 0;
  }
}

/* ═══════════════════════════════════════════════════════════ */
/*  SEARCH OVERLAY                                            */
/* ═══════════════════════════════════════════════════════════ */

/* Overlay Wrapper */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.4s;
}

.search-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Backdrop */
.search-overlay-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 30, 23, 0.85);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
}

.search-overlay.active .search-overlay-backdrop {
  animation: searchBackdropIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes searchBackdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Content Area */
.search-overlay-content {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem 1.5rem;
  z-index: 1;
}

@media (min-width: 768px) {
  .search-overlay-content {
    padding: 4rem 2rem;
  }
}

/* Search Container */
.search-container {
  padding-top: 3rem;
}

/* Stagger animation for children */
.search-anim-item {
  opacity: 0;
  transform: translateY(20px);
}

.search-overlay.active .search-anim-item {
  animation: searchSlideIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.search-overlay.active .search-anim-item:nth-child(1) { animation-delay: 0.1s; }
.search-overlay.active .search-anim-item:nth-child(2) { animation-delay: 0.18s; }
.search-overlay.active .search-anim-item:nth-child(3) { animation-delay: 0.26s; }
.search-overlay.active .search-anim-item:nth-child(4) { animation-delay: 0.34s; }

@keyframes searchSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Search Input */
.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-icon {
  position: absolute;
  left: 1.25rem;
  width: 1.5rem;
  height: 1.5rem;
  color: rgba(255, 255, 255, 0.35);
  pointer-events: none;
  transition: color 0.3s;
}

.search-input-wrapper:focus-within .search-input-icon {
  color: #34D399;
}

.search-input {
  width: 100%;
  padding: 1.25rem 3.5rem 1.25rem 3.75rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.25rem;
  color: white;
  font-size: 1.125rem;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  outline: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
  font-weight: 400;
}

.search-input:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(52, 211, 153, 0.4);
  box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.1),
              0 0 40px rgba(52, 211, 153, 0.08);
}

/* Glow Effect */
.search-input-glow {
  position: absolute;
  inset: -2px;
  border-radius: 1.35rem;
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.3), rgba(6, 78, 59, 0.3));
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s;
  filter: blur(8px);
}

.search-input-wrapper:focus-within .search-input-glow {
  opacity: 1;
}

/* Clear Button */
.search-input-clear {
  position: absolute;
  right: 1rem;
  padding: 0.5rem;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  border-radius: 0.75rem;
  transition: all 0.2s;
}

.search-input-clear:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

/* Keyboard Hints */
.search-kbd {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  padding: 0.15rem 0.4rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.375rem;
  font-family: 'Inter', monospace;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.4;
}

/* Results Grid */
.search-results-grid {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 45vh;
  overflow-y: auto;
  padding-right: 0.5rem;
}

/* Custom scrollbar */
.search-results-grid::-webkit-scrollbar {
  width: 4px;
}

.search-results-grid::-webkit-scrollbar-track {
  background: transparent;
}

.search-results-grid::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
}

.search-results-grid::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Result Item */
.search-result-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  animation: searchResultIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes searchResultIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.search-result-item:hover,
.search-result-item.search-result-active {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(52, 211, 153, 0.25);
  transform: translateX(4px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15),
              inset 0 0 0 1px rgba(52, 211, 153, 0.1);
}

/* Result Icon */
.search-result-icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.15), rgba(6, 78, 59, 0.2));
  border: 1px solid rgba(52, 211, 153, 0.15);
  border-radius: 0.875rem;
  color: #34D399;
  transition: all 0.3s;
}

.search-result-item:hover .search-result-icon,
.search-result-active .search-result-icon {
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.25), rgba(6, 78, 59, 0.3));
  border-color: rgba(52, 211, 153, 0.3);
  transform: scale(1.05);
}

/* Result Text */
.search-result-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.15rem;
  transition: color 0.2s;
}

.search-result-item:hover .search-result-title,
.search-result-active .search-result-title {
  color: white;
}

.search-result-desc {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.5;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Result Meta */
.search-result-meta {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.search-result-count {
  display: none;
  font-size: 0.65rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.25);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .search-result-count {
    display: block;
  }
}

/* Highlight Match */
.search-highlight {
  background: rgba(52, 211, 153, 0.25);
  color: #34D399;
  padding: 0.05em 0.2em;
  border-radius: 0.25em;
  font-weight: 700;
}

/* Scrollbar for overlay content */
.search-overlay-content::-webkit-scrollbar {
  width: 4px;
}

.search-overlay-content::-webkit-scrollbar-track {
  background: transparent;
}

.search-overlay-content::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}
. c o n t e n t - r i c h t e x t   u l   {   l i s t - s t y l e - t y p e :   d i s c ;   p a d d i n g - l e f t :   1 . 5 r e m ;   m a r g i n - t o p :   0 . 5 r e m ;   m a r g i n - b o t t o m :   0 . 5 r e m ;   }   . c o n t e n t - r i c h t e x t   o l   {   l i s t - s t y l e - t y p e :   d e c i m a l ;   p a d d i n g - l e f t :   1 . 5 r e m ;   m a r g i n - t o p :   0 . 5 r e m ;   m a r g i n - b o t t o m :   0 . 5 r e m ;   }   . c o n t e n t - r i c h t e x t   p   {   m a r g i n - b o t t o m :   1 r e m ;   }   . c o n t e n t - r i c h t e x t   b ,   . c o n t e n t - r i c h t e x t   s t r o n g   {   f o n t - w e i g h t :   b o l d ;   }   . c o n t e n t - r i c h t e x t   i ,   . c o n t e n t - r i c h t e x t   e m   {   f o n t - s t y l e :   i t a l i c ;   }   . c o n t e n t - r i c h t e x t   a   {   c o l o r :   # 1 0 B 9 8 1 ;   t e x t - d e c o r a t i o n :   u n d e r l i n e ;   }  
 