
/* ===================================
   CSS RESET & NORMALIZE
   =================================== */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Prevent horizontal overflow globally */
body, html {
  max-width: 100%;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: 'Open Sans', 'Arial', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
  overflow-x: hidden;
}

/* ===================================
   CUSTOM SCROLLBAR
   =================================== */

/* Scrollbar for Webkit browsers (Chrome, Safari, Edge) */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: var(--background);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary-blue), var(--secondary-blue));
  border-radius: 10px;
  border: 2px solid var(--background);
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--secondary-blue), var(--accent-blue));
  border-color: rgba(32, 64, 154, 0.1);
  box-shadow: 0 0 6px rgba(32, 64, 154, 0.4);
}

::-webkit-scrollbar-thumb:active {
  background: var(--accent-blue);
}

/* Scrollbar corner where horizontal and vertical scrollbars meet */
::-webkit-scrollbar-corner {
  background: var(--background);
}

/* Firefox scrollbar styling */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--primary-blue) var(--background);
}

/* For dark sections, adjust scrollbar colors */
.section-dark::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
}

.section-dark::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-blue), var(--primary-blue));
  border-color: rgba(255, 255, 255, 0.05);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-normal);
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition-normal);
}

ul, ol {
  list-style: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* ===================================
   CSS VARIABLES (DESIGN SYSTEM)
   =================================== */

:root {
  /* Colors */
  --primary-blue: #20409a;
  --secondary-blue: #20409a;
  --accent-blue: #00bcff;
  --success-green: #28A745;
  --error-red: #DC3545;
  --warning-yellow: #FFC107;
  --text-dark: #2C3E50;
  --text-light: #6C757D;
  --text-lighter: #95A5A6;
  --background: #F8F9FA;
  --background-dark: #1A1A2E;
  --white: #FFFFFF;
  --black: #000000;
  --border-color: #E0E0E0;
  --shadow-color: rgba(0, 0, 0, 0.1);
  
  /* Gradient */
  --gradient-primary: var(--primary-blue);
  --gradient-accent: var(--secondary-blue);
  --gradient-overlay: rgba(32, 64, 154, 0.6);
  
  /* Spacing System */
  --space-xs: 0.25rem;    /* 4px */
  --space-sm: 0.5rem;     /* 8px */
  --space-md: 1rem;       /* 16px */
  --space-lg: 1.5rem;     /* 24px */
  --space-xl: 2rem;       /* 32px */
  --space-2xl: 3rem;      /* 48px */
  --space-3xl: 4rem;      /* 64px */
  --space-4xl: 6rem;      /* 96px */
  
  /* Typography */
  --font-heading: 'Poppins', 'Arial', sans-serif;
  --font-body: 'Open Sans', 'Arial', sans-serif;
  --font-accent: 'Playfair Display', serif;
  
  /* Font Sizes */
  --font-xs: 0.75rem;     /* 12px */
  --font-sm: 0.875rem;    /* 14px */
  --font-base: 1rem;      /* 16px */
  --font-md: 1.125rem;    /* 18px */
  --font-lg: 1.25rem;     /* 20px */
  --font-xl: 1.5rem;      /* 24px */
  --font-2xl: 2rem;       /* 32px */
  --font-3xl: 2.5rem;     /* 40px */
  --font-4xl: 3rem;       /* 48px */
  --font-5xl: 3.5rem;     /* 56px */
  
  /* Font Weights */
  --weight-light: 300;
  --weight-normal: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-extrabold: 800;
  
  /* Border Radius */
  --radius-sm: 0.25rem;   /* 4px */
  --radius-md: 0.5rem;    /* 8px */
  --radius-lg: 1rem;      /* 16px */
  --radius-xl: 1.5rem;    /* 24px */
  --radius-full: 50%;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px var(--shadow-color);
  --shadow-md: 0 4px 8px var(--shadow-color);
  --shadow-lg: 0 8px 16px var(--shadow-color);
  --shadow-xl: 0 12px 24px var(--shadow-color);
  --shadow-2xl: 0 20px 40px rgba(0, 0, 0, 0.15);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-very-slow: 1s ease;
  --easing-custom: cubic-bezier(0.4, 0.0, 0.2, 1);
  
  /* Z-Index */
  --z-loading: 9999;
  --z-header: 1000;
  --z-back-to-top: 999;
  --z-overlay: 100;
  --z-modal: 500;
}

/* ===================================
   TYPOGRAPHY
   =================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: var(--space-md);
}

h1 { font-size: clamp(2rem, 5vw, var(--font-5xl)); }
h2 { font-size: clamp(1.75rem, 4vw, var(--font-4xl)); }
h3 { font-size: clamp(1.5rem, 3vw, var(--font-3xl)); }
h4 { font-size: clamp(1.25rem, 2.5vw, var(--font-2xl)); }
h5 { font-size: var(--font-xl); }
h6 { font-size: var(--font-lg); }

p {
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.text-primary { color: var(--primary-blue); }
.text-secondary { color: var(--secondary-blue); }
.text-light { color: var(--text-light); }
.text-white { color: var(--white); }

/* ===================================
   LAYOUT & UTILITIES
   =================================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}
header .logo{
    width: 150px;
    height: 50px;
    object-fit: contain;
}
.section {
  padding: var(--space-4xl) 0;
}

.about-section,
.about-section .container {
  position: relative;
  overflow: hidden;
}

.section-dark {
  background-color: var(--background-dark);
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-size: var(--font-sm);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-blue);
  margin-bottom: var(--space-md);
  position: relative;
  padding-bottom: var(--space-sm);
}

.section-dark .section-tag {
  color: var(--accent-blue);
}

.section-tag::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, var(--font-4xl));
  color: var(--text-dark);
  margin-bottom: var(--space-lg);
}

.section-dark .section-title {
  color: var(--white);
}

.section-description {
  font-size: var(--font-md);
  color: var(--text-light);
  line-height: 1.8;
}

.section-dark .section-description {
  color: rgba(255, 255, 255, 0.8);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ===================================
   BUTTONS
   =================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  font-size: var(--font-base);
  font-weight: var(--weight-semibold);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  min-height: 48px;
}

.btn i {
  font-size: 1.1em;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.btn-primary:active {
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary-blue);
  transform: translateY(-3px);
}

.btn-product {
  background: var(--primary-blue);
  color: var(--white);
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--font-sm);
}

.btn-product:hover {
  background: var(--secondary-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-submit {
  width: 100%;
  justify-content: center;
  position: relative;
}

.btn-submit .btn-loading {
  display: none;
  align-items: center;
  gap: var(--space-sm);
}

.btn-submit.loading .btn-text {
  display: none;
}

.btn-submit.loading .btn-loading {
  display: flex;
}

/* ===================================
   SCROLL PROGRESS BAR
   =================================== */

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 4px;
  background: var(--gradient-accent);
  z-index: var(--z-header);
  transition: width var(--transition-fast);
}

/* ===================================
   LOADING SCREEN
   =================================== */

#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: var(--z-loading);
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader {
  text-align: center;
}

/* Card behind the logo for subtle elevation */
.loader-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xl) var(--space-2xl);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 40px rgba(32, 64, 154, 0.25);
  border: 1px solid rgba(32, 64, 154, 0.08);
}

.loader-logo {
  width: min(260px, 60vw);
  height: auto;
  filter: drop-shadow(0 6px 20px rgba(32, 64, 154, 0.25));
  animation: logoFloat 3s ease-in-out infinite;
}

/* Progress bar */
.loader-progress {
  position: relative;
  width: min(360px, 70vw);
  height: 6px;
  margin: var(--space-xl) auto 0;
  background: rgba(32, 64, 154, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.loader-progress-bar {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-blue));
  box-shadow: 0 0 18px rgba(32, 64, 154, 0.45);
  border-radius: inherit;
}

.loader-text {
  margin-top: var(--space-lg);
  font-size: var(--font-md);
  color: var(--text-light);
  font-weight: var(--weight-medium);
  display: inline-flex;
  gap: var(--space-sm);
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.7;
  }
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .loader-logo { animation: none; }
}

/* ===================================
   BACK TO TOP BUTTON
   =================================== */

#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: var(--radius-full);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: var(--font-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: var(--z-back-to-top);
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

#back-to-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-2xl);
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  z-index: var(--z-header);
  transition: all var(--transition-normal);
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-md) var(--space-md);
  min-height: 80px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.brand-icon {
  font-size: 2rem;
  color: var(--primary-blue);
}

.brand-name {
  font-size: var(--font-xl);
  font-weight: var(--weight-extrabold);
  color: var(--text-dark);
  margin: 0;
}

.brand-plus {
  color: var(--accent-blue);
  font-size: 1.2em;
}

.nav-menu {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-base);
  font-weight: var(--weight-medium);
  color: var(--text-dark);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  position: relative;
}

.nav-link i {
  font-size: 1.1em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--gradient-primary);
  transition: width var(--transition-normal);
  border-radius: var(--radius-full);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-blue);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

/* Language Toggle */
.language-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--background);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-lg);
  font-size: var(--font-sm);
  font-weight: var(--weight-medium);
  transition: all var(--transition-normal);
  border: 2px solid transparent;
}

.language-toggle:hover {
  background: var(--primary-blue);
  color: var(--white);
  border-color: var(--primary-blue);
}

.language-toggle:hover .lang-flag {
  color: var(--white);
}

.lang-flag {
  cursor: pointer;
  opacity: 0.4;
  transition: all var(--transition-fast);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  position: relative;
}

.lang-flag.active {
  opacity: 1;
  font-weight: var(--weight-bold);
  color: var(--primary-blue);
  background: rgba(32, 64, 154, 0.12);
}

.lang-flag:not(.active):hover {
  opacity: 0.7;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
}

.hamburger {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
}

.mobile-menu-toggle.active .hamburger:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.mobile-menu-toggle.active .hamburger:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* ===================================
   HERO SECTION
   =================================== */

.hero-section {
  margin-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero-swiper {
  width: 100%;
  height: calc(100vh - 80px);
  min-height: 750px;
}

.hero-slide {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-overlay);
}

.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: var(--space-2xl) var(--space-md);
  z-index: 2;
}

.hero-text {
  max-width: 700px;
  margin-bottom: var(--space-2xl);
}

.hero-title {
  font-size: clamp(2rem, 5vw, var(--font-5xl));
  color: var(--white);
  margin-bottom: var(--space-lg);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, var(--font-xl));
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: var(--space-2xl);
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  min-width: 150px;
}

.stat-item i {
  font-size: 2.5rem;
  color: var(--background);
  margin-bottom: var(--space-sm);
}

.stat-number {
  font-size: var(--font-3xl);
  font-weight: var(--weight-extrabold);
  color: var(--white);
  margin-bottom: var(--space-xs);
}

.stat-number::after {
  content: '+';
  margin-left: 3px;
}

.stat-label {
  font-size: var(--font-sm);
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* Hero Navigation */
.hero-nav {
  color: var(--white);
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
}

.hero-nav:hover {
  background: var(--primary-blue);
  transform: scale(1.1);
}

.hero-nav::after {
  font-size: 1.2rem;
}

/* Mobile: place hero navigation at the bottom of the screen, not centered */
@media (max-width: 768px) {
  .hero-swiper .swiper-button-prev.hero-nav,
  .hero-swiper .swiper-button-next.hero-nav {
    top: auto !important;
    bottom: 30px !important;
    transform: none !important;
  }

  .hero-swiper .swiper-button-prev.hero-nav { left: 16px !important; right: auto; }
  .hero-swiper .swiper-button-next.hero-nav { right: 16px !important; left: auto; }

  .hero-nav {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  }

  .swiper-pagination {
    bottom: 30px !important;
  }
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: var(--white);
  opacity: 0.5;
  transition: all var(--transition-normal);
}

.swiper-pagination-bullet-active {
  opacity: 1;
  width: 30px;
  border-radius: 6px;
  background: var(--accent-blue);
}

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

.products-section {
  background: var(--background);
  overflow: hidden;
}

.products-section .container {
  padding-left: 0;
  padding-right: 0;
}

.products-section .section-header,
.products-section .products-slider-nav {
  padding-left: var(--space-md);
  padding-right: var(--space-md);
}

.products-swiper {
  padding: var(--space-md) 0 var(--space-2xl) 0;
  overflow: visible !important;
}

/* Ensure equal-height cards in slider */
.products-swiper .swiper-wrapper {
  align-items: stretch;
}
.products-swiper .swiper-slide {
  display: flex;
  height: auto;
}
.products-swiper .product-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.products-swiper .product-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.products-swiper .btn-product {
  margin-top: auto;
}

.product-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 2px solid transparent;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 0;
  border-radius: var(--radius-xl);
}

.product-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 20px 60px rgba(32, 64, 154, 0.25);
  border-color: var(--accent-blue);
}

.product-card:hover::before {
  opacity: 0.03;
}

.product-image {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  z-index: 1;
  background: #f8f9fa;
}

/* Subtle, full-image gradient overlay on hover (was a hard 50% band) */
.product-image::after {
  content: '';
  position: absolute;
  inset: 0; /* cover entire image */
  background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.25) 80%);
  opacity: 0;
  transition: opacity var(--transition-normal);
  pointer-events: none; /* avoid intercepting hover */
}

.product-card:hover .product-image::after {
  opacity: 1;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform var(--transition-slow);
  filter: brightness(1);
}

.product-card:hover .product-image img {
  transform: scale(1.08);
  filter: brightness(1.05);
}

.product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, #2d5aa0 0%, #1e4080 100%);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 12px rgba(32, 64, 154, 0.3);
  z-index: 2;
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

@keyframes pulse {
  0%, 100% {
  box-shadow: 0 4px 15px rgba(32, 64, 154, 0.4);
  }
  50% {
  box-shadow: 0 4px 25px rgba(32, 64, 154, 0.6);
  }
}

.product-content {
  padding: var(--space-xl);
  flex: 1;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  background: var(--white);
}

.product-title {
  font-size: var(--font-xl);
  color: var(--text-dark);
  margin-bottom: var(--space-sm);
  position: relative;
  padding-bottom: var(--space-sm);
  transition: color var(--transition-normal);
}

.product-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gradient-accent);
  transition: width var(--transition-normal);
  border-radius: var(--radius-full);
}

.product-card:hover .product-title {
  color: var(--primary-blue);
}

.product-card:hover .product-title::after {
  width: 60px;
}

.product-description {
  font-size: var(--font-sm);
  color: var(--text-light);
  margin-bottom: var(--space-md);
  line-height: 1.6;
  flex: 1;
}

.product-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
  padding: var(--space-md);
  background: rgba(32, 64, 154, 0.05);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--accent-blue);
}

.feature {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-sm);
  color: var(--text-dark);
  transition: all var(--transition-fast);
  padding: var(--space-xs);
  border-radius: var(--radius-sm);
}

.feature:hover {
  background: rgba(32, 64, 154, 0.1);
  transform: translateX(5px);
}

.feature i {
  color: var(--success-green);
  font-size: 1.1em;
  animation: checkPop 0.5s ease;
}

@keyframes checkPop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* Products Navigation */
.products-nav {
  color: var(--white);
  width: 55px;
  height: 55px;
  background: var(--gradient-primary);
  box-shadow: var(--shadow-lg);
}

.products-nav:hover {
  background: var(--gradient-accent);
  transform: scale(1.15);
  box-shadow: 0 8px 25px rgba(32, 64, 154, 0.35);
}

.products-nav::after {
  font-weight: bold;
}
/* Creative Slider Navigation */

.products-nav {
  color: var(--white);
  width: 56px;
  height: 56px;
  background: var(--gradient-primary);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(32,64,154,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: static;
  margin: 0 var(--space-md);
  border: 2px solid var(--border-color);
  transition: all var(--transition-fast);
  cursor: pointer;
}


.products-nav.swiper-button-prev,
.products-nav.swiper-button-next {
  position: static;
  margin: 0 var(--space-md);
}


.products-nav:hover {
  background: var(--gradient-accent);
  border-color: var(--accent-blue);
  transform: scale(1.08);
}


.products-nav:active {
  transform: scale(0.96);
}


.products-nav i, .products-nav svg {
  font-size: 2rem;
  color: var(--white);
  transition: color var(--transition-fast);
}


.products-nav.swiper-button-disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* Position navigation arrows under the slider */
.products-slider-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-top: var(--space-xl);
  width: 100%;
  max-width: 100vw;
  gap: 0;
  position: relative;
}

.products-nav.swiper-button-prev {
  order: 0;
  margin-left: var(--space-2xl);
}
.products-slider-pagination {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.products-nav.swiper-button-next {
  order: 2;
  margin-right: var(--space-2xl);
}


.products-pagination {
  margin-top: var(--space-xl);
}

.products-pagination .swiper-pagination-bullet {
  background: var(--primary-blue);
}

.products-pagination .swiper-pagination-bullet-active {
  background: var(--secondary-blue);
}

/* When pagination is inside the unified nav row */
.products-slider-nav .products-pagination {
  margin-top: 0;
}

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

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-2xl);
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-2xl);
  padding: var(--space-3xl) var(--space-2xl);
  text-align: center;
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: rgba(32, 64, 154, 0.06); /* softer backdrop, no harsh glow */
  opacity: 0;
  transition: opacity var(--transition-slow);
}

.service-card:hover::before {
  opacity: 0.12; /* subtle, barely noticeable */
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: var(--accent-blue);
  transform: translateY(-6px); /* lighter lift */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25); /* neutral soft shadow, removes blue glow */
}

/* Top accent bar grows in on hover (replaces glow) */
.service-card::after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 3px;
  background: var(--accent-blue);
  transition: width var(--transition-normal);
}

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

.service-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto var(--space-xl);
  background: var(--gradient-accent);
  border-radius: var(--radius-2xl);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  color: var(--white);
  transition: all var(--transition-normal);
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25); /* reduce blue glow */
}

.service-icon::before {
  content: '';
  position: absolute;
  inset: -8px;
  background: var(--gradient-primary);
  border-radius: var(--radius-2xl);
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: -1;
  filter: blur(10px);
}

.service-card:hover .service-icon {
  transform: translateY(-4px) scale(1.05); /* subtle movement, no spin */
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.service-card:hover .service-icon::before {
  opacity: 0.25; /* quieter glow */
}

.service-title {
  font-size: var(--font-2xl);
  color: var(--white);
  margin-bottom: var(--space-md);
  position: relative;
  z-index: 1;
  font-weight: var(--weight-bold);
  transition: color var(--transition-normal);
}

.service-card:hover .service-title {
  color: var(--accent-blue);
}

.service-description {
  font-size: var(--font-base);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  color: var(--accent-blue);
  font-weight: var(--weight-semibold);
  font-size: var(--font-sm);
  transition: all var(--transition-normal);
}

.service-link i {
  transition: transform var(--transition-normal);
}

.service-link:hover {
  gap: var(--space-md);
}

.service-link:hover i {
  transform: translateX(5px);
}

/* ===================================
   ABOUT SECTION
   =================================== */

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  overflow: hidden;
}

.about-image-wrapper {
  position: relative;
  overflow: hidden;
}

.about-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  z-index: 2;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-badge {
  position: absolute;
  bottom: var(--space-xl);
  right: var(--space-xl);
  background: var(--gradient-primary);
  color: var(--white);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  box-shadow: var(--shadow-xl);
  z-index: 3;
}

.about-badge i {
  font-size: 2.5rem;
}

.about-badge strong {
  display: block;
  font-size: var(--font-3xl);
  font-weight: var(--weight-extrabold);
  line-height: 1;
}

.about-badge span {
  font-size: var(--font-sm);
}

.about-image-decoration {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 4px solid var(--primary-blue);
  border-radius: var(--radius-xl);
  z-index: 1;
}

.about-text .section-tag {
  text-align: left;
}

.about-text .section-tag::after {
  left: 0;
  transform: none;
}

.about-text .section-title {
  text-align: left;
}

.about-description {
  font-size: var(--font-base);
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.about-feature {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.about-feature i {
  font-size: 1.5rem;
  color: var(--success-green);
  margin-top: 3px;
}

.about-feature h4 {
  font-size: var(--font-md);
  color: var(--text-dark);
  margin-bottom: var(--space-xs);
}

.about-feature p {
  font-size: var(--font-sm);
  color: var(--text-light);
  margin: 0;
}

.about-stats {
  display: flex;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.about-stat {
  text-align: center;
}

.about-stat .stat-number {
  font-size: var(--font-3xl);
  color: var(--primary-blue);
  font-weight: var(--weight-extrabold);
  margin-bottom: var(--space-xs);
}

.about-stat .stat-label {
  font-size: var(--font-sm);
  color: var(--text-light);
}

/* ===================================
   CONTACT SECTION
   =================================== */

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.form-group label {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--font-sm);
  font-weight: var(--weight-semibold);
  color: rgba(255, 255, 255, 0.9);
}

.form-group label i {
  color: var(--accent-blue);
}

.required {
  color: var(--error-red);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: var(--space-md);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  font-size: var(--font-base);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  transition: all var(--transition-normal);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(32, 64, 154, 0.2);
}

.form-group select {
  cursor: pointer;
}

/* Improve select appearance on dark sections */
.section-dark .form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.12);
  padding-right: calc(var(--space-xl) + 14px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-md) center;
  background-size: 16px;
}

.section-dark .form-group select:focus {
  border-color: var(--accent-blue);
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(32, 64, 154, 0.25);
}

/* Dropdown options styling (supported in major browsers) */
.section-dark .form-group select option {
  background-color: var(--background-dark);
  color: var(--white);
}

/* Hide default arrow in some browsers */
select::-ms-expand { display: none; }

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.error-message {
  display: none;
  font-size: var(--font-xs);
  color: var(--error-red);
  margin-top: var(--space-xs);
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
  border-color: var(--error-red);
}

.form-group.error .error-message {
  display: block;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.info-item {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  transition: all var(--transition-normal);
}

.info-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateX(10px);
}

.info-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-accent);
  border-radius: var(--radius-full);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.3rem;
  color: var(--white);
  flex-shrink: 0;
}

.info-content h4 {
  font-size: var(--font-md);
  color: var(--white);
  margin-bottom: var(--space-sm);
}

.info-content p {
  font-size: var(--font-sm);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin: 0;
}

.info-content a {
  color: var(--accent-blue);
  transition: color var(--transition-fast);
}

.info-content a:hover {
  color: var(--white);
}

.social-links {
  padding: var(--space-lg);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
}

.social-links h4 {
  font-size: var(--font-md);
  color: var(--white);
  margin-bottom: var(--space-md);
}

.social-icons {
  display: flex;
  gap: var(--space-md);
}

.social-icons a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: var(--font-lg);
  color: var(--white);
  transition: all var(--transition-normal);
}

.social-icons a:hover {
  background: var(--accent-blue);
  transform: translateY(-5px) rotate(360deg);
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-top: var(--space-lg);
}

/* ===================================
   FOOTER
   =================================== */

.footer {
  background: var(--background-dark);
  color: var(--white);
  padding-top: var(--space-4xl);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-2xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

/* Footer logo styling */
.footer-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.25));
}

.footer-description {
  font-size: var(--font-sm);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
}

.footer-social a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: var(--font-base);
  transition: all var(--transition-normal);
}

.footer-social a:hover {
  background: var(--primary-blue);
  transform: translateY(-3px);
}

.footer-title {
  font-size: var(--font-lg);
  color: var(--white);
  margin-bottom: var(--space-lg);
  font-weight: var(--weight-bold);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-links a {
  font-size: var(--font-sm);
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition-normal);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--accent-blue);
  transform: translateX(5px);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-contact li {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  font-size: var(--font-sm);
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
  color: var(--accent-blue);
  margin-top: 3px;
  font-size: var(--font-base);
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer-contact a:hover {
  color: var(--accent-blue);
}

.footer-bottom {
  padding: var(--space-xl) 0;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.copyright {
  font-size: var(--font-sm);
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: var(--space-md);
  align-items: center;
  font-size: var(--font-sm);
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: var(--accent-blue);
}

.separator {
  color: rgba(255, 255, 255, 0.3);
}

/* ===================================
   ANIMATIONS (WOW.js classes)
   =================================== */

.wow {
  visibility: hidden;
}

/* Custom animation delays */
[data-wow-delay] {
  animation-delay: var(--wow-delay);
}

/* Prevent entire sections from sliding/animating on scroll */
section.wow,
.section.wow,
section.animate__animated,
.section.animate__animated {
  animation: none !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}
