/* ====== CSS CUSTOM PROPERTIES ====== */
:root {
  /* Colors */
  --primary-color: #0056b3;
  --primary-dark: #004494;
  --primary-light: #b7daff;
  --secondary-color: #db4a2b;
  --secondary-light: #f3c4b9;
  --accent-color: #2a91ff;
  --success-color: #28a745;
  --warning-color: #ffc107;
  --error-color: #dc3545;
  
  /* Grays */
  --gray-50: #f8f9fa;
  --gray-100: #e9ecef;
  --gray-200: #dee2e6;
  --gray-300: #ced4da;
  --gray-400: #adb5bd;
  --gray-500: #6c757d;
  --gray-600: #495057;
  --gray-700: #343a40;
  --gray-800: #212529;
  --gray-900: #0d1117;
  
  /* Typography */
  --font-primary: 'Source Sans Pro', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-display: 'Merriweather', Georgia, 'Times New Roman', serif;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 600;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --spacing-4xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Transitions */
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
  
  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-services: 1080;
  --z-tooltip: 1070;
}

/* ====== RESET & BASE ====== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-primary);
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  line-height: 1.6;
  color: var(--gray-700);
  background: var(--gray-50);
  font-weight: var(--font-weight-normal);
  overflow-x: hidden;
}

/* ====== LOADING SCREEN ====== */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease-in-out;
}

.loading-content {
  text-align: center;
  color: white;
}

.loading-logo img {
  height: 250px;
  margin-bottom: var(--spacing-xl);
  animation: pulse 2s infinite;
}

.loading-spinner {
  margin: var(--spacing-xl) 0;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top: 3px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}

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

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

/* ====== BACK TO TOP BUTTON ====== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition-normal);
  transform: translateY(100px);
  opacity: 0;
  z-index: var(--z-fixed);
}

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

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-2px) scale(1.1);
  box-shadow: var(--shadow-xl);
}

/* ====== UTILITY CONTAINERS ====== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

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

/* ====== SECTION COMPONENTS ====== */
.section-badge {
  display: inline-block;
  padding: var(--spacing-xs) var(--spacing-md);
  background: linear-gradient(135deg, var(--primary-light), rgba(42, 145, 255, 0.2));
  color: var(--primary-color);
  font-size: 0.875rem;
  font-weight: var(--font-weight-medium);
  border-radius: var(--radius-2xl);
  margin-bottom: var(--spacing-md);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-4xl);
}

.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: var(--font-weight-bold);
  color: var(--gray-800);
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
}

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

/* ====== BUTTONS ====== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-xl);
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  text-decoration: none;
  border-radius: var(--radius-lg);
  font-weight: var(--font-weight-medium);
  font-size: 1rem;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-md);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

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

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-xl);
  background: transparent;
  color: white;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-lg);
  font-weight: var(--font-weight-medium);
  font-size: 1rem;
  transition: all var(--transition-normal);
  backdrop-filter: blur(10px);
}

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

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-xl);
  background: transparent;
  color: var(--primary-color);
  text-decoration: none;
  border: 2px solid var(--primary-color);
  border-radius: var(--radius-lg);
  font-weight: var(--font-weight-medium);
  font-size: 1rem;
  transition: all var(--transition-normal);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ====== NAVBAR ====== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  z-index: var(--z-fixed);
  padding: var(--spacing-md) var(--spacing-xl);
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-md);
}

.navbar.scrolled .nav-links a {
  color: var(--gray-700);
}

.navbar.scrolled .nav-links a:hover {
  color: var(--primary-color);
}

.navbar.scrolled .nav-links li:last-child a {
  background: var(--secondary-color);
  color: white;
}

.logo img {
  height: 60px;
  cursor: pointer;
  transition: transform var(--transition-normal);
}

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

/* Logo switching based on navbar state */
.navbar .logo-dark {
  display: none;
}

.navbar .logo-light {
  display: block;
}

.navbar.scrolled .logo-dark {
  display: block;
}

.navbar.scrolled .logo-light {
  display: none;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--accent-color);
  text-decoration: none;
}

.navbar-menu {
  display: flex;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: var(--spacing-xl);
  align-items: center;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  position: relative;
  transition: all var(--transition-normal);
  padding: var(--spacing-sm) 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: width var(--transition-normal);
}

.nav-links a:hover::after,
.nav-links .active::after {
  width: 100%;
}

.nav-links li:last-child a {
  background: var(--secondary-color);
  color: white;
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
}

.nav-links li:last-child a::after {
  display: none;
}

.nav-links li:last-child a:hover {
  background: var(--secondary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.nav-links a:hover,
.nav-links .active {
  color: var(--secondary-color);
}

/* ====== DROPDOWN MENU ====== */
.services-dropdown {
  position: relative;
}

.services-dropdown .dropdown-content {
  display: none;
  position: absolute;
  margin-top: -20px;
  top: 100%;
  left: 0;
  background: white;
  box-shadow: var(--shadow-xl);
  border-radius: var(--radius-lg);
  padding: var(--spacing-md) 0;
  min-width: 280px;
  z-index: var(--z-dropdown);
  border: 1px solid var(--gray-200);
  animation: dropdownFade 0.3s ease-in-out;
}

@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.services-dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-lg);
  color: var(--gray-700);
  white-space: nowrap;
  transition: all var(--transition-fast);
  border-radius: 0;
}

.dropdown-content a::after {
  display: none;
}

.dropdown-content a:hover {
  background: var(--gray-50);
  color: var(--primary-color);
  transform: translateX(5px);
}

.dropdown-content a i {
  color: var(--primary-color);
  font-size: 0.875rem;
}

/* ====== MENU ICON ====== */
.menu-icon {
  display: none;
  cursor: pointer;
  position: fixed;
  top: var(--spacing-lg);
  right: var(--spacing-xl);
  z-index: var(--z-modal);
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.menu-icon:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.menu-icon img {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  transition: filter var(--transition-normal);
}

/* Menu icon color when navbar is scrolled */
.menu-icon.scrolled img {
  filter: brightness(0) saturate(100%) invert(12%) sepia(96%) saturate(1945%) hue-rotate(208deg) brightness(95%) contrast(101%);
}

.menu-icon.active {
  background: var(--secondary-color);
}

.menu-icon.active img {
  transform: rotate(90deg);
}


/* ====== MOBILE RESPONSIVE ====== */
@media (max-width: 768px) {
  /* Navbar mobile styles */
  .navbar {
    padding: var(--spacing-md) var(--spacing-lg);
  }
  
  .menu-icon {
    display: flex;
  }
  
  .navbar-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: var(--z-modal-backdrop);
    animation: mobileMenuSlide 0.3s ease-in-out;
  }
  
  @keyframes mobileMenuSlide {
    from {
      opacity: 0;
      transform: translateX(-100%);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }
  
  .navbar-menu.active {
    display: flex;
  }
  
  .nav-links {
    flex-direction: column;
    gap: var(--spacing-xl);
    text-align: center;
    width: 100%;
    padding: 0 2rem;
  }
  
  .nav-links a {
    font-size: 1.25rem;
    padding: var(--spacing-md);
    color: white !important; /* Keep white at all times on mobile */
    width: 100%;
    display: inline-block;
  }
  
  /* Ensure nav links stay white even when navbar is scrolled on mobile */
  .navbar.scrolled .nav-links a {
    color: white !important;
  }
  
  .nav-links li:last-child a {
    margin-top: var(--spacing-lg);
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1.125rem;
    color: white !important; /* Keep white at all times on mobile */
    width: auto;
    display: inline-block;
  }
  
  /* Ensure last nav link stays white even when navbar is scrolled on mobile */
  .navbar.scrolled .nav-links li:last-child a {
    background: var(--secondary-color);
    color: white !important;
  }
  
  .logo img {
    height: 45px;
  }
  
  .services-dropdown .dropdown-content {
    position: relative;
    display: block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: var(--spacing-md);
    width: 100%;
    padding: 0.5rem 0;
    border-radius: 0.75rem;
  }
  
  .dropdown-content a {
    color: white;
    justify-content: flex-start;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
  }
  
  .dropdown-content a:last-child {
    border-bottom: none;
  }
  
  .dropdown-content a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: none;
  }
  
  .dropdown-content a i {
    margin-right: 0.5rem;
    width: 20px;
    color: white;
  }
  
  /* Global mobile container improvements */
  .container {
    width: 100%;
    padding: 0 1.25rem;
  }
  
  /* Section padding adjustments */
  section {
    padding: 3rem 0;
  }
  
  /* Adjust button sizes */
  .btn-primary, .btn-secondary, .btn-outline {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
  }
}


/* ====== HERO SECTION ====== */
.hero-section {
  position: relative;
  background: url('assets/hero-bg.png') center/cover no-repeat;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: white;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(0, 86, 179, 0.8), rgba(0, 68, 148, 0.6));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: var(--spacing-4xl) 0;
  text-align: center;
}

.hero-text {
  max-width: 800px;
  margin: 0 auto var(--spacing-4xl);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.1;
  margin-bottom: var(--spacing-xl);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-line {
  display: block;
  animation: slideInUp 1s ease-out forwards;
  opacity: 0;
}

.hero-line:nth-child(1) {
  animation-delay: 0.2s;
}

.hero-line:nth-child(2) {
  animation-delay: 0.4s;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-subtitle {
  font-size: clamp(1.125rem, 3vw, 1.5rem);
  margin-bottom: var(--spacing-2xl);
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 1s ease-out 0.6s forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 0.9;
    transform: translateY(0);
  }
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-lg);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.8s forwards;
  opacity: 0;
}

/* ====== HERO STATISTICS ====== */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: var(--spacing-xl);
  max-width: 600px;
  margin: 0 auto var(--spacing-4xl);
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  text-align: center;
  transition: all var(--transition-normal);
  animation: statFloat 3s ease-in-out infinite;
}

.stat-card:nth-child(1) { animation-delay: 0s; }
.stat-card:nth-child(2) { animation-delay: 1s; }
.stat-card:nth-child(3) { animation-delay: 2s; }

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

.stat-card:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px) scale(1.05);
  box-shadow: var(--shadow-xl);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: var(--font-weight-bold);
  color: white;
  margin-bottom: var(--spacing-sm);
  font-family: var(--font-display);
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: var(--font-weight-medium);
}

/* ====== SCROLL INDICATOR ====== */
.scroll-indicator {
  position: absolute;
  bottom: var(--spacing-2xl);
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  animation: bounce 2s infinite;
  z-index: 2;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.scroll-text {
  font-size: 0.875rem;
  margin-bottom: var(--spacing-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.scroll-arrow {
  font-size: 1.25rem;
}

/* ====== SERVICES GRID ====== */
#services {
  position: relative;
  margin-top: -120px;
  margin-bottom: -120px;
  z-index: var(--z-services);
  padding: 0 var(--spacing-xl);
}
/* Dropdown menu */
.services-dropdown .dropdown-content {
  display: none;
  position: absolute;
  top: 50px; left: 90;
  background: rgba(255, 255, 255, 0.947);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: .5rem 0;
  min-width: 160px;
  z-index: 1000;
}

.services-dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: .5rem 1rem;
  color: var(--primary);
  white-space: nowrap;
}

.dropdown-content a:hover {
  background: var(--bg);
}

#services h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-lg);
  margin: var(--spacing-xl) 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Services Overlay Positioning */
.services-overlay {
  position: relative;
  z-index: var(--z-services);
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.services-overlay .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: var(--spacing-xl);
}

.service-card {
  position: relative;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: var(--spacing-lg);
  text-align: center;
  border-radius: var(--radius-xl);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
  transition: all 0.3s ease;
   text-decoration: none; /* kills underline */
  color: inherit;        /* keeps your card’s text color */
  outline: none; 
  cursor: pointer;
  z-index: inherit;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transform: translateY(0);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-bottom: 50px;
}
.service-card img{
  max-width: 70px;
  margin-bottom: var(--spacing-sm);
  flex-shrink: 0;
}
.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  background-color: rgba(183, 218, 255, 0.95);
  box-shadow: 0 12px 48px rgba(0,0,0,0.18);
}

.service-card h5 {
  font-size: 1.125rem;
  margin-bottom: var(--spacing-sm);
  color: #0056b3;
  font-weight: var(--font-weight-semibold);
  flex-shrink: 0;
}

.service-card p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.4;
  margin-bottom: var(--spacing-sm);
  flex-grow: 1;
}

.service-arrow {
  margin-top: auto;
  color: var(--primary-color);
  font-size: 1rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.service-card:hover .service-arrow {
  transform: translateX(5px);
}

/* Desktop grid - 4 cards in one row */
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-xl);
  }
  
  .service-card {
    min-width: 0; /* Allow cards to shrink to fit */
    max-width: none;
  }
}

/* Tablet grid - 2 cards per row */
@media (min-width: 768px) and (max-width: 1023px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }
}

/* ====== WHY CHOOSE US SECTION ====== */
.features-section {
  position: relative;
  padding: 2rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f1f3f4 100%);
  overflow: hidden;
}

.features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 80%, rgba(0, 86, 179, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(42, 145, 255, 0.05) 0%, transparent 50%);
  z-index: 1;
}

.features-section .container {
  position: relative;
  z-index: 2;
}

.features-section h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: var(--font-weight-bold);
  color: var(--gray-800);
  text-align: center;
  margin-bottom: 3rem;
  position: relative;
}

.features-section h2::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

/* Enhanced Timeline Design */
.timeline {
  position: relative;
  width: 320px;
  margin: 0 auto 3rem;
  height: 6px;
  background: rgba(0, 86, 179, 0.1);
  border-radius: 3px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.timeline .line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: translateY(-50%);
  border-radius: 2px;
  width: 0%;
  transition: width 0.6s ease;
}

.timeline .circle {
  position: absolute;
  top: 50%;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: white;
  border: 3px solid #e0e0e0;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.timeline .circle:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.timeline .circle.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: translate(-50%, -50%) scale(1.2);
  box-shadow: 0 6px 20px rgba(0, 86, 179, 0.4);
}

.timeline .circle.active::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
}

/* Position circles */
.timeline .circle[data-index="0"] { left: 15%; }
.timeline .circle[data-index="1"] { left: 50%; }
.timeline .circle[data-index="2"] { left: 85%; }

/* Enhanced Labels */
.labels {
  display: flex;
  justify-content: space-between;
  max-width: 320px;
  margin: 0 auto 3rem;
  font-size: 1rem;
  user-select: none;
}

.labels span {
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.3s ease;
  font-weight: var(--font-weight-medium);
  padding: 0.5rem 1rem;
  border-radius: 1.5rem;
  background: transparent;
  color: var(--gray-600);
}

.labels span:hover {
  opacity: 0.8;
  background: rgba(0, 86, 179, 0.05);
  transform: translateY(-2px);
}

.labels span.active {
  color: var(--primary-color);
  opacity: 1;
  font-weight: var(--font-weight-semibold);
  background: rgba(0, 86, 179, 0.1);
  transform: translateY(-2px);
}

/* Enhanced Feature Content */
.feature-content {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  min-height: 400px;
}

.feature-text {
  position: relative;
  z-index: 2;
}

.feature-content p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--gray-700);
  opacity: 1;
  transition: all 0.6s ease;
  background: rgba(255, 255, 255, 0.9);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.feature-content p.fade-out {
  opacity: 0;
  transform: translateY(20px);
}

.feature-content p.fade-in {
  opacity: 0;
  animation: fadeInText 0.6s ease forwards;
}

@keyframes fadeInText {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Enhanced Image Stack */
.image-stack {
  position: relative;
  width: 100%;
  max-width: 500px;
  aspect-ratio: 4/5;
  perspective: 1000px;
  margin: 0 auto;
}

.image-stack img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  backface-visibility: hidden;
  transform-origin: center center;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 3px solid rgba(255, 255, 255, 0.8);
}

/* Initial stack positions with enhanced depth */
.image-stack img:nth-child(1) {
  z-index: 3;
  transform: translate(0, 0) rotate(0deg);
}

.image-stack img:nth-child(2) {
  z-index: 2;
  transform: translate(12px, 12px) rotate(2deg);
}

.image-stack img:nth-child(3) {
  z-index: 1;
  transform: translate(24px, 24px) rotate(4deg);
}

/* Enhanced flip animation */
.image-stack.flip img:nth-child(1) {
  transform: translate(24px, 24px) rotate(4deg) rotateY(180deg);
  z-index: 1;
}

.image-stack.flip img:nth-child(2) {
  transform: translate(0, 0) rotate(0deg) rotateY(180deg);
  z-index: 3;
}

.image-stack.flip img:nth-child(3) {
  transform: translate(12px, 12px) rotate(2deg) rotateY(180deg);
  z-index: 2;
}

/* Hover effect for image stack */
.image-stack:hover img {
  transform: translate(0, 0) rotate(0deg) scale(1.02);
}

.image-stack:hover img:nth-child(1) { z-index: 3; }
.image-stack:hover img:nth-child(2) { z-index: 2; }
.image-stack:hover img:nth-child(3) { z-index: 1; }
/* ====== MOBILE LAYOUT (max-width: 768px) ====== */
@media only screen and (max-width: 768px) {

  /* Hero tweaks */
  .hero-section {
    min-height: 80vh;
    background-position: center top;
  }
  .hero-content {
    margin-top: 80px;
    padding: 1.5rem 1rem;
  }
  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: var(--spacing-lg);
  }
  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: var(--spacing-xl);
  }
  .hero-buttons {
    gap: var(--spacing-md);
  }
  .btn-primary, .btn-secondary {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    width: 100%;
    justify-content: center;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }
  
  /* Stats cards */
  .hero-stats {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-xl);
  }
  .stat-card {
    padding: var(--spacing-lg);
  }
  .stat-number {
    font-size: 2rem;
  }

  /* Services grid → maintain connection effect */
  #services {
    margin-top: -60px;
    margin-bottom: -40px;
    padding: 2rem 1rem;
  }
  .services-grid {
    grid-template-columns: 1fr !important;
    gap: var(--spacing-lg);
  }
  .service-card {
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    min-height: auto;
    flex-direction: row;
    text-align: left;
    align-items: center;
  }
  .service-card .service-icon {
    margin-right: var(--spacing-md);
  }
  .service-card img {
    max-width: 50px;
    margin-bottom: 0;
  }
  .service-card h5 {
    font-size: 1.125rem;
    margin-bottom: var(--spacing-xs);
  }
  .service-card p {
    font-size: 0.85rem;
    margin-bottom: 0;
  }
  .service-arrow {
    position: absolute;
    right: var(--spacing-lg);
  }

  /* Features section - Enhanced mobile design */
  .features-section {
    padding: 3rem 0;
  }
  
  .features-section h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
  }
  
  .features-section h2::after {
    width: 60px;
    height: 3px;
  }
  
  .timeline {
    width: 280px;
    margin-bottom: 1.5rem;
  }
  
  .timeline .circle {
    width: 20px;
    height: 20px;
  }
  
  .timeline .circle[data-index="0"] { left: 12%; }
  .timeline .circle[data-index="1"] { left: 50%; }
  .timeline .circle[data-index="2"] { left: 88%; }
  
  .labels {
    max-width: 280px;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
  }
  
  .labels span {
    padding: 0.4rem 0.8rem;
  }

  /* Stack feature content vertically on mobile */
  .feature-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: left;
    min-height: auto;
  }
  
  .feature-content p {
    font-size: 0.95rem;
    padding: 1.25rem;
    line-height: 1.6;
  }

  /* Image-stack adjustments for mobile */
  .image-stack {
    max-width: 280px;
    aspect-ratio: 1;
    margin: 0 auto 1rem;
    order: 1;
  }
  
  .feature-text {
    order: 2;
  }
  
  .image-stack img {
    border-radius: 0.75rem;
    border-width: 2px;
  }
  
  /* Simplified mobile stack positions */
  .image-stack img:nth-child(2) {
    transform: translate(8px, 8px) rotate(1deg);
  }
  
  .image-stack img:nth-child(3) {
    transform: translate(16px, 16px) rotate(2deg);
  }
}

/* ====== ENHANCED MOBILE EXPERIENCE ====== */
@media (max-width: 768px) {
  /* Improve touch targets */
  button, 
  .btn-primary,
  .btn-secondary,
  .btn-outline,
  input[type="submit"],
  .nav-link,
  .service-card,
  .contact-item {
    touch-action: manipulation;
  }
  
  /* Optimize scroll performance */
  body {
    -webkit-overflow-scrolling: touch;
  }
  
  /* Better form experience on mobile */
  input, 
  textarea, 
  select {
    font-size: 16px !important; /* Prevents iOS zoom on focus */
  }
  
  /* Improve mobile animations - reduce motion for better performance */
  @media (prefers-reduced-motion: reduce) {
    * {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
  }
  
  /* Larger touch area for footer links */
  footer a {
    padding: 0.5rem;
    display: inline-block;
  }
  
  /* Make mobile tables responsive */
  table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
  
  /* Enhanced mobile focus states for accessibility */
  a:focus,
  button:focus,
  input:focus,
  textarea:focus {
    outline: 3px solid rgba(0, 86, 179, 0.5);
    outline-offset: 2px;
  }
}

/* ====== ABOUT SECTION ====== */
.about-us {
  position: relative;
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  overflow: hidden;
}

.about-us::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="80" cy="40" r="0.5" fill="%23ffffff" opacity="0.1"/><circle cx="40" cy="80" r="1.5" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
  opacity: 0.3;
  z-index: 1;
}

.about-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.about-text {
  animation: fadeInLeft 1s ease-out;
}

.about-text .section-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, var(--primary-light), rgba(42, 145, 255, 0.2));
  color: var(--primary-color);
  font-size: 0.875rem;
  font-weight: var(--font-weight-medium);
  border-radius: 2rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: var(--font-weight-bold);
  color: var(--gray-800);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.about-description {
  font-size: 1.125rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.about-features {
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--gray-700);
}

.feature-item i {
  color: var(--primary-color);
  font-size: 1.25rem;
  background: rgba(0, 86, 179, 0.1);
  padding: 0.5rem;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.image-container {
  position: relative;
  max-width: 400px;
  width: 100%;
}

.about-img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-img:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.image-overlay {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.image-container:hover .image-overlay {
  transform: translateY(0);
}

.overlay-content h4 {
  font-size: 1.125rem;
  font-weight: var(--font-weight-semibold);
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.overlay-content p {
  font-size: 0.875rem;
  color: var(--gray-600);
  margin: 0;
}

/* Responsive design for about section */
@media (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 0 1rem;
  }
  
  .about-text {
    text-align: center;
    order: 2;
  }
  
  .about-image {
    order: 1;
  }
  
  .about-text h2 {
    font-size: 2rem;
  }
  
  .about-description {
    font-size: 1rem;
  }
  
  .feature-item {
    justify-content: center;
  }
}

/* Animation keyframes for about section */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Remove old about image styles */
/* ====== TESTIMONIALS SECTION ====== */
.testimonials-section {
  position: relative;
  padding: 6rem 0;
  background: linear-gradient(135deg, #f1f3f4 0%, #ffffff 50%, #f8f9fa 100%);
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 70%, rgba(0, 86, 179, 0.03) 0%, transparent 50%),
              radial-gradient(circle at 70% 30%, rgba(42, 145, 255, 0.03) 0%, transparent 50%);
  z-index: 1;
}

.testimonials-section .container {
  position: relative;
  z-index: 2;
}

.testimonials-section .section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.testimonials-section .section-header h2::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

/* Enhanced Carousel Design */
.carousel {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 0 auto;
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Carousel wrapper to provide space for arrows */
.carousel-wrapper {
  position: relative;
  padding: 0 4rem; /* Add padding to accommodate navigation arrows */
}

.slides {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slide {
  min-width: 100%;
  padding: 3rem;
  box-sizing: border-box;
}

.testimonial-content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
}

.testimonial-text {
  position: relative;
  background: rgba(255, 255, 255, 0.8);
  padding: 2rem;
  border-radius: 1rem;
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.quote-icon {
  position: absolute;
  top: -10px;
  left: 20px;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(0, 86, 179, 0.3);
}

.testimonial-text p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--gray-700);
  font-style: italic;
  margin: 0;
  position: relative;
  z-index: 2;
}

.client-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 200px;
}

.client-info img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  border-radius: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: white;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.client-info img:hover {
  transform: scale(1.05);
}

.client-details h4 {
  font-size: 1.25rem;
  font-weight: var(--font-weight-semibold);
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

.client-details span {
  font-size: 1rem;
  color: var(--primary-color);
  font-weight: var(--font-weight-medium);
  margin-bottom: 0.75rem;
  display: block;
}

.client-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: var(--font-weight-medium);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 86, 179, 0.3);
}

.client-link:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 86, 179, 0.4);
}

/* Enhanced Navigation Controls */
.carousel-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: calc(100% + 8rem); /* Extend beyond carousel to accommodate arrows */
  left: -4rem; /* Offset to center the extended width */
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}

.arrow {
  position: relative;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  pointer-events: all;
  color: var(--primary-color);
  font-size: 1.25rem;
  z-index: 10;
}

.arrow:hover {
  background: var(--primary-color);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 12px 32px rgba(0, 86, 179, 0.3);
}

.arrow.prev {
  left: 0;
}

.arrow.next {
  right: 0;
}

/* Enhanced Dots Navigation */
.dots {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  padding: 2rem 0 1rem;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  border-radius: 0 0 1.5rem 1.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(0, 86, 179, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.dot:hover {
  background: rgba(0, 86, 179, 0.6);
  transform: scale(1.2);
}

.dot.active {
  background: var(--primary-color);
  transform: scale(1.3);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 12px rgba(0, 86, 179, 0.4);
}

/* Testimonials Mobile Responsiveness */
@media (max-width: 768px) {
  .testimonials-section {
    padding: 4rem 0 2rem;
  }
  
  .testimonials-section .section-header {
    margin-bottom: 2rem;
  }
  
  .carousel {
    max-width: 100%;
    margin: 0;
    border-radius: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  }
  
  .carousel-wrapper {
    padding: 0 2rem;
  }
  
  .slide {
    padding: 1.5rem 1rem;
  }
  
  .testimonial-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  
  .testimonial-text {
    order: 2;
    padding: 1.5rem;
    border-radius: 0.75rem;
    border-left-width: 3px;
  }
  
  .quote-icon {
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    font-size: 0.875rem;
  }
  
  .testimonial-text p {
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  .client-info {
    order: 1;
    min-width: auto;
  }
  
  .client-info img {
    width: 80px;
    height: 80px;
    margin-bottom: 0.75rem;
    padding: 0.5rem;
  }
  
  .client-details h4 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
  }
  
  .client-details span {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
  }
  
  .client-link {
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
  }
  
  .carousel-controls {
    width: calc(100% + 4rem);
    left: -2rem;
  }
  
  .arrow {
    width: 36px;
    height: 36px;
    font-size: 0.875rem;
  }
  
  .dots {
    gap: 0.5rem;
    padding: 1rem 0 0.75rem;
  }
  
  .dot {
    width: 8px;
    height: 8px;
  }
}

@media (max-width: 576px) {
  .testimonials-section {
    padding: 3rem 0 1.5rem;
  }
  
  .carousel-wrapper {
    padding: 0 1.5rem;
  }
  
  .carousel-controls {
    width: calc(100% + 3rem);
    left: -1.5rem;
  }
  
  .arrow {
    width: 32px;
    height: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }
  
  .client-info img {
    width: 70px;
    height: 70px;
  }
  
  .testimonial-text {
    padding: 1.25rem;
  }
}
/* ====== CONTACT SECTION ====== */
.contact-section {
  position: relative;
  padding: 6rem 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('assets/whyUs-bg.png') center/cover no-repeat;
  opacity: 0.1;
  z-index: 1;
}

.contact-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 40% 60%, rgba(0, 86, 179, 0.05) 0%, transparent 50%),
              radial-gradient(circle at 60% 40%, rgba(42, 145, 255, 0.05) 0%, transparent 50%);
  z-index: 2;
}

.contact-section .container {
  position: relative;
  z-index: 3;
}

.contact-section .section-header h2::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 2px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto;
}

/* Enhanced Contact Form */
.contact-form {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 1.5rem;
  padding: 3rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  border-radius: 1.5rem 1.5rem 0 0;
}

.form-header {
  text-align: center;
  margin-bottom: 2rem;
}

.form-header h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: var(--font-weight-bold);
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

.form-header p {
  color: var(--gray-600);
  font-size: 1rem;
}

.modern-form .form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.modern-form label {
  display: block;
  font-weight: var(--font-weight-medium);
  color: var(--gray-700);
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modern-form input,
.modern-form textarea {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 2px solid rgba(0, 86, 179, 0.1);
  border-radius: 0.75rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  color: var(--gray-800);
  box-sizing: border-box;
}

.modern-form input:focus,
.modern-form textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 0 0 4px rgba(0, 86, 179, 0.1);
  transform: translateY(-2px);
}

.form-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-color);
  font-size: 1rem;
  z-index: 10;
  pointer-events: none;
}

.form-group:has(textarea) .form-icon {
  top: 3rem;
  transform: none;
}

.btn-submit {
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: white;
  border: none;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: var(--font-weight-medium);
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 8px 24px rgba(0, 86, 179, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

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

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 86, 179, 0.4);
}

.btn-submit.success {
  background: linear-gradient(135deg, var(--success-color), #1e7e34);
}

.btn-submit.error {
  background: linear-gradient(135deg, var(--error-color), #c82333);
}

/* Enhanced Contact Info */
.contact-info {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 1.5rem;
  padding: 3rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-content .logo-section {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 86, 179, 0.1);
}

.contact-content .logo-section img {
  width: 120px;
  height: auto;
  margin-bottom: 1rem;
}

.contact-content .logo-section h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: var(--font-weight-bold);
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

.contact-content .logo-section p {
  color: var(--gray-600);
  font-size: 1rem;
  font-style: italic;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 1rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 86, 179, 0.3);
}

.contact-text h4 {
  font-size: 1.125rem;
  font-weight: var(--font-weight-semibold);
  color: var(--gray-800);
  margin-bottom: 0.5rem;
}

.contact-text p {
  color: var(--gray-600);
  line-height: 1.5;
  margin: 0;
}

/* Contact Section Responsive Styles */
@media (max-width: 1200px) {
  .contact-grid {
    gap: 3rem;
  }
  
  .contact-form,
  .contact-info {
    padding: 2.5rem;
  }
}

@media (max-width: 992px) {
  .contact-section {
    padding: 4rem 0;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 600px;
  }
  
  .contact-form,
  .contact-info {
    padding: 2rem;
  }
  
  .form-header h3 {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .contact-section {
    padding: 3rem 0;
  }
  
  .contact-form,
  .contact-info {
    padding: 1.5rem;
    border-radius: 1rem;
  }
  
  .form-header h3 {
    font-size: 1.375rem;
  }
  
  .modern-form input,
  .modern-form textarea {
    padding: 0.875rem 0.875rem 0.875rem 2.5rem;
  }
  
  .form-icon {
    left: 0.875rem;
    font-size: 0.875rem;
  }
  
  .contact-details {
    gap: 1.5rem;
  }
  
  .contact-item {
    padding: 1.25rem;
  }
  
  .contact-icon {
    width: 45px;
    height: 45px;
    font-size: 1.125rem;
  }
}

@media (max-width: 576px) {
  .contact-section {
    padding: 2rem 0;
  }
  
  .contact-grid {
    gap: 1.5rem;
  }
  
  .contact-form,
  .contact-info {
    padding: 1.25rem;
    margin: 0 1rem;
  }
  
  .form-header h3 {
    font-size: 1.25rem;
  }
  
  .form-header p {
    font-size: 0.875rem;
  }
  
  .modern-form input,
  .modern-form textarea {
    padding: 0.75rem 0.75rem 0.75rem 2.25rem;
       font-size: 0.9rem;
  }
  
  .form-icon {
    left: 0.75rem;
  }
  
  .contact-content .logo-section img {
    width: 100px;
  }
  
  .contact-content .logo-section h3 {
    font-size: 1.25rem;
  }
  
  .contact-item {
    padding: 1rem;
    gap: 0.75rem;
  }
  
  .contact-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }
  
  .contact-text h4 {
    font-size: 1rem;
  }
  
  .contact-text p {
    font-size: 0.875rem;
  }
}


/* ====== FOOTER ====== */
footer {
  background-color: #292828;
  color: #eee;
  padding: 2.5rem 0 1rem;
  font-size: 0.95rem;
}

.row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-row h5,
.footer-row h6 {
  margin-bottom: 1rem;
  font-weight: 600;
  color: #ffffff;
}

.footer-row p,
.footer-row a {
  color: #ccc;
  margin-bottom: 0.5rem;
  text-decoration: none;
}

.footer-row a:hover {
  color: #ffffff;
  text-decoration: underline;
}

footer ul {
  list-style: none;
  padding: 0;
}
.follow-us img{
  max-width: 20px;
  height: auto;
  text-align: center;
}
footer li {
  margin-bottom: 0.4rem;
  
}

footer #contact p {
  margin: 0.4rem 0;
}

footer .copyright {
  text-align: center;
  font-size: 0.85rem;
  color: #aaa;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
}
footer h4{
    color:#ebd4cc;
}

/* Footer mobile styles */
@media (max-width: 768px) {
  footer {
    padding: 2rem 0 1rem;
    text-align: center;
  }
  
  .row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }
  
  footer .col-md-4 {
    margin-bottom: 1.5rem;
  }
  
  footer ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  
  footer li {
    margin-bottom: 0.5rem;
  }
  
  .follow-us {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
  }
  
  .follow-us img {
    width: 25px;
    height: 25px;
  }
  
  footer #saica img {
    max-width: 120px;
    margin: 0 auto;
  }
  
  footer .copyright {
    margin-top: 1.5rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  footer {
    padding: 1.5rem 0 0.75rem;
  }
  
  footer h4 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
  }
  
  .row {
    gap: 1rem;
  }
  
  footer .col-md-4 {
    margin-bottom: 1rem;
  }
  
  footer p, footer a {
    font-size: 0.85rem;
  }
}