/* ==========================================
   MODERN EDUCATIONAL WEBSITE - CUSTOM CSS
   Built with Bootstrap 5 Extension
   ========================================== */

/* ==========================================
   CSS VARIABLES - DESIGN SYSTEM
   Glassmorphism & Modern Gradient Design
   ========================================== */
:root {
  /* Primary Colors - Vibrant Purple-Blue Gradient (Modern & Attractive) */
  --primary-color: #6366f1;      /* Indigo */
  --primary-dark: #4f46e5;       /* Deep Indigo */
  --primary-light: #818cf8;      /* Light Indigo */
  --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #a855f7 100%);
  --primary-gradient-hover: linear-gradient(135deg, #8b5cf6 0%, #a855f7 50%, #c084fc 100%);

  /* Secondary Colors - Elegant Dark Theme */
  --secondary-color: #0f172a;    /* Deep Slate */
  --secondary-dark: #020617;     /* Darker Slate */
  --secondary-light: #1e293b;    /* Soft Slate */

  /* Accent Color - Electric Cyan */
  --accent-color: #06b6d4;       /* Vibrant Cyan */
  --accent-dark: #0891b2;
  --accent-light: #22d3ee;
  --accent-gradient: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);

  /* Additional Gradients - Modern & Eye-catching */
  --gradient-blue-teal: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
  --gradient-teal-aqua: linear-gradient(135deg, #06b6d4 0%, #14b8a6 100%);
  --gradient-navy-blue: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%);
  --gradient-purple-pink: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
  --gradient-orange-red: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
  --gradient-green-teal: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);

  /* Neutral Colors */
  --white: #ffffff;
  --off-white: #f9fafb;
  --gray-50: #1a1a1a;
  --gray-100: #2a2a2a;
  --gray-200: #3a3a3a;
  --gray-300: #4a4a4a;
  --gray-400: #6a6a6a;
  --gray-500: #8a8a8a;
  --gray-600: #aaaaaa;
  --gray-700: #cccccc;
  --gray-800: #e5e5e5;
  --gray-900: #f5f5f5;

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-bg-light: rgba(255, 255, 255, 0.15);
  --glass-bg-dark: rgba(0, 0, 0, 0.2);
  --glass-border: rgba(255, 255, 255, 0.2);
  --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);

  /* Semantic Colors */
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;

  /* Typography */
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --section-padding-mobile: 60px 0;

  /* Transitions */
  --transition-base: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Shadows - Enhanced with new colors */
  --shadow-sm: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
  --shadow-md: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 16px 32px 0 rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 24px 48px 0 rgba(0, 0, 0, 0.4);
  --shadow-hover: 0 20px 60px rgba(99, 102, 241, 0.4);
  --shadow-glow: 0 0 30px rgba(6, 182, 212, 0.5);
  --shadow-purple: 0 20px 60px rgba(139, 92, 246, 0.3);
  --shadow-cyan: 0 20px 60px rgba(6, 182, 212, 0.3);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 999px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-secondary);
  color: var(--gray-700);
  font-size: 16px;
  line-height: 1.7;
  background: var(--secondary-color);
  background-image:
    radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.2) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(139, 92, 246, 0.15) 0px, transparent 50%),
    radial-gradient(at 50% 50%, rgba(6, 182, 212, 0.1) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(168, 85, 247, 0.15) 0px, transparent 50%);
  overflow-x: hidden;
  position: relative;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 600;
  line-height: 1.3;
  color: var(--white);
  margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: var(--gray-600);
  font-weight: 400;
}

a {
  text-decoration: none;
  transition: var(--transition-base);
}

img {
  max-width: 100%;
  height: auto;
}

section {
  padding: var(--section-padding);
  position: relative;
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, var(--white) 0%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background: var(--primary-gradient);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-glow);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-600);
  margin-bottom: 3rem;
  max-width: 700px;
  font-weight: 400;
}

.bg-light-gray {
  background-color: var(--gray-50);
  position: relative;
}

.bg-light-gray::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(74, 144, 226, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.bg-primary-gradient {
  background: var(--primary-gradient);
  position: relative;
  overflow: hidden;
}

.bg-primary-gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  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");
  animation: slidePattern 20s linear infinite;
}

@keyframes slidePattern {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

/* ==========================================
   BUTTON STYLES
   ========================================== */
.btn {
  font-family: var(--font-primary);
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  transition: var(--transition-bounce);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  display: inline-block;
  text-align: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
  z-index: -1;
}

.btn:hover::before {
  transform: translateX(100%);
}

.btn-primary {
  background: var(--primary-gradient);
  color: var(--white);
  box-shadow: var(--shadow-md);
  border: 2px solid transparent;
}

.btn-primary:hover {
  background: var(--primary-gradient-hover);
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-hover);
  color: var(--white);
}

.btn-accent {
  background: var(--accent-gradient);
  color: var(--secondary-color);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--accent-color);
  font-weight: 700;
}

.btn-accent:hover {
  background: var(--accent-light);
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-glow);
  color: var(--secondary-dark);
}

.btn-outline {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid var(--glass-border);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--glass-bg-light);
  color: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-3px) scale(1.02);
  box-shadow: var(--shadow-glow);
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.1rem;
}

/* ==========================================
   NAVBAR STYLES
   ========================================== */
.navbar {
  padding: 1rem 0;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition-base);
}

.navbar.scrolled {
  padding: 0.5rem 0;
  background: var(--glass-bg-dark);
  box-shadow: var(--shadow-lg);
}

.navbar-brand {
  font-family: var(--font-primary);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white) !important;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-base);
}

.navbar-brand i {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 2rem;
}

.navbar-brand:hover {
  color: var(--accent-color) !important;
  transform: scale(1.05);
}

.navbar-nav .nav-link {
  font-family: var(--font-primary);
  font-weight: 500;
  color: var(--gray-700);
  padding: 0.5rem 1.2rem;
  position: relative;
  transition: var(--transition-base);
  border-radius: var(--radius-md);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--white);
  background: var(--glass-bg);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--accent-gradient);
  transition: var(--transition-base);
  border-radius: var(--radius-full);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 60%;
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
  background:
    radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.35) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.25) 0%, transparent 50%),
    radial-gradient(circle at 40% 20%, rgba(6, 182, 212, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 90% 10%, rgba(168, 85, 247, 0.2) 0%, transparent 40%),
    var(--secondary-color);
  min-height: 95vh;
  display: flex;
  align-items: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  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.02'%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");
  animation: slidePattern 20s linear infinite;
}

.hero-section::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: var(--primary-gradient);
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.3;
  top: -250px;
  right: -250px;
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-50px, 50px) scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-section h1 {
  font-size: 4rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1.5rem;
  line-height: 1.2;
  animation: fadeInUp 0.8s ease;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-section h1 span {
  background: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { filter: hue-rotate(0deg); }
  50% { filter: hue-rotate(30deg); }
}

.hero-section .lead {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.95);
  max-width: 600px;
  animation: fadeInUp 1s ease;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 1.2s ease;
}

.hero-image {
  position: relative;
  z-index: 2;
  animation: fadeInRight 1s ease;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
}

/* ==========================================
   FEATURES / WHY CHOOSE US
   ========================================== */
.feature-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--glass-shadow);
  transition: var(--transition-base);
  height: 100%;
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-gradient);
  opacity: 0;
  transition: var(--transition-base);
  z-index: -1;
}

.feature-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-color);
}

.feature-card:hover::before {
  opacity: 0.1;
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-gradient);
  color: var(--white);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  transition: var(--transition-bounce);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.feature-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-gradient);
  opacity: 0;
  transition: var(--transition-base);
}

.feature-card:hover .feature-icon {
  transform: rotateY(360deg) scale(1.1);
}

.feature-card:hover .feature-icon::before {
  opacity: 1;
}

.feature-card h4 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--white);
  position: relative;
  z-index: 1;
}

.feature-card p {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 0;
  position: relative;
  z-index: 1;
}

/* ==========================================
   COURSE / SERVICE CARDS
   ========================================== */
.course-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--glass-shadow);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  border: 1px solid var(--glass-border);
  position: relative;
}

.course-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-blue-teal);
  opacity: 0;
  transition: var(--transition-base);
  z-index: 0;
}

.course-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-color);
}

.course-card:hover::before {
  opacity: 0.08;
}

.course-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.course-card:hover .course-image img {
  transform: scale(1.1);
}

.course-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--accent-gradient);
  color: var(--secondary-dark);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-primary);
  box-shadow: var(--shadow-glow);
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: pulse 2s ease-in-out infinite;
}

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

.course-content {
  padding: 2rem;
  position: relative;
  z-index: 1;
}

.course-content h4 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.course-content p {
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  border-top: 1px solid var(--glass-border);
  position: relative;
  z-index: 1;
}

.course-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--font-primary);
}

.course-duration {
  color: var(--gray-500);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ==========================================
   TESTIMONIALS
   ========================================== */
.testimonial-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--glass-shadow);
  position: relative;
  border: 1px solid var(--glass-border);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-teal-aqua);
  opacity: 0;
  transition: var(--transition-base);
  z-index: -1;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-color);
  transform: translateY(-8px) scale(1.02);
}

.testimonial-card:hover::before {
  opacity: 0.08;
}

.quote-icon {
  font-size: 3.5rem;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.3;
  position: absolute;
  top: 20px;
  right: 30px;
  z-index: 0;
}

.testimonial-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 2rem;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid transparent;
  background: var(--primary-gradient);
  padding: 3px;
  position: relative;
  z-index: 1;
}

.author-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.author-info {
  position: relative;
  z-index: 1;
}

.author-info h5 {
  margin-bottom: 0.25rem;
  font-size: 1.1rem;
  color: var(--white);
}

.author-info span {
  color: var(--gray-500);
  font-size: 0.9rem;
}

.stars {
  color: var(--accent-color);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

/* ==========================================
   STATS / COUNTER SECTION
   ========================================== */
.stats-section {
  background: var(--primary-gradient);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  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");
  animation: slidePattern 20s linear infinite;
}

.stats-section::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--accent-gradient);
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.4;
  bottom: -200px;
  left: -200px;
}

.stat-item {
  text-align: center;
  position: relative;
  z-index: 2;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  font-family: var(--font-primary);
  margin-bottom: 0.5rem;
  display: block;
}

.stat-label {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* ==========================================
   CONTACT FORM
   ========================================== */
.contact-form {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 3rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--glass-shadow);
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-navy-blue);
  opacity: 0.05;
  z-index: -1;
}

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

.form-label {
  font-family: var(--font-primary);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.5rem;
  display: block;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
}

.form-label:hover {
  color: var(--accent-color);
}

.form-label.highlight {
  color: var(--accent-color);
  transform: translateX(5px);
}

.form-control {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border: 2px solid var(--glass-border);
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: var(--transition-base);
  font-family: var(--font-secondary);
  background: var(--glass-bg-dark);
  color: var(--white);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.form-control::placeholder {
  color: var(--gray-500);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(200, 221, 51, 0.2);
  background: var(--glass-bg);
}

.form-control.error {
  border-color: var(--error);
}

.form-control.highlight-field {
  animation: fieldPulse 0.6s ease-in-out;
  border-color: var(--accent-color);
}

@keyframes fieldPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(200, 221, 51, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(200, 221, 51, 0);
  }
}

.error-message {
  color: var(--error);
  font-size: 0.875rem;
  margin-top: 0.5rem;
  display: none;
}

.error-message.show {
  display: block;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.contact-info-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 2rem;
  border-radius: var(--radius-xl);
  margin-bottom: 2rem;
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.contact-info-item {
  display: flex;
  align-items: start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-gradient);
  color: var(--white);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
  transition: var(--transition-bounce);
}

.contact-info-item:hover .contact-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: var(--shadow-hover);
}

.contact-info-content h5 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: var(--white);
}

.contact-info-content p {
  margin-bottom: 0;
  color: var(--gray-600);
}

/* ==========================================
   WHATSAPP FLOATING BUTTON
   ========================================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: var(--shadow-xl);
  z-index: 1000;
  transition: var(--transition-base);
  cursor: pointer;
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: #25d366;
  opacity: 0.5;
  animation: whatsappPulse 2s ease-in-out infinite;
  z-index: -1;
}

@keyframes whatsappPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.3);
    opacity: 0;
  }
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
  color: var(--white);
}

.whatsapp-float.pulse-animation {
  animation: whatsappShake 0.5s ease-in-out;
}

@keyframes whatsappShake {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-15deg) scale(1.1); }
  75% { transform: rotate(15deg) scale(1.1); }
}

/* ==========================================
   MODAL NOTIFICATION BANNER
   ========================================== */
.modal-notification {
  position: fixed;
  bottom: 110px;
  right: 30px;
  background: var(--primary-gradient);
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(74, 144, 226, 0.5);
  z-index: 999;
  transform: translateX(400px);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  max-width: 300px;
}

.modal-notification.show {
  transform: translateX(0);
  opacity: 1;
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.notification-content i {
  font-size: 1.5rem;
  color: var(--accent-color);
  animation: notificationPulse 1s ease-in-out infinite;
}

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

.notification-content span {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: var(--secondary-dark);
  background-image:
    radial-gradient(at 0% 100%, rgba(74, 144, 226, 0.15) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(80, 201, 195, 0.1) 0px, transparent 50%);
  color: var(--gray-300);
  padding: 4rem 0 0;
  position: relative;
  border-top: 1px solid var(--glass-border);
}

.footer h5 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--gray-300);
  transition: var(--transition-base);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary-light);
  transform: translateX(5px);
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 45px;
  height: 45px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-bounce);
  font-size: 1.2rem;
  position: relative;
  overflow: hidden;
}

.social-links a::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--primary-gradient);
  opacity: 0;
  transition: var(--transition-base);
}

.social-links a:hover {
  border-color: var(--accent-color);
  transform: translateY(-5px) scale(1.1);
  box-shadow: var(--shadow-glow);
}

.social-links a:hover::before {
  opacity: 1;
}

.social-links a i {
  position: relative;
  z-index: 1;
}

.footer-bottom {
  border-top: 1px solid var(--gray-700);
  padding: 1.5rem 0;
  margin-top: 3rem;
  text-align: center;
  color: var(--gray-400);
}

/* ==========================================
   PLACEMENTS SECTION - AUTO SLIDER
   ========================================== */
.placements-section {
  background: linear-gradient(135deg, #f8f7ff 0%, #f0ebff 100%);
  position: relative;
  overflow: hidden;
}

/* Logo Slider Container */
.logo-slider-container {
  overflow: hidden;
  padding: 40px 0;
  position: relative;
  width: 100%;
}

.logo-slider {
  display: flex;
  animation: scroll-left 30s linear infinite;
  width: max-content;
}

/* Pause on hover */
.logo-slider-container:hover .logo-slider {
  animation-play-state: paused;
}

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.logo-slide {
  flex-shrink: 0;
  padding: 0 15px;
}

.brand-card-slider {
  background: var(--white);
  border-radius: 20px;
  padding: 35px 25px;
  width: 220px;
  height: 140px;
  box-shadow: 0 4px 16px rgba(74, 144, 226, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid rgba(74, 144, 226, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.brand-card-slider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-gradient);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.brand-card-slider:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(74, 144, 226, 0.2);
  border-color: var(--primary-color);
}

.brand-card-slider:hover::before {
  opacity: 0.06;
}

.brand-logo-slider {
  max-width: 150px;
  max-height: 60px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.7);
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.brand-card-slider:hover .brand-logo-slider {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.1);
}

.placements-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(74, 144, 226, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.placements-section::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(80, 201, 195, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
}

.placements-section .container {
  position: relative;
  z-index: 1;
}

.placements-section .section-title,
.transitions-section .section-title {
  color: var(--secondary-color);
  background: none;
  -webkit-text-fill-color: var(--secondary-color);
}

.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-card {
  background: var(--white);
  border-radius: 20px;
  padding: 40px 20px;
  margin-bottom: 30px;
  box-shadow: 0 4px 16px rgba(74, 144, 226, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid rgba(74, 144, 226, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  position: relative;
  overflow: hidden;
}

.brand-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-gradient);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.brand-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 32px rgba(74, 144, 226, 0.2);
  border-color: var(--primary-color);
}

.brand-card:hover::before {
  opacity: 0.06;
}

.brand-logo {
  max-width: 140px;
  max-height: 60px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.7);
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.brand-card:hover .brand-logo {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.15);
}

/* ==========================================
   INTERNSHIP DOMAINS SECTION
   ========================================== */
.internship-domains-section {
  background: var(--secondary-color);
  position: relative;
  overflow: hidden;
}

.domain-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--glass-shadow);
  transition: var(--transition-base);
  height: 100%;
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}

.domain-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--primary-gradient);
  opacity: 0;
  transition: var(--transition-base);
  z-index: -1;
}

.domain-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-color);
}

.domain-card:hover::before {
  opacity: 0.1;
}

.domain-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-gradient);
  color: var(--white);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  transition: var(--transition-bounce);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.domain-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-gradient);
  opacity: 0;
  transition: var(--transition-base);
}

.domain-card:hover .domain-icon {
  transform: rotateY(360deg) scale(1.1);
}

.domain-card:hover .domain-icon::before {
  opacity: 1;
}

.domain-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
  font-family: var(--font-primary);
}

.domain-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.domain-list li {
  color: var(--gray-600);
  padding: 0.6rem 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition-base);
}

.domain-list li:hover {
  color: var(--white);
  transform: translateX(8px);
}

.domain-list li i {
  color: var(--accent-color);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ==========================================
   SAP FICO HIGHLIGHT SECTION
   ========================================== */
.sap-fico-section {
  position: relative;
}

.highlight-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 3rem 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--glass-shadow);
  transition: var(--transition-base);
  height: 100%;
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.highlight-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-blue-teal);
  opacity: 0;
  transition: var(--transition-base);
  z-index: -1;
}

.highlight-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-color);
}

.highlight-card:hover::before {
  opacity: 0.1;
}

.highlight-icon {
  width: 90px;
  height: 90px;
  background: var(--primary-gradient);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem;
  transition: var(--transition-bounce);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.highlight-icon::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-gradient);
  opacity: 0;
  transition: var(--transition-base);
}

.highlight-card:hover .highlight-icon {
  transform: scale(1.15) rotate(360deg);
}

.highlight-card:hover .highlight-icon::before {
  opacity: 1;
}

.highlight-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
  font-family: var(--font-primary);
}

.highlight-text {
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 0;
}

/* ==========================================
   TRANSITIONS SECTION
   ========================================== */
.transitions-section {
  position: relative;
  background: var(--white);
}

.transitions-section .section-subtitle {
  color: var(--gray-400);
}

.student-transition-card {
  background: var(--white);
  border-radius: 24px;
  padding: 40px 30px;
  margin-bottom: 30px;
  box-shadow: 0 8px 24px rgba(74, 144, 226, 0.12);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  text-align: center;
  height: 100%;
}

.student-transition-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--primary-gradient);
  border-radius: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.student-transition-card:hover {
  transform: translateY(-15px);
  box-shadow: 0 16px 40px rgba(74, 144, 226, 0.25);
}

.student-transition-card:hover::before {
  opacity: 1;
}

.student-image-wrapper {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
  position: relative;
}

.student-image-wrapper::before {
  content: '';
  position: absolute;
  inset: -4px;
  background: var(--primary-gradient);
  border-radius: 50%;
  z-index: 0;
  animation: rotate360 3s linear infinite;
}

@keyframes rotate360 {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.student-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--white);
  position: relative;
  z-index: 1;
}

.student-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 8px;
  font-family: var(--font-primary);
}

.program-name {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--gray-400);
  margin-bottom: 20px;
}

.company-badge-wrapper {
  display: inline-block;
  margin-bottom: 24px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #f8f7ff 0%, #f0ebff 100%);
  border-radius: 12px;
}

.company-badge-logo {
  max-width: 80px;
  max-height: 32px;
  object-fit: contain;
  display: block;
}

.transition-info {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 2px solid #f3f4f6;
}

.transition-item {
  margin-bottom: 12px;
}

.transition-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gray-500);
  margin-bottom: 8px;
}

.transition-badge {
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  display: inline-block;
  font-family: var(--font-primary);
}

.badge-before {
  background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
  color: #dc2626;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
}

.badge-after {
  background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
  color: #059669;
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.15);
}

.arrow-divider {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin: 8px 0;
  opacity: 0.7;
}

/* Scroll Animation */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

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

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

.fade-in-up {
  animation: fadeInUp 0.6s ease;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 991px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }

  .hero-section h1 {
    font-size: 2.8rem;
  }

  .hero-section .lead {
    font-size: 1.1rem;
  }

  section {
    padding: var(--section-padding-mobile);
  }

  .navbar-nav .nav-link {
    padding: 0.75rem 0;
  }

  .navbar-nav .nav-link::after {
    display: none;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }

  .hero-section {
    min-height: auto;
    padding: 80px 0;
  }

  .hero-section h1 {
    font-size: 2.2rem;
  }

  .hero-section .lead {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .section-title {
    font-size: 2rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .contact-form {
    padding: 2rem 1.5rem;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    bottom: 20px;
    right: 20px;
  }

  .feature-card,
  .course-card,
  .testimonial-card {
    margin-bottom: 2rem;
  }

  /* Placements Section - Slider */
  .brand-card-slider {
    width: 180px;
    height: 120px;
    padding: 25px 15px;
  }

  .brand-logo-slider {
    max-width: 120px;
    max-height: 50px;
  }

  .logo-slider {
    animation: scroll-left 20s linear infinite;
  }

  /* Internship Domains */
  .domain-card,
  .highlight-card {
    margin-bottom: 2rem;
  }

  .domain-icon,
  .highlight-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .domain-title,
  .highlight-title {
    font-size: 1.25rem;
  }

  /* Transitions Section */
  .student-transition-card {
    padding: 30px 20px;
  }

  .student-image-wrapper {
    width: 100px;
    height: 100px;
  }

  .student-name {
    font-size: 1.25rem;
  }

  .arrow-divider {
    font-size: 1.5rem;
  }

  /* Modal Responsiveness */
  .premium-modal .modal-body {
    padding: 1.5rem;
  }

  .premium-modal .modal-title {
    font-size: 1.4rem;
  }

  .modal-notification {
    right: 10px;
    bottom: 90px;
    max-width: 250px;
    padding: 0.75rem 1rem;
  }

  .notification-content span {
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  .hero-section h1 {
    font-size: 1.8rem;
  }

  .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  .contact-form {
    padding: 1.5rem;
  }
}

/* ==========================================
   LOADING ANIMATION
   ========================================== */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--white);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.text-primary { color: var(--primary-color) !important; }
.text-accent { color: var(--accent-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.bg-accent { background-color: var(--accent-color) !important; }

.mt-5 { margin-top: 3rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }

/* ==========================================
   PREMIUM CONTACT MODAL
   ========================================== */
.premium-modal {
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.98) 0%, rgba(30, 30, 30, 0.98) 100%);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 2px solid rgba(74, 144, 226, 0.3);
  border-radius: var(--radius-xl);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.8), 0 0 100px rgba(74, 144, 226, 0.3);
  overflow: hidden;
  position: relative;
}

.premium-modal::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
  animation: shimmer 2s linear infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.premium-modal .modal-header {
  background: linear-gradient(135deg, rgba(74, 144, 226, 0.2) 0%, rgba(80, 201, 195, 0.2) 100%);
  border-bottom: 1px solid rgba(74, 144, 226, 0.2);
  padding: 2rem;
  position: relative;
}

.premium-modal .modal-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(74, 144, 226, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.premium-modal .modal-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, var(--white) 0%, var(--accent-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  display: flex;
  align-items: center;
}

.premium-modal .modal-title i {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: bounce 2s ease-in-out infinite;
}

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

.premium-modal .modal-body {
  padding: 2.5rem;
}

.modal-subtitle {
  font-size: 1.1rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
  text-align: center;
}

.premium-form .form-floating {
  position: relative;
}

.premium-form .form-control,
.premium-form .form-select {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(74, 144, 226, 0.2);
  border-radius: var(--radius-md);
  color: var(--white);
  padding: 1.2rem 1rem;
  font-size: 1rem;
  transition: var(--transition-base);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.premium-form .form-control:focus,
.premium-form .form-select:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.15);
  color: var(--white);
  outline: none;
}

.premium-form .form-floating > label {
  color: var(--gray-500);
  padding-left: 1rem;
  font-weight: 500;
}

.premium-form .form-floating > .form-control:focus ~ label,
.premium-form .form-floating > .form-control:not(:placeholder-shown) ~ label,
.premium-form .form-floating > .form-select ~ label {
  color: var(--primary-light);
  transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

.premium-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.premium-form .form-select option {
  background: var(--secondary-dark);
  color: var(--white);
}

.modal-benefits {
  background: rgba(74, 144, 226, 0.05);
  border: 1px solid rgba(74, 144, 226, 0.15);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.modal-benefits h5 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.modal-benefits h5 i {
  color: var(--accent-color);
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--gray-600);
  font-size: 0.95rem;
  padding: 0.5rem 0;
}

.benefit-item i {
  color: var(--accent-color);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.btn-modal-submit {
  background: var(--primary-gradient);
  color: var(--white);
  border: none;
  padding: 1.2rem 2rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  transition: var(--transition-bounce);
  box-shadow: 0 8px 24px rgba(74, 144, 226, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-modal-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.btn-modal-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(74, 144, 226, 0.6);
}

.btn-modal-submit:hover::before {
  transform: translateX(100%);
}

.btn-modal-submit:active {
  transform: translateY(-1px);
}

.modal-footer-text {
  text-align: center;
  font-size: 0.85rem;
  color: var(--gray-500);
}

.modal-footer-text i {
  color: var(--accent-color);
}

/* Modal Animation */
.modal.fade .modal-dialog {
  transform: scale(0.8) translateY(-50px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.modal.show .modal-dialog {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Modal Backdrop Enhancement */
.modal-backdrop.show {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Blur page content when modal is open */
body.modal-open .navbar,
body.modal-open section,
body.modal-open .footer,
body.modal-open .whatsapp-float {
  filter: blur(5px);
  -webkit-filter: blur(5px);
  transition: filter 0.3s ease;
}

body:not(.modal-open) .navbar,
body:not(.modal-open) section,
body:not(.modal-open) .footer,
body:not(.modal-open) .whatsapp-float {
  filter: none;
  -webkit-filter: none;
  transition: filter 0.3s ease;
}

/* Close Button Styling */
.btn-close-white {
  filter: brightness(0) invert(1);
  opacity: 0.8;
  transition: var(--transition-base);
}

.btn-close-white:hover {
  opacity: 1;
  transform: rotate(90deg);
}

/* ==========================================
   ENHANCED CARD EFFECTS & MICRO-INTERACTIONS
   ========================================== */
.brand-card,
.student-transition-card {
  position: relative;
}

.brand-card::after,
.student-transition-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: var(--primary-gradient);
  -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 0.4s ease;
}

.brand-card:hover::after,
.student-transition-card:hover::after {
  opacity: 1;
}

/* Particle Effect Background (Optional Enhancement) */
.placements-section,
.transitions-section {
  position: relative;
}

.placements-section::after,
.transitions-section::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(74, 144, 226, 0.3), transparent),
    radial-gradient(2px 2px at 60% 70%, rgba(80, 201, 195, 0.2), transparent),
    radial-gradient(1px 1px at 50% 50%, rgba(46, 92, 138, 0.2), transparent);
  background-size: 200px 200px, 300px 300px, 150px 150px;
  animation: particleFloat 20s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes particleFloat {
  0% { background-position: 0% 0%, 0% 0%, 0% 0%; }
  100% { background-position: 100% 100%, -100% -100%, 50% 50%; }
}

/* ==========================================
   IMAGE LOADING & OPTIMIZATION
   ========================================== */
img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  backface-visibility: hidden;
  transform: translateZ(0);
}

img:not([src]):not([srcset]) {
  visibility: hidden;
}

/* Lazy Load Image Fade-In */
img[data-src] {
  opacity: 0;
  transition: opacity 0.6s ease;
}

img:not([data-src]) {
  opacity: 1;
}

/* Enhanced Card Hover Effects */
.feature-card,
.course-card,
.testimonial-card {
  transform-style: preserve-3d;
  perspective: 1000px;
}

/* Smooth Image Transitions on Cards */
.course-card .course-image,
.testimonial-card .author-image,
.brand-card,
.student-transition-card {
  will-change: transform;
  backface-visibility: hidden;
}

/* Enhanced Scroll Smoothness */
html {
  scroll-padding-top: 80px;
}

/* Professional Page Transitions */
body {
  opacity: 0;
  animation: pageLoad 0.6s ease forwards;
}

@keyframes pageLoad {
  to {
    opacity: 1;
  }
}

/* Enhanced Focus States for Accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--accent-color);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Premium Gradient Text Effect */
.gradient-text-enhanced {
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 25%, #a855f7 50%, #84cc16 75%, #65a30d 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Enhanced Modal Entrance */
.modal.show .modal-dialog {
  animation: modalBounceIn 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes modalBounceIn {
  0% {
    transform: scale(0.3) translateY(-100px);
    opacity: 0;
  }
  50% {
    transform: scale(1.05) translateY(10px);
  }
  70% {
    transform: scale(0.95) translateY(-5px);
  }
  100% {
    transform: scale(1) translateY(0);
    opacity: 1;
  }
}

/* Premium Loading Skeleton for Images */
.course-image img,
.author-image img,
.hero-image img {
  background: linear-gradient(90deg, rgba(255,255,255,0.05) 25%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.05) 75%);
  background-size: 200% 100%;
  animation: shimmerLoad 1.5s infinite;
}

.course-image img[src],
.author-image img[src],
.hero-image img[src] {
  animation: none;
}

@keyframes shimmerLoad {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}


/* ==========================================
   PRINT STYLES
   ========================================== */
@media print {
  .navbar,
  .whatsapp-float,
  .hero-buttons,
  .footer,
  #contactModal {
    display: none;
  }
}
