/**
 * Home Page Styles - Modern Redesign
 * JIBREENTEC - Premium UI/UX
 */

/* ===========================================
   HERO SECTION - MODERN
   =========================================== */

.hero-modern {
  position: relative;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #e6f0f9 100%);
}

/* ===========================================
   MOBILE LAYOUT - Vertical Stack
   =========================================== */

.hero-mobile-layout {
  display: block;
  padding-top: 4rem; /* Space below fixed navbar */
}

@media (min-width: 640px) {
  .hero-mobile-layout {
    padding-top: 5rem; /* More space on larger mobile */
  }
}

/* Hide mobile layout on desktop (lg and above) */
@media (min-width: 1024px) {
  .hero-mobile-layout {
    display: none !important;
  }
}

.hero-media-mobile {
  position: relative;
  width: 100%;
  margin: 0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.hero-content-mobile {
  background: white;
  margin-top: -2rem;
  border-radius: 2rem 2rem 0 0;
  position: relative;
  z-index: 10;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}

/* Mobile Hero Badge */
.hero-content-mobile .hero-badge {
  margin-bottom: 1rem;
}

.hero-content-mobile .hero-badge span {
  background: #f0f7ff;
  border: 1px solid #e0e7ff;
}

/* Mobile Hero Title */
.hero-content-mobile .hero-title {
  color: #1e293b;
  margin-bottom: 1rem;
}

.hero-content-mobile .hero-title-line {
  color: #1e293b;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: #1e293b;
  text-shadow: none;
}

/* Mobile Hero Subtitle */
.hero-content-mobile .hero-subtitle {
  color: #64748b;
  text-shadow: none;
}

/* Mobile Hero Buttons */
.btn-hero-primary-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #EE7C01 0%, #bf6301 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(238, 124, 1, 0.3);
  text-decoration: none;
}

.btn-hero-primary-mobile:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(238, 124, 1, 0.4);
}

.btn-hero-secondary-mobile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  background: white;
  color: #00387F;
  border: 2px solid #e2e8f0;
  text-decoration: none;
}

.btn-hero-secondary-mobile:hover {
  background: #f8fafc;
  border-color: #00387F;
  transform: translateY(-2px);
}

/* ===========================================
   HERO SEARCH BAR + SUGGEST DROPDOWN
   =========================================== */

.hero-search-wrapper {
  position: relative;
  width: 100%;
}

.hero-search-input {
  width: 100%;
  padding: 0.875rem 1.25rem;
  font-size: 1rem;
  border: 2px solid #e2e8f0;
  border-radius: 9999px;
  background: #fff;
  color: #1e293b;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.hero-search-input:focus {
  outline: none;
  border-color: #00387F;
  box-shadow: 0 0 0 3px rgba(0, 56, 127, 0.15);
}

.hero-search-input::placeholder {
  color: #94a3b8;
}

/* Glass variant (desktop hero) */
.hero-search-input--glass {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.hero-search-input--glass:focus {
  background: #fff;
  border-color: #00387F;
}

.hero-search-results {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 0.5rem);
  max-height: 360px;
  overflow-y: auto;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  border: 1px solid #e2e8f0;
  z-index: 50;
  display: none;
}

.hero-search-results.open {
  display: block;
}

.hero-search-results--glass {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-color: rgba(255, 255, 255, 0.8);
}

.hero-search-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: #1e293b;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s;
}

.hero-search-item:last-child {
  border-bottom: none;
}

.hero-search-item:hover {
  background: #f8fafc;
}

.hero-search-item-img {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 0.5rem;
  overflow: hidden;
  background: #f1f5f9;
}

.hero-search-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-search-item-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hero-search-item-name {
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.3;
}

.hero-search-item-code {
  font-size: 0.75rem;
  color: #64748b;
}

.hero-search-item-price {
  font-size: 0.875rem;
  margin-top: 0.125rem;
}

.hero-search-item-price-current {
  color: #00387F;
  font-weight: 600;
}

.hero-search-item-price-old {
  color: #94a3b8;
  text-decoration: line-through;
  margin-left: 0.25rem;
}

.hero-search-item--view-all {
  justify-content: center;
  font-weight: 600;
  color: #00387F;
  background: #f0f7ff;
}

.hero-search-item--view-all:hover {
  background: #e0effe;
}

.hero-search-loading,
.hero-search-empty {
  padding: 1.25rem 1rem;
  text-align: center;
  color: #64748b;
  font-size: 0.9375rem;
}

.hero-search-wrapper--desktop .hero-search-results {
  max-height: 400px;
}

/* Mobile Stats */
.hero-stats-mobile {
  margin-top: 1.5rem;
}

.stats-container-mobile {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.stat-card-mobile {
  background: white;
  border: 1.5px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.stat-card-mobile:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-color: var(--stat-color, #00387F);
}

.stat-card-1 {
  --stat-color: #00387F;
}

.stat-card-2 {
  --stat-color: #EE7C01;
}

.stat-card-3 {
  --stat-color: #10b981;
}

.stat-icon-wrapper-mobile {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--stat-color) 0%, var(--stat-color) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.stat-icon-mobile {
  width: 1.5rem;
  height: 1.5rem;
  color: white;
}

.stat-content-mobile {
  width: 100%;
}

.stat-number-mobile {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  color: #1e293b;
  margin-bottom: 0.25rem;
}

.stat-label-mobile {
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Mobile Certifications */
.hero-certifications-mobile {
  margin-top: 1.5rem;
}

.certifications-carousel-mobile {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.certifications-track-mobile {
  display: flex;
  will-change: transform;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.certification-slide-mobile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0;
  flex-shrink: 0;
  min-width: 0;
}

.certification-indicators-mobile {
  display: flex;
  gap: 0.375rem;
  justify-content: center;
  margin-top: 0.75rem;
}

.cert-indicator-mobile {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background-color: #d1d5db;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  padding: 0;
  outline: none;
}

.cert-indicator-mobile.active,
.cert-indicator-mobile:hover {
  background-color: #EE7C01;
  width: 1.5rem;
}

.cert-indicator-mobile:focus {
  outline: 2px solid #EE7C01;
  outline-offset: 2px;
}

/* ===========================================
   DESKTOP LAYOUT - Overlapping Glassmorphism
   =========================================== */

.hero-desktop-layout {
  display: none; /* Hidden by default (mobile/tablet) */
  min-height: 100vh;
}

/* Show desktop layout on large screens (lg and above) */
@media (min-width: 1024px) {
  .hero-desktop-layout {
    display: block !important;
  }
}

.hero-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-orb {
  animation: floatOrb 20s ease-in-out infinite;
}

.hero-orb-1 {
  animation-delay: 0s;
}

.hero-orb-2 {
  animation-delay: 10s;
}

@keyframes floatOrb {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, -30px) scale(1.1);
  }
}

/* Desktop hero: full-width breakout from container */
@media (min-width: 1024px) {
  .hero-desktop-inner {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
}

/* Hero Media Full Width - Fully Responsive */
.hero-media-full {
  position: relative;
  width: 100%;
  min-height: 400px;
}

@media (min-width: 640px) {
  .hero-media-full {
    min-height: 500px;
  }
}

@media (min-width: 768px) {
  .hero-media-full {
    min-height: 600px;
  }
}

@media (min-width: 1024px) {
  .hero-media-full {
    min-height: 700px;
  }
}

/* Irregular / wavy bottom cut on desktop hero */
.hero-media-bottom-cut {
  clip-path: none;
}

@media (min-width: 1024px) {
  .hero-media-bottom-cut {
    /* Random organic cuts along the bottom edge */
    clip-path: polygon(
      0 0,
      100% 0,
      100% 88%,
      98% 92%,
      95% 86%,
      91% 94%,
      86% 89%,
      82% 96%,
      76% 91%,
      70% 97%,
      63% 90%,
      55% 95%,
      48% 88%,
      42% 93%,
      35% 87%,
      28% 94%,
      20% 89%,
      14% 96%,
      8% 91%,
      3% 95%,
      0 90%
    );
  }
}

/* Hero Content Overlay - Glassmorphism - Fully Responsive */
.hero-content-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 20;
  padding: 0.75rem;
}

@media (min-width: 640px) {
  .hero-content-overlay {
    padding: 1rem;
    align-items: center;
  }
}

@media (min-width: 768px) {
  .hero-content-overlay {
    padding: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-content-overlay {
    padding: 2rem;
  }
}

@media (min-width: 1280px) {
  .hero-content-overlay {
    padding: 3rem;
  }
}

/* Mobile adjustments for overlay */
@media (max-width: 639px) {
  .hero-content-overlay {
    align-items: flex-start;
    padding-top: 1rem;
  }
}

/* Glassmorphism Container - More transparent liquid glass */
.hero-content-glass {
  width: 100%;
  max-width: 100%;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.07) 0%, 
    rgba(255, 255, 255, 0.04) 50%, 
    rgba(255, 255, 255, 0.02) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 1.25rem;
  padding: 1.25rem;
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  position: relative;
  overflow: hidden;
}

@media (min-width: 640px) {
  .hero-content-glass {
    max-width: 36rem;
    border-radius: 1.5rem;
    padding: 1.75rem;
  }
}

@media (min-width: 768px) {
  .hero-content-glass {
    max-width: 42rem;
    border-radius: 2rem;
    padding: 2.5rem;
  }
}

@media (min-width: 1280px) {
  .hero-content-glass {
    max-width: 48rem;
    padding: 4rem;
  }
}

.hero-content-glass::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.4), 
    transparent);
}


/* Hero Content */
.hero-content {
  position: relative;
  z-index: 10;
}

.hero-badge {
  display: inline-block;
}

.hero-title {
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .hero-title {
    margin-bottom: 1.25rem;
  }
}

@media (min-width: 768px) {
  .hero-title {
    margin-bottom: 1.5rem;
  }
}

.hero-title-line {
  display: block;
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.text-gradient-white {
  background: linear-gradient(135deg, #ffffff 0%, #fef3c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.95);
  max-width: 36rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Hero Buttons - Fully Responsive */
.btn-hero-primary,
.btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 0.625rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .btn-hero-primary,
  .btn-hero-secondary {
    gap: 0.75rem;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-size: 1rem;
  }
}

.btn-hero-primary {
  background: linear-gradient(135deg, #EE7C01 0%, #bf6301 100%);
  color: white;
  box-shadow: 0 10px 30px rgba(238, 124, 1, 0.3);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(238, 124, 1, 0.4);
}

.btn-hero-secondary {
  background: white;
  color: #00387F;
  border: 2px solid #e2e8f0;
}

.btn-hero-secondary:hover {
  background: #f8fafc;
  border-color: #00387F;
  transform: translateY(-2px);
}

.btn-hero-secondary-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: 0.75rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-hero-secondary-white:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Hero Stats - Modern Redesign */
.hero-stats-modern {
  margin-top: 1.5rem;
  padding-top: 0;
}

@media (min-width: 640px) {
  .hero-stats-modern {
    margin-top: 2rem;
  }
}

@media (min-width: 768px) {
  .hero-stats-modern {
    margin-top: 3rem;
    padding-top: 2rem;
  }
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .stats-container {
    gap: 0.75rem;
  }
}

@media (min-width: 768px) {
  .stats-container {
    gap: 1rem;
  }
}

.stat-card-modern {
  position: relative;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 1rem;
  padding: 0.875rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

@media (min-width: 640px) {
  .stat-card-modern {
    border-radius: 1.25rem;
    padding: 1.25rem 1rem;
    gap: 1rem;
  }
}

@media (min-width: 768px) {
  .stat-card-modern {
    padding: 1.5rem;
  }
}

.stat-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--stat-color, #00387F), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.stat-card-modern:hover::before {
  transform: scaleX(1);
}

.stat-card-1 {
  --stat-color: #00387F;
}

.stat-card-2 {
  --stat-color: #EE7C01;
}

.stat-card-3 {
  --stat-color: #10b981;
}

.stat-card-modern:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.25) 100%);
}

.stat-icon-wrapper {
  width: 2.75rem;
  height: 2.75rem;
  min-width: 2.75rem;
  border-radius: 0.75rem;
  background: linear-gradient(135deg, var(--stat-color) 0%, var(--stat-color) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 640px) {
  .stat-icon-wrapper {
    width: 3.5rem;
    height: 3.5rem;
    min-width: 3.5rem;
    border-radius: 1rem;
  }
}

.stat-icon-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.stat-card-modern:hover .stat-icon-wrapper::before {
  opacity: 1;
}

.stat-card-modern:hover .stat-icon-wrapper {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.stat-icon {
  width: 1.375rem;
  height: 1.375rem;
  color: white;
  position: relative;
  z-index: 1;
  transition: transform 0.4s ease;
}

@media (min-width: 640px) {
  .stat-icon {
    width: 1.75rem;
    height: 1.75rem;
  }
}

.stat-card-modern:hover .stat-icon {
  transform: scale(1.1);
}

.stat-content {
  flex: 1;
  min-width: 0;
}

.stat-number-modern {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  color: white;
  margin-bottom: 0.25rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

@media (min-width: 640px) {
  .stat-number-modern {
    font-size: 2rem;
  }
}

.stat-card-modern:hover .stat-number-modern {
  transform: scale(1.05);
}

.stat-label-modern {
  font-size: 0.75rem;
  font-weight: 500;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

@media (min-width: 640px) {
  .stat-label-modern {
    font-size: 0.875rem;
  }
}

.stat-card-modern:hover .stat-label-modern {
  color: var(--stat-color);
  font-weight: 600;
}

/* Hero Media */
.hero-media {
  position: relative;
}

.hero-media-container {
  position: relative;
}

.hero-video-wrapper,
.hero-image-wrapper {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  aspect-ratio: 16/10;
}

.hero-video-wrapper video,
.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-media-container:hover .hero-image {
  transform: scale(1.05);
}

.hero-placeholder {
  min-height: 400px;
}

/* Floating Feature Cards */
.hero-feature-card {
  z-index: 30;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: floatCard 6s ease-in-out infinite;
}

.hero-feature-1 {
  animation-delay: 0s;
}

/* Certifications Carousel - Inside Glass Container - Fully Responsive */
.hero-certifications-carousel {
  margin-top: 1rem;
}

@media (min-width: 640px) {
  .hero-certifications-carousel {
    margin-top: 1.5rem;
  }
}

@media (min-width: 768px) {
  .hero-certifications-carousel {
    margin-top: 2rem;
  }
}

.hero-certifications-carousel .certifications-carousel {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 0.875rem;
  padding: 0.75rem;
}

@media (min-width: 640px) {
  .hero-certifications-carousel .certifications-carousel {
    border-radius: 1rem;
    padding: 1rem;
  }
}

.hero-certifications-carousel .certification-slide {
  color: white;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .hero-certifications-carousel .certification-slide {
    gap: 0.75rem;
  }
}

.hero-certifications-carousel .certification-slide .font-bold {
  color: #ffffff !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.025em;
}

@media (min-width: 640px) {
  .hero-certifications-carousel .certification-slide .font-bold {
    font-size: 1rem;
  }
}

.hero-certifications-carousel .certification-slide .text-xs {
  color: #ffffff !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3);
  font-size: 0.75rem;
  font-weight: 500;
  opacity: 0.95;
}

@media (min-width: 640px) {
  .hero-certifications-carousel .certification-slide .text-xs {
    font-size: 0.875rem;
  }
}

.hero-certifications-carousel .cert-indicator {
  background-color: rgba(255, 255, 255, 0.4);
}

.hero-certifications-carousel .cert-indicator.active,
.hero-certifications-carousel .cert-indicator:hover {
  background-color: #EE7C01;
  width: 1.5rem;
}

@keyframes floatCard {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-10px) rotate(2deg);
  }
}

.hero-feature-card:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Certifications Carousel */
.certifications-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.certifications-track {
  display: flex;
  will-change: transform;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.certification-slide {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0;
}

.certification-indicators {
  display: flex;
  gap: 0.375rem;
  justify-content: center;
  margin-top: 0.75rem;
}

.cert-indicator {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background-color: #d1d5db;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  padding: 0;
  outline: none;
}

.cert-indicator.active,
.cert-indicator:hover {
  background-color: #EE7C01;
  width: 1.5rem;
}

.cert-indicator:focus {
  outline: 2px solid #EE7C01;
  outline-offset: 2px;
}

/* Enhanced Scroll Indicator */
.scroll-indicator-wrapper {
  position: absolute;
  bottom: 2rem;
  z-index: 30;
}

.scroll-indicator-wrapper[dir="rtl"],
[dir="rtl"] .scroll-indicator-wrapper {
  left: 2rem;
  right: auto;
}

.scroll-indicator-wrapper:not([dir="rtl"]),
[dir="ltr"] .scroll-indicator-wrapper {
  right: 2rem;
  left: auto;
}

.scroll-indicator-modern {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.scroll-text {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.scroll-indicator-modern:hover .scroll-text {
  color: white;
  transform: scale(1.1);
  text-shadow: 0 2px 12px rgba(255, 255, 255, 0.5);
}

.scroll-mouse {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mouse-body {
  width: 1.5rem;
  height: 2.5rem;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 9999px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 0.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.scroll-indicator-modern:hover .mouse-body {
  border-color: white;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.mouse-wheel {
  width: 0.25rem;
  height: 0.375rem;
  background-color: rgba(255, 255, 255, 0.8);
  border-radius: 9999px;
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(0.5rem);
    opacity: 0.7;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.scroll-arrow {
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollArrow 2s ease-in-out infinite;
}

@keyframes scrollArrow {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
    opacity: 0.8;
  }
  50% {
    transform: translateX(-50%) translateY(0.5rem);
    opacity: 1;
  }
}

.scroll-line {
  width: 1px;
  height: 3rem;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.4), transparent);
  animation: scrollLine 2s ease-in-out infinite;
  position: relative;
}

.scroll-line::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 1rem;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), transparent);
  animation: scrollLineDot 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.8;
  }
  100% {
    opacity: 0.4;
  }
}

@keyframes scrollLineDot {
  0% {
    transform: translateX(-50%) translateY(0);
    opacity: 0.8;
  }
  100% {
    transform: translateX(-50%) translateY(3rem);
    opacity: 0;
  }
}

.scroll-wheel-animation {
  animation: scrollWheel 2s ease-in-out infinite;
}

.scroll-arrow-animation {
  animation: scrollArrow 2s ease-in-out infinite;
}

.scroll-line-animation {
  animation: scrollLine 2s ease-in-out infinite;
}

/* Pulse effect on hover */
.scroll-indicator-modern:hover .mouse-body {
  animation: mousePulse 1.5s ease-in-out infinite;
}

@keyframes mousePulse {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }
  50% {
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.4), 0 0 0 8px rgba(255, 255, 255, 0.1);
  }
}

/* Responsive adjustments */
@media (max-width: 1023px) {
  .scroll-indicator-wrapper {
    display: none;
  }
}

/* ===========================================
   CATEGORIES SECTION - NEW DESIGN
   =========================================== */

.categories-section-new {
  position: relative;
  background: #fafafa;
}

/* Background: light gradient, blends into transition at bottom */
.categories-section-bg {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #fafafa 25%,
    #f8fafc 70%,
    #f1f5f9 100%
  );
}

/* Smooth gradient bridge at bottom of categories into next section */
.categories-section-transition {
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(248, 250, 252, 0.6) 40%,
    rgba(241, 245, 249, 0.95) 100%
  );
  pointer-events: none;
}

.categories-section-new .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Outer wrapper: center the grid block regardless of number of cards / RTL */
.categories-grid-outer {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.categories-grid-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

/* Responsive Grid - centered; limited columns so few cards stay centered */
.categories-grid-responsive {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  width: 100%;
  margin: 0 auto;
  justify-content: center;
  justify-items: center;
}

@media (min-width: 480px) {
  .categories-grid-responsive {
    gap: 1rem;
  }
}

@media (min-width: 640px) {
  .categories-grid-responsive {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: 640px;
  }
}

@media (min-width: 1024px) {
  .categories-grid-responsive {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 56rem; /* 3 cards centered, balanced width */
  }
}

/* Category Card Responsive */
.category-card-responsive {
  display: block;
  text-decoration: none;
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.category-card-responsive:active {
  transform: scale(0.98);
}

@media (hover: hover) {
  .category-card-responsive:hover {
    transform: translateY(-4px);
  }
}

.category-card-responsive-inner {
  position: relative;
  background: white;
  border: 1.5px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1rem 0.75rem;
  height: 100%;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  width: 100%;
}

@media (min-width: 480px) {
  .category-card-responsive-inner {
    padding: 1.25rem 1rem;
    min-height: 160px;
    border-radius: 1.25rem;
  }
}

@media (min-width: 640px) {
  .category-card-responsive-inner {
    padding: 1.5rem 1.25rem;
    min-height: 180px;
    border-radius: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .category-card-responsive-inner {
    padding: 2rem 1.5rem;
    min-height: 220px;
    border: 2px solid #e2e8f0;
  }
}

@media (hover: hover) {
  .category-card-responsive:hover .category-card-responsive-inner {
    border-color: #00387F;
    box-shadow: 0 12px 40px rgba(0, 56, 127, 0.12);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  }
}

/* Icon Responsive */
.category-icon-responsive {
  width: 3rem;
  height: 3rem;
  margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  border-radius: 0.875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

@media (min-width: 480px) {
  .category-icon-responsive {
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1rem;
    border-radius: 1rem;
  }
}

@media (min-width: 640px) {
  .category-icon-responsive {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1.25rem;
    border-radius: 1.125rem;
  }
}

@media (min-width: 1024px) {
  .category-icon-responsive {
    width: 5rem;
    height: 5rem;
    margin-bottom: 1.5rem;
    border-radius: 1.25rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  }
}

@media (hover: hover) {
  .category-card-responsive:hover .category-icon-responsive {
    transform: scale(1.08) rotate(3deg);
    box-shadow: 0 8px 30px rgba(0, 56, 127, 0.15);
    background: linear-gradient(135deg, #e6f0f9 0%, #ffffff 100%);
  }
}

.category-icon-svg-responsive {
  width: 1.5rem;
  height: 1.5rem;
  color: #00387F;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 480px) {
  .category-icon-svg-responsive {
    width: 1.75rem;
    height: 1.75rem;
  }
}

@media (min-width: 640px) {
  .category-icon-svg-responsive {
    width: 2rem;
    height: 2rem;
  }
}

@media (min-width: 1024px) {
  .category-icon-svg-responsive {
    width: 2.5rem;
    height: 2.5rem;
  }
}

@media (hover: hover) {
  .category-card-responsive:hover .category-icon-svg-responsive {
    color: #EE7C01;
    transform: scale(1.1);
  }
}

/* Category Title Responsive */
.category-title-responsive {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
  transition: all 0.3s ease;
  line-height: 1.4;
  text-align: center;
}

@media (min-width: 480px) {
  .category-title-responsive {
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
  }
}

@media (min-width: 640px) {
  .category-title-responsive {
    font-size: 0.875rem;
    margin-bottom: 1rem;
  }
}

@media (min-width: 1024px) {
  .category-title-responsive {
    font-size: 1rem;
  }
}

@media (hover: hover) {
  .category-card-responsive:hover .category-title-responsive {
    color: #00387F;
  }
}

/* Category Arrow Responsive */
.category-arrow-responsive {
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #EE7C01;
  margin-top: 0.25rem;
}

@media (min-width: 640px) {
  .category-arrow-responsive {
    margin-top: 0.5rem;
  }
}

@media (hover: hover) {
  .category-card-responsive:hover .category-arrow-responsive {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Specific Adjustments */
@media (max-width: 639px) {
  .categories-section-new {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  
  .categories-section-new .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .categories-grid-wrapper {
    padding: 0;
  }
  
  .categories-grid-responsive {
    gap: 0.625rem;
  }
  
  .category-card-responsive-inner {
    min-height: 130px;
    padding: 0.875rem 0.5rem;
  }
  
  .category-icon-responsive {
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: 0.625rem;
  }
  
  .category-icon-svg-responsive {
    width: 1.375rem;
    height: 1.375rem;
  }
  
  .category-title-responsive {
    font-size: 0.625rem;
    line-height: 1.3;
  }
}

.category-card-modern:hover .category-name {
  color: #00387F;
}

/* ===========================================
   SMOOTH TRANSITION BETWEEN CATEGORIES & PRODUCTS
   =========================================== */

.section-transition-blend {
  height: 2rem;
  background: linear-gradient(
    180deg,
    #f1f5f9 0%,
    #f8fafc 50%,
    #fafafa 100%
  );
}

@media (min-width: 1024px) {
  .section-transition-blend {
    height: 3rem;
  }
}

/* ===========================================
   PRODUCTS SECTION
   =========================================== */

.section-products {
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 50%, #ffffff 100%);
}

.section-products-with-transition {
  background: linear-gradient(
    180deg,
    #f8fafc 0%,
    #fafafa 25%,
    #ffffff 100%
  );
}

.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: white;
  color: #00387F;
  border: 2px solid #e2e8f0;
  border-radius: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-view-all:hover {
  background: #00387F;
  color: white;
  border-color: #00387F;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 56, 127, 0.2);
}

.products-grid-modern {
  opacity: 1;
}

/* ===========================================
   WHY CHOOSE US SECTION
   =========================================== */

/* ===========================================
   WHY CHOOSE US SECTION - ENHANCED
   =========================================== */

.section-why {
  position: relative;
  background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
}

/* Section Header */
.section-why .text-center {
  margin-bottom: 3rem;
}

@media (min-width: 1024px) {
  .section-why .text-center {
    margin-bottom: 4rem;
  }
}

/* Enhanced Value Items */
.value-item-enhanced {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 1.5rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.value-item-enhanced::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #00387F 0%, #EE7C01 100%);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.4s ease;
}

.value-item-enhanced:hover::before {
  transform: scaleY(1);
}

@media (min-width: 640px) {
  .value-item-enhanced {
    padding: 2rem;
    gap: 1.5rem;
  }
}

.value-item-enhanced:hover {
  transform: translateY(-4px);
  border-color: #00387F;
  box-shadow: 0 12px 40px rgba(0, 56, 127, 0.15);
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

/* Enhanced Value Icon */
.value-icon-enhanced {
  width: 3.5rem;
  height: 3.5rem;
  min-width: 3.5rem;
  background: linear-gradient(135deg, #00387F 0%, #002A60 100%);
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 8px 24px rgba(0, 56, 127, 0.2);
  position: relative;
  overflow: hidden;
}

.value-icon-enhanced::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.value-item-enhanced:hover .value-icon-enhanced::before {
  opacity: 1;
}

.value-item-enhanced:hover .value-icon-enhanced {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(135deg, #EE7C01 0%, #D46F00 100%);
  box-shadow: 0 12px 32px rgba(238, 124, 1, 0.3);
}

.value-icon-enhanced svg {
  width: 1.75rem;
  height: 1.75rem;
  position: relative;
  z-index: 1;
  transition: transform 0.4s ease;
}

.value-item-enhanced:hover .value-icon-enhanced svg {
  transform: scale(1.1);
}

@media (min-width: 640px) {
  .value-icon-enhanced {
    width: 4rem;
    height: 4rem;
    border-radius: 1.5rem;
  }
  
  .value-icon-enhanced svg {
    width: 2rem;
    height: 2rem;
  }
}

/* Enhanced Value Content */
.value-content-enhanced {
  flex: 1;
  min-width: 0;
}

.value-title-enhanced {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
  line-height: 1.3;
}

.value-item-enhanced:hover .value-title-enhanced {
  color: #00387F;
}

@media (min-width: 640px) {
  .value-title-enhanced {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }
}

.value-desc-enhanced {
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.7;
  transition: color 0.3s ease;
}

.value-item-enhanced:hover .value-desc-enhanced {
  color: #475569;
}

@media (min-width: 640px) {
  .value-desc-enhanced {
    font-size: 1rem;
  }
}

/* Enhanced Image Wrapper */
.why-image-wrapper-enhanced {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  aspect-ratio: 1;
}

.why-video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.why-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-placeholder {
  min-height: 400px;
}

@media (min-width: 1024px) {
  .why-image-wrapper-enhanced {
    border-radius: 2.5rem;
  }
}

.why-image-enhanced {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-image-wrapper-enhanced:hover .why-image-enhanced {
  transform: scale(1.05);
}

/* Enhanced Stat Card */
.why-stat-card-enhanced {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: white;
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 30;
  transition: all 0.3s ease;
  min-width: 180px;
  max-width: 220px;
}

[dir="rtl"] .why-stat-card-enhanced {
  right: auto;
  left: -1rem;
}

.why-stat-card-enhanced:hover {
  transform: scale(1.05) translateY(-4px);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1023px) {
  .why-stat-card-enhanced {
    position: relative;
    bottom: auto;
    right: auto;
    left: auto;
    margin-top: 1.5rem;
    transform: none !important;
    min-width: auto;
    max-width: none;
  }
}

/* Enhanced Badge */
.why-badge-enhanced {
  position: absolute;
  top: 2rem;
  left: 2rem;
  background: linear-gradient(135deg, #EE7C01 0%, #D46F00 100%);
  color: white;
  border-radius: 9999px;
  padding: 0.75rem 1.25rem;
  box-shadow: 0 10px 30px rgba(238, 124, 1, 0.3);
  z-index: 30;
  transition: all 0.3s ease;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

[dir="rtl"] .why-badge-enhanced {
  left: auto;
  right: 2rem;
}

.why-badge-enhanced:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 40px rgba(238, 124, 1, 0.4);
}

@media (max-width: 1023px) {
  .why-badge-enhanced {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    display: inline-block;
    margin-bottom: 1rem;
    transform: none !important;
  }
}

/* Mobile Responsive */
@media (max-width: 1023px) {
  .section-why {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  
  .section-why .grid {
    gap: 2rem;
  }
  
  .value-item-enhanced {
    padding: 1.25rem;
    gap: 1rem;
  }
  
  .value-icon-enhanced {
    width: 3rem;
    height: 3rem;
    min-width: 3rem;
  }
  
  .value-icon-enhanced svg {
    width: 1.5rem;
    height: 1.5rem;
  }
  
  .value-title-enhanced {
    font-size: 1.125rem;
  }
  
  .value-desc-enhanced {
    font-size: 0.875rem;
  }
  
  .why-image-wrapper-enhanced {
    margin-bottom: 1.5rem;
  }
}

.value-item-modern {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: 1rem;
  transition: all 0.3s ease;
  background: transparent;
}

.value-item-modern:hover {
  background: rgba(0, 56, 127, 0.05);
  transform: translateX(8px);
}

[dir="rtl"] .value-item-modern:hover {
  transform: translateX(-8px);
}

.value-icon {
  width: 3.5rem;
  height: 3.5rem;
  min-width: 3.5rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #e6f0f9 0%, #cce0f3 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00387F;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-item-modern:hover .value-icon {
  transform: scale(1.15) rotate(5deg);
  background: linear-gradient(135deg, #cce0f3 0%, #99c2e7 100%);
  box-shadow: 0 8px 20px rgba(0, 56, 127, 0.2);
}

.value-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.value-desc {
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.6;
}

.why-image-wrapper {
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  aspect-ratio: 1;
}

.why-stat-card {
  z-index: 10;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ===========================================
   SERVICES SECTION
   =========================================== */

.section-services {
  position: relative;
  background: #0f172a;
}

.service-card-modern {
  display: flex;
  flex-direction: column;
  padding: 2rem;
  border-radius: 1.5rem;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(238, 124, 1, 0.1), transparent);
  transition: left 0.6s ease;
}

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

.service-card-modern:hover {
  transform: translateY(-8px) scale(1.03);
  background: rgba(30, 41, 59, 0.7);
  border-color: rgba(238, 124, 1, 0.5);
  box-shadow: 0 20px 40px rgba(238, 124, 1, 0.2);
}

.service-icon-wrapper {
  width: 4rem;
  height: 4rem;
  margin-bottom: 1.5rem;
  border-radius: 1rem;
  background: rgba(238, 124, 1, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card-modern:hover .service-icon-wrapper {
  background: rgba(238, 124, 1, 0.2);
  transform: scale(1.15) rotate(5deg);
}

.service-icon {
  width: 2rem;
  height: 2rem;
  color: #EE7C01;
  transition: all 0.4s ease;
}

.service-card-modern:hover .service-icon {
  transform: scale(1.2);
  filter: drop-shadow(0 4px 8px rgba(238, 124, 1, 0.4));
}

.service-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

.service-card-modern:hover .service-title {
  color: #EE7C01;
}

.service-desc {
  font-size: 0.9375rem;
  color: #94a3b8;
  line-height: 1.6;
}

.btn-services-view {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: white;
  color: #0f172a;
  border-radius: 0.75rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-services-view:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* ===========================================
   PROJECTS SECTION - ENHANCED
   =========================================== */

.section-projects-enhanced {
  position: relative;
  background: linear-gradient(to bottom, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
  padding-bottom: 4rem;
}

@media (min-width: 640px) {
  .section-projects-enhanced {
    padding-bottom: 5rem;
  }
}

@media (min-width: 1024px) {
  .section-projects-enhanced {
    padding-bottom: 6rem;
  }
}

@media (min-width: 1280px) {
  .section-projects-enhanced {
    padding-bottom: 8rem;
  }
}

/* Projects Grid Enhanced */
.projects-grid-enhanced {
  display: grid;
  gap: 2rem;
}

@media (min-width: 640px) {
  .projects-grid-enhanced {
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .projects-grid-enhanced {
    gap: 2rem;
  }
}

/* View All Button */
.btn-projects-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #00387F 0%, #002A60 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 56, 127, 0.2);
  text-decoration: none;
}

.btn-projects-view-all:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 56, 127, 0.3);
  background: linear-gradient(135deg, #002A60 0%, #001d47 100%);
}

/* ===========================================
   PROJECT CARD - ENHANCED (NO TRANSPARENCY)
   =========================================== */

.project-card-enhanced {
  display: block;
  text-decoration: none;
  background: white;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid #e2e8f0;
}

.project-card-enhanced:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  border-color: #00387F;
}

/* Image Wrapper */
.project-card-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #f1f5f9;
  overflow: hidden;
}

.project-card-image-enhanced {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card-enhanced:hover .project-card-image-enhanced {
  transform: scale(1.1);
}

/* Subtle Overlay (only on hover) */
.project-card-overlay-enhanced {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.3) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.project-card-enhanced:hover .project-card-overlay-enhanced {
  opacity: 1;
}

/* Category Badge */
.project-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 10;
}

[dir="rtl"] .project-card-badge {
  left: auto;
  right: 1rem;
}

.project-card-badge-text {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: white;
  color: #00387F;
  border-radius: 9999px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

.project-card-enhanced:hover .project-card-badge-text {
  background: #00387F;
  color: white;
  transform: scale(1.05);
}

/* Content Card - Solid Background */
.project-card-content-enhanced {
  padding: 1.5rem;
  background: white;
}

@media (min-width: 640px) {
  .project-card-content-enhanced {
    padding: 2rem;
  }
}

/* Project Title */
.project-card-title-enhanced {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.project-card-enhanced:hover .project-card-title-enhanced {
  color: #00387F;
}

@media (min-width: 640px) {
  .project-card-title-enhanced {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }
}

/* Project Description */
.project-card-description-enhanced {
  font-size: 0.9375rem;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 640px) {
  .project-card-description-enhanced {
    font-size: 1rem;
    margin-bottom: 1.25rem;
  }
}

/* Project Meta */
.project-card-meta-enhanced {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid #e2e8f0;
}

.project-card-meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}

.project-card-meta-item svg {
  color: #00387F;
  flex-shrink: 0;
}

/* View Project Link */
.project-card-link-enhanced {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #00387F;
  transition: all 0.3s ease;
}

.project-card-enhanced:hover .project-card-link-enhanced {
  color: #EE7C01;
  gap: 0.75rem;
}

.project-card-link-enhanced svg {
  transition: transform 0.3s ease;
}

/* Mobile Responsive */
@media (max-width: 639px) {
  .project-card-content-enhanced {
    padding: 1.25rem;
  }
  
  .project-card-title-enhanced {
    font-size: 1.125rem;
  }
  
  .project-card-description-enhanced {
    font-size: 0.875rem;
  }
  
  .project-card-meta-enhanced {
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
  }
  
  .project-card-meta-item {
    font-size: 0.8125rem;
  }
}

/* ===========================================
   CTA SECTION
   =========================================== */

.section-cta {
  position: relative;
  background: linear-gradient(135deg, #00387F 0%, #002d66 50%, #001f4d 100%);
  margin-top: 4rem !important;
  padding-top: 4rem;
  padding-bottom: 4rem;
  overflow: hidden;
}

@media (min-width: 640px) {
  .section-cta {
    padding-bottom: 5rem;
  }
}

@media (min-width: 1024px) {
  .section-cta {
    padding-bottom: 6rem;
  }
}

@media (min-width: 1280px) {
  .section-cta {
    padding-bottom: 8rem;
  }
}

/* ===========================================
   CTA BACKGROUND - ENHANCED
   =========================================== */

.cta-background-enhanced {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

/* Animated Gradient Orbs */
.cta-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: ctaOrbFloat 20s ease-in-out infinite;
  opacity: 0.6;
}

.cta-orb-1 {
  animation-delay: 0s;
  transform: translate(0, 0);
}

.cta-orb-2 {
  animation-delay: 7s;
  transform: translate(0, 0);
}

.cta-orb-3 {
  animation-delay: 14s;
  transform: translate(0, 0);
  width: 24rem;
  height: 24rem;
}

@keyframes ctaOrbFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.6;
  }
  25% {
    transform: translate(30px, -40px) scale(1.1);
    opacity: 0.8;
  }
  50% {
    transform: translate(-20px, 30px) scale(0.9);
    opacity: 0.5;
  }
  75% {
    transform: translate(40px, 20px) scale(1.05);
    opacity: 0.7;
  }
}

/* Grid Pattern */
.cta-grid-pattern {
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: ctaGridMove 20s linear infinite;
}

@keyframes ctaGridMove {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(50px, 50px);
  }
}

/* Shine Effect */
.cta-shine {
  background: linear-gradient(
    135deg,
    transparent 0%,
    transparent 40%,
    rgba(255, 255, 255, 0.1) 50%,
    transparent 60%,
    transparent 100%
  );
  animation: ctaShine 8s ease-in-out infinite;
}

@keyframes ctaShine {
  0%, 100% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    opacity: 0;
  }
  50% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
    opacity: 1;
  }
}

/* Animated Lines */
.cta-line {
  position: absolute;
  animation: ctaLinePulse 3s ease-in-out infinite;
}

.cta-line-1 {
  animation-delay: 0s;
}

.cta-line-2 {
  animation-delay: 1.5s;
}

@keyframes ctaLinePulse {
  0%, 100% {
    opacity: 0.2;
    transform: scaleY(1);
  }
  50% {
    opacity: 0.5;
    transform: scaleY(1.2);
  }
}

/* Floating Particles */
.cta-particle {
  position: absolute;
  border-radius: 50%;
  animation: ctaParticleFloat 15s ease-in-out infinite;
}

.cta-particle-1 {
  animation-delay: 0s;
}

.cta-particle-2 {
  animation-delay: 5s;
}

.cta-particle-3 {
  animation-delay: 10s;
}

@keyframes ctaParticleFloat {
  0%, 100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.3;
  }
  25% {
    transform: translate(20px, -30px) scale(1.2);
    opacity: 0.5;
  }
  50% {
    transform: translate(-15px, 20px) scale(0.8);
    opacity: 0.4;
  }
  75% {
    transform: translate(25px, 15px) scale(1.1);
    opacity: 0.6;
  }
}

/* Responsive Adjustments */
@media (max-width: 1023px) {
  .cta-orb {
    filter: blur(60px);
  }
  
  .cta-orb-1,
  .cta-orb-2 {
    width: 24rem;
    height: 24rem;
  }
  
  .cta-orb-3 {
    width: 16rem;
    height: 16rem;
  }
  
  .cta-grid-pattern {
    background-size: 40px 40px;
  }
}

@media (min-width: 640px) {
  .section-cta {
    margin-top: 5rem !important;
    padding-top: 5rem;
  }
}

@media (min-width: 1024px) {
  .section-cta {
    margin-top: 6rem !important;
    padding-top: 6rem;
  }
}

@media (min-width: 1280px) {
  .section-cta {
    margin-top: 8rem !important;
    padding-top: 8rem;
  }
}

.btn-cta-primary,
.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-weight: 600;
  border-radius: 0.75rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-cta-primary {
  background: white;
  color: #00387F;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-cta-primary:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.btn-cta-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-link:hover {
  color: white;
  transform: translateY(-2px);
}

/* ===========================================
   ANIMATIONS - ANIME.JS SUPPORT
   =========================================== */

[data-anime] {
  opacity: 0;
}

[data-anime].animated {
  opacity: 1;
}

/* ===========================================
   RESPONSIVE DESIGN
   =========================================== */

@media (max-width: 1023px) {
  .hero-modern {
    min-height: auto;
    padding: 4rem 0;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.125rem;
  }
  
  .hero-media {
    margin-top: 3rem;
  }
  
  .hero-feature-card {
    position: relative !important;
    margin: 1rem 0;
  }
}

@media (max-width: 767px) {
  .hero-modern {
    padding: 2rem 0;
  }
  
  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    padding: 0.875rem 1.5rem;
  }
  
  .category-card-modern {
    padding: 1.5rem 0.75rem;
  }
  
  .category-icon-wrapper {
    width: 4rem;
    height: 4rem;
  }
  
  .value-item-modern {
    padding: 1rem;
    gap: 1rem;
  }
  
  .value-icon {
    width: 3rem;
    height: 3rem;
    min-width: 3rem;
  }
}

/* ===========================================
   ACCESSIBILITY
   =========================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .hero-orb,
  .hero-feature-card,
  .scroll-indicator {
    animation: none !important;
  }
}
