/* ========================================
   Maestro Technology Services
   Modern Premium CSS Stylesheet
   ======================================== */

/* ==========================================
   CSS Variables & Theme Configuration
   ========================================== */
:root {
  /* Primary Colors */
  /* --primary: #1375bc;
    --primary-dark: #0d5a91;
    --primary-light: #4a9fd4;
    --primary-rgb: 19, 117, 188; */

  --primary: #153f9e;
  --primary-dark: rgb(4, 84, 141);
  --primary-light: #f38213;
  --primary-rgb: 19, 117, 188;

  /* Secondary Colors */
  --secondary: #0b3154;
  --secondary-light: #1a4a7a;

  /* Accent Colors */
  --accent: #f39c12;
  --accent-rgb: 243, 156, 18;
  --success: #27ae60;
  --warning: #f1c40f;
  --danger: #e74c3c;
  --info: #3498db;

  /* Neutral Colors */
  --dark: #1a1a2e;
  --gray-900: #212529;
  --gray-800: #343a40;
  --gray-700: #495057;
  --gray-600: #6c757d;
  --gray-500: #adb5bd;
  --gray-400: #ced4da;
  --gray-300: #dee2e6;
  --gray-200: #e9ecef;
  --gray-100: #f8f9fa;
  --white: #ffffff;

  /* Background Colors */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);

  /* Text Colors */
  --text-primary: #1a1a2e;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --text-light: #a0aec0;

  /* Border & Shadow */
  --border-color: #e2e8f0;
  --border-radius-sm: 8px;
  --border-radius: 12px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  --border-radius-full: 50%;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-md:
    0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg:
    0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 40px rgba(var(--primary-rgb), 0.3);

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.8);
  --glass-border: rgba(255, 255, 255, 0.3);
  --glass-blur: 20px;

  /* Typography */
  --font-primary: "Inter", sans-serif;
  --font-secondary: "Poppins", sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.4rem;

  /* Spacing */
  --section-padding: 100px;
  --container-padding: 15px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

/* ==========================================
   Base Styles
   ========================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
  transition:
    background-color var(--transition),
    color var(--transition);
}

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

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

a:hover {
  color: var(--primary-dark);
}

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

/* ==========================================
   Preloader
   ========================================== */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition:
    opacity 0.5s,
    visibility 0.5s;
}

.preloader.loaded {
  opacity: 0;
  visibility: hidden;
}

.preloader-inner {
  text-align: center;
}

.loader-ring {
  width: 60px;
  height: 60px;
  border: 3px solid var(--border-color);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

.loader-text {
  font-family: var(--font-secondary);
  font-size: var(--font-size-lg);
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--primary);
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* ==========================================
   Scroll Progress Indicator
   ========================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  width: 0%;
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ==========================================
   Theme Toggle Button
   ========================================== */

/* ==========================================
   Back to Top Button
   ========================================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius-full);
  background: var(--primary);
  border: none;
  color: var(--white);
  cursor: pointer;
  z-index: var(--z-fixed);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-5px);
}

/* ==========================================
   WhatsApp Float Button
   ========================================== */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 30px;
  width: 55px;
  height: 55px;
  border-radius: var(--border-radius-full);
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-fixed);
  box-shadow: var(--shadow-lg);
  transition: all var(--transition);
}

.whatsapp-float i {
  font-size: 1.75rem;
  color: var(--white);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: var(--dark);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--border-radius-sm);
  font-size: var(--font-size-sm);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
}

/* ==========================================
   Header & Navigation
   ========================================== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  z-index: var(--z-sticky);
  transition: all var(--transition);
}

.main-header.scrolled {
  height: 90px;
}

.main-header .navbar {
  padding: 15px 0;
  transition: all var(--transition);
}

.main-header.scrolled {
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow);
}

.main-header.scrolled .navbar {
  padding: 10px 0;
}

/* Navbar brand and logo */
.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-brand img {
  height: 36px;
  transition: all var(--transition);
}

/* Logo visibility */
.navbar-brand .logo-dark {
  display: none;
}

/* Dark hero pages - white logo when not scrolled */
body.dark-hero .main-header:not(.scrolled) .navbar-brand .logo-light {
  display: none;
}

body.dark-hero .main-header:not(.scrolled) .navbar-brand .logo-dark {
  display: block;
}

/* Dark hero pages - normal logo when scrolled */
body.dark-hero .main-header.scrolled .navbar-brand .logo-light {
  display: block;
}

body.dark-hero .main-header.scrolled .navbar-brand .logo-dark {
  display: none;
}

/* Dark hero pages - white nav links before scroll */
/* body.dark-hero .main-header:not(.scrolled) .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

body.dark-hero .main-header:not(.scrolled) .nav-link:hover {
    color: var(--white);
}

body.dark-hero .main-header:not(.scrolled) .nav-link.active {
    color: var(--white);
    font-weight: 600;
}

body.dark-hero .main-header:not(.scrolled) .hamburger span {
    background: var(--white);
}

body.dark-hero .main-header:not(.scrolled) .navbar-cta .btn {
    background: #fff;
    color: #0b3154;
    border: none;
}

body.dark-hero .main-header:not(.scrolled) .navbar-cta .btn:hover {
    background: #f1f5f9;
    color: #1375bc;
} */

/* When scrolled - always show normal colors */
.main-header.scrolled .nav-link {
  color: var(--text-primary);
}

.main-header.scrolled .nav-link:hover {
  color: var(--primary);
}

.main-header.scrolled .nav-link.active {
  color: var(--primary);
}

/* Desktop Navigation */
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-secondary);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  padding: 12px 20px;
  transition: color var(--transition);
  position: relative;
  letter-spacing: 0.2px;
}

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

.nav-link.active {
  color: var(--primary);
  font-weight: 600;
}

/* Dropdown Menu */
.nav-item.dropdown .dropdown-toggle {
  padding-right: 28px;
}

.nav-item.dropdown .dropdown-toggle::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  transition: transform var(--transition);
}

.nav-item.dropdown:hover .dropdown-toggle::after {
  transform: translateY(-50%) rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: var(--bg-primary);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  z-index: var(--z-dropdown);
}

.nav-item.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text-secondary);
  border-radius: 6px;
  transition: all var(--transition);
  white-space: nowrap;
}

.dropdown-item:hover {
  background: var(--bg-secondary);
  color: var(--primary);
}

.dropdown-item.view-all {
  border-top: 1px solid var(--border-color);
  margin-top: 8px;
  padding-top: 12px;
  color: var(--primary);
  font-weight: 600;
}

.dropdown-divider {
  height: 0;
  margin: 5px 0;
  border-top: 1px solid var(--border-color);
}

/* Mega Menu */
.has-megamenu {
  position: static;
}

.megamenu {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background: var(--bg-primary);
  border-radius: 0;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: var(--z-dropdown);
  overflow: hidden;
}

.nav-item.has-megamenu:hover .megamenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.megamenu-inner {
  display: grid;
  grid-template-columns: 260px 1fr 280px;
  min-height: 400px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 15px;
}

.megamenu-section {
  padding: 32px;
}

/* Intro Section */
.megamenu-intro {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.megamenu-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 12px;
}

.megamenu-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 24px;
  flex-grow: 1;
}

.megamenu-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s;
}

.megamenu-cta:hover {
  color: var(--primary-dark);
  gap: 12px;
}

/* Links Section */
.megamenu-links {
  padding: 24px 32px;
}

.megamenu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.megamenu-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s;
}

.megamenu-item:hover {
  background: var(--bg-secondary);
}

.megamenu-item-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(
    135deg,
    rgba(19, 117, 188, 0.1) 0%,
    rgba(19, 117, 188, 0.05) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s;
}

.megamenu-item-icon i {
  font-size: 1rem;
  color: var(--primary);
}

.megamenu-item:hover .megamenu-item-icon {
  background: var(--primary);
}

.megamenu-item:hover .megamenu-item-icon i {
  color: #fff;
}

.megamenu-item-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.megamenu-item-title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color 0.2s;
}

.megamenu-item:hover .megamenu-item-title {
  color: var(--primary);
}

.megamenu-item-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Featured Section */
.megamenu-featured {
  background: linear-gradient(135deg, #0b3154 0%, #1375bc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.megamenu-featured-card {
  text-align: center;
  padding: 20px;
}

.megamenu-featured-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.megamenu-featured-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
}

.megamenu-featured-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 24px;
}

.megamenu-featured-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: #fff;
  color: var(--primary);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.megamenu-featured-link:hover {
  background: #f8fafc;
  gap: 12px;
  color: var(--primary);
}

/* M-Guru Card */
.megamenu-featured.mguru-section {
  overflow: visible;
}

.mguru-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  overflow: visible;
}

.mguru-card:hover {
  transform: scale(1.02);
}

.mguru-logo {
  display: block;
  width: 150px;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  background: #fff;
  padding: 8px;
  margin-bottom: 10px;
}

.mguru-card .megamenu-featured-title {
  margin-bottom: 6px;
  font-size: 1.3rem;
}

.mguru-card .megamenu-featured-desc {
  margin-bottom: 15px;
  font-size: 0.85rem;
}

.mguru-card .megamenu-featured-desc {
  margin-bottom: 16px;
}

.mguru-card .megamenu-featured-link {
  margin-top: auto;
}

/* Products Mega Menu */
.megamenu-products {
  max-width: none;
}

.megamenu-products-inner {
  padding: 28px 15px;
  max-width: 1100px;
  margin: 0 auto;
}

.megamenu-products-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.megamenu-products-intro {
  flex: 1;
}

.megamenu-products-intro .megamenu-title {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.megamenu-products-intro .megamenu-desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.megamenu-products-header .megamenu-cta {
  flex-shrink: 0;
  margin-top: 4px;
}

.megamenu-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.megamenu-product-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s;
  position: relative;
}

.megamenu-product-card:hover {
  background: var(--bg-secondary);
}

.megamenu-product-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
}

.megamenu-product-icon i {
  font-size: 1.1rem;
  color: #fff;
}

.megamenu-product-card:hover .megamenu-product-icon {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.megamenu-product-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-grow: 1;
  min-width: 0;
}

.megamenu-product-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: color 0.2s;
}

.megamenu-product-card:hover .megamenu-product-name {
  color: var(--primary);
}

.megamenu-product-tagline {
  font-size: 0.8rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.megamenu-product-arrow {
  font-size: 0.75rem;
  color: var(--text-secondary);
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.2s;
}

.megamenu-product-card:hover .megamenu-product-arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--primary);
}

/* Products Mega Menu Responsive */
@media (max-width: 1199px) {
  .megamenu-products {
    max-width: 600px;
  }
}

@media (max-width: 767px) {
  .megamenu-products-grid {
    grid-template-columns: 1fr;
  }
}

/* Mega Menu Responsive */
@media (max-width: 1199px) {
  .megamenu {
    max-width: 95%;
  }

  .megamenu-inner {
    grid-template-columns: 220px 1fr 240px;
  }

  .megamenu-section {
    padding: 24px;
  }
}

@media (max-width: 991px) {
  .megamenu {
    display: none;
  }
}

/* Navbar CTA */
.navbar-cta {
  margin-left: 30px;
}

.navbar-cta .btn {
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 6px;
}

/* Mobile Menu Toggle */
.navbar-toggler {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}

/* Mobile Menu */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  z-index: var(--z-modal-backdrop);
  transition: all var(--transition);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  max-width: 90%;
  height: 100%;
  background: var(--bg-primary);
  z-index: var(--z-modal);
  padding: 30px;
  overflow-y: auto;
  transition: all var(--transition-slow);
  box-shadow: var(--shadow-xl);
}

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

.mobile-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.mobile-menu-header img {
  height: 35px;
}

.mobile-menu-close {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-full);
  background: var(--bg-secondary);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-primary);
  transition: all var(--transition);
}

.mobile-menu-close:hover {
  background: var(--primary);
  color: var(--white);
}

.mobile-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav li {
  margin-bottom: 5px;
}

.mobile-nav > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  font-family: var(--font-secondary);
  font-weight: 500;
  color: var(--text-primary);
  border-radius: var(--border-radius-sm);
  transition: all var(--transition);
}

.mobile-nav > li > a:hover,
.mobile-nav > li > a.active {
  background: var(--bg-secondary);
  color: var(--primary);
}

.mobile-nav .submenu {
  list-style: none;
  padding: 10px 0 10px 20px;
  display: none;
}

.mobile-nav .has-submenu.open .submenu {
  display: block;
}

.mobile-nav .submenu a {
  display: block;
  padding: 10px 15px;
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  border-radius: var(--border-radius-sm);
  transition: all var(--transition);
}

.mobile-nav .submenu a:hover {
  color: var(--primary);
  background: var(--bg-tertiary);
}

.mobile-menu-footer {
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
}

.mobile-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  justify-content: center;
}

.mobile-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-full);
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition);
}

.mobile-social a:hover {
  background: var(--primary);
  color: var(--white);
}

/* ==========================================
   Buttons
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  font-family: var(--font-secondary);
  font-size: var(--font-size-sm);
  font-weight: 600;
  border-radius: var(--border-radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn::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: all 0.5s;
}

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

.btn i {
  transition: transform var(--transition);
}

.btn:hover i {
  transform: translateX(5px);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}

.btn-secondary:hover {
  background: var(--secondary-light);
  border-color: var(--secondary-light);
  color: var(--white);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: var(--white);
}

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

.btn-outline-light:hover {
  background: var(--white);
  color: var(--primary);
}

.btn-light {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-light:hover {
  background: var(--gray-100);
  color: var(--primary-dark);
}

.btn-glow {
  box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.4);
}

.btn-glow:hover {
  box-shadow: 0 0 30px rgba(var(--primary-rgb), 0.6);
}

.btn-lg {
  padding: 16px 36px;
  font-size: var(--font-size-base);
}

.btn-sm {
  padding: 8px 20px;
  font-size: var(--font-size-xs);
}

.btn-block {
  width: 100%;
}

/* ==========================================
   Section Styles
   ========================================== */
section {
  padding: var(--section-padding) 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(var(--primary-rgb), 0.1);
  color: var(--primary);
  font-size: var(--font-size-sm);
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 20px;
}

.section-badge i {
  font-size: 12px;
}

.section-title {
  font-family: var(--font-secondary);
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.2;
}

.section-title span {
  color: var(--primary);
}

.section-desc {
  font-size: 18px !important;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Background Patterns */
.bg-pattern {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}

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

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

/* ==========================================
   Hero Section
   ========================================== */
.hero-section {
  min-height: min(100vh, 800px);
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #d4edfc 0%, #ffffff 100%);
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 90px;
  left: 0;
  right: 0;
  height: 50%;
  background-image: radial-gradient(
    circle,
    rgba(19, 117, 188, 0.35) 1.5px,
    transparent 1.5px
  );
  background-size: 24px 24px;
  pointer-events: none;
  z-index: 1;
  mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.5) 50%,
    transparent 100%
  );
}

/* Page Hero for inner pages */
.page-hero {
  padding-top: 140px !important;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* 3D Parallax Background */
.parallax-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
}

/* Animated Grid Pattern */
.parallax-grid {
  position: absolute;
  inset: -50%;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  transform: perspective(500px) rotateX(60deg);
  animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
  0% {
    transform: perspective(500px) rotateX(60deg) translateY(0);
  }
  100% {
    transform: perspective(500px) rotateX(60deg) translateY(60px);
  }
}

/* Floating 3D Shapes */
.parallax-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.parallax-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  filter: blur(1px);
}

.parallax-shape.shape-1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #1375bc, #4a9fd4);
  top: -100px;
  right: -50px;
  animation: float-shape-1 15s ease-in-out infinite;
}

.parallax-shape.shape-2 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #f39c12, #e67e22);
  bottom: -50px;
  left: 10%;
  animation: float-shape-2 18s ease-in-out infinite;
}

.parallax-shape.shape-3 {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  top: 30%;
  left: -50px;
  animation: float-shape-3 12s ease-in-out infinite;
}

.parallax-shape.shape-4 {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #9b59b6, #8e44ad);
  bottom: 20%;
  right: 15%;
  animation: float-shape-4 20s ease-in-out infinite;
}

@keyframes float-shape-1 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  25% {
    transform: translate(-30px, 30px) rotate(90deg) scale(1.1);
  }
  50% {
    transform: translate(-20px, -20px) rotate(180deg) scale(0.9);
  }
  75% {
    transform: translate(30px, 20px) rotate(270deg) scale(1.05);
  }
}

@keyframes float-shape-2 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(40px, -30px) rotate(120deg);
  }
  66% {
    transform: translate(-30px, 20px) rotate(240deg);
  }
}

@keyframes float-shape-3 {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(50px, -40px) scale(1.2);
  }
}

@keyframes float-shape-4 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-40px, -30px) rotate(180deg);
  }
}

/* 3D Geometric Elements */
.parallax-geo {
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.1);
  animation: geo-float 10s ease-in-out infinite;
}

.parallax-geo.geo-1 {
  width: 80px;
  height: 80px;
  top: 20%;
  right: 20%;
  transform: rotate(45deg);
  animation-delay: 0s;
}

.parallax-geo.geo-2 {
  width: 60px;
  height: 60px;
  bottom: 30%;
  left: 15%;
  border-radius: 50%;
  animation-delay: -3s;
}

.parallax-geo.geo-3 {
  width: 40px;
  height: 40px;
  top: 40%;
  left: 30%;
  transform: rotate(30deg);
  animation-delay: -6s;
}

.parallax-geo.geo-4 {
  width: 100px;
  height: 100px;
  bottom: 15%;
  right: 30%;
  border-radius: 20px;
  transform: rotate(-15deg);
  animation-delay: -2s;
}

@keyframes geo-float {
  0%,
  100% {
    transform: translateY(0) rotate(var(--rotate, 45deg));
    opacity: 0.1;
  }
  50% {
    transform: translateY(-20px) rotate(calc(var(--rotate, 45deg) + 180deg));
    opacity: 0.2;
  }
}

/* Glowing Orbs */
.parallax-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.15;
  animation: orb-pulse 8s ease-in-out infinite;
}

.parallax-orb.orb-1 {
  width: 400px;
  height: 400px;
  background: var(--primary);
  top: -150px;
  left: -100px;
}

.parallax-orb.orb-2 {
  width: 300px;
  height: 300px;
  background: var(--accent);
  bottom: -100px;
  right: -50px;
  animation-delay: -4s;
}

@keyframes orb-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.15;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.25;
  }
}

/* Floating Particles */
.parallax-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.parallax-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  animation: particle-rise 10s linear infinite;
}

@keyframes particle-rise {
  0% {
    transform: translateY(100%) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100vh) translateX(50px);
    opacity: 0;
  }
}

/* Light Rays */
.parallax-rays {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0.05;
}

.parallax-ray {
  position: absolute;
  width: 2px;
  height: 200%;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  transform-origin: top center;
  animation: ray-sweep 15s linear infinite;
}

.parallax-ray:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
}
.parallax-ray:nth-child(2) {
  left: 25%;
  animation-delay: -3s;
}
.parallax-ray:nth-child(3) {
  left: 50%;
  animation-delay: -6s;
}
.parallax-ray:nth-child(4) {
  left: 75%;
  animation-delay: -9s;
}
.parallax-ray:nth-child(5) {
  left: 90%;
  animation-delay: -12s;
}

@keyframes ray-sweep {
  0% {
    transform: rotate(-30deg) translateY(-50%);
  }
  100% {
    transform: rotate(30deg) translateY(-50%);
  }
}

/* Hero Content Z-index */
.page-hero .container {
  position: relative;
  z-index: 2;
}

/* Mouse Parallax Data Attributes */
[data-parallax-depth="1"] {
  --parallax-speed: 20;
}
[data-parallax-depth="2"] {
  --parallax-speed: 40;
}
[data-parallax-depth="3"] {
  --parallax-speed: 60;
}

/* Breadcrumb styling */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-item + .breadcrumb-item::before {
  content: "›" !important;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1.1rem;
  padding-right: 8px;
}

.breadcrumb-item a {
  transition: color var(--transition);
}

.breadcrumb-item a:hover {
  color: white !important;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.hero-particle {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
}

.hero-particle:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}
.hero-particle:nth-child(2) {
  top: 60%;
  left: 20%;
  animation-delay: 1s;
  width: 15px;
  height: 15px;
}
.hero-particle:nth-child(3) {
  top: 30%;
  right: 15%;
  animation-delay: 2s;
}
.hero-particle:nth-child(4) {
  top: 70%;
  right: 10%;
  animation-delay: 3s;
  width: 8px;
  height: 8px;
}
.hero-particle:nth-child(5) {
  top: 40%;
  left: 50%;
  animation-delay: 4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(180deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 30px;
}

.hero-badge i {
  color: var(--primary);
}

.hero-title {
  font-family: var(--font-secondary);
  font-size: var(--font-size-6xl);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 25px;
  color: var(--text-primary);
}

.hero-title .highlight {
  /* background: linear-gradient(90deg, var(--primary), var(--primary-light)); */
  background: var(--primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: var(--font-size-xl);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 550px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
}

.hero-stat-item {
  text-align: left;
}

.hero-stat-number {
  font-family: var(--font-secondary);
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 5px;
}

.hero-stat-label {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  font-weight: 500;
}

.hero-image {
  position: relative;
  z-index: 2;
}

.hero-image img {
  max-width: 100%;
  animation: heroFloat 5s ease-in-out infinite;
}

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

.hero-float-card {
  position: absolute;
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: var(--shadow-lg);
  animation: floatCard 4s ease-in-out infinite;
}

.hero-float-card.card-1 {
  top: 10%;
  left: -10%;
  animation-delay: 0s;
}

.hero-float-card.card-2 {
  bottom: 20%;
  right: -5%;
  animation-delay: 2s;
}

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

/* ==========================================
   Statistics Counter Section
   ========================================== */
.stats-section {
  padding: 80px 0;
  background: var(--bg-secondary);
}

.stats-wrapper {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 30px;
}

.stat-card {
  text-align: center;
  padding: 30px 20px;
  background: var(--bg-primary);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow);
  transition: all var(--transition);
  border: 1px solid var(--border-color);
}

.stat-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.stat-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: rgba(var(--primary-rgb), 0.1);
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon i {
  font-size: 1.5rem;
  color: var(--primary);
}

.stat-number {
  font-family: var(--font-secondary);
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 10px;
}

.stat-label {
  font-size: var(--font-size-sm);
  color: var(--text-secondary);
  font-weight: 500;
}

/* ==========================================
   Services Section
   ========================================== */
.services-section {
  background: var(--bg-primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 40px 30px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

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

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(
    135deg,
    rgba(var(--primary-rgb), 0.1),
    rgba(var(--primary-rgb), 0.05)
  );
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: all var(--transition);
}

.service-icon i {
  font-size: 1.75rem;
  color: var(--primary);
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: var(--primary);
}

.service-card:hover .service-icon i {
  color: var(--white);
  transform: scale(1.1);
}

.service-title {
  font-family: var(--font-secondary);
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 15px;
}

.service-desc {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: var(--font-size-sm);
  color: var(--primary);
}

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

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

/* ==========================================
   Products Section
   ========================================== */
.products-section {
  background: #f8fafc;
  padding: 100px 0;
}

.products-section .section-title,
.products-section .section-desc {
  color: var(--text-primary);
}

.products-section .section-title span {
  color: var(--primary);
}

.products-section .section-badge {
  background: rgba(19, 117, 188, 0.1);
  color: var(--primary);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px 30px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--card-accent, var(--primary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.product-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  border-color: transparent;
}

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

.product-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  position: relative;
  transition: all 0.4s ease;
}

.product-card:hover .product-icon {
  transform: scale(1.1) rotate(5deg);
}

.product-icon i {
  font-size: 2rem;
  color: var(--white);
}

.product-name {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.product-tagline {
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.product-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 25px;
}

.product-features {
  list-style: none;
  padding: 0;
  margin: 0 0 25px;
}

.product-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-color);
}

.product-features li:last-child {
  border-bottom: none;
}

.product-features li i {
  color: #10b981;
  font-size: 0.85rem;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.product-link:hover {
  filter: brightness(0.9);
  transform: translateX(5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.product-link i {
  transition: transform 0.3s ease;
}

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

/* ==========================================
   Why Choose Us Section
   ========================================== */
.why-choose-section {
  background: var(--bg-primary);
  padding: 100px 0;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.why-card {
  display: flex;
  gap: 25px;
  padding: 30px;
  background: var(--bg-primary);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-color);
  transition: all var(--transition);
}

.why-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.why-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  /* background: linear-gradient(135deg, var(--primary), var(--primary-light)); */
  background: linear-gradient(135deg, var(--primary-light));
  border-radius: var(--border-radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-icon i {
  font-size: 1.5rem;
  color: var(--white);
}

.why-content h4 {
  font-family: var(--font-secondary);
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.why-content p {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

/* ==========================================
   Technology Stack Section
   ========================================== */
.tech-stack-section {
  background: var(--bg-primary);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
}

.tech-item {
  text-align: center;
  padding: 30px 20px;
  background: var(--bg-secondary);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  transition: all var(--transition);
}

.tech-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.tech-item img {
  height: 50px;
  object-fit: contain;
  margin-bottom: 15px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all var(--transition);
}

.tech-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.tech-item span {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--text-secondary);
}

/* ==========================================
   Testimonials Section
   ========================================== */
.testimonials-section {
  background: var(--bg-secondary);
  overflow: hidden;
}

.testimonial-slider {
  padding: 20px 0 60px;
}

.testimonial-card {
  background: var(--bg-primary);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
  position: relative;
}

.testimonial-card::before {
  content: "\f10d";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 4rem;
  color: var(--primary);
  opacity: 0.1;
  position: absolute;
  top: 20px;
  right: 30px;
}

.testimonial-rating {
  display: flex;
  gap: 5px;
  margin-bottom: 20px;
}

.testimonial-rating i {
  color: var(--accent);
}

.testimonial-text {
  font-size: var(--font-size-lg);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 30px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-full);
  object-fit: cover;
}

.testimonial-info h5 {
  font-family: var(--font-secondary);
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.testimonial-info span {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}

/* ==========================================
   Blog Section
   ========================================== */
.blog-section {
  background: var(--bg-primary);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background: var(--bg-primary);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.blog-image {
  position: relative;
  overflow: hidden;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-card:hover .blog-icon-wrapper > div {
  transform: scale(1.1) rotate(5deg);
  transition: transform var(--transition);
}

.blog-icon-wrapper > div {
  transition: transform var(--transition);
}

.blog-category {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 6px 14px;
  background: var(--primary);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}

.blog-meta i {
  color: var(--primary);
}

.blog-title {
  font-family: var(--font-secondary);
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 15px;
  line-height: 1.4;
  transition: color var(--transition);
}

.blog-title a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color var(--transition);
}

.blog-card:hover .blog-title,
.blog-card:hover .blog-title a {
  color: var(--primary);
}

.blog-excerpt {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: var(--font-size-sm);
  color: var(--primary);
}

/* ==========================================
   CTA Section
   ========================================== */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="white" fill-opacity="0.05"><circle cx="25" cy="25" r="2"/><circle cx="75" cy="75" r="2"/><circle cx="75" cy="25" r="3"/><circle cx="25" cy="75" r="3"/></svg>');
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-family: var(--font-secondary);
  font-size: var(--font-size-4xl);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.cta-desc {
  font-size: var(--font-size-xl);
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

/* ==========================================
   Footer Styles
   ========================================== */
.main-footer {
  color: var(--text-primary);
}

.footer-content {
  position: relative;
  z-index: 1;
}

.footer-cta {
  /* background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); */
  background: linear-gradient(
    135deg,
    var(--primary) 0%,
    var(--primary-dark) 100%
  );
  padding: 80px 0;
  position: relative;
  z-index: 2;
}

.footer-cta .cta-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.footer-cta .cta-content h2 {
  font-family: var(--font-secondary);
  font-size: var(--font-size-3xl);
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.footer-cta .cta-content p {
  font-size: var(--font-size-lg);
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

.footer-cta .cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.footer-cta .cta-buttons .btn {
  white-space: nowrap;
}

.footer-main {
  padding: 80px 0;
}

.footer-logo {
  display: block;
  margin-bottom: 25px;
}

.footer-logo img {
  height: 50px;
}

.footer-desc {
  font-size: var(--font-size-base);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 25px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius-full);
  background: #dbe9fc;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--primary);
  transform: translateY(-3px);
  color: var(--white);
}

.widget-title {
  font-family: var(--font-secondary);
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.widget-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--primary);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: var(--font-size-base);
  transition: all var(--transition);
  display: inline-flex;
  align-items: center;
}

.footer-links a::before {
  content: "";
  width: 0;
  height: 2px;
  background: var(--primary);
  margin-right: 0;
  transition: all var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 15px;
}

.footer-links a:hover::before {
  width: 10px;
  margin-right: 8px;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  color: var(--text-secondary);
  font-size: var(--font-size-base);
}

.footer-contact li i {
  color: var(--primary);
  width: 18px;
  flex-shrink: 0;
  margin-top: 4px;
  text-align: center;
}

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

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

.footer-contact li strong {
  color: var(--text-primary);
  margin-right: 5px;
}

.footer-contact li span {
  color: var(--text-secondary);
}

.footer-newsletter {
  margin-top: 60px;
  padding-top: 60px;
  border-top: 1px solid #cfe0f7;
}

.footer-newsletter h4 {
  font-family: var(--font-secondary);
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: 10px;
}

.footer-newsletter p {
  color: var(--text-secondary);
  margin: 0;
}

.newsletter-form .input-group {
  display: flex;
  gap: 15px;
}

.newsletter-form input {
  flex: 1;
  padding: 15px 25px;
  background: #ffffff;
  border: 1px solid #cfe0f7;
  border-radius: var(--border-radius);
  color: var(--text-primary);
  font-size: var(--font-size-base);
}

.newsletter-form input::placeholder {
  color: var(--text-muted);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--primary);
}

.footer-bottom {
  padding: 25px 0;
  border-top: 1px solid #cfe0f7;
}

.copyright {
  margin: 0;
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
}

.footer-bottom-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 30px;
  justify-content: flex-end;
}

.footer-bottom-links a {
  color: var(--text-secondary);
  font-size: var(--font-size-sm);
}

.footer-bottom-links a:hover {
  color: var(--primary);
}

/* ==========================================
   Page Transition
   ========================================== */
.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary);
  z-index: 9999;
  pointer-events: none;
  transform: scaleY(0);
  transform-origin: bottom;
}

.page-transition.active {
  animation: pageTransition 0.6s ease-in-out forwards;
}

@keyframes pageTransition {
  0% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
  50% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  50.1% {
    transform-origin: top;
  }
  100% {
    transform: scaleY(0);
    transform-origin: top;
  }
}

/* ==========================================
   Form Styles
   ========================================== */
.form-group {
  margin-bottom: 25px;
}

.form-label {
  display: block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 15px 20px;
  font-size: var(--font-size-base);
  font-family: var(--font-primary);
  color: var(--text-primary);
  background: var(--bg-primary);
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  transition: all var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
}

.form-control::placeholder {
  color: var(--text-muted);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 15px center;
  background-repeat: no-repeat;
  background-size: 20px;
  padding-right: 50px;
}

/* ==========================================
   Cards & Boxes
   ========================================== */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-lg);
  padding: 30px;
}

.gradient-card {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--border-radius-lg);
  padding: 30px;
  color: var(--white);
}

/* ==========================================
   Swiper Customization
   ========================================== */
.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: var(--border-color);
  opacity: 1;
}

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

.swiper-button-prev,
.swiper-button-next {
  width: 50px;
  height: 50px;
  background: var(--bg-primary);
  border-radius: var(--border-radius-full);
  box-shadow: var(--shadow-lg);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 18px;
  color: var(--text-primary);
}

/* ==========================================
   Animations
   ========================================== */
@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 scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fadeInLeft {
  animation: fadeInLeft 0.6s ease-out forwards;
}

.animate-fadeInRight {
  animation: fadeInRight 0.6s ease-out forwards;
}

/* ==========================================
   Utility Classes
   ========================================== */
.text-primary {
  color: var(--primary) !important;
}
.text-secondary {
  color: var(--text-secondary) !important;
}
.text-muted {
  color: var(--text-muted) !important;
}
.text-white {
  color: var(--white) !important;
}

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

.fw-400 {
  font-weight: 400 !important;
}
.fw-500 {
  font-weight: 500 !important;
}
.fw-600 {
  font-weight: 600 !important;
}
.fw-700 {
  font-weight: 700 !important;
}

.mb-0 {
  margin-bottom: 0 !important;
}
.mb-20 {
  margin-bottom: 20px !important;
}
.mb-30 {
  margin-bottom: 30px !important;
}
.mb-40 {
  margin-bottom: 40px !important;
}

.pt-0 {
  padding-top: 0 !important;
}
.pb-0 {
  padding-bottom: 0 !important;
}

/* ==========================================
   Responsive Styles
   ========================================== */
@media (max-width: 1199px) {
  .services-grid,
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }

  .tech-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 991px) {
  :root {
    --section-padding: 80px;
  }

  .hero-title {
    font-size: var(--font-size-4xl);
  }

  .navbar-collapse {
    display: none;
  }

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

  .stats-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-choose-grid {
    grid-template-columns: 1fr;
  }

  .footer-cta .cta-wrapper {
    flex-direction: column;
    text-align: center;
  }

  .footer-cta .cta-buttons {
    justify-content: center;
  }

  .footer-bottom .row {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .footer-bottom-links {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  :root {
    --section-padding: 60px;
    --font-size-6xl: 2.5rem;
    --font-size-5xl: 2rem;
    --font-size-4xl: 1.75rem;
    --font-size-3xl: 1.5rem;
  }

  .hero-section {
    min-height: auto;
    padding: 120px 0 80px;
  }

  .hero-stats {
    gap: 30px;
  }

  .services-grid,
  .products-grid,
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .stats-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .section-title {
    font-size: var(--font-size-3xl);
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1rem;
  }

  .newsletter-form .input-group {
    flex-direction: column;
  }

  .footer-cta .cta-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .footer-cta .cta-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  .cta-section {
    padding: 60px 0;
  }

  .cta-title {
    font-size: 1.75rem;
    line-height: 1.3;
  }

  .cta-desc {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 280px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .footer-newsletter .row {
    flex-direction: column;
    gap: 20px;
  }

  .theme-toggle,
  .back-to-top {
    right: 20px;
  }

  .theme-toggle {
    bottom: 90px;
  }

  .whatsapp-float {
    position: fixed !important;
    bottom: 20px !important;
    right: 20px !important;
    top: auto !important;
  }
}

@media (max-width: 585px) {
  .section-title {
    line-height: 1.5;
  }
}

@media (max-width: 568px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section-desc {
    font-size: 14px !important;
  }

  .btn {
    padding: 8px 16px;
    font-size: 0.875rem;
  }

  .btn-lg {
    padding: 10px 20px;
    font-size: 0.875rem;
  }

  .cta-buttons .btn {
    max-width: 220px;
  }
}

@media (max-width: 480px) {
  .stats-wrapper {
    grid-template-columns: 1fr;
  }

  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stat-item {
    text-align: center;
    flex: 1;
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
  }
}
