/* ============================================
   PRIME FINANCIAL SERVICES - LANDING PAGE CSS
   Modern FinTech Design with Glassmorphism
   ============================================ */

/* ==========================================
   CSS VARIABLES & ROOT STYLES
   ========================================== */
:root {
  /* Primary Gradient Colors */
  --primary-blue: #2563eb;
  --primary-purple: #7c3aed;
  --primary-teal: #0891b2;
  
  /* Gradient Combinations */
  --gradient-main: linear-gradient(135deg, #1e3a8a 0%, #5b21b6 50%, #0d9488 100%);
  --gradient-light: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #14b8a6 100%);
  --gradient-glow: linear-gradient(135deg, rgba(37, 99, 235, 0.3) 0%, rgba(124, 58, 237, 0.3) 50%, rgba(8, 145, 178, 0.3) 100%);
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  
  /* Text Colors */
  --text-dark: #1e293b;
  --text-light: #f8fafc;
  --text-muted: #64748b;
  
  /* Accent Colors */
  --accent-gold: #f59e0b;
  --accent-green: #10b981;
  --accent-red: #ef4444;
  
  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1200px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: #f8fafc;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

input, textarea, select {
  font-family: inherit;
  outline: none;
  border: none;
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 60px;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
}

.gradient-text {
  background: var(--gradient-light);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.8; }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px rgba(59, 130, 246, 0.3); }
  50% { box-shadow: 0 0 40px rgba(139, 92, 246, 0.5); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideLeft {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideRight {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes particleFloat {
  0%, 100% { 
    transform: translateY(0) translateX(0) rotate(0deg);
    opacity: 0.6;
  }
  25% { 
    transform: translateY(-30px) translateX(15px) rotate(90deg);
    opacity: 1;
  }
  50% { 
    transform: translateY(-60px) translateX(-10px) rotate(180deg);
    opacity: 0.8;
  }
  75% { 
    transform: translateY(-90px) translateX(20px) rotate(270deg);
    opacity: 0.4;
  }
}

@keyframes waveAnimation {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes underlineSlide {
  from { width: 0; }
  to { width: 100%; }
}

/* ==========================================
   HEADER STYLES
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  transition: var(--transition-medium);
  background: transparent;
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 700;
}

.logo-icon {
  width: 45px;
  height: 45px;
  background: var(--gradient-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.logo-text {
  color: var(--text-dark);
}

.header.scrolled .logo-text {
  color: var(--text-dark);
}

.header:not(.scrolled) .logo-text {
  color: white;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 35px;
}

.nav-link {
  position: relative;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 0;
  color: var(--text-light);
  transition: var(--transition-fast);
}

.header.scrolled .nav-link {
  color: var(--text-dark);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-light);
  transition: var(--transition-medium);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--primary-blue);
}

.header.scrolled .nav-link:hover {
  color: var(--primary-blue);
}

.nav-cta {
  padding: 12px 28px;
  background: var(--gradient-light);
  color: white !important;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-medium);
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(59, 130, 246, 0.5);
}

.nav-cta::after {
  display: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 3px;
  transition: var(--transition-fast);
}

.header:not(.scrolled) .mobile-menu-toggle span {
  background: white;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: var(--gradient-main);
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.particle {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  animation: particleFloat 8s infinite ease-in-out;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  color: white;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  font-size: 0.9rem;
  margin-bottom: 25px;
  animation: slideDown 0.8s ease;
}

.hero-badge i {
  color: var(--accent-gold);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 25px;
  animation: slideRight 0.8s ease 0.2s both;
}

.hero-title span {
  display: block;
  background: linear-gradient(90deg, #fbbf24, #f59e0b, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.15rem;
  opacity: 0.9;
  margin-bottom: 35px;
  line-height: 1.8;
  animation: fadeIn 0.8s ease 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  animation: slideUp 0.8s ease 0.6s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 35px;
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 1rem;
  transition: var(--transition-medium);
}

.btn-primary {
  background: white;
  color: var(--primary-blue);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
}

.hero-visual {
  position: relative;
  animation: slideLeft 0.8s ease 0.4s both;
}

.hero-image-container {
  position: relative;
  width: 100%;
  height: 500px;
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  animation: float 6s ease-in-out infinite;
}

.credit-card {
  top: 20%;
  left: 10%;
  width: 280px;
  height: 175px;
  background: linear-gradient(135deg, #1e3a8a 0%, #5b21b6 50%, #0d9488 100%);
  border-radius: 16px;
  padding: 25px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  animation-delay: 0s;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.credit-card-chip {
  width: 45px;
  height: 35px;
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  border-radius: 6px;
}

.credit-card-number {
  font-size: 1.1rem;
  letter-spacing: 2px;
  font-family: 'Courier New', monospace;
}

.credit-card-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.credit-card-name {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.credit-card-logo {
  font-size: 1.5rem;
  font-weight: 700;
}

.chart-card {
  top: 50%;
  right: 5%;
  width: 260px;
  padding: 20px;
  animation-delay: 1s;
}

.chart-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.chart-card-title {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.chart-card-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-green);
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
}

.chart-bar {
  flex: 1;
  background: var(--gradient-light);
  border-radius: 4px 4px 0 0;
  transition: var(--transition-fast);
}

.stats-card {
  bottom: 10%;
  left: 25%;
  width: 220px;
  padding: 20px;
  animation-delay: 2s;
}

.stats-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.stats-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 5px;
}

.stats-value {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about {
  padding: var(--section-padding);
  background: white;
  position: relative;
  overflow: hidden;
}

.about .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image-main {
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.about-image-overlay {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: var(--gradient-light);
  padding: 30px;
  border-radius: var(--radius-lg);
  color: white;
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
}

.about-experience {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.about-experience-text {
  font-size: 0.9rem;
  opacity: 0.9;
}

.about-content {
  padding-left: 20px;
}

.about-label {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary-blue);
  border-radius: var(--radius-xl);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.about-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--text-dark);
}

.about-text {
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.8;
}

.about-counters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.counter-item {
  text-align: center;
  padding: 25px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
  border-radius: var(--radius-md);
  transition: var(--transition-medium);
}

.counter-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.counter-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 15px;
  background: var(--gradient-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
}

.counter-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.counter-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================
   WHY CHOOSE US SECTION
   ========================================== */
.why-choose {
  padding: var(--section-padding);
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.why-card {
  background: white;
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: var(--transition-medium);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-light);
  transform: scaleX(0);
  transition: var(--transition-medium);
}

.why-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.why-card:hover::before {
  transform: scaleX(1);
}

.why-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-medium);
}

.why-card:hover .why-icon {
  background: var(--gradient-light);
  transform: scale(1.1);
}

.why-icon i {
  font-size: 2rem;
  background: var(--gradient-light);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: var(--transition-medium);
}

.why-card:hover .why-icon i {
  background: white;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.why-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.why-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services {
  padding: var(--section-padding);
  background: var(--gradient-main);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.services .section-title {
  color: white;
  background: white;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.services .section-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.services-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition-medium);
  backdrop-filter: blur(10px);
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.tab-btn.active {
  background: white;
  color: var(--primary-blue);
  border-color: white;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.service-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
  opacity: 0;
  transition: var(--transition-medium);
}

.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: var(--transition-medium);
}

.service-card:hover .service-icon {
  background: white;
}

.service-icon i {
  font-size: 1.5rem;
  color: white;
  transition: var(--transition-medium);
}

.service-card:hover .service-icon i {
  background: var(--gradient-light);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}

.service-description {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.service-link:hover {
  gap: 12px;
}

/* ==========================================
   TESTIMONIALS SECTION
   ========================================== */
.testimonials {
  padding: var(--section-padding);
  background: white;
}

.testimonials-slider {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

.testimonials-track {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 20px);
  background: white;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: var(--transition-medium);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.testimonial-rating {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.testimonial-rating i {
  color: #fbbf24;
  font-size: 1.1rem;
}

.testimonial-text {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 25px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--gradient-light);
}

.testimonial-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 3px;
}

.testimonial-info span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.testimonials-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 40px;
}

.nav-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  border: 2px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-medium);
}

.nav-arrow:hover {
  background: var(--gradient-light);
  border-color: transparent;
  color: white;
}

.nav-arrow i {
  color: var(--text-dark);
  transition: var(--transition-medium);
}

.nav-arrow:hover i {
  color: white;
}

/* ==========================================
   FAQ SECTION
   ========================================== */
.faq {
  padding: var(--section-padding);
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: var(--radius-md);
  margin-bottom: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: var(--transition-medium);
}

.faq-item:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.faq-question {
  width: 100%;
  padding: 25px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: transparent;
  text-align: left;
}

.faq-question h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  flex: 1;
  padding-right: 20px;
}

.faq-icon {
  width: 35px;
  height: 35px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-medium);
  flex-shrink: 0;
}

.faq-icon i {
  color: var(--primary-blue);
  transition: var(--transition-medium);
}

.faq-item.active .faq-icon {
  background: var(--gradient-light);
}

.faq-item.active .faq-icon i {
  color: white;
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer-content {
  padding: 0 30px 25px;
  color: var(--text-muted);
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact {
  padding: var(--section-padding);
  background: white;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info {
  padding-right: 40px;
}

.contact-info-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.contact-info-text {
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.8;
}

.contact-details {
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 25px;
}

.contact-item-icon {
  width: 55px;
  height: 55px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon i {
  font-size: 1.3rem;
  color: var(--primary-blue);
}

.contact-item-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.contact-item-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.contact-social {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-medium);
}

.social-link:hover {
  background: var(--gradient-light);
  transform: translateY(-3px);
}

.social-link i {
  color: var(--primary-blue);
  font-size: 1.2rem;
  transition: var(--transition-medium);
}

.social-link:hover i {
  color: white;
}

.contact-form {
  background: white;
  border-radius: var(--radius-lg);
  padding: 50px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px 20px;
  background: #f8fafc;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  font-size: 1rem;
  color: var(--text-dark);
  transition: var(--transition-medium);
}

.form-group input:focus,
.form-group textarea:focus {
  background: white;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  padding: 18px;
  background: var(--gradient-light);
  color: white;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 700;
  transition: var(--transition-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

/* ==========================================
   NEWSLETTER SECTION
   ========================================== */
.newsletter {
  padding: 80px 0;
  background: var(--gradient-main);
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.newsletter-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: center;
}

.newsletter-info h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 15px;
}

.newsletter-info p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
}

.newsletter-form-container {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.newsletter-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.newsletter-form .form-group {
  margin-bottom: 20px;
}

.newsletter-form input {
  background: rgba(255, 255, 255, 0.9);
}

.newsletter-form input:focus {
  background: white;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 25px;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  cursor: pointer;
  accent-color: var(--primary-blue);
}

.checkbox-group label {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  cursor: pointer;
  line-height: 1.5;
}

.checkbox-group label a {
  color: white;
  text-decoration: underline;
}

/* ==========================================
   FOOTER SECTION
   ========================================== */
.footer {
  background: #0f172a;
  color: white;
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
}

.footer-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 200%;
  height: 100px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'%3E%3Cpath fill='%231e293b' fill-opacity='0.3' d='M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,149.3C960,160,1056,160,1152,138.7C1248,117,1344,75,1392,53.3L1440,32L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z'%3E%3C/path%3E%3C/svg%3E") repeat-x;
  animation: waveAnimation 15s linear infinite;
}

.footer-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo {
  margin-bottom: 20px;
}

.footer-brand .logo-text {
  color: white;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 25px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social .social-link {
  background: rgba(255, 255, 255, 0.1);
}

.footer-social .social-link i {
  color: white;
}

.footer-social .social-link:hover {
  background: var(--gradient-light);
}

.footer-column h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: white;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: white;
  padding-left: 5px;
}

.footer-bottom {
  position: relative;
  z-index: 2;
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  gap: 30px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-legal a:hover {
  color: white;
}

/* ==========================================
   MODAL STYLES
   ========================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-medium);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: white;
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 700px;
  max-height: 80vh;
  overflow-y: auto;
  transform: translateY(-30px);
  transition: var(--transition-medium);
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-header {
  padding: 25px 30px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: white;
  z-index: 10;
}

.modal-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
}

.modal-close {
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.1);
}

.modal-content {
  padding: 30px;
  line-height: 1.8;
  color: var(--text-muted);
}

.modal-content h4 {
  color: var(--text-dark);
  margin: 20px 0 10px;
  font-size: 1.1rem;
}

.modal-content p {
  margin-bottom: 15px;
}

.modal-content ul {
  margin: 10px 0 20px 20px;
  list-style: disc;
}

.modal-content li {
  margin-bottom: 8px;
}

/* Success Modal */
.success-modal .modal {
  text-align: center;
  padding: 50px;
  max-width: 450px;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  animation: bounce 0.6s ease;
}

.success-icon i {
  font-size: 2.5rem;
  color: white;
}

.success-modal h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.success-modal p {
  color: var(--text-muted);
}

/* ==========================================
   RESPONSIVE STYLES
   ========================================== */
@media (max-width: 1200px) {
  .hero .container {
    gap: 40px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 992px) {
  .section-title {
    font-size: 2.2rem;
  }
  
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-content {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-visual {
    display: none;
  }
  
  .about .container {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .about-content {
    padding-left: 0;
  }
  
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .testimonial-card {
    flex: 0 0 calc(50% - 15px);
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .contact-info {
    padding-right: 0;
  }
  
  .newsletter-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background: white;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    padding: 40px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition-medium);
  }
  
  .nav-menu.active {
    right: 0;
  }
  
  .nav-link {
    color: var(--text-dark) !important;
    font-size: 1.1rem;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .about-counters {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .why-choose-grid {
    grid-template-columns: 1fr;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial-card {
    flex: 0 0 100%;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .contact-form {
    padding: 30px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .hero-badge {
    font-size: 0.8rem;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .services-tabs {
    gap: 8px;
  }
  
  .tab-btn {
    padding: 10px 18px;
    font-size: 0.85rem;
  }
  
  .newsletter-form-container {
    padding: 25px;
  }
}

/* ==========================================
   ANIMATION CLASSES FOR SCROLL REVEAL
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.8s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================
   CUSTOM SCROLLBAR
   ========================================== */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-light);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-blue);
}

/* ==========================================
   LOADING ANIMATION
   ========================================== */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-spinner {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}