/* ========================================
   MODERN ATTRACTIVE GRID CSS - 2025
   ======================================== */

/* ===== CSS IMPORTS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* ===== ENHANCED MODERN VARIABLES ===== */
:root {
  /* Modern Color Palette - 2025 Trends */
  --primary-50: #f0f4ff;
  --primary-100: #e0e7ff;
  --primary-200: #c7d2fe;
  --primary-300: #a5b4fc;
  --primary-400: #818cf8;
  --primary-500: #6366f1;
  --primary-600: #4f46e5;
  --primary-700: #4338ca;
  --primary-800: #3730a3;
  --primary-900: #312e81;
  
  /* Vibrant Gradients */
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-warm: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
  --gradient-cool: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
  --gradient-dark: linear-gradient(135deg, #232526 0%, #414345 100%);
  
  /* Glassmorphism Colors */
  --glass-white: rgba(255, 255, 255, 0.1);
  --glass-light: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.2);
  
  /* Semantic Colors */
  --white: #ffffff;
  --black: #000000;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  
  /* Typography System */
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  --font-weight-black: 900;
  
  /* Perfect Scale System */
  --text-xs: 0.75rem;      /* 12px */
  --text-sm: 0.875rem;     /* 14px */
  --text-base: 1rem;       /* 16px */
  --text-lg: 1.125rem;     /* 18px */
  --text-xl: 1.25rem;      /* 20px */
  --text-2xl: 1.5rem;      /* 24px */
  --text-3xl: 1.875rem;    /* 30px */
  --text-4xl: 2.25rem;     /* 36px */
  --text-5xl: 3rem;        /* 48px */
  --text-6xl: 3.75rem;     /* 60px */
  --text-7xl: 4.5rem;      /* 72px */
  --text-8xl: 6rem;        /* 96px */
  --text-9xl: 8rem;        /* 128px */
  
  /* Perfect Spacing Scale */
  --space-px: 1px;
  --space-0: 0px;
  --space-1: 0.25rem;      /* 4px */
  --space-2: 0.5rem;       /* 8px */
  --space-3: 0.75rem;      /* 12px */
  --space-4: 1rem;         /* 16px */
  --space-5: 1.25rem;      /* 20px */
  --space-6: 1.5rem;       /* 24px */
  --space-7: 1.75rem;      /* 28px */
  --space-8: 2rem;         /* 32px */
  --space-10: 2.5rem;      /* 40px */
  --space-12: 3rem;        /* 48px */
  --space-16: 4rem;        /* 64px */
  --space-20: 5rem;        /* 80px */
  --space-24: 6rem;        /* 96px */
  --space-32: 8rem;        /* 128px */
  --space-40: 10rem;       /* 160px */
  --space-48: 12rem;       /* 192px */
  --space-56: 14rem;       /* 224px */
  --space-64: 16rem;       /* 256px */
  
  /* Modern Border Radius */
  --radius-none: 0px;
  --radius-sm: 0.125rem;   /* 2px */
  --radius-base: 0.25rem;  /* 4px */
  --radius-md: 0.375rem;   /* 6px */
  --radius-lg: 0.5rem;     /* 8px */
  --radius-xl: 0.75rem;    /* 12px */
  --radius-2xl: 1rem;      /* 16px */
  --radius-3xl: 1.5rem;    /* 24px */
  --radius-full: 9999px;
  
  /* Advanced Shadows */
  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);
  --shadow-glow: 0 0 0 1px rgba(99, 102, 241, 0.05), 0 1px 3px 0 rgba(99, 102, 241, 0.1), 0 4px 6px -1px rgba(99, 102, 241, 0.1);
  
  /* Modern Transitions */
  --transition-all: all 0.15s ease-in-out;
  --transition-colors: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
  --transition-transform: transform 0.15s ease-in-out;
  --transition-shadow: box-shadow 0.15s ease-in-out;
  
  /* Z-Index Scale */
  --z-0: 0;
  --z-10: 10;
  --z-20: 20;
  --z-30: 30;
  --z-40: 40;
  --z-50: 50;
  --z-auto: auto;
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
  
  /* Container Breakpoints */
  --container-sm: 640px;
  --container-md: 768px;
  --container-lg: 1024px;
  --container-xl: 1280px;
  --container-2xl: 1536px;
}

/* ===== MODERN RESET ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  font-family: var(--font-primary);
  font-feature-settings: normal;
  font-variation-settings: normal;
  scroll-behavior: smooth;
}

body {
  line-height: inherit;
  color: var(--gray-900);
  background-color: var(--white);
  font-family: var(--font-primary);
  font-weight: var(--font-weight-normal);
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ===== PERFECT GRID SYSTEM ===== */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space-4);
  padding-right: var(--space-4);
}

@media (min-width: 640px) {
  .container {
    max-width: var(--container-sm);
    padding-left: var(--space-6);
    padding-right: var(--space-6);
  }
}

@media (min-width: 768px) {
  .container {
    max-width: var(--container-md);
    padding-left: var(--space-8);
    padding-right: var(--space-8);
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: var(--container-lg);
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: var(--container-xl);
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: var(--container-2xl);
  }
}

/* Modern Grid System */
.grid {
  display: grid;
}

.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

.col-span-1 { grid-column: span 1 / span 1; }
.col-span-2 { grid-column: span 2 / span 2; }
.col-span-3 { grid-column: span 3 / span 3; }
.col-span-4 { grid-column: span 4 / span 4; }
.col-span-5 { grid-column: span 5 / span 5; }
.col-span-6 { grid-column: span 6 / span 6; }
.col-span-full { grid-column: 1 / -1; }

.gap-0 { gap: 0px; }
.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-5 { gap: var(--space-5); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }
.gap-10 { gap: var(--space-10); }
.gap-12 { gap: var(--space-12); }
.gap-16 { gap: var(--space-16); }

/* Auto-fit Grids */
.grid-auto-fit {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-auto-fill {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

/* ===== MODERN FLEXBOX SYSTEM ===== */
.flex { display: flex; }
.inline-flex { display: inline-flex; }

.flex-row { flex-direction: row; }
.flex-col { flex-direction: column; }
.flex-row-reverse { flex-direction: row-reverse; }
.flex-col-reverse { flex-direction: column-reverse; }

.flex-wrap { flex-wrap: wrap; }
.flex-nowrap { flex-wrap: nowrap; }
.flex-wrap-reverse { flex-wrap: wrap-reverse; }

.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-center { align-items: center; }
.items-baseline { align-items: baseline; }
.items-stretch { align-items: stretch; }

.justify-start { justify-content: flex-start; }
.justify-end { justify-content: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.justify-evenly { justify-content: space-evenly; }

/* ===== STUNNING HERO SECTION ===== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--gradient-primary);
}

/* ===== HERO BUTTONS & LINKS FIX ===== */
.hero-section .btn,
.hero-section a[href] {
  pointer-events: auto !important;
  cursor: pointer !important;
  position: relative;
  z-index: 100;
  text-decoration: none !important;
  display: inline-block !important;
}

.hero-section .btn-primary {
  background: white !important;
  color: var(--primary-600) !important;
  border: none !important;
  box-shadow: var(--shadow-lg) !important;
  transition: var(--transition-all) !important;
}

.hero-section .btn-primary:hover {
  background: var(--gray-50) !important;
  color: var(--primary-700) !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-xl) !important;
}

.hero-section .btn-outline-light {
  background: transparent !important;
  color: white !important;
  border: 2px solid white !important;
  transition: var(--transition-all) !important;
}

.hero-section .btn-outline-light:hover {
  background: white !important;
  color: var(--primary-600) !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-xl) !important;
}

/* Ensure hero content is above background elements */
.hero-section .container {
  position: relative;
  z-index: 50;
}

.hero-section .row {
  position: relative;
  z-index: 60;
}

.hero-section .col-lg-8 {
  position: relative;
  z-index: 70;
}

/* Fix any Bootstrap conflicts */
.hero-section * {
  pointer-events: auto !important;
}

.hero-section .btn,
.hero-section a {
  pointer-events: auto !important;
  cursor: pointer !important;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(99, 102, 241, 0.2) 0%, transparent 50%);
  animation: float 6s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

.hero-section::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  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="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.03)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.04)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.02)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  animation: grain 20s linear infinite;
  opacity: 0.6;
  z-index: 1;
  pointer-events: none;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-30px) rotate(1deg); }
  66% { transform: translateY(-10px) rotate(-1deg); }
}

@keyframes grain {
  0% { transform: translate(0, 0); }
  10% { transform: translate(-5%, -5%); }
  20% { transform: translate(-10%, 5%); }
  30% { transform: translate(5%, -10%); }
  40% { transform: translate(-5%, 15%); }
  50% { transform: translate(-10%, 5%); }
  60% { transform: translate(15%, 0%); }
  70% { transform: translate(0%, 10%); }
  80% { transform: translate(-15%, 0%); }
  90% { transform: translate(10%, 5%); }
  100% { transform: translate(5%, 0%); }
}

.hero-content {
  position: relative;
  z-index: 100;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  padding: var(--space-8);
  color: white;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--glass-white);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  padding: var(--space-2) var(--space-4);
  margin-bottom: var(--space-8);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  color: white;
  animation: slideDown 0.6s ease-out;
}

.hero-badge::before {
  content: '✨';
  font-size: var(--text-base);
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: clamp(var(--text-4xl), 6vw, var(--text-7xl));
  font-weight: var(--font-weight-black);
  line-height: 1.1;
  margin-bottom: var(--space-6);
  background: linear-gradient(135deg, #ffffff 0%, #f0f4ff 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: slideUp 0.8s ease-out 0.2s both;
}

.hero-subtitle {
  font-size: clamp(var(--text-lg), 2.5vw, var(--text-2xl));
  font-weight: var(--font-weight-normal);
  line-height: 1.6;
  margin-bottom: var(--space-10);
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  animation: slideUp 0.8s ease-out 0.4s both;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  animation: slideUp 0.8s ease-out 0.6s both;
}

/* ===== MODERN BUTTON SYSTEM ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-4) var(--space-8);
  border: none;
  border-radius: var(--radius-2xl);
  font-family: inherit;
  font-size: var(--text-base);
  font-weight: var(--font-weight-semibold);
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-all);
  position: relative;
  overflow: hidden;
  min-width: 140px;
}

.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: left 0.6s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: white;
  color: var(--primary-600);
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  background: var(--gray-50);
  color: var(--primary-700);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-secondary {
  background: var(--glass-white);
  backdrop-filter: blur(20px);
  color: white;
  border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
  background: var(--glass-border);
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

.btn-lg {
  padding: var(--space-5) var(--space-10);
  font-size: var(--text-lg);
  min-width: 160px;
}

/* ===== ATTRACTIVE SECTIONS ===== */
.section {
  padding: var(--space-24) 0;
  position: relative;
}

.section-alt {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-20);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--primary-100);
  color: var(--primary-700);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-6);
}

.section-title {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: var(--font-weight-black);
  line-height: 1.1;
  color: var(--gray-900);
  margin-bottom: var(--space-6);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

.section-description {
  font-size: var(--text-xl);
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* ===== STUNNING CARD SYSTEM ===== */
.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--space-8);
  margin-top: var(--space-16);
}

.card {
  background: white;
  border-radius: var(--radius-3xl);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
  transition: var(--transition-all);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
  border-color: var(--primary-200);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 64px;
  height: 64px;
  background: var(--gradient-primary);
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  color: white;
  font-size: var(--text-2xl);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.card-icon::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: var(--gradient-primary);
  border-radius: var(--radius-2xl);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover .card-icon::after {
  opacity: 0.2;
}

.card-title {
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--gray-900);
  margin-bottom: var(--space-4);
  line-height: 1.3;
}

.card-description {
  font-size: var(--text-base);
  color: var(--gray-600);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: var(--space-6);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--primary-600);
  font-weight: var(--font-weight-semibold);
  text-decoration: none;
  transition: var(--transition-colors);
  margin-top: auto;
}

.card-link:hover {
  color: var(--primary-700);
}

.card-link::after {
  content: '→';
  transition: transform 0.2s ease;
}

.card-link:hover::after {
  transform: translateX(4px);
}

/* ===== SERVICES SECTION ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-10);
  margin-top: var(--space-20);
}

.service-item {
  background: white;
  border-radius: var(--radius-3xl);
  padding: var(--space-12);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition-all);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-md);
}

.service-item::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, var(--primary-100), transparent);
  opacity: 0;
  transition: all 0.6s ease;
  animation: rotate 8s linear infinite;
}

@keyframes rotate {
  to { transform: rotate(360deg); }
}

.service-item:hover::before {
  opacity: 1;
}

.service-item:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-2xl);
  border-color: var(--primary-300);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-primary);
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-8);
  color: white;
  font-size: var(--text-3xl);
  box-shadow: var(--shadow-xl);
  position: relative;
  z-index: 10;
}

.service-title {
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--gray-900);
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 10;
}

.service-description {
  font-size: var(--text-base);
  color: var(--gray-600);
  line-height: 1.7;
  position: relative;
  z-index: 10;
}

/* ===== ABOUT SECTION ===== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
  align-items: center;
  margin-top: var(--space-16);
}

.about-text h3 {
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: var(--font-weight-bold);
  color: var(--gray-900);
  margin-bottom: var(--space-6);
  line-height: 1.2;
}

.about-text p {
  font-size: var(--text-lg);
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: var(--space-6);
}

.about-features {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.about-feature {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  transition: var(--transition-all);
}

.about-feature:hover {
  background: var(--primary-50);
  transform: translateX(8px);
}

.about-feature-icon {
  width: 24px;
  height: 24px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: var(--text-sm);
  flex-shrink: 0;
}

.about-feature-text {
  font-weight: var(--font-weight-medium);
  color: var(--gray-700);
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-2xl);
  transition: var(--transition-transform);
}

.about-image:hover img {
  transform: scale(1.02);
}

.about-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  bottom: -20px;
  background: var(--gradient-primary);
  border-radius: var(--radius-3xl);
  z-index: -1;
  opacity: 0.1;
  transition: var(--transition-all);
}

.about-image:hover::before {
  opacity: 0.2;
  transform: scale(1.02);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background: var(--gradient-primary);
  color: white;
  position: relative;
  overflow: hidden;
}

/* ===== MODERN CONTACT FORM STYLING ===== */
.contact-form-card {
  background: white;
  border-radius: var(--radius-3xl);
  padding: var(--space-12);
  box-shadow: var(--shadow-2xl);
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
  z-index: 10;
}

/* Ensure form elements are clickable */
.contact-form-card * {
  pointer-events: auto !important;
}

.contact-form-card form {
  position: relative;
  z-index: 20;
}

.contact-form-card .form-control {
  pointer-events: auto !important;
  cursor: text !important;
}

.contact-form-card .btn {
  pointer-events: auto !important;
  cursor: pointer !important;
}

.contact-form-card .form-check-input {
  pointer-events: auto !important;
  cursor: pointer !important;
}

.contact-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
}

.contact-form-card:hover::before {
  transform: scaleX(1);
}

.contact-form-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, var(--primary-50), transparent);
  opacity: 0;
  transition: opacity 0.6s ease;
  animation: rotate 8s linear infinite;
}

.contact-form-card:hover::after {
  opacity: 0.1;
}

/* Form styling */
.contact-form-card .form-label {
  color: var(--gray-700);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-2);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition-all);
  position: relative;
  cursor: pointer;
}

.contact-form-card .form-label.floating {
  color: var(--primary-600);
  transform: translateY(-2px);
  font-weight: var(--font-weight-bold);
}

.contact-form-card .form-label::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.contact-form-card .form-label.floating::after {
  width: 100%;
}

.contact-form-card .form-control {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-xl);
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-base);
  transition: var(--transition-all);
  background: var(--gray-50);
  color: var(--gray-800);
  pointer-events: auto !important;
  cursor: text !important;
  position: relative;
  z-index: 15;
}

.contact-form-card .form-control:focus {
  outline: none;
  border-color: var(--primary-400);
  background: white;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
  transform: translateY(-2px);
}

.contact-form-card .form-control.focused {
  border-color: var(--primary-500);
  background: white;
  box-shadow: 0 0 0 6px rgba(99, 102, 241, 0.15);
  transform: translateY(-3px);
}

.contact-form-card .form-group.focused .form-label {
  color: var(--primary-600);
  transform: translateY(-2px);
}

.contact-form-card .form-control:hover {
  border-color: var(--primary-300);
  background: white;
}

.contact-form-card .form-control::placeholder {
  color: var(--gray-400);
  font-style: italic;
}

/* Textarea specific styling */
.contact-form-card textarea.form-control {
  min-height: 120px;
  resize: vertical;
  line-height: 1.6;
}

/* Checkbox styling */
.contact-form-card .form-check {
  margin-top: var(--space-4);
  padding: var(--space-4);
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  transition: var(--transition-all);
  position: relative;
  overflow: visible;
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.contact-form-card .form-check::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary-50) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.contact-form-card .form-check.checked::before {
  opacity: 1;
}

.contact-form-card .form-check.is-invalid {
  border-color: #dc3545;
  background: #fff5f5;
}

.contact-form-card .form-check:hover {
  background: var(--primary-50);
  border-color: var(--primary-200);
}

.contact-form-card .form-check-input {
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary-400);
  border-radius: var(--radius-base);
  margin: 0;
  cursor: pointer;
  transition: var(--transition-all);
  pointer-events: auto !important;
  cursor: pointer !important;
  position: relative;
  z-index: 15;
  flex-shrink: 0;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.contact-form-card .form-check-input:checked {
  background-color: var(--primary-500);
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
  position: relative;
}

.contact-form-card .form-check-input:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
  font-weight: bold;
  line-height: 1;
}

.contact-form-card .form-check-input:focus {
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.contact-form-card .form-check-label {
  color: var(--gray-700);
  font-size: var(--text-sm);
  line-height: 1.5;
  cursor: pointer;
  flex: 1;
  margin: 0;
  padding: 0;
}

.contact-form-card .form-check-label a {
  color: var(--primary-600);
  text-decoration: none;
  font-weight: var(--font-weight-semibold);
  transition: var(--transition-colors);
}

.contact-form-card .form-check-label a:hover {
  color: var(--primary-700);
  text-decoration: underline;
}

/* Submit button styling */
.contact-form-card .btn-primary {
  background: var(--gradient-primary);
  border: none;
  border-radius: var(--radius-2xl);
  padding: var(--space-5) var(--space-8);
  font-size: var(--text-lg);
  font-weight: var(--font-weight-bold);
  color: white;
  transition: var(--transition-all);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  pointer-events: auto !important;
  cursor: pointer !important;
  z-index: 20;
}

.contact-form-card .btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s;
}

.contact-form-card .btn-primary:hover::before {
  left: 100%;
}

.contact-form-card .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2xl);
}

.contact-form-card .btn-primary:active {
  transform: translateY(-1px);
}

/* Contact info card styling */
.contact-info-card {
  background: linear-gradient(135deg, var(--gray-50) 0%, white 100%);
  border-radius: var(--radius-3xl);
  padding: var(--space-12);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.contact-info-card h3 {
  color: var(--gray-800);
  margin-bottom: var(--space-6);
  position: relative;
}

.contact-info-card h3::after {
  content: '';
  position: absolute;
  bottom: -var(--space-3);
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

.contact-info-card p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-4);
  background: white;
  border-radius: var(--radius-xl);
  border: 1px solid var(--gray-200);
  transition: var(--transition-all);
}

.contact-item:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-200);
}

.contact-item i {
  font-size: var(--text-xl);
  color: var(--primary-500);
  margin-top: var(--space-1);
  flex-shrink: 0;
}

.contact-item div {
  flex: 1;
}

.contact-item strong {
  color: var(--gray-800);
  font-weight: var(--font-weight-semibold);
  display: block;
  margin-bottom: var(--space-1);
}

.contact-item a {
  color: var(--primary-600);
  text-decoration: none;
  transition: var(--transition-colors);
}

.contact-item a:hover {
  color: var(--primary-700);
  text-decoration: underline;
}

/* Form validation styling */
.contact-form-card .form-control.is-invalid {
  border-color: #dc3545;
  background: #fff5f5;
}

.contact-form-card .form-control.is-valid {
  border-color: #198754;
  background: #f0fff4;
}

.contact-form-card .invalid-feedback {
  color: #dc3545;
  font-size: var(--text-sm);
  margin-top: var(--space-2);
  display: block;
}

.contact-form-card .valid-feedback {
  color: #198754;
  font-size: var(--text-sm);
  margin-top: var(--space-2);
  display: block;
}

/* Loading state for submit button */
.contact-form-card .btn-primary.loading {
  position: relative;
  color: transparent;
  pointer-events: none;
}

.contact-form-card .btn-primary.loading::before {
  display: none;
}

.contact-form-card .btn-primary.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Success message styling */
.contact-form-card .alert-success {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  border: 1px solid #10b981;
  color: #065f46;
  border-radius: var(--radius-xl);
  padding: var(--space-4);
  margin-bottom: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.contact-form-card .alert-success i {
  color: #10b981;
  font-size: var(--text-xl);
}

/* Error message styling */
.contact-form-card .alert-danger {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  border: 1px solid #ef4444;
  color: #991b1b;
  border-radius: var(--radius-xl);
  padding: var(--space-4);
  margin-bottom: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.contact-form-card .alert-danger i {
  color: #ef4444;
  font-size: var(--text-xl);
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 25% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
}

.contact-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 0 auto;
}

.contact-section .section-title {
  color: white;
}

.contact-section .section-title::after {
  background: white;
}

.contact-section .section-description {
  color: rgba(255, 255, 255, 0.9);
}

.contact-form {
  background: var(--glass-white);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-3xl);
  padding: var(--space-12);
  margin-top: var(--space-16);
  box-shadow: var(--shadow-2xl);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

.form-group {
  position: relative;
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: white;
  margin-bottom: var(--space-2);
}

.form-input {
  width: 100%;
  padding: var(--space-4) var(--space-5);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  color: white;
  font-size: var(--text-base);
  transition: var(--transition-all);
  backdrop-filter: blur(10px);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.form-input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
  grid-column: 1 / -1;
}

.form-submit {
  text-align: center;
  margin-top: var(--space-8);
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--gray-200);
  z-index: var(--z-fixed);
  transition: var(--transition-all);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-lg);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
}

.navbar-brand {
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
  color: var(--primary-600);
  text-decoration: none;
  transition: var(--transition-colors);
}

.navbar-brand:hover {
  color: var(--primary-700);
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  list-style: none;
}

.navbar-nav a {
  font-size: var(--text-base);
  font-weight: var(--font-weight-medium);
  color: var(--gray-700);
  text-decoration: none;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-lg);
  transition: var(--transition-all);
  position: relative;
}

.navbar-nav a:hover {
  color: var(--primary-600);
  background: var(--primary-50);
}

.navbar-nav a.active::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--primary-600);
  border-radius: var(--radius-full);
}

/* Mobile Navigation - Bootstrap Compatible */
.navbar-toggler {
  border: none !important;
  padding: var(--space-2) !important;
  transition: var(--transition-all) !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.navbar-toggler:focus {
  box-shadow: none !important;
  outline: none !important;
}

.navbar-toggler-icon {
  transition: var(--transition-all) !important;
  display: block !important;
  visibility: visible !important;
}

/* Ensure Bootstrap navbar collapse works properly */
.navbar-collapse.collapse {
  display: none;
}

.navbar-collapse.collapsing {
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease;
}

.navbar-collapse.show {
  display: block !important;
}

/* Force navbar dropdown to be visible when expanded */
.navbar-collapse.show {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
}

/* Additional Bootstrap navbar fixes */
.navbar-expand-lg .navbar-toggler {
  display: block !important;
}

.navbar-expand-lg .navbar-collapse {
  flex-basis: auto !important;
}

@media (max-width: 991.98px) {
  .navbar-expand-lg .navbar-collapse {
    flex-basis: 100% !important;
  }
  
  .navbar-expand-lg .navbar-toggler {
    display: block !important;
  }
}

/* Override any conflicting CSS with maximum specificity */
.navbar.navbar-expand-lg .navbar-toggler {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.navbar.navbar-expand-lg .navbar-collapse.collapse {
  display: none !important;
}

.navbar.navbar-expand-lg .navbar-collapse.collapse.show {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
}

/* Mobile-specific navbar adjustments */
@media (max-width: 991.98px) {
  .navbar-collapse {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--gray-200);
    margin-top: 0 !important;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-lg);
    z-index: var(--z-dropdown) !important;
    min-height: auto !important;
    max-height: none !important;
  }
  
  .navbar-nav {
    padding: var(--space-4);
    gap: var(--space-2);
  }
  
  .navbar-nav .nav-link {
    padding: var(--space-3) var(--space-4);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-2);
  }
  
  .navbar-nav .nav-link:hover {
    background: var(--primary-50);
  }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--gradient-dark);
  color: white;
  padding: var(--space-24) 0 var(--space-8);
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
}

.footer-content {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-16);
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  text-decoration: none;
}

.footer-logo-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-primary);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: var(--text-xl);
  box-shadow: var(--shadow-lg);
}

.footer-logo-text {
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
  color: white;
}

.footer-description {
  font-size: var(--text-base);
  color: var(--gray-100);
  line-height: 1.6;
  margin-bottom: var(--space-8);
  padding: var(--space-4);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social {
  display: flex;
  gap: var(--space-4);
}

.footer-social a {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-100);
  text-decoration: none;
  transition: var(--transition-all);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.footer-social a:hover {
  background: var(--gradient-primary);
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: white;
}

.footer-social a:focus {
  outline: 2px solid var(--primary-400);
  outline-offset: 2px;
  background: var(--gradient-primary);
  color: white;
}

.footer-section h4 {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-semibold);
  color: white;
  margin-bottom: var(--space-6);
  position: relative;
}

.footer-section h4::after {
  content: '';
  position: absolute;
  bottom: -var(--space-2);
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
}

.footer-section ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-section a {
  color: var(--gray-100);
  text-decoration: none;
  transition: var(--transition-all);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  cursor: pointer;
  padding: var(--space-1) var(--space-2);
  position: relative;
  border-radius: var(--radius-base);
}

.footer-section a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.footer-section a:hover::after {
  width: 100%;
}

.footer-section a:focus {
  outline: 2px solid var(--primary-400);
  outline-offset: 2px;
  color: white;
}

.footer-section a:focus::after {
  width: 100%;
}

.footer-section a:hover {
  color: white;
  transform: translateX(4px);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
}

.footer-bottom {
  position: relative;
  z-index: 10;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-8);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer-bottom p {
  color: var(--gray-100);
  font-size: var(--text-sm);
}

.footer-links {
  display: flex;
  gap: var(--space-6);
}

.footer-links a {
  color: var(--gray-100);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: var(--transition-colors);
  cursor: pointer;
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-base);
}

.footer-links a:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.footer-links a:focus {
  outline: 2px solid var(--primary-400);
  outline-offset: 2px;
  color: white;
  background: rgba(255, 255, 255, 0.1);
}

/* ===== FOOTER ANIMATIONS ===== */
@keyframes footerLinkGlow {
  0% { text-shadow: 0 0 5px rgba(255, 255, 255, 0.3); }
  50% { text-shadow: 0 0 15px rgba(255, 255, 255, 0.6); }
  100% { text-shadow: 0 0 5px rgba(255, 255, 255, 0.3); }
}

.footer-section a:hover {
  animation: footerLinkGlow 1.5s ease-in-out infinite;
}

/* ===== FOOTER TEXT OVERRIDES ===== */
.footer {
  animation: footerFadeIn 0.8s ease-out;
}

@keyframes footerFadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Override Bootstrap text-muted class in footer */
.footer .text-muted {
  color: var(--gray-100) !important;
}

/* Footer description paragraph */
.footer p.text-muted {
  background: rgba(255, 255, 255, 0.05);
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  line-height: 1.6;
}

/* Social media links */
.footer .social-links a {
  color: var(--gray-100) !important;
  text-decoration: none !important;
  transition: var(--transition-all);
  padding: var(--space-2);
  border-radius: var(--radius-base);
  cursor: pointer;
  display: inline-block;
}

.footer .social-links a:hover {
  color: white !important;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.footer .social-links a:focus {
  outline: 2px solid var(--primary-400);
  outline-offset: 2px;
  color: white !important;
  background: rgba(255, 255, 255, 0.1);
}

/* Footer navigation links */
.footer ul.list-unstyled a {
  color: var(--gray-100) !important;
  text-decoration: none !important;
  transition: var(--transition-all);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-base);
  display: inline-block;
  cursor: pointer;
  position: relative;
}

.footer ul.list-unstyled a:hover {
  color: white !important;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(4px);
}

.footer ul.list-unstyled a:focus {
  outline: 2px solid var(--primary-400);
  outline-offset: 2px;
  color: white !important;
  background: rgba(255, 255, 255, 0.1);
}

/* Bottom footer links */
.footer .col-md-6 a.text-muted {
  color: var(--gray-100) !important;
  text-decoration: none !important;
  transition: var(--transition-all);
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-base);
  display: inline-block;
  cursor: pointer;
}

.footer .col-md-6 a.text-muted:hover {
  color: white !important;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.footer .col-md-6 a.text-muted:focus {
  outline: 2px solid var(--primary-400);
  outline-offset: 2px;
  color: white !important;
  background: rgba(255, 255, 255, 0.1);
}

/* Ensure all footer links are clickable */
.footer a {
  pointer-events: auto !important;
  cursor: pointer !important;
  user-select: none;
}

/* Remove any Bootstrap pointer-events restrictions */
.footer a.text-muted {
  pointer-events: auto !important;
}

/* Add hover effects for all footer links */
.footer a:hover {
  text-decoration: none !important;
}

/* Specific styling for footer headings */
.footer h3, .footer h4 {
  color: white !important;
  margin-bottom: var(--space-6);
}

/* Footer container styling */
.footer .container {
  position: relative;
  z-index: 10;
}

/* Footer row styling */
.footer .row {
  position: relative;
  z-index: 10;
}

/* Override any Bootstrap pointer-events issues */
.footer * {
  pointer-events: auto;
}

/* Ensure links are above other elements */
.footer a {
  position: relative;
  z-index: 20;
}

/* Remove any text-decoration overrides */
.footer a.text-decoration-none {
  text-decoration: none !important;
}

/* Force pointer cursor on all footer links */
.footer a[href] {
  cursor: pointer !important;
}

/* Add active states for better UX */
.footer a:active {
  transform: scale(0.98);
}

/* Ensure proper stacking context */
.footer .col-lg-4,
.footer .col-lg-2,
.footer .col-md-6 {
  position: relative;
  z-index: 15;
}

/* Fix any Bootstrap margin issues */
.footer .mb-2 {
  margin-bottom: var(--space-2) !important;
}

.footer .mb-3 {
  margin-bottom: var(--space-3) !important;
}

.footer .me-3 {
  margin-right: var(--space-3) !important;
}

/* Critical: Override any Bootstrap pointer-events restrictions */
.footer a,
.footer a.text-muted,
.footer a.text-decoration-none,
.footer .social-links a,
.footer ul.list-unstyled a,
.footer .col-md-6 a {
  pointer-events: auto !important;
  cursor: pointer !important;
  text-decoration: none !important;
  display: inline-block !important;
  position: relative !important;
  z-index: 100 !important;
}

/* Ensure no Bootstrap classes interfere with clickability */
.footer .text-muted {
  pointer-events: auto !important;
}

.footer .text-decoration-none {
  pointer-events: auto !important;
}

/* Force clickable behavior */
.footer a[href] {
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* Remove any potential Bootstrap interference */
.footer .btn,
.footer .btn-link {
  pointer-events: auto !important;
}

/* Ensure proper link behavior */
.footer a:visited {
  pointer-events: auto !important;
}

.footer a:active {
  pointer-events: auto !important;
}

/* Final override to ensure clickability */
.footer a,
.footer a[href],
.footer a.text-muted,
.footer a.text-decoration-none {
  pointer-events: auto !important;
  cursor: pointer !important;
  position: relative !important;
  z-index: 999 !important;
  display: inline-block !important;
  text-decoration: none !important;
}

/* Remove any potential CSS conflicts */
.footer * {
  pointer-events: auto !important;
}

/* Ensure no other CSS can override */
.footer a[href] {
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* ===== CONTACT FORM OVERRIDES ===== */
/* Override any Bootstrap conflicts */
.contact-form-card .form-control,
.contact-form-card .btn,
.contact-form-card .form-check-input,
.contact-form-card .form-check-label {
  pointer-events: auto !important;
}

/* Fix checkbox display issues */
.contact-form-card .form-check {
  min-height: auto;
  overflow: visible;
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.contact-form-card .form-check-input {
  min-width: 20px;
  min-height: 20px;
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
  position: relative;
  z-index: 15;
}

.contact-form-card .form-check-label {
  flex: 1;
  margin: 0;
  padding: 0;
  line-height: 1.4;
}

.contact-form-card .form-control:focus {
  pointer-events: auto !important;
  cursor: text !important;
}

.contact-form-card .btn:hover,
.contact-form-card .btn:focus,
.contact-form-card .btn:active {
  pointer-events: auto !important;
  cursor: pointer !important;
}

.contact-form-card .form-check-input:checked,
.contact-form-card .form-check-input:focus {
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* Ensure form is above any overlapping elements */
.contact-form-card {
  position: relative;
  z-index: 100;
}

.contact-form-card form {
  position: relative;
  z-index: 101;
}

.contact-form-card .form-control,
.contact-form-card .btn,
.contact-form-card .form-check {
  position: relative;
  z-index: 102;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .hero-content {
    padding: var(--space-6);
  }
  
  .about-content {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }
  
  .about-text {
    order: 2;
    text-align: center;
  }
  
  .about-image {
    order: 1;
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }
  
  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
    max-width: none;
  }
  
  .footer-section {
    text-align: center;
  }
  
  .footer-section h4::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  /* Other mobile adjustments (navbar handled above) */
  
  /* Contact form mobile adjustments */
  .contact-form-card {
    padding: var(--space-8);
    margin: 0 var(--space-4);
  }
  
  .contact-info-card {
    padding: var(--space-8);
    margin-bottom: var(--space-6);
  }
  
  .contact-form-card .form-control {
    padding: var(--space-3) var(--space-4);
  }
  
  .contact-form-card .btn-primary {
    padding: var(--space-4) var(--space-6);
    font-size: var(--text-base);
  }
  
  /* Bootstrap handles the active state automatically */
  
  .hero-title {
    font-size: clamp(var(--text-3xl), 5vw, var(--text-5xl));
  }
  
  .hero-subtitle {
    font-size: clamp(var(--text-base), 2vw, var(--text-xl));
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .section {
    padding: var(--space-20) 0;
  }
  
  .section-header {
    margin-bottom: var(--space-16);
  }
  
  .cards-container,
  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }
  
  .form-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: var(--space-8);
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-brand {
    grid-column: 1;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: var(--space-4);
    padding-right: var(--space-4);
  }
  
  .hero-content {
    padding: var(--space-4);
  }
  
  .section {
    padding: var(--space-16) 0;
  }
  
  .card,
  .service-item {
    padding: var(--space-6);
  }
  
  .contact-form {
    padding: var(--space-6);
  }
}

/* ===== UTILITY CLASSES ===== */

/* Spacing utilities */
.p-0 { padding: 0; }
.p-1 { padding: var(--space-1); }
.p-2 { padding: var(--space-2); }
.p-3 { padding: var(--space-3); }
.p-4 { padding: var(--space-4); }
.p-5 { padding: var(--space-5); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }
.p-10 { padding: var(--space-10); }
.p-12 { padding: var(--space-12); }

.m-0 { margin: 0; }
.m-1 { margin: var(--space-1); }
.m-2 { margin: var(--space-2); }
.m-3 { margin: var(--space-3); }
.m-4 { margin: var(--space-4); }
.m-5 { margin: var(--space-5); }
.m-6 { margin: var(--space-6); }
.m-8 { margin: var(--space-8); }
.m-10 { margin: var(--space-10); }
.m-12 { margin: var(--space-12); }

/* Text utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.font-light { font-weight: var(--font-weight-light); }
.font-normal { font-weight: var(--font-weight-normal); }
.font-medium { font-weight: var(--font-weight-medium); }
.font-semibold { font-weight: var(--font-weight-semibold); }
.font-bold { font-weight: var(--font-weight-bold); }
.font-extrabold { font-weight: var(--font-weight-extrabold); }
.font-black { font-weight: var(--font-weight-black); }

/* Display utilities */
.hidden { display: none; }
.block { display: block; }
.inline { display: inline; }
.inline-block { display: inline-block; }

/* Position utilities */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }

/* Overflow utilities */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-scroll { overflow: scroll; }

/* Border radius utilities */
.rounded-none { border-radius: var(--radius-none); }
.rounded-sm { border-radius: var(--radius-sm); }
.rounded { border-radius: var(--radius-base); }
.rounded-md { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-2xl { border-radius: var(--radius-2xl); }
.rounded-3xl { border-radius: var(--radius-3xl); }
.rounded-full { border-radius: var(--radius-full); }

/* Shadow utilities */
.shadow-xs { box-shadow: var(--shadow-xs); }
.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-xl { box-shadow: var(--shadow-xl); }
.shadow-2xl { box-shadow: var(--shadow-2xl); }
.shadow-inner { box-shadow: var(--shadow-inner); }
.shadow-none { box-shadow: none; }

/* ===== ANIMATIONS ===== */
.animate-fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.6s ease-out forwards;
}

/* Contact form animations */
.contact-form-card {
  animation: slideInUp 0.8s ease-out;
}

.contact-info-card {
  animation: slideInLeft 0.8s ease-out 0.2s both;
}

.contact-form-card .form-control {
  animation: fadeInUp 0.6s ease-out both;
}

.contact-form-card .form-control:nth-child(1) { animation-delay: 0.1s; }
.contact-form-card .form-control:nth-child(2) { animation-delay: 0.2s; }
.contact-form-card .form-control:nth-child(3) { animation-delay: 0.3s; }
.contact-form-card .form-control:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-slide-up {
  opacity: 0;
  transform: translateY(40px);
  animation: slideUp 0.8s ease-out forwards;
}

.animate-slide-in-left {
  opacity: 0;
  transform: translateX(-40px);
  animation: slideInLeft 0.8s ease-out forwards;
}

.animate-slide-in-right {
  opacity: 0;
  transform: translateX(40px);
  animation: slideInRight 0.8s ease-out forwards;
}

.animate-scale-in {
  opacity: 0;
  transform: scale(0.9);
  animation: scaleIn 0.6s ease-out forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Animation delays */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* ===== ACCESSIBILITY ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.focus\:outline-none:focus {
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.focus\:ring:focus {
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* ===== PRINT STYLES ===== */
@media print {
  .navbar,
  .hero-buttons,
  .footer-social,
  .animate-fade-in,
  .animate-slide-up,
  .animate-slide-in-left,
  .animate-slide-in-right,
  .animate-scale-in,
  .contact-form-card {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    line-height: 1.5;
  }
  
  .hero-section {
    background: white !important;
    color: black !important;
    padding: 2rem 0 !important;
  }
  
  .section {
    padding: 1.5rem 0 !important;
    break-inside: avoid;
  }
  
  .card,
  .service-item {
    break-inside: avoid;
    box-shadow: none !important;
    border: 1px solid #ccc !important;
  }
}

/* ===== ENHANCED PAYMENT FORM STYLING ===== */

/* ===== VCC FORM STYLING ===== */
.vcc-form-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px solid #e2e8f0 !important;
    transition: all 0.3s ease;
}

.vcc-form-section:hover {
    border-color: #3b82f6 !important;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.vcc-form-section h6 {
    color: #1e40af;
    font-weight: 600;
    border-bottom: 2px solid #dbeafe;
    padding-bottom: 0.5rem;
}

.vcc-form-section .form-label {
    color: #374151;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.vcc-form-section .input-group-text {
    border-color: #d1d5db;
    background: #ffffff;
    color: #6b7280;
}

.vcc-form-section .form-control {
    border-color: #d1d5db;
    border-left: none;
    transition: all 0.3s ease;
}

.vcc-form-section .form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
    z-index: 2;
}

.vcc-form-section .form-control.is-valid {
    border-color: #10b981;
    box-shadow: 0 0 0 0.2rem rgba(16, 185, 129, 0.25);
}

.vcc-form-section .form-control.is-invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 0.2rem rgba(239, 68, 68, 0.25);
}

.vcc-form-section .form-text {
    color: #6b7280;
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

/* Card Type Icons */
.card-type-icon {
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid #e5e7eb !important;
}

.card-type-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6 !important;
}

.card-type-icon.active {
    border-color: #3b82f6 !important;
    background: #eff6ff !important;
}

/* Card Preview */
.card-preview {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid #e5e7eb !important;
    transition: all 0.3s ease;
}

.card-preview:hover {
    border-color: #3b82f6 !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.card-preview .text-muted {
    color: #6b7280 !important;
    font-size: 0.75rem;
}

.card-preview .fw-semibold {
    color: #1f2937;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

/* Toggle Button */
#toggle-card-btn {
    transition: all 0.3s ease;
    border-width: 2px;
}

#toggle-card-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive VCC Form */
@media (max-width: 768px) {
    .vcc-form-section {
        padding: 1rem !important;
    }
    
    .vcc-form-section .row.g-3 {
        --bs-gutter-y: 0.75rem;
    }
    
    .card-type-icon {
        padding: 0.5rem !important;
    }
    
    .card-type-icon i {
        font-size: 1.5rem !important;
    }
    
    .card-preview {
        padding: 0.75rem !important;
    }
    
    .card-preview .fw-semibold {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .vcc-form-section {
        padding: 0.75rem !important;
    }
    
    .vcc-form-section h6 {
        font-size: 0.9rem;
    }
    
    .vcc-form-section .form-label {
        font-size: 0.8rem;
    }
    
    .card-type-icon {
        padding: 0.4rem !important;
    }
    
    .card-type-icon i {
        font-size: 1.25rem !important;
    }
    
    .card-preview {
        padding: 0.5rem !important;
    }
    
    .card-preview .fw-semibold {
        font-size: 0.9rem;
    }
}

@media (max-width: 375px) {
    .vcc-form-section {
        padding: 0.5rem !important;
    }
    
    .vcc-form-section .row.g-3 {
        --bs-gutter-y: 0.5rem;
    }
    
    .card-type-icon {
        padding: 0.3rem !important;
    }
    
    .card-type-icon i {
        font-size: 1.1rem !important;
    }
    
    .card-preview {
        padding: 0.4rem !important;
    }
    
    .card-preview .fw-semibold {
        font-size: 0.8rem;
    }
}
.payment-form-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(99, 102, 241, 0.1);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.payment-form-card .card-body {
    position: relative;
    z-index: 2;
}

/* Form floating labels */
.form-floating {
    position: relative;
}

.form-floating .form-control {
    height: 56px;
    padding: 1rem 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: #ffffff;
}

.form-floating .form-control:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    transform: translateY(-1px);
}

.form-floating .form-control.is-valid {
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.form-floating .form-control.is-invalid {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-floating .form-label {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    padding: 1rem 0.75rem;
    pointer-events: none;
    border: 1px solid transparent;
    transform-origin: 0 0;
    transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
    color: #6b7280;
    font-weight: 500;
}

.form-floating .form-control:focus ~ .form-label,
.form-floating .form-control:not(:placeholder-shown) ~ .form-label {
    opacity: 0.65;
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

/* Card element styling */
.card-input-wrapper {
    position: relative;
}

.card-element-custom {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    transition: all 0.3s ease;
    min-height: 56px;
    padding: 16px 20px;
    position: relative;
}

.card-element-custom:focus-within {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    transform: translateY(-1px);
}

.card-element-custom.is-valid {
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.card-element-custom.is-invalid {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.card-icons {
    pointer-events: none;
    z-index: 3;
}

.card-icons i {
    font-size: 1.25rem;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}

/* Stripe card element custom styling */
.card-element-base {
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
    font-size: 16px !important;
    color: #374151 !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.card-element-base::placeholder {
    color: #9ca3af !important;
    font-weight: 400 !important;
}

.card-element-focus {
    color: #6366f1 !important;
}

.card-element-invalid {
    color: #dc2626 !important;
}

.card-element-complete {
    color: #059669 !important;
}

/* Enhanced button styling */
.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.025em;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(99, 102, 241, 0.4), 0 10px 10px -5px rgba(99, 102, 241, 0.2);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.7;
    transform: none;
    box-shadow: none;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover .btn-shine {
    left: 100%;
}

/* Form validation feedback */
.invalid-feedback {
    display: block;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    color: #dc2626;
    animation: slideInDown 0.3s ease;
}

.valid-feedback {
    display: block;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    color: #059669;
    animation: slideInDown 0.3s ease;
}

/* Enhanced alert styling */
.alert-info {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
}

.alert-info .fas {
    color: #3b82f6;
}

/* Badge enhancements */
.badge {
    font-weight: 500;
    letter-spacing: 0.025em;
    transition: all 0.3s ease;
}

.badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Responsive improvements */
@media (max-width: 768px) {
    .payment-form-card .card-body {
        padding: 1.5rem;
    }
    
    .form-floating .form-control {
        height: 52px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .card-element-custom {
        min-height: 52px;
        padding: 14px 16px;
    }
    
    .btn-primary {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .card-icons i {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .payment-form-card .card-body {
        padding: 1rem;
    }
    
    .form-floating .form-control {
        height: 48px;
    }
    
    .card-element-custom {
        min-height: 48px;
        padding: 12px 14px;
    }
    
    .btn-primary {
        padding: 0.75rem 1.25rem;
    }
    
    .badge {
        font-size: 0.75rem;
        padding: 0.5rem 0.75rem;
    }
}

/* Animation keyframes */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shakeX {
    0%, 100% {
        transform: translateX(0);
    }
    10%, 30%, 50%, 70%, 90% {
        transform: translateX(-5px);
    }
    20%, 40%, 60%, 80% {
        transform: translateX(5px);
    }
}

.animate__shakeX {
    animation: shakeX 0.6s ease-in-out;
}

/* Focus management for accessibility */
.form-control:focus,
.form-check-input:focus {
    outline: none;
}

.form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Loading state improvements */
.spinner-border {
    width: 1rem;
    height: 1rem;
    border-width: 0.125em;
}

/* Enhanced form layout for better mobile experience */
@media (max-width: 768px) {
    .row.g-3 > [class*="col-"] {
        margin-bottom: 1rem;
    }
    
    .form-floating {
        margin-bottom: 0;
    }
}

/* Smooth transitions for all interactive elements */
* {
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

/* Print styles */
@media print {
    .payment-form-card {
        box-shadow: none;
        border: 1px solid #e5e7eb;
    }
    
    .btn-primary,
    .card-icons,
    .badge {
        display: none;
    }
}

/* Responsive display utilities */
@media (max-width: 768px) {
    .display-md-5 {
        font-size: 2.5rem !important;
    }
    
    .display-md-6 {
        font-size: 2rem !important;
    }
}

@media (max-width: 576px) {
    .display-6 {
        font-size: 1.75rem !important;
    }
}

/* Touch-friendly improvements for mobile */
@media (hover: none) and (pointer: coarse) {
    .btn-primary:hover {
        transform: none;
        box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.3);
    }
    
    .form-control:focus {
        transform: none;
    }
    
    .card-element-custom:focus-within {
        transform: none;
    }
    
    .badge:hover {
        transform: none;
    }
}

/* Better focus indicators for keyboard navigation */
.form-control:focus,
.form-check-input:focus,
.btn:focus {
    outline: 2px solid #6366f1;
    outline-offset: 2px;
}

/* Improved loading states */
.btn:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}

/* Enhanced card element focus states */
.card-element-custom:focus-within {
    outline: 2px solid #6366f1;
    outline-offset: 2px;
}

/* Smooth scrolling for better mobile experience */
html {
    scroll-behavior: smooth;
}

/* Better form spacing on very small screens */
@media (max-width: 375px) {
    .payment-form-card .card-body {
        padding: 0.75rem;
    }
    
    .form-floating .form-control {
        height: 44px;
        font-size: 16px;
    }
    
    .card-element-custom {
        min-height: 44px;
        padding: 10px 12px;
    }
    
    .btn-primary {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }
}

/* MAIN CSS - Payment System Styles */

/* Base Styles */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Payment Form Enhancements */
.payment-form-section {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    transition: all 0.3s ease;
}

.payment-form-section:hover {
    border-color: #0d6efd;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.15);
}

/* Verification Amount Styling */
.verification-amount {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.verification-amount h4 {
    color: white;
    margin-bottom: 10px;
}

/* Workflow Steps */
.workflow-steps {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
}

.workflow-step {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 8px;
    background: white;
}

.workflow-step-number {
    background: #0d6efd;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.workflow-step-content h5 {
    margin: 0 0 5px 0;
    font-size: 1rem;
}

.workflow-step-content p {
    margin: 0;
    font-size: 0.9rem;
    color: #6c757d;
}

/* Form Enhancements */
.form-floating .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* Button Styling */
.btn-primary {
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 100%);
    border: none;
    padding: 15px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0b5ed7 0%, #0a58ca 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

/* Security Badges */
.security-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.security-badge {
    background: rgba(13, 110, 253, 0.1);
    color: #0d6efd;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Progress Bar */
.progress-bar-container {
    background: #e9ecef;
    border-radius: 10px;
    height: 8px;
    margin: 20px 0;
    overflow: hidden;
}

.progress-bar {
    background: linear-gradient(90deg, #28a745 0%, #20c997 100%);
    height: 100%;
    width: 0%;
    transition: width 0.5s ease;
}

/* Status Indicators */
.status-indicator {
    display: none;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    font-weight: 500;
}

.status-indicator.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.status-indicator.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

.status-indicator.info {
    background: #d1ecf1;
    border: 1px solid #bee5eb;
    color: #0c5460;
}

/* Footer Styling */
.footer {
    background: #343a40;
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .payment-form-section {
        padding: 15px;
    }
    
    .workflow-step {
        flex-direction: column;
        text-align: center;
    }
    
    .workflow-step-number {
        margin-right: 0;
        margin-bottom: 10px;
    }
}