/* Custom Color Variables - Updated Logo Colors */
:root {
  --primary: #0a3f8a;
  --primary-light: #1a5ba8;
  --primary-lighter: #2d6bc1;
  --primary-lightest: #3a73d4;
  --primary-80: #0d4a8f;
  --primary-60: #1a5ba8;
  --primary-40: #2d6bc1;
  --primary-20: #4a7bd4;
  --secondary: #e3000f;
  --secondary-light: #ff1a29;
  --secondary-lighter: #ff4d5a;
  --secondary-lightest: #ff808a;
  --accent-gold: #f39c12;
  --accent-gold-light: #f4a460;
  --accent-orange: #e67e22;
  --accent-orange-light: #ea8a2e;
  --accent-teal: #1abc9c;
  --accent-teal-light: #2ecc71;
  --white: #ffffff;
  --black: #000000;
  --gray-50: #f9fafb;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;

  /* Global Font Variables */
  --font-primary: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  --font-secondary: 'Calibri', 'Candara', 'Segoe', 'Segoe UI', Optima, Arial, sans-serif;
}

/* Enhanced Responsive Design System */
/* Base responsive breakpoints */
/* Mobile First Approach */
/* xs: 0-480px (default) */
/* sm: 481px-640px */
/* md: 641px-768px */
/* lg: 769px-1024px */
/* xl: 1025px-1280px */
/* 2xl: 1281px+ */

/* Custom Styles */
body {
  font-family: var(--font-primary);
  background-color: #000;
  color: #fff;
  overflow-x: hidden;
}

/* Enhanced Navbar Responsive Styles */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar-transparent {
  background-color: transparent !important;
}

.navbar.scrolled {
  background-color: var(--primary);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(7, 49, 107, 0.2);
}

.nav-link {
  color: var(--white) !important;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
  padding: 8px 16px;
}

.nav-link:hover {
  color: var(--secondary) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: width 0.3s ease-out;
}

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

.navbar-brand {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.navbar-brand:hover {
  color: var(--secondary);
}

/* Mobile Menu Enhancements */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  transition: right 0.3s ease;
  z-index: 1001;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

/* Enhanced Hero Section Responsive */
.hero-section {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 10;
  width: 90%;
  max-width: 1200px;
  padding: 0 20px;
}

.hero-content h1 {
  font-size: clamp(1.5rem, 5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: clamp(1rem, 3vw, 2rem);
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.btn-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

/* Enhanced Button Responsive Styles */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: clamp(0.75rem, 2vw, 1.5rem) clamp(1.5rem, 4vw, 3rem);
  font-size: clamp(0.875rem, 2.5vw, 1.25rem);
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  min-height: 48px;
  width: 100%;
  max-width: 300px;
}

@media (min-width: 640px) {
  .btn-group {
    flex-direction: row;
    gap: 1.5rem;
  }

  .btn-primary,
  .btn-secondary {
    width: auto;
  }
}

/* Enhanced Section Responsive Styles */
.section {
  padding: clamp(3rem, 8vw, 6rem) 0;
  position: relative;
  overflow: hidden;
}

/* Services and Support sections - blue background override */
#services,
#support {
  background: linear-gradient(135deg, #07316b 0%, #1e40af 100%) !important;
}

#services *,
#support * {
  color: inherit;
}

/* Force black text and white background for white cards */
#services .service-card-inner,
#services .support-card-inner,
#support .support-card-inner {
  background-color: #ffffff !important;
  color: #000000 !important;
  opacity: 1 !important;
}

#services .service-card-inner h4,
#services .service-card-inner p,
#services .service-title,
#services .service-description,
#services .support-card-inner h3,
#services .support-card-inner p,
#services .support-title,
#services .support-description,
#support .support-card-inner h3,
#support .support-card-inner p,
#support .support-title,
#support .support-description {
  color: #000000 !important;
}

/* Smooth scrolling for the entire page */
html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}

/* Enhanced Grid Responsive System */
.grid-responsive {
  display: grid;
  gap: clamp(1rem, 3vw, 2rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

/* Enhanced Card Responsive Styles */
.card-responsive {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  transition: all 0.3s ease;
}

.card-responsive:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Enhanced Typography Responsive */
.text-responsive-xl {
  font-size: clamp(1.5rem, 5vw, 3rem);
  line-height: 1.2;
}

.text-responsive-lg {
  font-size: clamp(1.25rem, 4vw, 2rem);
  line-height: 1.3;
}

.text-responsive-md {
  font-size: clamp(1rem, 3vw, 1.5rem);
  line-height: 1.4;
}

.text-responsive-sm {
  font-size: clamp(0.875rem, 2.5vw, 1.125rem);
  line-height: 1.5;
}

/* Enhanced Spacing Responsive */
.space-responsive-y {
  margin-top: clamp(1rem, 3vw, 2rem);
  margin-bottom: clamp(1rem, 3vw, 2rem);
}

.space-responsive-x {
  margin-left: clamp(1rem, 3vw, 2rem);
  margin-right: clamp(1rem, 3vw, 2rem);
}

/* Enhanced Image Responsive */
.img-responsive {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}

/* Enhanced Swiper Responsive */
.swiper-button-next,
.swiper-button-prev {
  width: clamp(40px, 8vw, 60px);
  height: clamp(40px, 8vw, 60px);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: white;
  font-weight: bold;
}

/* Enhanced Form Responsive */
.form-responsive {
  display: flex;
  flex-direction: column;
  gap: clamp(1rem, 3vw, 1.5rem);
}

.form-input-responsive {
  padding: clamp(0.75rem, 2vw, 1rem);
  font-size: clamp(0.875rem, 2.5vw, 1rem);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  transition: all 0.3s ease;
}

.form-input-responsive:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(7, 49, 107, 0.1);
}

/* Enhanced Navigation Responsive */
.nav-responsive {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .nav-responsive {
    flex-direction: row;
    align-items: center;
  }
}

/* Enhanced Footer Responsive */
.footer-responsive {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  padding: clamp(2rem, 5vw, 4rem) 0;
}

/* Enhanced Animation Responsive */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Enhanced Accessibility */
@media (prefers-contrast: high) {
  :root {
    --primary: #000080;
    --secondary: #800000;
  }
}

/* Enhanced Dark Mode Support */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #000;
    color: #fff;
  }
}

/* Enhanced Print Styles */
@media print {

  .navbar,
  .mobile-menu,
  .btn-group,
  .swiper-button-next,
  .swiper-button-prev {
    display: none !important;
  }

  .hero-section {
    height: auto;
    min-height: 400px;
  }

  .section {
    padding: 2rem 0;
    page-break-inside: avoid;
  }
}

/* Enhanced Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-section {
    height: 100vh;
  }

  .hero-content {
    transform: translate(-50%, -40%);
  }

  .hero-content h1 {
    font-size: clamp(2rem, 6vw, 4rem);
    margin-bottom: 1rem;
  }

  .hero-content p {
    font-size: clamp(0.875rem, 2.5vw, 1.5rem);
    margin-bottom: 1rem;
  }

  .btn-group {
    flex-direction: row;
    gap: 1rem;
  }
}

/* Enhanced Tablet Specific */
@media (min-width: 768px) and (max-width: 1024px) {
  .container {
    padding: 0 2rem;
  }

  .hero-content {
    width: 85%;
  }

  .grid-responsive {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

  /* Tablet gap adjustments */
  #about {
    margin-top: -50px;
    padding-top: 50px;
    border-radius: 40px 40px 0 0;
  }
}

/* Enhanced Desktop Specific */
@media (min-width: 1025px) {
  .container {
    padding: 0 3rem;
  }

  .hero-content {
    width: 80%;
  }

  .grid-responsive {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  }
}

/* Enhanced Large Desktop */
@media (min-width: 1440px) {
  .container {
    max-width: 1400px;
    padding: 0 4rem;
  }

  .hero-content {
    width: 75%;
  }
}

/* Enhanced Ultra Wide */
@media (min-width: 1920px) {
  .container {
    max-width: 1600px;
    padding: 0 5rem;
  }

  .hero-content {
    width: 70%;
  }
}

/* Enhanced Mobile Specific Improvements */
@media (max-width: 480px) {
  .navbar .container {
    padding: 0 1rem;
  }

  .hero-content {
    width: 95%;
    padding: 0 1rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
    line-height: 1.1;
  }

  .hero-content p {
    font-size: 1rem;
    line-height: 1.4;
  }

  .btn-primary,
  .btn-secondary {
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
  }

  .section {
    padding: 2rem 0;
  }

  .container {
    padding: 0 1rem;
  }

  .card-responsive {
    padding: 1.5rem;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .nav-link {
    display: none;
  }

  /* Mobile gap adjustments */
  #about {
    margin-top: -40px;
    padding-top: 40px;
    border-radius: 30px 30px 0 0;
  }
}

/* Enhanced Small Mobile */
@media (max-width: 360px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 0.875rem;
  }

  .btn-primary,
  .btn-secondary {
    padding: 0.75rem 1.25rem;
    font-size: 0.8rem;
  }

  .container {
    padding: 0 0.75rem;
  }
}

/* Enhanced Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {

  .btn-primary:hover,
  .btn-secondary:hover,
  .card-responsive:hover {
    transform: none;
  }

  .nav-link:hover::after {
    width: 0;
  }

  .swiper-button-next:hover,
  .swiper-button-prev:hover {
    transform: none;
  }
}

/* Enhanced High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
  .img-responsive {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Enhanced Focus States for Accessibility */
.btn-primary:focus,
.btn-secondary:focus,
.nav-link:focus,
.form-input-responsive:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Enhanced Loading States */
.loading-responsive {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.loading-spinner-responsive {
  width: clamp(2rem, 5vw, 3rem);
  height: clamp(2rem, 5vw, 3rem);
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Enhanced Error States */
.error-responsive {
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.3);
  border-radius: 8px;
  padding: clamp(1rem, 3vw, 1.5rem);
  color: #dc3545;
  text-align: center;
}

/* Enhanced Success States */
.success-responsive {
  background: rgba(40, 167, 69, 0.1);
  border: 1px solid rgba(40, 167, 69, 0.3);
  border-radius: 8px;
  padding: clamp(1rem, 3vw, 1.5rem);
  color: #28a745;
  text-align: center;
}

/* Enhanced Empty States */
.empty-responsive {
  text-align: center;
  padding: clamp(3rem, 8vw, 6rem) 0;
  color: rgba(255, 255, 255, 0.6);
}

.empty-responsive svg {
  width: clamp(4rem, 10vw, 6rem);
  height: clamp(4rem, 10vw, 6rem);
  margin: 0 auto 1rem;
  opacity: 0.5;
}

/* Enhanced Scrollbar for Webkit Browsers */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Enhanced Selection */
::selection {
  background: var(--primary);
  color: white;
}

::-moz-selection {
  background: var(--primary);
  color: white;
}

/* Enhanced Focus Visible for Better Accessibility */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Enhanced Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

  .hero-section,
  .card-responsive,
  .btn-primary,
  .btn-secondary {
    transition: none;
  }

  .swiper {
    transition: none;
  }
}

/* Enhanced Container Query Support (Future) */
@supports (container-type: inline-size) {
  .container-query-responsive {
    container-type: inline-size;
  }

  @container (min-width: 400px) {
    .container-query-responsive .grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @container (min-width: 600px) {
    .container-query-responsive .grid {
      grid-template-columns: repeat(3, 1fr);
    }
  }
}

/* Custom Color Variables - Updated Logo Colors */
:root {
  --primary: #0a3f8a;
  --primary-light: #1a5ba8;
  --primary-lighter: #2d6bc1;
  --primary-lightest: #3a73d4;
  --primary-80: #0d4a8f;
  --primary-60: #1a5ba8;
  --primary-40: #2d6bc1;
  --primary-20: #4a7bd4;
  --secondary: #e3000f;
  --secondary-light: #ff1a29;
  --secondary-lighter: #ff4d5a;
  --secondary-lightest: #ff808a;
  --accent-gold: #f39c12;
  --accent-gold-light: #f4a460;
  --accent-orange: #e67e22;
  --accent-orange-light: #ea8a2e;
  --accent-teal: #1abc9c;
  --accent-teal-light: #2ecc71;
  --white: #ffffff;
  --black: #000000;
  --gray-50: #f9fafb;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
}

/* Custom Styles */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #000;
  color: #fff;
}

/* Navbar Styles */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar-transparent {
  background-color: transparent !important;
}

.navbar.scrolled {
  background-color: var(--primary);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(7, 49, 107, 0.2);
}

.nav-link {
  color: var(--white) !important;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
  padding: 8px 16px;
}

.nav-link:hover {
  color: var(--secondary) !important;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: width 0.3s ease-out;
}

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

.navbar-brand {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.navbar-brand:hover {
  color: var(--secondary);
}

.nav-link-item:hover {
  color: var(--secondary-light) !important;
}

.dropdown-link-item:hover {
  background-color: var(--secondary) !important;
}

.dropdown-menu {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(199, 33, 33, 0.2);
  border-radius: 12px;
  padding: 8px 0;
  margin-top: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.dropdown-item {
  color: var(--white) !important;
  padding: 10px 20px;
  transition: all 0.3s ease;
  border-radius: 8px;
  margin: 2px 8px;
  position: relative;
}

.dropdown-item:hover {
  background: rgba(199, 33, 33, 0.1) !important;
  color: var(--secondary) !important;
  transform: translateX(5px);
}

.dropdown-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--secondary-light) 100%);
  transition: width 0.3s ease;
  border-radius: 8px;
  z-index: -1;
}

.dropdown-item:hover::before {
  width: 100%;
}

/* Dropdown Menu Styles */
.group:hover .group-hover\:opacity-100 {
  opacity: 1;
}

.group:hover .group-hover\:visible {
  visibility: visible;
}

.group:hover .group-hover\:scale-110 {
  transform: scale(1.1);
}

/* Hero Section Styles */
.hero-section {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background-color: #000;
  margin-bottom: 0;
  /* Remove bottom margin */
}

.hero-slider {
  width: 100%;
  height: 100%;
}

.hero-slider .swiper-slide {
  position: relative;
  height: 100vh;
  width: 100%;
}

.hero-slider .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slider .swiper-slide .absolute.inset-0 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.hero-slider .swiper-slide .bg-gradient-to-r {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
  z-index: 2;
}

/* Hero Content Centering */
.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 100%;
  max-width: 1400px;
  padding: 0 2rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-content h1 {
  opacity: 0;
  transform: translateY(-50px);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0;
  width: 100%;
}

.hero-content p {
  opacity: 0;
  transform: translateY(-30px);
  margin: 1.5rem 0 2.5rem;
  font-weight: 400;
  width: 100%;
  max-width: 800px;
}

.hero-content .btn-group {
  opacity: 0;
  transform: translateY(-20px);
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  margin: 0;
}

/* Swiper Navigation Styles */
.swiper-button-next,
.swiper-button-prev {
  color: var(--secondary);
  background: rgba(0, 0, 0, 0.5);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  color: var(--white);
  transform: scale(1.1);
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 24px !important;
  font-weight: bold;
}

/* Swiper Pagination Styles */
.swiper-pagination {
  position: absolute;
  bottom: 40px !important;
  z-index: 10;
}

.swiper-pagination-bullet {
  width: 12px !important;
  height: 12px !important;
  background: rgba(255, 255, 255, 0.5) !important;
  opacity: 1;
  transition: all 0.3s ease;
  margin: 0 6px !important;
}

.swiper-pagination-bullet-active {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  opacity: 1;
  transform: scale(1.2);
}

/* Button Styles */
.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(7, 49, 107, 0.3);
  color: var(--white);
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-lighter) 100%);
}

.btn-primary::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;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  color: var(--white);
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(199, 33, 33, 0.3);
  color: var(--white);
  background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary-lighter) 100%);
}

.btn-secondary::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;
}

.btn-secondary:hover::before {
  left: 100%;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  /* Use solid brand color (no gradients) */
  color: var(--primary);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

/* Services section titles - updated for blue theme */
#services h1,
#services h2,
#services .section-title,
#services .section-header h2 {
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  background-clip: initial;
  color: #ffffff;
}

.section-header p {
  color: var(--gray-600);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Swiper Customization */
.swiper-pagination-bullet {
  background: var(--primary);
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  background: var(--secondary);
  opacity: 1;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--primary);
}

/* Feature Cards */
.feature-card {
  transform: translateY(0);
  transition: transform 0.3s ease;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(7, 49, 107, 0.1);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 40px rgba(7, 49, 107, 0.2);
}

/* Navbar Background Change on Scroll */
.nav-scrolled {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-80) 100%) !important;
  backdrop-filter: blur(10px);
}

/* Smooth Scroll Behavior */
html {
  scroll-behavior: smooth;
  scrollbar-width: none;
  /* For Firefox */
  -ms-overflow-style: none;
  /* For Internet Explorer and Edge */
}

html::-webkit-scrollbar {
  display: none;
  /* For Chrome, Safari, and Opera */
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Product Slider Styles */
.swiper-slide {
  opacity: 0.4;
  transition: opacity 0.3s ease;
}

.swiper-slide-active {
  opacity: 1;
}

/* Custom Animations */
@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-10px);
  }
}

.float-animation {
  animation: float 6s ease-in-out infinite;
}

/* Responsive Video Background */
@media (max-width: 768px) {
  .video-background {
    height: 100vh;
    width: auto;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile Menu Styles */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(7, 49, 107, 0.95);
  backdrop-filter: blur(20px);
  transition: right 0.3s ease-in-out;
  z-index: 100;
}

.mobile-menu.active {
  right: 0;
}

/* Loading Animation */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loading-circle {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Footer Styles */
.footer {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.98) 100%);
  border-top: 1px solid rgba(199, 33, 33, 0.1);
  padding: 3rem 0 1rem;
}

.footer a:hover {
  color: var(--secondary);
}

/* Stats Section */
.stats-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-80) 100%);
  color: var(--white);
}

.stat-card {
  text-align: center;
  padding: 2rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* Product Showcase */
.product-showcase {
  position: relative;
  opacity: 0;
  transform: translateY(100px);
  transition: all 0.6s ease;
}

.product-showcase.animate {
  opacity: 1;
  transform: translateY(0);
}

.product-showcase:hover {
  transform: translateY(-10px);
}

.product-container {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.product-image-container {
  position: relative;
  width: 100%;
  padding-top: 100%;
  /* Creates a square aspect ratio */
}

.product-image-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease-out;
}

.product-content {
  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0.95) 0%,
      rgba(255, 255, 255, 0.95) 100%);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease;
}

.product-subtitle {
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  opacity: 0.8;
  font-weight: 300;
}

.product-title {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-80) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.product-tagline {
  font-weight: 300;
  line-height: 1.4;
  letter-spacing: -0.01em;
  max-width: 80%;
  margin: 0 auto;
}

.product-links {
  margin-top: 2rem;
}

.product-links a {
  position: relative;
  transition: all 0.3s ease;
}

.product-links a svg {
  transition: transform 0.3s ease;
}

.product-links a:hover svg {
  transform: translateX(4px);
}

/* Products Grid */
#products {
  background: linear-gradient(to bottom, var(--gray-100), var(--white));
  position: relative;
  overflow: hidden;
}

#products::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gray-300), transparent);
}

@media (max-width: 768px) {
  .product-content {
    padding: 1.5rem;
  }

  .product-title {
    font-size: 1.5rem;
  }

  .product-tagline {
    font-size: 1rem;
    max-width: 90%;
  }

  .product-links {
    gap: 1rem;
  }
}

@media (max-width: 1024px) {
  .product-showcase {
    padding: 2rem 0;
  }

  .product-showcase h2 {
    font-size: 2.5rem;
  }
}

/* Product Card Content Alignment and Styling */
#products .group .relative>div:last-of-type {
  text-align: center;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

#products .group h3 span,
#products .group .price {
  color: var(--white) !important;
  -webkit-background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  background-clip: initial !important;
  background: none !important;
}

#products .group .space-y-3>.flex {
  justify-content: center;
}

#products .group .gap-4 {
  justify-content: center;
}

/* Product Card Button Styling */
#products .group .btn-primary,
#products .group .btn-secondary {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  color: var(--white) !important;
  text-decoration: underline !important;
  font-weight: 500 !important;
  font-size: 1rem !important;
  box-shadow: none !important;
}

#products .group .btn-primary:hover,
#products .group .btn-secondary:hover {
  transform: none !important;
  color: var(--secondary) !important;
}

/* Service Card Styles */
.service-card {
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.6s ease;
}

.service-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card .bg-gray-800 {
  border: 1px solid rgba(199, 33, 33, 0.1);
  transition: all 0.3s ease;
  background: linear-gradient(135deg, rgba(52, 58, 64, 0.8) 0%, rgba(52, 58, 64, 0.9) 100%);
}

.service-card:hover .bg-gray-800 {
  border-color: var(--secondary);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  background: linear-gradient(135deg, rgba(52, 58, 64, 0.9) 0%, rgba(52, 58, 64, 1) 100%);
}

.service-card .w-20.h-20 {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
}

.service-card:hover .w-20.h-20 {
  background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary-lighter) 100%);
}

/* Stats Card Styles */
.stat-card {
  opacity: 0;
  transform: translateY(40px);
}

/* Utility Classes */
.text-secondary {
  color: var(--secondary);
}

/* Enhanced Color Accents */
.text-accent-gold {
  color: var(--accent-gold);
}

.text-accent-orange {
  color: var(--accent-orange);
}

.text-accent-teal {
  color: var(--accent-teal);
}

.bg-accent-gold {
  background-color: var(--accent-gold);
}

.bg-accent-orange {
  background-color: var(--accent-orange);
}

.bg-accent-teal {
  background-color: var(--accent-teal);
}

/* Feature Highlights */
.feature-highlight {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-orange) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-content p {
    font-size: 1.125rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
    margin: 0.5rem 0;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 50px !important;
    height: 50px !important;
  }

  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 20px !important;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #000;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-80);
}

/* Form Styles */
input,
textarea {
  border: 1px solid var(--gray-600) !important;
  color: white !important;
}

input:focus,
textarea:focus {
  border-color: var(--primary) !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(7, 49, 107, 0.2) !important;
}

/* Logo Styles */
.logo img {
  transition: transform 0.3s ease;
}

.logo:hover img {
  transform: scale(1.1);
}

/* Section Styles */
.section {
  padding: 120px 0;
  position: relative;
  margin-bottom: 0;
}

.section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--secondary), transparent);
}

/* Remove the top border for services and showcase sections */
#services::before,
#showcase::before {
  display: none;
}

/* Remove margin-bottom override since we set it to 0 globally */

/* About Section - No Gap */
#about {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-80) 100%);
  margin-top: -60px;
  /* Remove gap by pulling up */
  padding-top: 60px;
  /* Add padding to compensate */
  position: relative;
  z-index: 2;
  border-radius: 50px 50px 0 0;
  /* Rounded top corners */
  box-shadow: 0 -20px 40px rgba(0, 0, 0, 0.3);
  /* Shadow for depth */
}

/* About Section Animation Classes */
.about-animate-in {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.about-animate-in.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation for about content */
.about-title {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0.2s;
}

.about-subtitle {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0.4s;
}

.about-values {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0.6s;
}

.about-btn-link {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0.8s;
}

.about-image {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transition-delay: 0.3s;
}

/* Animation trigger classes */
.about-animate-in.animate .about-title,
.about-animate-in.animate .about-subtitle,
.about-animate-in.animate .about-values,
.about-animate-in.animate .about-btn-link,
.about-animate-in.animate .about-image {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Products Section */
#products {
  background: var(--black);
}

/* Services Section */
/* Background handled inline in HTML */

/* Showcase Section */
#showcase {
  background: var(--black);
}

/* Support Section */
/* Background handled inline in HTML */

/* Contact Section */
#contact {
  background: var(--black);
}

/* Additional Light Color Utilities */
.bg-primary-light {
  background-color: var(--primary-light) !important;
}

.bg-primary-lighter {
  background-color: var(--primary-lighter) !important;
}

.bg-secondary-light {
  background-color: var(--secondary-light) !important;
}

.bg-secondary-lighter {
  background-color: var(--secondary-lighter) !important;
}

.text-primary-light {
  color: var(--primary-light) !important;
}

.text-primary-lighter {
  color: var(--primary-lighter) !important;
}

.text-secondary-light {
  color: var(--secondary-light) !important;
}

.text-secondary-lighter {
  color: var(--secondary-lighter) !important;
}

/* Gradient Backgrounds */
.bg-gradient-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}

.bg-gradient-secondary {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
}

.bg-gradient-accent {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
}

/* Hover Effects with Light Colors */
.hover-primary-light:hover {
  background: var(--primary-light) !important;
}

.hover-secondary-light:hover {
  background: var(--secondary-light) !important;
}

.hover-text-primary-light:hover {
  color: var(--primary-light) !important;
}

.hover-text-secondary-light:hover {
  color: var(--secondary-light) !important;
}

/* Text Gradients */
.text-gradient-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary-lighter) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-secondary {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 50%, var(--secondary-lighter) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Border Accents */
.border-accent {
  border: 2px solid transparent;
  background: linear-gradient(white, white) padding-box,
    linear-gradient(135deg, var(--secondary), var(--primary)) border-box;
}

.border-accent-light {
  border: 2px solid transparent;
  background: linear-gradient(white, white) padding-box,
    linear-gradient(135deg, var(--secondary-light), var(--primary-light)) border-box;
}

/* Badges */
.badge-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
}

.badge-secondary {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  color: var(--white);
}

.badge-accent {
  background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-gold-light) 100%);
  color: var(--black);
}

/* Alerts */
.alert-error {
  background: linear-gradient(135deg, rgba(199, 33, 33, 0.1) 0%, rgba(199, 33, 33, 0.15) 100%);
  border-color: var(--secondary);
  color: var(--secondary);
}

.alert-info {
  background: linear-gradient(135deg, rgba(7, 49, 107, 0.1) 0%, rgba(7, 49, 107, 0.15) 100%);
  border-color: var(--primary);
  color: var(--primary);
}

/* Section Title Decorations */
.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--secondary-light) 100%);
  border-radius: 2px;
}

/* Product Cards */
.product-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(199, 33, 33, 0.1);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(199, 33, 33, 0.1), transparent);
  transition: left 0.5s;
}

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

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(199, 33, 33, 0.2);
  border-color: var(--secondary);
  background: rgba(255, 255, 255, 0.08);
}

.product-card .price {
  font-size: 1.25rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}

.product-card .features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary-light);
  font-weight: bold;
}

/* Showcases */
.showcase-item:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(199, 33, 33, 0.3);
}

/* Support Icons */
.support-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: all 0.3s ease;
}

.support-icon:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 10px 25px rgba(199, 33, 33, 0.3);
  background: linear-gradient(135deg, var(--secondary-light) 0%, var(--secondary-lighter) 100%);
}

/* Contact Form */
.contact-form {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.08) 100%);
  border: 1px solid rgba(199, 33, 33, 0.1);
  border-radius: 20px;
  padding: 3rem;
  backdrop-filter: blur(10px);
}

.form-control {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(199, 33, 33, 0.2);
  border-radius: 10px;
  padding: 1rem;
  color: var(--white);
  transition: all 0.3s ease;
}

.form-control::placeholder {
  color: var(--gray-400);
}

.form-control:focus {
  border-color: var(--secondary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(199, 33, 33, 0.2);
  background: rgba(255, 255, 255, 0.15);
}

/* Contact Info */
.contact-info {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.08) 100%);
  border: 1px solid rgba(199, 33, 33, 0.1);
  border-radius: 20px;
  padding: 3rem;
  backdrop-filter: blur(10px);
}

.contact-info-item {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1rem;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.contact-info-item:hover {
  background: linear-gradient(135deg, rgba(199, 33, 33, 0.1) 0%, rgba(199, 33, 33, 0.15) 100%);
  transform: translateX(10px);
}

.contact-info-item svg {
  color: var(--secondary);
  margin-right: 1rem;
  flex-shrink: 0;
  transition: color 0.3s ease;
}

.contact-info-item:hover svg {
  color: var(--secondary-light);
}

.footer-section h3 {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
  .section {
    padding: 80px 0;
    margin-bottom: 15px;
  }

  .hero-section {
    margin-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 60px 0;
    margin-bottom: 10px;
  }

  .hero-section {
    margin-bottom: 30px;
  }
}

/* Services Carousel */
.services-carousel {
  position: relative;
}

.services-carousel .flex {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
}

.service-card-carousel {
  transition: all 0.3s ease;
}

.service-card-carousel:hover {
  z-index: 10;
}

.service-card-carousel .bg-gray-800 {
  position: relative;
  overflow: hidden;
}

.service-card-carousel .bg-gray-800::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(199, 33, 33, 0.1), transparent);
  transition: left 0.5s;
}

.service-card-carousel:hover .bg-gray-800::before {
  left: 100%;
}

.carousel-nav-btn {
  backdrop-filter: blur(10px);
  border: 1px solid rgba(199, 33, 33, 0.2);
}

.carousel-nav-btn:hover {
  border-color: var(--secondary);
  box-shadow: 0 0 20px rgba(199, 33, 33, 0.3);
}

/* Enhanced hover animations for service cards */
.service-card-carousel .bg-gray-800:hover {
  transform: scale(1.05) translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.service-card-carousel .w-20.h-20:hover {
  animation: pulse 1s infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1.25);
  }

  50% {
    transform: scale(1.35);
  }
}

/* Responsive carousel */
@media (max-width: 768px) {
  .service-card-carousel {
    width: 280px !important;
  }

  .services-carousel .flex {
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .service-card-carousel {
    width: 260px !important;
  }
}

/* Services Carousel - Contract/Expand Effect */
.services-carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 2rem 0;
}

.services-carousel-wrapper {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 1rem;
  transition: all 0.5s ease;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  height: 400px;
}

.service-card-expand {
  flex: 1;
  transition: flex-basis 0.11s cubic-bezier(.4, 1, .6, 1), box-shadow 0.09s, border 0.09s, background 0.09s, color 0.09s;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.service-card-expand.active {
  flex: 2.5;
}

.service-card-expand:hover {
  flex: 2.5;
}

.service-card-inner {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.5rem;
  padding: 1.5rem 1rem;
  text-align: center;
  height: 100%;
  transition: all 0.18s cubic-bezier(.4, 1, .6, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-card-expand.active .service-card-inner {
  justify-content: flex-start;
  padding-top: 2.5rem;
}

.service-card-inner p,
.service-card-inner a {
  opacity: 0;
  max-height: 0;
  margin-bottom: 0;
  overflow: hidden;
  transition: opacity 0.10s cubic-bezier(.4, 1, .6, 1), max-height 0.10s cubic-bezier(.4, 1, .6, 1);
}

/* Icon animations */
.service-card-expand:hover .service-card-inner svg,
.service-card-expand.active .service-card-inner svg {
  transform: scale(1.2);
}

/* Text animations */
.service-card-inner h3 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 0.10s cubic-bezier(.4, 1, .6, 1), transform 0.10s cubic-bezier(.4, 1, .6, 1);
}

.service-card-expand.active .service-card-inner h3,
.service-card-expand:hover .service-card-inner h3 {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Expand content on hover or when active */
.service-card-expand:hover .service-card-inner p,
.service-card-expand:hover .service-card-inner a,
.service-card-expand.active .service-card-inner p,
.service-card-expand.active .service-card-inner a {
  opacity: 1;
  max-height: 500px;
  margin-bottom: 1rem;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .services-carousel-wrapper {
    gap: 0.75rem;
    padding: 0 0.5rem;
  }

  .service-card-expand {
    width: 200px;
    height: 320px;
  }
}

@media (max-width: 768px) {
  .services-carousel-wrapper {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    max-width: 400px;
  }

  .service-card-expand {
    width: 100%;
    max-width: 350px;
    height: auto;
    min-height: 300px;
  }

  .service-card-expand:hover {
    transform: none;
  }

  .service-card-expand:not(:hover) {
    transform: none;
    opacity: 1;
  }

  .service-card-expand:not(:hover) .service-card-inner h3 {
    transform: none;
    font-size: 1.5rem;
  }

  .service-card-expand:not(:hover) .service-card-inner svg {
    transform: none;
  }

  .service-card-expand:not(:hover) .service-card-inner p,
  .service-card-expand:not(:hover) .service-card-inner a {
    opacity: 1 !important;
    max-height: none !important;
    margin-bottom: 1rem !important;
  }
}

/* Support Section Styling - Updated for blue theme */
#support .grid>div {
  padding: 2rem 1rem;
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  /* Light border for blue theme */
  transition: all 0.3s ease;
}

#support .grid>div:hover {
  border-color: rgba(255, 255, 255, 0.4);
  /* White border on hover */
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
}

#support .grid>div .w-16 {
  width: 6rem;
  /* 96px */
  height: 6rem;
  /* 96px */
  transition: all 0.3s ease;
}

#support .grid>div:hover .w-16 {
  transform: scale(1.1);
}

#support .grid>div:hover svg {
  color: #d72638;
}

#support .grid>div .w-8 {
  width: 3rem;
  /* 48px */
  height: 3rem;
  /* 48px */
}

/* Minimal Modern About Section Styles */
.about-modern {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  min-height: 60vh;
  position: relative;
  z-index: 1;
}

.about-title {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .about-title {
    font-size: 3.5rem;
  }
}

.about-subtitle {
  color: var(--gray-300);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 2.5rem;
  max-width: 32rem;
}

/* About Section Feature Card Consistency & Red Drop Shadow */
.about-value {
  min-width: 120px;
  max-width: 180px;
  min-height: 120px;
  max-height: 180px;
  background: rgba(255, 255, 255, 0.10);
  border-radius: 1.5rem;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  padding: 1.5rem 1rem 1.25rem 1rem;
  transition: box-shadow 0.2s, transform 0.2s, border 0.2s, background 0.2s;
  z-index: 1;
}

.feature-glow {
  position: relative;
  z-index: 1;
}

.feature-glow::before {
  display: none;
}

.feature-glow:hover::before,
.feature-glow:focus::before {
  opacity: 1;
  filter: blur(12px);
}

.about-value:hover,
.about-value:focus {
  z-index: 2;
  overflow: visible;
  box-shadow: 0 8px 32px 0 rgba(199, 33, 33, 0.18);
  transform: translateY(-4px) scale(1.04);
}

.about-icon {
  margin-bottom: 0.5rem;
  z-index: 1;
}

.about-btn {
  background: var(--primary-light);
  color: var(--white);
  border: none;
  border-radius: 9999px;
  font-size: 1.125rem;
  font-weight: 600;
  padding: 0.75rem 2.5rem;
  box-shadow: 0 2px 12px 0 rgba(10, 74, 138, 0.10);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  outline: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.about-btn:hover,
.about-btn:focus {
  background: var(--white);
  color: var(--primary-light);
  box-shadow: 0 8px 32px 0 rgba(10, 74, 138, 0.18);
}

.about-btn span {
  transition: transform 0.3s;
}

.about-btn:hover span,
.about-btn:focus span {
  transform: translateX(6px);
}

.about-image {
  min-width: 260px;
  min-height: 18rem;
  max-width: 32rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 1024px) {
  .about-modern .container {
    flex-direction: column !important;
    gap: 3rem !important;
  }

  .about-image {
    margin-top: 2rem;
    min-height: 12rem;
  }

  .about-values {
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .about-title {
    font-size: 2rem;
  }

  .about-subtitle {
    font-size: 1rem;
  }

  .about-values {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .about-image {
    min-width: 180px;
    min-height: 8rem;
    max-width: 100%;
  }
}



/* Swiper slider for About section */
.about-swiper .swiper-pagination-bullet {
  background: var(--secondary);
  opacity: 0.7;
  width: 12px;
  height: 12px;
  margin: 0 4px !important;
  transition: background 0.2s, opacity 0.2s;
}

.about-swiper .swiper-pagination-bullet-active {
  background: var(--primary-light);
  opacity: 1;
}

/* Shiny Learn More Button */
.about-btn-shiny {
  background: linear-gradient(90deg, var(--primary-light) 0%, var(--secondary) 100%) !important;
  color: var(--white) !important;
  position: relative;
  overflow: hidden;
}

.about-btn-shiny .shiny-wipe {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0) 100%);
  opacity: 0.7;
  pointer-events: none;
  z-index: 1;
  transition: left 0.5s cubic-bezier(.4, 2, .6, 1), opacity 0.2s;
}

.about-btn-shiny .relative.z-10 {
  position: relative;
  z-index: 2;
}

.about-btn-shiny:hover,
.about-btn-shiny:focus {
  background: linear-gradient(90deg, var(--secondary) 0%, var(--primary-light) 100%) !important;
  color: var(--white) !important;
}

/* Responsive tweaks for About Swiper */
@media (max-width: 1024px) {
  .about-swiper {
    min-height: 12rem;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .about-swiper {
    min-height: 8rem;
    max-width: 100%;
  }
}

/* Learn More Button - Always Red Border */
.about-btn-shiny-solid {
  background: var(--primary-light) !important;
  color: var(--white) !important;
  border: 2px solid var(--secondary) !important;
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 12px 0 rgba(10, 74, 138, 0.10);
  transition: box-shadow 0.2s, border 0.2s, color 0.2s, background 0.2s;
}

.about-btn-shiny-solid .shiny-wipe {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.25) 50%, rgba(255, 255, 255, 0) 100%);
  opacity: 0.7;
  pointer-events: none;
  z-index: 1;
  transition: left 0.5s cubic-bezier(.4, 2, .6, 1), opacity 0.2s;
}

.about-btn-shiny-solid .relative.z-10 {
  position: relative;
  z-index: 2;
}

.about-btn-shiny-solid:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

.about-btn-red-highlight {
  box-shadow: 0 0 0 4px rgba(10, 74, 138, 0.2), 0 8px 32px 0 rgba(10, 74, 138, 0.15) !important;
  color: var(--primary-light) !important;
  background: var(--white) !important;
}

@media (max-width: 1024px) {
  .about-values {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .about-value {
    min-width: 100px;
    max-width: 100%;
    min-height: 120px;
    max-height: 160px;
    padding: 1.25rem 0.75rem 1rem 0.75rem;
  }
}

@media (max-width: 768px) {
  .about-values {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .about-value {
    min-width: 90px;
    min-height: 100px;
    padding: 1rem 0.5rem 0.75rem 0.5rem;
  }
}

/* About Section Image Slider - Rectangular, Modern Look */
.about-image {
  min-width: 500px;
  max-width: 1100px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-swiper {
  aspect-ratio: 16/10;
  width: 100%;
  max-width: 1100px;
  min-height: 340px;
  max-height: 600px;
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 12px 48px 0 rgba(199, 33, 33, 0.13), 0 2px 12px 0 rgba(2, 31, 61, 0.10);
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary) 100%);
  position: relative;
}

@media (max-width: 1200px) {

  .about-image,
  .about-swiper {
    max-width: 100%;
    min-width: 0;
    aspect-ratio: 16/10;
    min-height: 220px;
    max-height: 340px;
  }
}

@media (max-width: 768px) {

  .about-image,
  .about-swiper {
    max-width: 100%;
    min-width: 0;
    aspect-ratio: 16/10;
    min-height: 140px;
    max-height: 200px;
    border-radius: 1.2rem;
  }
}

.about-hero-parallax {
  position: relative;
  min-height: 420px;
  width: 100%;
  overflow: hidden;
  background: var(--primary);
  z-index: 1;
}

.about-hero-parallax .about-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  transition: transform 0.4s cubic-bezier(.4, 2, .6, 1);
  will-change: transform;
  filter: brightness(0.85) contrast(1.1) saturate(1.1);
}

.about-hero-parallax .bg-gradient-to-br {
  z-index: 1;
}

@media (max-width: 768px) {
  .about-hero-parallax {
    min-height: 320px;
    padding-top: 4rem;
    padding-bottom: 2rem;
  }

  .about-hero-parallax .about-hero-bg {
    filter: brightness(0.7) contrast(1.1);
  }
}

@keyframes about-gradient-move-circular {
  0% {
    background-position: var(--about-gradient-offset, 0% 0%);
  }

  25% {
    background-position: 100% 0%;
  }

  50% {
    background-position: 100% 100%;
  }

  75% {
    background-position: 0% 100%;
  }

  100% {
    background-position: var(--about-gradient-offset, 0% 0%);
  }
}

.about-section-bg {
  background: linear-gradient(120deg, rgba(7, 49, 107, 0.28) 0%, rgba(255, 255, 255, 0.90) 50%, rgba(199, 33, 33, 0.28) 100%);
  background-size: 200% 200%;
  animation: about-gradient-move-circular 16s linear infinite;
  position: relative;
  z-index: 1;
}

.about-section-bg:nth-of-type(2) {
  --about-gradient-offset: 50% 0%;
}

.about-section-bg:nth-of-type(3) {
  --about-gradient-offset: 100% 50%;
}

.about-section-bg:nth-of-type(4) {
  --about-gradient-offset: 50% 100%;
}

.about-section-bg .glass-card {
  background: rgba(255, 255, 255, 0.70);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px 0 rgba(10, 74, 138, 0.10);
  border-radius: 1.5rem;
  transition: box-shadow 0.2s, transform 0.2s, border 0.2s, background 0.2s;
  margin: 0 auto;
  position: relative;
}

.about-section-bg .glass-card:hover,
.about-section-bg .glass-card:focus {
  box-shadow: 0 16px 40px 0 rgba(10, 74, 138, 0.18);
  transform: translateY(-4px) scale(1.04);
  background: rgba(255, 255, 255, 0.85);
}

.glass-shine::after {
  content: '';
  pointer-events: none;
  position: absolute;
  top: -40%;
  left: -40%;
  width: 180%;
  height: 180%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.0) 0%, rgba(255, 255, 255, 0.18) 50%, rgba(255, 255, 255, 0.0) 100%);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 2;
  border-radius: inherit;
}

.glass-card:hover.glass-shine::after,
.glass-card:focus.glass-shine::after {
  opacity: 1;
}

@media (max-width: 768px) {
  .about-section-bg .glass-card {
    padding: 1.5rem 0.75rem 1rem 0.75rem;
    min-width: 0;
    max-width: 100%;
  }
}

.modern-service-card {
  background: transparent;
  box-shadow: 0 4px 32px 0 rgba(10, 74, 138, 0.10);
  border-radius: 2rem;
  min-width: 0;
  overflow: hidden;
  transition: flex-basis 0.35s cubic-bezier(.4, 1, .6, 1), box-shadow 0.25s, border 0.25s, background 0.25s, color 0.25s;
  flex-basis: 0;
  border: 2px solid transparent;
}

.modern-service-card.active,
.modern-service-card:hover {
  box-shadow: 0 8px 40px 0 rgba(199, 33, 33, 0.18);
  border-color: #c72121;
  flex-basis: 420px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.1);
}

.modern-service-card .service-card-inner p {
  transition-delay: 0.18s;
}

.modern-service-card .service-card-inner a {
  transition-delay: 0.32s;
}

.modern-service-card.active .service-card-inner p,
.modern-service-card.active .service-card-inner a,
.modern-service-card:hover .service-card-inner p,
.modern-service-card:hover .service-card-inner a {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 1024px) {
  .modern-service-card {
    flex-basis: 180px;
  }
}

/* Service Card Title Stack for Morphing Animation - Ultimate Smoothness */
.service-title-stack {
  position: relative;
  height: 2.5rem;
  margin-bottom: 0.5rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-mini-title {
  opacity: 1;
  transform: scale(1) translateY(0);
  transform-origin: top center;
  transition: opacity 0.22s cubic-bezier(.4, 1, .6, 1), transform 0.22s cubic-bezier(.4, 1, .6, 1);
  pointer-events: auto;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 1;
}

.service-card-expand.active .service-mini-title,
.service-card-expand:hover .service-mini-title {
  opacity: 0;
  transform: scale(0.7) translateY(-10px);
  pointer-events: none;
}

.service-title-full {
  opacity: 0;
  transform: scale(0.7) translateY(10px);
  transform-origin: top center;
  transition: opacity 0.22s cubic-bezier(.4, 1, .6, 1), transform 0.22s cubic-bezier(.4, 1, .6, 1);
  pointer-events: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 2;
  margin-bottom: 0;
}

.service-card-expand.active .service-title-full,
.service-card-expand:hover .service-title-full {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
  /* No transition-delay for instant morph */
}

/* Service Card Content Reveal Animation - Liquid Smooth */
.service-desc {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.32s cubic-bezier(.4, 1, .6, 1), transform 0.32s cubic-bezier(.4, 1, .6, 1);
  pointer-events: none;
}

.service-card-expand.active .service-desc,
.service-card-expand:hover .service-desc {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition-delay: 0.16s;
}

.service-link {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.32s cubic-bezier(.4, 1, .6, 1), transform 0.32s cubic-bezier(.4, 1, .6, 1);
  pointer-events: none;
}

.service-card-expand.active .service-link,
.service-card-expand:hover .service-link {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  transition-delay: 0.24s;
}

/* Awwwards-Style Services Section */
.services-showcase {
  position: relative;
  z-index: 10;
}

.active-service-display {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.active-service-icon {
  position: relative;
}

.active-service-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, rgba(239, 68, 68, 0.3) 100%);
  border-radius: 50%;
  filter: blur(20px);
  animation: pulse 2s ease-in-out infinite;
}

.active-service-features span {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.active-service-features span:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.services-grid {
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.service-card {
  position: relative;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(239, 68, 68, 0.1) 100%);
  border-radius: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card-inner {
  position: relative;
  overflow: hidden;
}

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

.service-card:hover .service-card-inner::after {
  left: 100%;
}

.service-icon {
  position: relative;
}

.service-icon::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, rgba(239, 68, 68, 0.2) 100%);
  border-radius: 50%;
  filter: blur(15px);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover .service-icon::before {
  opacity: 1;
}

.service-indicator {
  position: relative;
  overflow: hidden;
}

.service-indicator::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.service-card:hover .service-indicator::after {
  transform: translateX(100%);
}

/* Background Animation Delays */
.animation-delay-2000 {
  animation-delay: 2s;
}

.animation-delay-4000 {
  animation-delay: 4s;
}

/* Responsive Design */
@media (max-width: 768px) {
  .active-service-display {
    margin-bottom: 2rem;
  }

  .active-service-title {
    font-size: 2.5rem;
  }

  .active-service-description {
    font-size: 1rem;
  }

  .active-service-features {
    gap: 0.5rem;
  }

  .active-service-features span {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-card-inner {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .active-service-title {
    font-size: 2rem;
  }

  .active-service-icon .w-32 {
    width: 6rem;
    height: 6rem;
  }

  .active-service-icon svg {
    width: 3rem;
    height: 3rem;
  }
}

/* Glass Morphism Effects */
.backdrop-blur-sm {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Smooth Transitions */
.service-card,
.service-card-inner,
.service-icon,
.service-title,
.service-description,
.service-indicator {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover Effects */
.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

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

.service-card:hover .service-title {
  transform: translateY(-2px);
}

/* Active State Styles */
.service-card.active {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.service-card.active .service-card-inner {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.service-card.active .service-indicator {
  width: 100%;
}

/* Loading Animation */
@keyframes shimmer {
  0% {
    background-position: -200px 0;
  }

  100% {
    background-position: calc(200px + 100%) 0;
  }
}

.service-card.loading .service-card-inner {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.05) 25%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0.05) 75%);
  background-size: 200px 100%;
  animation: shimmer 1.5s infinite;
}

/* Japanese Awwwards-Style Products Section */
.products-showcase {
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  overflow: hidden;
}

.products-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.02) 0%, rgba(220, 38, 38, 0.02) 100%);
  z-index: 0;
}

.japanese-product-card {
  position: relative;
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.japanese-product-card::before {
  display: none;
}

.japanese-product-card:hover::before {
  display: none;
}

.japanese-product-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.08);
}

.japanese-product-card .bg-red-50 {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.08) 0%, rgba(220, 38, 38, 0.08) 100%);
  border: 1px solid rgba(239, 68, 68, 0.15);
  transition: all 0.3s ease;
}

.japanese-product-card:hover .bg-red-50 {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(220, 38, 38, 0.12) 100%);
  border-color: rgba(239, 68, 68, 0.25);
  transform: scale(1.05);
}

.japanese-product-card img {
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

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

.japanese-product-card a {
  position: relative;
  overflow: hidden;
}

.japanese-product-card a::before {
  display: none;
}

.japanese-product-card a:hover::before {
  display: none;
}

/* Responsive Design for Products */
@media (max-width: 768px) {
  .products-showcase {
    padding: 4rem 0;
  }

  .japanese-product-card {
    margin-bottom: 2rem;
  }

  .japanese-product-card:hover {
    transform: translateY(-8px) scale(1.01);
  }
}

@media (max-width: 480px) {
  .products-showcase h2 {
    font-size: 3rem;
  }

  .japanese-product-card {
    border-radius: 1rem;
  }
}

/* Mobile Products Carousel Styles */
.products-mobile-swiper {
  padding: 0 20px;
  margin-bottom: 2rem;
  overflow: visible;
}

.products-mobile-swiper .swiper-slide {
  height: auto;
  padding: 0 10px;
}

.products-mobile-swiper .swiper-wrapper {
  align-items: stretch;
}

.products-mobile-swiper .product-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.products-mobile-swiper .product-card-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Ensure carousel is visible on mobile */
@media (max-width: 768px) {
  .products-mobile-swiper {
    padding: 0;
    display: block !important;
  }

  .products-mobile-swiper .swiper-slide {
    padding: 0 5px;
  }

  /* Make product cards smaller on mobile */
  .products-mobile-swiper .product-card-inner {
    padding: 1rem !important;
  }

  .products-mobile-swiper .product-card-inner .relative.h-72 {
    height: 12rem !important;
  }

  .products-mobile-swiper .product-title {
    font-size: 1.25rem !important;
    margin-bottom: 0.5rem !important;
  }

  .products-mobile-swiper .product-description {
    font-size: 0.875rem !important;
    margin-bottom: 1rem !important;
  }

  .products-mobile-swiper .space-y-3 {
    margin-bottom: 1rem !important;
  }

  .products-mobile-swiper .space-y-3 .flex {
    font-size: 0.75rem !important;
  }

  /* Hide desktop grid on mobile */
  .products-grid.hidden {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .products-mobile-swiper {
    padding: 0;
  }

  .products-mobile-swiper .swiper-slide {
    padding: 0 2px;
  }

  /* Even smaller on very small screens */
  .products-mobile-swiper .product-card-inner {
    padding: 0.75rem !important;
  }

  .products-mobile-swiper .product-card-inner .relative.h-72 {
    height: 10rem !important;
  }

  .products-mobile-swiper .product-title {
    font-size: 1.125rem !important;
  }

  .products-mobile-swiper .text-3xl {
    font-size: 1.5rem !important;
  }
}

/* Touch-friendly carousel */
.products-mobile-swiper .swiper-slide {
  touch-action: pan-y pinch-zoom;
}

.products-mobile-swiper .product-card {
  touch-action: manipulation;
}

/* Simplified Product Card Animations */
.product-card-inner {
  transition: all 0.3s ease-out !important;
  border: 1px solid #e5e7eb !important;
  /* Added for simple border */
}

.product-card-inner:hover {
  transform: scale(1.01) !important;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
  /* Lighter shadow */
}

.product-card-inner img {
  transition: transform 0.3s ease-out !important;
}

.product-card-inner:hover img {
  transform: none !important;
}

.product-card-inner .absolute.inset-0 {
  /* For image overlay */
  transition: all 0.3s ease-out !important;
}

.product-card-inner:hover .absolute.inset-0 {
  background-color: rgba(0, 0, 0, 0.03) !important;
  /* Lighter overlay */
}

.product-title {
  transition: color 0.3s ease-out !important;
}

.product-card-inner span {
  /* For View Details text */
  transition: all 0.3s ease-out !important;
}

.product-card-inner svg {
  /* For View Details arrow */
  transition: transform 0.3s ease-out !important;
}

.product-card-inner .w-0.h-px {
  /* For indicator line */
  display: none !important;
  /* Hidden globally */
}

/* Border frame animations */
.product-card-inner .absolute.top-0.left-0,
.product-card-inner .absolute.bottom-0.right-0 {
  transition: background-color 0.3s ease-out !important;
}







/* Fixed Showcase Reel - Proper Horizontal Scrolling */
@keyframes scroll-rtl {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-320px * 4));
  }
}

/* Consolidated Showcase Reel RTL Styles */
.showcase-reel-rtl {
  display: flex !important;
  flex-direction: row !important;
  animation: scroll-rtl 40s linear infinite !important;
  width: max-content !important;
  gap: 1.5rem !important;
  /* Add spacing between cards */
  margin-left: 0 !important;
  /* Start from true left edge */
  flex-shrink: 0 !important;
  overflow: hidden !important;
  /* Prevent horizontal scrollbar */
}

.showcase-reel-rtl:hover {
  animation-play-state: running !important;
}

/* Override any Tailwind animation classes */
.showcase-reel-rtl.animate-scroll-rtl {
  animation: scroll-rtl 40s linear infinite !important;
}

/* Second row - Left to Right animation */
@keyframes scroll-ltr {
  0% {
    transform: translateX(calc(-320px * 4));
  }

  100% {
    transform: translateX(0);
    /* Move to the beginning */
  }
}

.showcase-reel-ltr {
  display: flex !important;
  flex-direction: row !important;
  animation: scroll-ltr 40s linear infinite !important;
  width: max-content !important;
  gap: 1.5rem !important;
  /* Add spacing between cards */
  margin-left: 0 !important;
  /* Start from true left edge */
  flex-shrink: 0 !important;
  overflow: hidden !important;
}

.showcase-reel-ltr:hover {
  animation-play-state: running !important;
}

.showcase-reel-ltr>* {
  flex-shrink: 0;
  width: 320px;
  margin: 0 0.5rem;
  /* Add small margin to each card */
}

/* Add padding to first and last cards for screen edge spacing */
.showcase-reel-ltr>*:first-child {
  margin-left: 1rem;
}

.showcase-reel-ltr>*:last-child {
  margin-right: 1rem;
}

.showcase-reel-ltr.animate-scroll-ltr {
  animation: scroll-ltr 40s linear infinite !important;
}

/* Always show showcase card labels and overlays */
.showcase-reel-rtl .absolute.inset-0,
.showcase-reel-ltr .absolute.inset-0 {
  opacity: 1 !important;
}

.showcase-reel-rtl .absolute.bottom-4.left-4,
.showcase-reel-ltr .absolute.bottom-4.left-4 {
  opacity: 1 !important;
}

/* Make showcase reels look like actual reels with white background */
.showcase-reel-rtl,
.showcase-reel-ltr {
  background: white !important;
  padding: 2rem 0 !important;
  border-radius: 0 !important;
  margin: 0 !important;
  box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.1), inset 0 -1px 0 rgba(0, 0, 0, 0.1) !important;
}

/* Enhance text readability for always-visible labels */
.showcase-reel-rtl .absolute.bottom-4.left-4 h3,
.showcase-reel-ltr .absolute.bottom-4.left-4 h3 {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8) !important;
  font-weight: 700 !important;
}

.showcase-reel-rtl .absolute.bottom-4.left-4 p,
.showcase-reel-ltr .absolute.bottom-4.left-4 p {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8) !important;
  font-weight: 500 !important;
}

/* Add subtle shadow to cards for better definition on white background */
.showcase-reel-rtl .relative.overflow-hidden.rounded-2xl,
.showcase-reel-ltr .relative.overflow-hidden.rounded-2xl {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  transition: box-shadow 0.3s ease !important;
}

.showcase-reel-rtl .relative.overflow-hidden.rounded-2xl:hover,
.showcase-reel-ltr .relative.overflow-hidden.rounded-2xl:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
}

.showcase-reel-rtl>* {
  flex-shrink: 0;
  width: 320px;
  margin: 0 0.5rem;
  /* Add small margin to each card */
}

/* Add padding to first and last cards for screen edge spacing */
.showcase-reel-rtl>*:first-child {
  margin-left: 1rem;
}

.showcase-reel-rtl>*:last-child {
  margin-right: 1rem;
}

/* Responsive adjustments for showcase reel */
@media (max-width: 768px) {
  .showcase-reel-rtl {
    animation-duration: 20s;
  }

  .showcase-reel-ltr {
    animation-duration: 20s;
  }
}

@media (max-width: 480px) {
  .showcase-reel-rtl {
    animation-duration: 15s;
  }

  .showcase-reel-ltr {
    animation-duration: 15s;
  }
}

/* Custom animations for products section background elements */
@keyframes circular-move {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  25% {
    transform: translate(10px, -10px) rotate(90deg);
  }

  50% {
    transform: translate(0, -20px) rotate(0deg);
  }

  75% {
    transform: translate(-10px, -10px) rotate(-90deg);
  }

  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

@keyframes slide-lr {
  0% {
    transform: translateX(-10px);
  }

  50% {
    transform: translateX(10px);
  }

  100% {
    transform: translateX(-10px);
  }
}

@keyframes float-up {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes float-down {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(8px);
  }
}

/* Aerial Drone Animations */
@keyframes float {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }

  25% {
    transform: translateY(-15px) rotate(2deg) scale(1.05);
  }

  50% {
    transform: translateY(-25px) rotate(0deg) scale(1.1);
  }

  75% {
    transform: translateY(-15px) rotate(-2deg) scale(1.05);
  }
}

@keyframes float-delayed {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }

  25% {
    transform: translateY(-12px) rotate(-1deg) scale(1.03);
  }

  50% {
    transform: translateY(-20px) rotate(0deg) scale(1.06);
  }

  75% {
    transform: translateY(-12px) rotate(1deg) scale(1.03);
  }
}

@keyframes float-slow {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg) scale(1);
  }

  25% {
    transform: translateY(-8px) rotate(1deg) scale(1.02);
  }

  50% {
    transform: translateY(-15px) rotate(0deg) scale(1.04);
  }

  75% {
    transform: translateY(-8px) rotate(-1deg) scale(1.02);
  }
}

@keyframes aerial-hover {

  0%,
  100% {
    transform: translateY(0px) rotate(1deg);
  }

  50% {
    transform: translateY(-5px) rotate(0deg);
  }
}

@keyframes pulse-aerial {

  0%,
  100% {
    opacity: 0.8;
    transform: scale(1);
  }

  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

.animate-float {
  animation: float 8s ease-in-out infinite;
}

.animate-float-delayed {
  animation: float-delayed 10s ease-in-out infinite;
}

.animate-float-slow {
  animation: float-slow 12s ease-in-out infinite;
}

.animate-aerial-hover {
  animation: aerial-hover 4s ease-in-out infinite;
}

.animate-pulse-aerial {
  animation: pulse-aerial 3s ease-in-out infinite;
}

/* Optimized Animations for Better Performance */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.8;
  }

  50% {
    opacity: 1;
  }
}

@keyframes slide-lr {

  0%,
  100% {
    transform: translateX(-10px);
  }

  50% {
    transform: translateX(10px);
  }
}

@keyframes circular-move {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  25% {
    transform: translate(10px, -10px) rotate(90deg);
  }

  50% {
    transform: translate(0, -20px) rotate(180deg);
  }

  75% {
    transform: translate(-10px, -10px) rotate(270deg);
  }

  100% {
    transform: translate(0, 0) rotate(360deg);
  }
}

@keyframes float-up {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes float-down {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(8px);
  }
}

/* Optimized Animation Classes */
.animate-fadein-up {
  animation: fadeInUp 0.8s ease-out forwards;
  will-change: transform, opacity;
}

.animate-fadein-left {
  animation: fadeInLeft 0.8s ease-out forwards;
  will-change: transform, opacity;
}

.animate-fadein-right {
  animation: fadeInRight 0.8s ease-out forwards;
  will-change: transform, opacity;
}

.float-animation {
  animation: float 4s ease-in-out infinite;
  will-change: transform;
}

.float-animation-delayed {
  animation: float 4s ease-in-out infinite;
  animation-delay: 2s;
  will-change: transform;
}

/* Optimized Transitions */
.transition-optimized {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
}

.transition-fast {
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
}

/* Optimized Scroll Animations */
.scroll-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  will-change: transform, opacity;
}

.scroll-animate.animate {
  opacity: 1;
  transform: translateY(0);
}

/* Optimized Product Card Animations */
.product-card {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, box-shadow;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Optimized Service Card Animations */
.service-card {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, background-color;
}

.service-card:hover {
  transform: translateY(-3px);
}

/* Optimized Navbar Transitions */
.navbar {
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
  will-change: background-color, backdrop-filter;
}

.navbar.scrolled {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
}

/* Optimized Button Animations */
.btn-primary,
.btn-secondary {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, background-color;
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-1px);
}

/* Optimized Image Transitions */
.img-responsive {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.img-responsive:hover {
  transform: scale(1.02);
}

/* Optimized Mobile Menu Animations */
.mobile-menu {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
}

/* Optimized Swiper Animations */
.swiper-slide {
  transition: opacity 0.3s ease;
  will-change: opacity;
}

/* Optimized Loading States */
.loading {
  transition: opacity 0.3s ease;
  will-change: opacity;
}

/* Optimized Form Animations */
.form-group input,
.form-group textarea {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  will-change: border-color, box-shadow;
}

/* Optimized Lightbox Animations */
.lightbox {
  transition: opacity 0.3s ease;
  will-change: opacity;
}

/* Performance Optimizations */
* {
  box-sizing: border-box;
}

/* Optimize for GPU acceleration */
.transform-gpu {
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

/* Reduce repaints */
.fixed {
  transform: translateZ(0);
}

/* Optimize images */
img {
  max-width: 100%;
  height: auto;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Optimize scrolling */
html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Optimize text rendering */
.text-optimized {
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1;
  font-kerning: normal;
}

/* Optimize animations for reduced motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================
   TEMPORARY: Hide Products Section & Navlinks
   ============================================
   To show products again, comment out or remove the rules below.
   ============================================ */

/* Hide Products Section */
#products {
  display: none !important;
}

/* Hide Products Dropdown Elements in Desktop Navbar */
.products-coming-soon,
#products-dropdown,
.dropdown .products-coming-soon,
.dropdown #products-dropdown {
  display: none !important;
}

/* Hide Products Mobile Dropdown Elements */
.mobile-menu-links .products-coming-soon,
.mobile-menu-links [data-dropdown="products"],
button[data-dropdown="products"] {
  display: none !important;
}

/* Hide Products Dropdown Container - Target by structure */
/* Desktop: Hide dropdown that comes after "About Us" link */
.nav-links>a[href*="about-us"]+.dropdown {
  display: none !important;
}

/* Mobile: Hide the div wrapper containing products dropdown */
/* Note: This uses nth-child based on typical structure (3rd child after Home and About Us) */
.mobile-menu-links>div:nth-child(3) {
  display: none !important;
}

*,
*::before,
*::after {
  font-family: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.serif-heading,
.page-title,
.drone-title,
.cta-title,
.hero-title,
.nav-brand {
  font-family: var(--font-primary);
  font-weight: 700;
}