/* Enterprise-Level Professional CSS - EALKAY */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Figtree:wght@300;400;500;600;700;800;900&display=swap');
/* CSS Variables - Professional Color Palette */
:root {
  /* Primary Colors */
  --color-primary-900: #0c4a6e;
  --color-primary-800: #075985;
  --color-primary-700: #0369a1;
  --color-primary-600: #0284c7;
  --color-primary-500: #0ea5e9;
  --color-primary-400: #38bdf8;
  --color-primary-300: #7dd3fc;
  --color-primary-200: #bae6fd;
  --color-primary-100: #e0f2fe;
  
  /* Secondary Colors */
  --color-secondary-900: #581c87;
  --color-secondary-800: #6b21a8;
  --color-secondary-700: #7e22ce;
  --color-secondary-600: #9333ea;
  --color-secondary-500: #a855f7;
  --color-secondary-400: #c084fc;
  
  /* Neutral Colors */
  --color-gray-900: #0f172a;
  --color-gray-800: #1e293b;
  --color-gray-700: #334155;
  --color-gray-600: #475569;
  --color-gray-500: #64748b;
  --color-gray-400: #94a3b8;
  --color-gray-300: #cbd5e1;
  --color-gray-200: #e2e8f0;
  --color-gray-100: #f1f5f9;
  --color-gray-50: #f8fafc;
  
  /* Accent Colors */
  --color-accent: #d946ef;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --color-error: #ef4444;
  
  /* Spacing System */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;
  
  /* Typography */
--font-display: 'Figtree', sans-serif;
--font-sans: 'Figtree', sans-serif;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Base Styles */
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--color-gray-900);
  background-color: #ffffff;
  line-height: 1.6;
  font-weight: 400;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-gray-900);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); margin-bottom: var(--spacing-lg); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: var(--spacing-md); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: var(--spacing-md); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.875rem); margin-bottom: var(--spacing-sm); }
h5 { font-size: clamp(1.125rem, 2vw, 1.5rem); margin-bottom: var(--spacing-sm); }
h6 { font-size: clamp(1rem, 1.5vw, 1.25rem); margin-bottom: var(--spacing-xs); }

p {
  margin-bottom: var(--spacing-md);
  line-height: 1.75;
  color: var(--color-gray-700);
}

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

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

/* Container System */
.container {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--spacing-lg);
  padding-right: var(--spacing-lg);
}

.container-narrow {
  max-width: 1200px;
}

.container-tight {
  max-width: 960px;
}

/* Section Spacing */
.section {
  padding-top: var(--spacing-3xl);
  padding-bottom: var(--spacing-3xl);
}

.section-sm {
  padding-top: var(--spacing-2xl);
  padding-bottom: var(--spacing-2xl);
}

.section-lg {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.gradient-primary {
  background: linear-gradient(135deg,
    #1e3a5f 0%,     /* dark navy blue */
    #2563a8 30%,    /* medium blue */
    #3b9dbf 70%,    /* teal blue */
    #4dbfd9 100%    /* bright cyan/teal */
  );
}

.gradient-overlay {
  position: relative;
}

.gradient-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(15, 23, 42, 0.12) 0%,
    rgba(15, 23, 42, 0.06) 100%
  );
  z-index: 1;
}


.gradient-overlay > * {
  position: relative;
  z-index: 2;
}

/* Cards */
.card {
  background: white;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  overflow: hidden;
}

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

.card-elevated {
  box-shadow: var(--shadow-xl);
}

.card-bordered {
  border: 1px solid var(--color-gray-200);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

.btn-primary:hover {
  background: var(--color-primary-700);
  box-shadow: 0 10px 25px -5px rgba(14, 165, 233, 0.4);
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background: var(--color-secondary-700);
  box-shadow: 0 10px 25px -5px rgba(147, 51, 234, 0.4);
  transform: translateY(-2px);
}

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

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

.btn-lg {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

.btn-sm {
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
}

/* Hero Slider Styles */
.hero-slider-container {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide-content {
  position: relative;
  z-index: 10;
  height: 100%;
  display: flex;
  align-items: center;
}

.slider-controls {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
}

.slider-dot.active {
  background: white;
  width: 40px;
  border-radius: 6px;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev { left: 2rem; }
.slider-arrow.next { right: 2rem; }

/* Icon Boxes */
.icon-box {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--color-primary-500), var(--color-secondary-600));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-lg);
  transition: all var(--transition-base);
}

.icon-box i {
  font-size: 2.5rem;
  color: white;
}

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

/* Stats Counter */
.stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-xl);
  text-align: center;
  transition: all var(--transition-base);
}

.stat-card:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: var(--spacing-sm);
}

.stat-label {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* Testimonials */
.testimonial-card {
  background: white;
  padding: var(--spacing-xl);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-lg);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 30px;
  font-size: 120px;
  font-family: var(--font-display);
  color: var(--color-primary-100);
  line-height: 1;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--color-gray-100); /* light grey track */
}

::-webkit-scrollbar-thumb {
  background: var(--color-gray-400); /* slightly dark by default */
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-gray-500); /* darker on hover */
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

.animate-slide-in-left {
  animation: slideInLeft 0.8s ease-out;
}

.animate-slide-in-right {
  animation: slideInRight 0.8s ease-out;
}

.text-gradient {
  background: linear-gradient(
    135deg,
    #020617 0%,   /* deeper navy */
    #1e40af 60%,  /* strong blue */
    #1e1b4b 100%  /* deep indigo */
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, var(--color-primary-600), var(--color-primary-700));
}

.backdrop-blur {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

/* Responsive */
@media (max-width: 1024px) {
  :root {
    --spacing-3xl: 4rem;
  }
  
  .section-lg {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
  
  .hero-slider-container {
    height: 80vh;
    min-height: 600px;
  }
  
  .slider-arrow {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
  }
  
  .section {
    padding-top: var(--spacing-2xl);
    padding-bottom: var(--spacing-2xl);
  }
  
  .hero-slider-container {
    height: 70vh;
    min-height: 500px;
  }
  
  .slider-arrow.prev { left: 1rem; }
  .slider-arrow.next { right: 1rem; }
  
  .btn {
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .btn i {
    flex-shrink: 0;
  }
  
  .icon-box {
    width: 64px;
    height: 64px;
  }
  
  .icon-box i {
    font-size: 2rem;
  }
}
