/* ========================================
   MODERN DESIGN SYSTEM 2024
   Professional Clinical Research Theme
   ======================================== */

/* ===== CSS VARIABLES ===== */
:root {
  /* Modern Color Palette - Medical/Clinical Theme */
  --primary-50: #e6f2ff;
  --primary-100: #b3d9ff;
  --primary-200: #80bfff;
  --primary-300: #4da6ff;
  --primary-400: #1a8cff;
  --primary-500: #0073e6;  /* Main Primary */
  --primary-600: #005bb3;
  --primary-700: #004280;
  --primary-800: #00294d;
  --primary-900: #00101a;
  
  --accent-50: #e0f7fa;
  --accent-100: #b2ebf2;
  --accent-200: #80deea;
  --accent-300: #4dd0e1;
  --accent-400: #26c6da;
  --accent-500: #00bcd4;  /* Main Accent */
  --accent-600: #00acc1;
  --accent-700: #0097a7;
  --accent-800: #00838f;
  --accent-900: #006064;
  
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --info: #3b82f6;
  
  /* Neutral Colors */
  --white: #ffffff;
  --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;
  
  /* Brand Colors (Existing) */
  --brand-primary: #033270;
  --brand-secondary: #2a92ad;
  --brand-accent: #3abcdd;
  --brand-dark: #111433;
  --brand-darker: #0e1556;
  
  /* Typography - Modern Font Stack */
  --font-primary: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Inter', 'Teko', 'Poppins', sans-serif;
  --font-mono: 'Fira Code', 'Consolas', monospace;
  
  /* Font Sizes - Fluid Typography */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.375vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.625vw, 1.5rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.875rem);
  --text-2xl: clamp(1.5rem, 1.3rem + 1vw, 2.25rem);
  --text-3xl: clamp(1.875rem, 1.5rem + 1.875vw, 3rem);
  --text-4xl: clamp(2.25rem, 1.8rem + 2.25vw, 4rem);
  --text-5xl: clamp(3rem, 2.4rem + 3vw, 5rem);
  
  /* Spacing Scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-3xl: 2rem;
  --radius-full: 9999px;
  
  /* Shadows - Modern Elevation */
  --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 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
  --shadow-glow: 0 0 20px rgba(58, 188, 221, 0.3);
  --shadow-glow-lg: 0 0 40px rgba(58, 188, 221, 0.4);
  
  /* 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);
  --transition-bounce: 600ms cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  /* Z-Index Scale */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

/* ===== GLOBAL RESET & BASE ===== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--gray-800);
  background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ===== MODERN TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--gray-900);
  margin: 0;
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--gray-700);
  margin: 0;
}

a {
  color: var(--brand-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--brand-accent);
}

/* ===== MODERN TOP BAR ===== */
.top-bg-d {
  padding: 0 var(--space-4);
  margin-bottom: var(--space-4);
}

.top-bg {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
  width: 100%;
  padding: var(--space-3) var(--space-5);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  box-shadow: var(--shadow-md);
}

.top-left {
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-right: var(--space-6);
  font-size: var(--text-sm);
  transition: all var(--transition-fast);
}

.top-left:hover {
  transform: translateX(5px);
  color: var(--brand-accent);
}

.top-left i {
  color: var(--brand-accent);
  font-size: var(--text-base);
  transition: all var(--transition-fast);
}

.top-left:hover i {
  transform: scale(1.2);
}

.top-left p {
  display: inline;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.top-social-b {
  display: inline-flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  justify-content: center;
}

.top-social-b a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: var(--white);
  transition: all var(--transition-base);
  text-decoration: none;
}

.top-social-b a:hover {
  background: var(--white);
  color: var(--brand-primary);
  transform: translateY(-3px) scale(1.1);
  box-shadow: var(--shadow-lg);
}

.top-social-b i {
  font-size: var(--text-sm);
}

/* ===== MODERN HEADER ===== */
header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  transition: all var(--transition-base);
}

header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.99);
}

.nav-menu-bg-d {
  background: transparent;
  border: none;
  padding: var(--space-4) var(--space-6);
}

.nav-link {
  position: relative;
  font-weight: 600;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-700) !important;
  padding: var(--space-2) var(--space-3);
  transition: all var(--transition-fast);
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
  transition: transform var(--transition-base);
}

.nav-link:hover::before,
.nav-link.active::before {
  transform: translateX(-50%) scaleX(1);
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand-primary) !important;
}

/* ===== MODERN BUTTONS ===== */
.btn-hero {
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
  color: var(--white);
  font-weight: 600;
  font-size: var(--text-base);
  padding: var(--space-4) var(--space-8);
  border: none;
  border-radius: var(--radius-full);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}

.btn-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-hero:hover::before {
  left: 100%;
}

.btn-hero:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
  background: linear-gradient(135deg, var(--brand-secondary) 0%, var(--brand-accent) 100%);
}

.btn-hero:active {
  transform: translateY(0);
}

/* ===== MODERN HERO SECTION ===== */
.hero-section {
  position: relative;
  padding: var(--space-20) var(--space-4);
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-darker) 50%, var(--brand-dark) 100%);
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(58, 188, 221, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(42, 146, 173, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.banner-bg {
  background: transparent;
  padding: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  background: rgba(58, 188, 221, 0.15);
  backdrop-filter: blur(10px);
  color: var(--brand-accent);
  font-weight: 600;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-full);
  border: 1px solid rgba(58, 188, 221, 0.3);
  margin-bottom: var(--space-6);
}

.hero-heading {
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: var(--space-6);
  background: linear-gradient(135deg, #ffffff 0%, var(--brand-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom:20px!important;
}

.hero-section .white {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-lg);
  line-height: 1.8;
}

/* ===== MODERN CARDS ===== */
.feature-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  height: 100%;
  transition: all var(--transition-base);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--brand-accent);
}

.innovative-f {
  background: linear-gradient(135deg, rgba(53, 61, 131, 0.95) 0%, rgba(42, 146, 173, 0.95) 100%) !important;
  border: 1px solid rgba(58, 188, 221, 0.2);
  backdrop-filter: blur(10px);
}

.innovative-f:hover {
  background: linear-gradient(135deg, var(--brand-secondary) 0%, var(--brand-accent) 100%) !important;
  transform: translateY(-10px) scale(1.02);
}

.innovative-f i {
  font-size: 2.5rem;
  border: 3px solid rgba(255, 255, 255, 0.3);
  padding: var(--space-5);
  border-radius: var(--radius-full);
  color: var(--brand-accent);
  transition: all var(--transition-base);
  background: rgba(255, 255, 255, 0.1);
}

.innovative-f:hover i {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(360deg) scale(1.1);
}

.card-title-53 {
  font-size: var(--text-2xl) !important;
  color: var(--white) !important;
  font-weight: 700;
  margin: var(--space-4) 0;
}

/* ===== MODERN SECTIONS ===== */
.about-g {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-darker) 100%);
  padding: var(--space-24) 0;
  position: relative;
  overflow: hidden;
}

.about-g::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(58, 188, 221, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.choose-badge {
  display: inline-block;
  padding: var(--space-2) var(--space-5);
  background: rgba(37, 47, 83, 0.8);
  backdrop-filter: blur(10px);
  color: var(--brand-accent);
  font-weight: 700;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-full);
  border: 1px solid rgba(58, 188, 221, 0.3);
  margin-bottom: var(--space-4);
}

.display-4 {
  font-size: var(--text-4xl);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--space-6);
}

.light-blue {
  color: rgba(174, 178, 216, 0.9) !important;
  font-size: var(--text-lg);
  line-height: 1.4;
  margin-bottom:20px;
  margin-top:20px;
}

/* ===== MODERN STAT CARDS ===== */
.stat-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  text-align: center;
  transition: all var(--transition-base);
}

.stat-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--brand-accent);
  box-shadow: var(--shadow-glow);
}

.stat-icon {
  font-size: 2.5rem;
  color: var(--brand-accent);
  margin-bottom: var(--space-4);
}

.stat-card .h4 {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--space-2);
}

/* ===== STUDY EXPERIENCES SECTION - NEW DESIGN ===== */
.study-experiences-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #4facfe 75%, #00f2fe 100%);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  padding: var(--space-24) 0;
  position: relative;
  overflow: hidden;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.study-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  overflow: hidden;
  pointer-events: none;
}

.study-gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: floatOrb 20s ease-in-out infinite;
}

.study-orb-1 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  top: -100px;
  left: -100px;
  animation-delay: 0s;
}

.study-orb-2 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg, #f093fb, #4facfe);
  bottom: -150px;
  right: -150px;
  animation-delay: 5s;
}

.study-orb-3 {
  width: 350px;
  height: 350px;
  background: linear-gradient(135deg, #00f2fe, #667eea);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 10s;
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -50px) scale(1.1); }
  66% { transform: translate(-30px, 30px) scale(0.9); }
}

.study-badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-5);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  color: var(--white);
  font-weight: 700;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.study-badge i {
  color: #ffd700;
  animation: rotateStar 3s linear infinite;
}

@keyframes rotateStar {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.study-main-title {
  font-size: var(--text-5xl);
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 50%, #ffffff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: var(--space-4);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  letter-spacing: -0.02em;
}

.study-subtitle {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.95);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
  font-weight: 400;
}

/* Modern Stat Cards */
.modern-stat-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(30px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
  text-align: center;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.modern-stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.modern-stat-card:hover::before {
  transform: translateX(100%);
}

.modern-stat-card:hover {
  transform: translateY(-10px) scale(1.05);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  background: rgba(255, 255, 255, 0.25);
}

.stat-card-1:hover {
  border-color: #ff6b6b;
  box-shadow: 0 20px 60px rgba(255, 107, 107, 0.3);
}

.stat-card-2:hover {
  border-color: #4ecdc4;
  box-shadow: 0 20px 60px rgba(78, 205, 196, 0.3);
}

.stat-card-3:hover {
  border-color: #ffe66d;
  box-shadow: 0 20px 60px rgba(255, 230, 109, 0.3);
}

.stat-card-4:hover {
  border-color: #a8e6cf;
  box-shadow: 0 20px 60px rgba(168, 230, 207, 0.3);
}

.stat-icon-wrapper {
  margin-bottom: var(--space-4);
  display: flex;
  justify-content: center;
}

.stat-icon-bg {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  position: relative;
  transition: all var(--transition-base);
}

.stat-icon-bg::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: var(--radius-full);
  padding: 4px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.1));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.modern-stat-card:hover .stat-icon-bg::before {
  opacity: 1;
}

.stat-icon-1 {
  background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(255, 107, 107, 0.4);
}

.stat-icon-2 {
  background: linear-gradient(135deg, #4ecdc4, #44a08d);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(78, 205, 196, 0.4);
}

.stat-icon-3 {
  background: linear-gradient(135deg, #ffe66d, #ffd93d);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(255, 230, 109, 0.4);
}

.stat-icon-4 {
  background: linear-gradient(135deg, #a8e6cf, #88d8a3);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(168, 230, 207, 0.4);
}

.modern-stat-card:hover .stat-icon-bg {
  transform: rotate(360deg) scale(1.1);
}

.stat-number {
  font-size: var(--text-4xl);
  font-weight: 900;
  color: var(--white);
  margin-bottom: var(--space-2);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  line-height: 1.2;
}

.stat-label {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-4);
}

.stat-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.stat-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));
  border-radius: var(--radius-full);
  position: relative;
  animation: progressFill 1.5s ease-out;
}

.stat-progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
  animation: shimmerProgress 2s infinite;
}

@keyframes progressFill {
  from { width: 0; }
}

@keyframes shimmerProgress {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* Study Content Wrapper */
.study-content-wrapper {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(30px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-3xl);
  padding: var(--space-8);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.study-content-title {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--white);
  margin-bottom: var(--space-4);
  line-height: 1.3;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.study-content-text {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.8;
  margin-bottom: var(--space-6);
}

.study-features-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.modern-feature-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  transition: all var(--transition-base);
  cursor: pointer;
}

.modern-feature-card:hover {
  transform: translateX(10px);
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: all var(--transition-base);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.modern-feature-card:hover .feature-icon-box {
  transform: scale(1.1) rotate(5deg);
}

.feature-icon-1 {
  background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
  color: var(--white);
}

.feature-icon-2 {
  background: linear-gradient(135deg, #4ecdc4, #44a08d);
  color: var(--white);
}

.feature-icon-3 {
  background: linear-gradient(135deg, #ffe66d, #ffd93d);
  color: var(--white);
}

.feature-content-box {
  flex: 1;
}

.feature-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--white);
  margin-bottom: var(--space-2);
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.feature-description {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 0;
}

/* Video Wrapper */
.study-video-wrapper {
  position: relative;
  border-radius: var(--radius-3xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  padding: var(--space-2);
}

.video-container-modern {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  aspect-ratio: 16/9;
}

.video-container-modern iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: var(--radius-2xl);
}

.video-container-modern.image-container-modern .study-section-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-2xl);
  display: block;
}

.trust-badge-modern {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-full);
  padding: var(--space-3) var(--space-5);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: pulseBadge 2s ease-in-out infinite;
}

@keyframes pulseBadge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.trust-badge-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #4ecdc4, #44a08d);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
}

.trust-badge-text {
  font-weight: 700;
  color: var(--gray-800);
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.video-decoration {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: floatDecoration 6s ease-in-out infinite;
}

.video-dec-1 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.3), rgba(78, 205, 196, 0.3));
  top: -50px;
  left: -50px;
  filter: blur(40px);
}

.video-dec-2 {
  width: 150px;
  height: 150px;
  background: linear-gradient(135deg, rgba(255, 230, 109, 0.3), rgba(168, 230, 207, 0.3));
  bottom: -30px;
  right: -30px;
  filter: blur(30px);
  animation-delay: 3s;
}

@keyframes floatDecoration {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -20px) scale(1.1); }
}

/* Responsive Design for Study Section */
@media (max-width: 992px) {
  .study-main-title {
    font-size: var(--text-4xl);
  }
  
  .study-content-title {
    font-size: var(--text-2xl);
  }
  
  .study-content-wrapper {
    padding: var(--space-6);
  }
}

@media (max-width: 768px) {
  .study-experiences-section {
    padding: var(--space-16) 0;
  }
  
  .study-main-title {
    font-size: var(--text-3xl);
  }
  
  .stat-number {
    font-size: var(--text-3xl);
  }
  
  .stat-icon-bg {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
  
  .modern-stat-card {
    padding: var(--space-4);
  }
  
  .study-content-wrapper {
    padding: var(--space-5);
  }
  
  .feature-icon-box {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  .trust-badge-modern {
    top: var(--space-2);
    right: var(--space-2);
    padding: var(--space-2) var(--space-3);
  }
}

/* ===== MODERN PROGRESS BARS ===== */
.progress-container {
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
  border-radius: var(--radius-full);
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ===== MODERN BLOG CARDS ===== */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
}

.blog-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-img {
  transform: scale(1.1);
}

.blog-content {
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-category {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.blog-title a {
  color: var(--gray-900);
  font-weight: 700;
  font-size: var(--text-xl);
  transition: color var(--transition-fast);
}

.blog-title a:hover {
  color: var(--brand-primary);
}

/* ===== MODERN CLIENT SECTION ===== */
.client-bg {
  background: var(--white);
  padding: var(--space-12) 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.client-bg-area {
  padding: var(--space-8) 0;
}

.simply-scroll-list {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.simply-scroll-list li {
  flex-shrink: 0;
  opacity: 0.6;
  transition: all var(--transition-base);
  filter: grayscale(100%);
}

.simply-scroll-list li:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.1);
}

/* ===== MODERN FLIP CARDS ===== */
.dm-flip-card2 {
  perspective: 1000px;
  height: 350px;
  cursor: pointer;
  margin-bottom: var(--space-6);
}

.dm-flip-card2:hover .dm-front-card2 {
  transform: rotateY(180deg);
}

.dm-flip-card2:hover .dm-back-card2 {
  transform: rotateY(0deg);
}

.dm-front-card2,
.dm-back-card2 {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.dm-back-card2 {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-secondary) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--space-8);
  color: var(--white);
}

.dm-back-card2 h4 {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
  color: var(--white);
   text-align: center;
}

.dm-back-card2 p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--text-base);
  text-align: center;
}

/* ===== MODERN ANIMATIONS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
  .hero-heading {
    font-size: var(--text-4xl);
  }
  
  .display-4 {
    font-size: var(--text-3xl);
  }
}

@media (max-width: 992px) {
  .hero-section {
    padding: var(--space-16) var(--space-4);
  }
  
  .about-g {
    padding: var(--space-16) 0;
  }
  
  .nav-link {
    font-size: var(--text-xs);
    padding: var(--space-2);
  }
}

@media (max-width: 768px) {
  .hero-heading {
    font-size: var(--text-3xl);
  }
  
  .display-4 {
    font-size: var(--text-2xl);
  }
  
  .feature-card {
    padding: var(--space-6);
  }
  
  .innovative-f i {
    font-size: 2rem;
    padding: var(--space-4);
  }
  
  .card-title-53 {
    font-size: var(--text-xl) !important;
  }
  
  .stat-card {
    padding: var(--space-4);
  }
  
  .stat-card .h4 {
    font-size: var(--text-2xl);
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: var(--space-12) var(--space-4);
  }
  
  .about-g {
    padding: var(--space-12) 0;
  }
  
  .btn-hero {
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-sm);
  }
  
  .hero-badge {
    font-size: var(--text-xs);
    padding: var(--space-1) var(--space-3);
  }
}

/* ===== UTILITY CLASSES ===== */
.text-gradient {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.shadow-glow {
  box-shadow: var(--shadow-glow);
}

.hover-lift {
  transition: transform var(--transition-base);
}

.hover-lift:hover {
  transform: translateY(-5px);
}

/* ===== SMOOTH SCROLLING ===== */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
  
  * {
    scroll-margin-top: var(--space-20);
  }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for accessibility */
*:focus-visible {
  outline: 2px solid var(--brand-accent);
  outline-offset: 2px;
}

/* ===== MODERN FOOTER ENHANCEMENTS ===== */
.footer-bg-main {
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-darker) 100%);
  position: relative;
  overflow: hidden;
}

.footer-bg-main::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 30%, rgba(58, 188, 221, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(42, 146, 173, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.footer-bg {
  position: relative;
  z-index: 1;
}

.footer-bg-f h4 {
  color: var(--white);
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-6);
  position: relative;
  padding-bottom: var(--space-3);
}

.footer-bg-f h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
  border-radius: var(--radius-full);
}

.footer-bg-f ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-bg-f ul li {
  margin-bottom: var(--space-3);
}

.footer-bg-f ul li a {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-base);
  transition: all var(--transition-fast);
  display: inline-block;
  position: relative;
}

.footer-bg-f ul li a::before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: all var(--transition-fast);
  color: var(--brand-accent);
}

.footer-bg-f ul li a:hover {
  color: var(--white);
  transform: translateX(10px);
  padding-left: var(--space-4);
}

.footer-bg-f ul li a:hover::before {
  opacity: 1;
  left: 0;
}

.footer-bg-g p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-base);
  line-height: 1.8;
}

.footer-bg-e {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--text-base);
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.footer-bg-e i {
  color: var(--brand-accent);
  width: 20px;
}

.footer-bg-w {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
}

.footer-bg-w a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: var(--white);
  transition: all var(--transition-base);
  text-decoration: none;
}

.footer-bg-w a:hover {
  background: var(--brand-accent);
  transform: translateY(-3px) rotate(5deg);
  box-shadow: var(--shadow-glow);
}

.copyright {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  padding: var(--space-6) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  text-align: center;
}

.footer-copyright a {
  color: var(--brand-accent);
  transition: color var(--transition-fast);
}

.footer-copyright a:hover {
  color: var(--white);
}

/* ===== MODERN ABOUT SECTION ===== */
.about-us {
  background: var(--white);
  padding: var(--space-24) 0;
}

.about-us-content {
  padding-left: var(--space-6);
}

.section-title h3 {
  color: var(--brand-primary);
  font-size: var(--text-lg);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.section-title h3 i {
  color: var(--brand-accent);
}

.about-tittle-d {
  font-size: var(--text-3xl);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: var(--space-4);
  line-height: 1.3;
}

.section-title-p {
  color: var(--gray-600);
  font-size: var(--text-lg);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}

.about-tittle-f {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--brand-primary);
  margin: var(--space-6) 0 var(--space-4);
}

/* ===== MODERN WHY CHOOSE SECTION ===== */
.about-k {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: var(--space-24) 0;
}

.business-image {
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
  transition: transform var(--transition-slow);
}

.business-image:hover {
  transform: scale(1.02);
}

.progress-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.corporate-badge {
  display: inline-block;
  padding: var(--space-2) var(--space-5);
  background: linear-gradient(135deg, rgba(3, 50, 112, 0.1), rgba(58, 188, 221, 0.1));
  color: var(--brand-primary);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid rgba(3, 50, 112, 0.2);
}

.mission-vision-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
  box-shadow: var(--shadow-md);
  border-left: 4px solid var(--brand-accent);
}

.mission-vision-card p {
  color: var(--gray-700);
  font-size: var(--text-base);
  line-height: 1.8;
  margin-bottom: var(--space-4);
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: flex-start;
  gap: var(--space-4);
  transition: all var(--transition-base);
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  border-color: var(--brand-accent);
  box-shadow: var(--shadow-md);
  transform: translateX(5px);
}

.feature-check {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.feature-check i {
  font-size: var(--text-lg);
}

.benefit-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  border: 1px solid var(--gray-200);
  transition: all var(--transition-base);
}

.benefit-card:hover {
  border-color: var(--brand-accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.benefit-check {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background: var(--brand-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
  font-size: var(--text-xs);
}

.benefit-text {
  color: var(--gray-700);
  font-size: var(--text-sm);
  line-height: 1.6;
}

/* ===== MODERN BLOG SECTION ===== */
.blog-section {
  background: var(--white);
  padding: var(--space-24) 0;
}

.section-title {
  font-size: var(--text-4xl);
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: var(--space-4);
  text-align: center;
}

.divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
  margin: 0 auto var(--space-6);
  border-radius: var(--radius-full);
}

.section-subtitle {
  color: var(--gray-600);
  font-size: var(--text-lg);
  line-height: 1.8;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.blog-description {
  color: var(--gray-600);
  font-size: var(--text-base);
  line-height: 1.7;
  margin: var(--space-4) 0;
}

.blog-meta {
  display: flex;
  gap: var(--space-4);
  color: var(--gray-500);
  font-size: var(--text-sm);
  margin-top: auto;
  padding-top: var(--space-4);
  border-top: 1px solid var(--gray-200);
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* ===== RESPONSIVE ENHANCEMENTS ===== */
@media (max-width: 768px) {
  .about-us-content {
    padding-left: 0;
    margin-top: var(--space-8);
  }
  
  .about-tittle-d {
    font-size: var(--text-2xl);
  }
  
  .section-title {
    font-size: var(--text-3xl);
  }
  
  .top-left {
    margin-right: var(--space-3);
    margin-bottom: var(--space-2);
  }
  
  .footer-bg-f {
    margin-bottom: var(--space-8);
  }
}

/* ===== PRINT STYLES ===== */
@media print {
  .hero-section,
  .about-g {
    background: white;
    color: black;
  }
  
  .btn-hero,
  .nav-link {
    display: none;
  }
}

