/* ==========================================
   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 !important;
  width: 100%;
  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;
  overflow-x: hidden;
  width: 100%;
}

/* ==========================================
   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;
  margin-left: auto;
  margin-right: auto;
}

.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-logo,
.footer-logo {
  height: 45px;
  max-width: 150px;
  width: auto;
  object-fit: contain;
}

.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;
  margin: 0 auto;
  animation: fadeInUp 1s ease;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  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: 200px; /* Reduced from 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: 1.5rem; /* Reduced from 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: 1rem; /* Reduced from 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%);
  }
}

@keyframes scroll-right {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

.logo-slider.reverse {
  animation: scroll-right 30s linear infinite;
}


.logo-slide {
  flex-shrink: 0;
  padding: 0 15px;
}

.brand-card-slider {
  background: var(--white);
  border-radius: 24px;
  padding: 30px 20px;
  width: 240px;
  height: 140px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(0, 0, 0, 0.03);
  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(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(74, 144, 226, 0.15);
  border-color: var(--primary-color);
  background: #f8fafc; /* Subtle background color shift */
}

.brand-card-slider:hover::before {
  opacity: 0.08;
}

.brand-logo-slider {
  max-width: 170px;
  max-height: 75px;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.brand-card-slider:hover .brand-logo-slider {
  transform: scale(1.08);
}

.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);
  background: #f8fafc; /* Subtle background color shift */
}

.brand-card:hover::before {
  opacity: 0.1;
}

.brand-logo {
  max-width: 150px;
  max-height: 70px;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.brand-card:hover .brand-logo {
  transform: scale(1.1);
}

/* ==========================================
   INTERNSHIP DOMAINS SECTION
   ========================================== */
.internship-domains-section {
  background: var(--secondary-color);
  position: relative;
  overflow: hidden;
}

.internship-duration-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #fff;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.internship-duration-badge i {
  font-size: 1.2rem;
}

.domain-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 1.5rem 1.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;
}

.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.3rem 0;
  font-size: 0.95rem;
  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);
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.student-transition-card {
  background: var(--white);
  border-radius: 24px;
  padding: 20px 15px; /* Further reduced from 30px 20px */
  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: 100px; /* Reduced from 120px */
  height: 100px; /* Reduced from 120px */
  margin: 0 auto 20px; /* Reduced from 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-emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 4rem;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8ecff 100%);
  border-radius: 50%;
  border: 4px solid var(--white);
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.2);
}

.student-name {
  font-size: 1.25rem; /* Reduced from 1.5rem */
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 8px;
  font-family: var(--font-primary);
}

.program-name {
  font-size: 0.9rem; /* Reduced from 0.95rem */
  font-style: italic;
  color: var(--gray-400);
  margin-bottom: 15px; /* Reduced from 20px */
}

.company-badge-wrapper {
  display: inline-block;
  margin-bottom: 20px; /* Reduced from 24px */
  padding: 10px 20px; /* Reduced from 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: 15px; /* Reduced from 24px */
  padding-top: 15px; /* Reduced from 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: 8px 18px; /* Reduced from 10px 24px */
  border-radius: 50px;
  font-size: 0.85rem; /* Reduced from 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.5rem; /* Reduced from 1.8rem */
  margin: 4px 0; /* Reduced from 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;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  pointer-events: none;
  border: 1px solid transparent;
  transform-origin: 0 0;
  transition: opacity 0.1s ease-in-out, transform 0.1s ease-in-out;
}

.premium-form .form-floating > .form-control:focus ~ label,
.premium-form .form-floating > .form-control:not(:placeholder-shown) ~ label,
.premium-form .form-floating > .form-select:focus ~ label,
.premium-form .form-floating > .form-select:not(:placeholder-shown) ~ label {
  color: var(--primary-light);
  transform: scale(0.85) translateY(-1.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; }
}


/* ==========================================
   BUTTON ENHANCEMENTS
   ========================================== */
.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn-lg:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn-accent {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  border: none;
  color: white;
}

.btn-accent:hover {
  background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
  color: white;
}

.btn-outline {
  background: transparent;
  border: 2px solid currentColor;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: currentColor;
}

/* ==========================================
   PROFESSIONAL PRICING CARDS
   ========================================== */
.pricing-card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(102, 126, 234, 0.15) !important;
}

.pricing-card a {
  transition: all 0.3s ease;
}

.pricing-card a:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Pricing card with gradient border on hover */
.pricing-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -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.3s ease;
  pointer-events: none;
}

.pricing-card:hover::before {
  opacity: 0.5;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .pricing-card {
    margin-bottom: 1rem;
  }

  .pricing-card[style*="transform: scale(1.05)"] {
    transform: scale(1) !important;
  }
}

@media (max-width: 767px) {
  .pricing-card {
    margin-bottom: 1.5rem;
  }
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* ==========================================
   PRINT STYLES
   ========================================== */
@media print {
  .navbar,
  .whatsapp-float,
  .hero-buttons,
  .footer,
  #contactModal {
    display: none;
  }
}

/* ==========================================
   COMPANIES CAROUSEL STYLES
   ========================================== */
.companies-section {
  padding: 80px 0;
  background: #fff;
  border-top: 1px solid #e5e7eb;
}
.companies-title {
  text-align: center;
  margin-bottom: 60px;
}
.companies-title h2 {
  font-size: 2rem;
  color: #1f2937;
  font-weight: 700;
  margin-bottom: 10px;
}
.companies-title p {
  color: #6b7280;
  font-size: 1rem;
}
.companies-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  margin-bottom: 50px;
}
.companies-scroll {
  display: flex;
  gap: 40px;
  animation: scrollLeft 25s linear infinite;
  padding: 10px 0;
  will-change: transform;
}
.companies-scroll.reverse {
  animation: scrollRight 25s linear infinite;
}
.companies-scroll:hover {
  animation-play-state: paused;
}
@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes scrollRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
.company-logo {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  background: #f9fafb;
  border-radius: 8px;
  transition: all .3s;
  flex-shrink: 0;
}
.company-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}
.company-logo img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

/* ==========================================
   GENERIC COURSE PAGE STYLES
   ========================================== */
.course-hero {
  background: linear-gradient(135deg,#1e1b4b 0%,#312e81 50%,#4338ca 100%);
  padding: 80px 0 40px;
  position: relative;
  overflow: hidden;
}
.course-hero h1 {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}
.course-hero p {
  color: rgba(255,255,255,.9);
  font-size: 1.1rem;
  max-width: 600px;
  position: relative;
  z-index: 1;
}
.course-details-section {
  padding: 40px 0;
  background: linear-gradient(180deg, #1e1b4b 0%, #0f172a 100%);
}
.course-info-box {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  margin-bottom: 30px;
}
.course-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
  gap: 20px;
  margin-bottom: 30px;
}
.info-item {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}
.info-item i {
  font-size: 2rem;
  color: #8b5cf6;
  margin-bottom: 10px;
  display: block;
}
.info-item h6 {
  color: #f8fafc;
  font-weight: 600;
  margin-bottom: 5px;
}
.info-item p {
  color: #cbd5e1;
  font-size: .9rem;
  margin: 0;
}
.module-section {
  margin-bottom: 40px;
}
.module-item {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 15px;
  border-left: 4px solid #8b5cf6;
}
.module-item h5 {
  color: #f8fafc;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.module-item h5 i {
  color: #8b5cf6;
}
.module-item ul {
  margin: 0;
  padding-left: 20px;
  color: #cbd5e1;
}
.module-item ul li {
  margin-bottom: 6px;
}
.cta-section {
  background: linear-gradient(135deg,#6366f1 0%,#8b5cf6 100%);
  padding: 80px 0;
  text-align: center;
  color: #fff;
}
.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
}
.cta-section p {
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.price-tag-large {
  font-size: 3rem;
  font-weight: 800;
  margin: 20px 0;
}
.price-original {
  text-decoration: line-through;
  opacity: .7;
  font-size: 1.5rem;
  margin-right: 20px;
}
.btn-enroll-large {
  background: #fff;
  color: #6366f1;
  padding: 18px 50px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: all .3s;
  text-decoration: none;
  display: inline-block;
}
.btn-enroll-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,.2);
  color: #6366f1;
}
.breadcrumb-custom {
  padding: 15px 0;
}
.breadcrumb-custom a {
  color: #6366f1;
  text-decoration: none;
}
.breadcrumb-custom a:hover {
  text-decoration: underline;
}
/* ==========================================
   MEGA MENU STYLES
   ========================================== */

/* Base Styles */
.navbar .dropdown-menu.mega-menu {
    border: none;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 0;
    margin-top: 0;
    overflow: hidden;
    background: #ffffff;
}

.mega-menu-content {
    display: flex;
    padding: 0;
}

.mega-menu-categories {
    background: linear-gradient(180deg, #f8f9ff 0%, #f0f4ff 100%);
    padding: 20px 0;
    min-width: 250px;
    border-right: 1px solid rgba(99, 102, 241, 0.1);
}

.mega-menu-category {
    padding: 12px 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #4b5563;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.mega-menu-category i {
    font-size: 1.2rem;
    color: #8b5cf6;
    transition: all 0.3s ease;
}

.mega-menu-category:hover,
.mega-menu-category.active {
    background: #ffffff;
    color: #6366f1;
    border-left-color: #6366f1;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.05);
}

.mega-menu-category:hover i,
.mega-menu-category.active i {
    color: #6366f1;
}

.mega-menu-courses {
    padding: 30px;
    flex-grow: 1;
    display: none;
    animation: fadeInRight 0.3s ease;
}

.mega-menu-courses.active {
    display: block;
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.mega-course-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    border-radius: 8px;
    text-decoration: none;
    color: #374151;
    transition: all 0.3s ease;
    background: #ffffff;
    border: 1px solid #f3f4f6;
}

.mega-course-link i {
    color: #6366f1;
    font-size: 1.2rem;
    background: #f0f4ff;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.mega-course-link:hover {
    background: #f8f9ff;
    color: #6366f1;
    border-color: #e0e7ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.08);
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Desktop Hover Logic */
@media (min-width: 992px) {
    .navbar .has-mega-menu {
        position: static !important;
    }
    
    .navbar .dropdown-menu.mega-menu {
        width: 800px;
        left: 50% !important;
        transform: translateX(-50%) !important;
        top: 100%;
        display: block;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        pointer-events: none;
    }
    
    .navbar .has-mega-menu:hover .dropdown-menu.mega-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(5px) !important;
    }
}

/* Mobile Accordion Logic */
@media (max-width: 991px) {
    .navbar .dropdown-menu.mega-menu {
        border: none;
        box-shadow: none;
        padding: 10px 0 !important;
        background: transparent;
        width: 100% !important;
        float: none !important;
        position: relative !important;
        margin: 0 !important;
    }
    
    .mega-menu-content {
        flex-direction: row;
        width: 100%;
        align-items: flex-start;
    }
    
    .mega-menu-categories {
        width: 45%;
        min-width: unset;
        background: transparent;
        padding: 0;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .mega-menu-courses-wrapper {
        width: 55%;
    }
    
    .mega-menu-category {
        padding: 12px 8px;
        border-left: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        justify-content: flex-start;
        gap: 8px;
        color: rgba(255, 255, 255, 0.8) !important;
        font-size: 0.9rem;
    }
    
    .mega-menu-category:hover,
    .mega-menu-category.active {
        background: rgba(99, 102, 241, 0.1);
        color: #6366f1 !important;
    }
    
    .mega-menu-category::after {
        display: none;
    }
    
    .mega-menu-courses {
        padding: 10px 10px 10px 15px;
        background: transparent;
        border-radius: 0;
        margin-bottom: 0;
    }
    
    .mega-menu-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .mega-course-link {
        background: transparent;
        border: none;
        padding: 8px 0;
        color: rgba(255, 255, 255, 0.7) !important;
        font-size: 0.85rem;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .mega-course-link i {
        background: rgba(99, 102, 241, 0.1);
        width: 28px;
        height: 28px;
        min-width: 28px;
        font-size: 0.9rem;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 6px;
    }

    .mega-course-link:hover {
        background: transparent;
        color: #6366f1 !important;
        transform: translateX(5px);
        box-shadow: none;
    }
}

/* ==========================================
   CERTIFICATE SECTION
   ========================================== */
.certificate-preview-section {
    padding: 60px 0;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    margin: 40px 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.certificate-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid var(--glass-border);
    transition: var(--transition-base);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.certificate-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.certificate-thumb-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.certificate-thumb {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.certificate-card:hover .certificate-thumb {
    transform: scale(1.05);
}

.certificate-overlay {
    position: absolute;
    inset: 0;
    background: rgba(99, 102, 241, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.certificate-card:hover .certificate-overlay {
    opacity: 1;
}

.btn-view-cert {
    background: #fff;
    color: #6366f1;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Certificate Modal Protection */
.certificate-modal .modal-content {
    background: #0f172a;
    border: 2px solid var(--accent-color);
    border-radius: 24px;
}

.certificate-full-view {
    position: relative;
    user-select: none;
    -webkit-user-drag: none;
}

.certificate-full-view img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    pointer-events: none; /* Prevent right click/drag on mobile */
}

/* Transparent protection overlay */
.no-screenshot-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 10;
}

.cert-protection-notice {
    font-size: 0.8rem;
    color: var(--gray-500);
    text-align: center;
    margin-top: 15px;
    font-style: italic;
}

/* ==========================================
   LANGUAGE DROPDOWN
   ========================================== */
.language-dropdown .dropdown-menu {
    background: var(--secondary-dark);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 10px;
    min-width: 150px;
    margin-top: 10px !important;
}

.language-dropdown .dropdown-item {
    color: rgba(255, 255, 255, 0.8) !important;
    border-radius: 8px;
    padding: 8px 15px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.language-dropdown .dropdown-item:hover {
    background: rgba(99, 102, 241, 0.15);
    color: var(--accent-color) !important;
    transform: translateX(5px);
}

/* Global Icon Styling for New Position */
.language-dropdown .nav-link {
    font-size: 1.25rem;
    color: var(--secondary-color);
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.language-dropdown .nav-link:hover {
    color: var(--accent-color);
}

@media (max-width: 991px) {
    .language-dropdown .nav-link {
        font-size: 1.4rem;
        margin-right: 5px;
    }
}

.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

body {
    top: 0px !important;
}

.goog-tooltip {
    display: none !important;
}

.goog-tooltip:hover {
    display: none !important;
}

.goog-text-highlight {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* ==========================================
   SWIPER CAROUSEL CUSTOM STYLES
   ========================================== */
.course-slider, .transitions-slider {
    padding: 30px 10px 60px !important;
    margin: -30px -10px 0;
}

.course-slider .swiper-slide, .transitions-slider .swiper-slide {
    height: auto;
}

.course-slider .swiper-pagination-bullet, .transitions-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: var(--accent-color);
    opacity: 0.3;
    transition: all 0.3s ease;
}

.course-slider .swiper-pagination-bullet-active, .transitions-slider .swiper-pagination-bullet-active {
    width: 30px;
    border-radius: 6px;
    opacity: 1;
    background: var(--accent-gradient);
}

/* ==========================================
   ANIMATED COURSE SHOWCASE SECTION
   ========================================== */
.course-showcase-section {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #0f0c29 0%, #1a1040 50%, #0d0d2b 100%);
    position: relative;
    overflow: hidden;
}

.course-showcase-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 60% 80%, rgba(16, 185, 129, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.course-showcase-section .section-title { color: var(--white); }
.course-showcase-section .section-subtitle { color: rgba(255,255,255,0.6); }

.showcase-arena {
    position: relative;
    width: 100%;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto 0;
}

/* ---- Central Student Image ---- */
.showcase-student-wrapper {
    position: relative;
    z-index: 5;
    width: 270px;
    height: 370px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    flex-shrink: 0;
}

.showcase-student-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: bottom;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 30px 60px rgba(99,102,241,0.5));
    animation: studentFloat 4s ease-in-out infinite;
}

@keyframes studentFloat {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-14px); }
}

.student-fallback {
    width: 180px;
    height: 180px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: white;
    position: relative;
    z-index: 2;
}

.student-glow-ring {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139,92,246,0.5) 0%, rgba(99,102,241,0.2) 40%, transparent 70%);
    z-index: 1;
    animation: glowPulse 3s ease-in-out infinite;
}

.student-pulse-ring {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 2px solid rgba(139,92,246,0.35);
    z-index: 1;
    animation: ringExpand 3s ease-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
    50%       { opacity: 1;   transform: translateX(-50%) scale(1.08); }
}

@keyframes ringExpand {
    0%   { transform: translateX(-50%) scale(0.9); opacity: 0.8; }
    100% { transform: translateX(-50%) scale(1.6); opacity: 0; }
}

/* ---- Orbiting Dots ---- */
.orbit-dot {
    position: absolute;
    border-radius: 50%;
    z-index: 3;
}

.dot-1 { width: 12px; height: 12px; background: #6366f1; top: 22%;  left: 30%;  animation: orbitDrift 5.5s 0s    ease-in-out infinite; }
.dot-2 { width: 8px;  height: 8px;  background: #10b981; bottom: 25%; right: 28%; animation: orbitDrift 4.8s 1.5s ease-in-out infinite; }
.dot-3 { width: 14px; height: 14px; background: #f59e0b; top: 18%;  right: 30%; animation: orbitDrift 6s   0.8s ease-in-out infinite; }
.dot-4 { width: 10px; height: 10px; background: #ec4899; bottom: 20%; left: 32%; animation: orbitDrift 5s   2.2s ease-in-out infinite; }

@keyframes orbitDrift {
    0%, 100% { transform: translateY(0) scale(1);     opacity: 1; }
    50%       { transform: translateY(-22px) scale(1.4); opacity: 0.5; }
}

/* ---- Course Pill Cards ---- */
.course-pill {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    border-radius: 50px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    z-index: 6;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
    white-space: nowrap;
    animation-fill-mode: both;
}

.course-pill:hover {
    background: rgba(255,255,255,0.18);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transform: scale(1.08) translateY(-5px) !important;
}

.pill-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    color: #fff;
}

.pill-info { display: flex; flex-direction: column; }

.pill-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    font-family: var(--font-primary);
}

.pill-count {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    margin-top: 2px;
}

/* Pill positions */
.pill-tech      { top: 6%;    left: 4%;   }
.pill-mechanics { top: 6%;    right: 4%;  }
.pill-business  { bottom: 18%; left: 4%;  }
.pill-medical   { bottom: 18%; right: 4%; }
.pill-design    { top: 48%;   left: 50%;  }

/* Pill icon colors */
.pill-tech      .pill-icon { background: linear-gradient(135deg,#6366f1,#818cf8); }
.pill-mechanics .pill-icon { background: linear-gradient(135deg,#f59e0b,#fbbf24); }
.pill-business  .pill-icon { background: linear-gradient(135deg,#10b981,#34d399); }
.pill-medical   .pill-icon { background: linear-gradient(135deg,#ec4899,#f472b6); }
.pill-design    .pill-icon { background: linear-gradient(135deg,#8b5cf6,#a78bfa); }

/* ==============================================
   SCROLL-TRIGGERED PILL REVEAL
   Before scroll: pills hidden at center (student)
   After scroll: pills fly to their final positions
   ============================================== */

/* BEFORE scroll — all pills collapse to center */
.course-pill {
    opacity: 0;
    pointer-events: none;
    /* Each pill starts at the center of the arena */
    --tx: 0px;
    --ty: 0px;
}

.pill-tech      { transform: translate(calc(50vw - 50% - 40px), calc(260px - 50%)) scale(0.2); }
.pill-mechanics { transform: translate(calc(-50vw + 50% + 40px), calc(260px - 50%)) scale(0.2); }
.pill-business  { transform: translate(calc(50vw - 50% - 40px), calc(-260px + 50%)) scale(0.2); }
.pill-medical   { transform: translate(calc(-50vw + 50% + 40px), calc(-260px + 50%)) scale(0.2); }
.pill-design    { transform: translate(-50%, -50%) scale(0.2); }

/* AFTER scroll — class 'pills-visible' added by JS */
.showcase-arena.pills-visible .course-pill {
    opacity: 1;
    pointer-events: auto;
    transition:
        transform 0.85s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity   0.5s ease;
}

/* Restore final positions when visible */
.showcase-arena.pills-visible .pill-tech      {
    transform: translateY(0);
    transition-delay: 0.05s;
    animation: floatA 5s 0.9s ease-in-out infinite;
}
.showcase-arena.pills-visible .pill-mechanics {
    transform: translateY(0);
    transition-delay: 0.15s;
    animation: floatB 5.5s 1s ease-in-out infinite;
}
.showcase-arena.pills-visible .pill-business  {
    transform: translateY(0);
    transition-delay: 0.25s;
    animation: floatA 4.8s 1.1s ease-in-out infinite;
}
.showcase-arena.pills-visible .pill-medical   {
    transform: translateY(0);
    transition-delay: 0.35s;
    animation: floatB 5.2s 1.2s ease-in-out infinite;
}
.showcase-arena.pills-visible .pill-design    {
    transform: translate(-195%, -50%);
    transition-delay: 0.45s;
    animation: floatDesign 4.5s 1.3s ease-in-out infinite;
}

/* Continuous float (after landing) */
@keyframes floatA {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-16px); }
}

@keyframes floatB {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(16px); }
}

@keyframes floatDesign {
    0%, 100% { transform: translate(-195%, -50%) translateY(0); }
    50%       { transform: translate(-195%, -50%) translateY(-16px); }
}

@media (max-width: 991px) {
    .course-showcase-section {
        overflow: hidden;
    }
    .showcase-arena {
        transform: scale(0.75);
        transform-origin: center top;
        margin-bottom: -120px;
    }
}

@media (max-width: 576px) {
    .course-showcase-section { padding: 50px 0 40px; }
    .showcase-arena {
        transform: scale(0.5);
        margin-bottom: -250px;
    }
}

/* ==========================================
   FAQ ACCORDION — CONTACT PAGE
   ========================================== */
#faq .accordion-button {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 1rem;
    font-family: var(--font-primary);
    transition: color 0.3s ease, background 0.3s ease;
}

#faq .accordion-button:hover {
    color: #ffffff !important;
    background: var(--primary-gradient) !important;
}

#faq .accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background: rgba(99, 102, 241, 0.06);
    box-shadow: none;
}

#faq .accordion-button:not(.collapsed):hover {
    color: #ffffff !important;
    background: var(--primary-gradient) !important;
}

#faq .accordion-button::after {
    filter: none;
    transition: filter 0.3s ease;
}

#faq .accordion-button:hover::after {
    filter: brightness(0) invert(1);
}

/* ==========================================
   GOOGLE TRANSLATE OVERRIDES
   ========================================== */
/* Hide the top banner */
.goog-te-banner-frame.skiptranslate, 
.goog-te-banner-frame {
    display: none !important;
}

body {
    top: 0px !important; 
    position: static !important;
}

/* Hide the tooltip that appears on hover over translated text */
.goog-text-highlight {
    background-color: transparent !important;
    box-shadow: none !important;
}
#goog-gt-tt, .goog-te-balloon-frame {
    display: none !important;
}

/* Responsive Spacing for Course Pages */
@media (max-width: 991px) {
  .course-hero { padding: 60px 0 30px; }
  .course-details-section { padding: 30px 0; }
  .breadcrumb-custom { margin-top: 80px !important; }
}

@media (max-width: 767px) {
  .course-hero { padding: 40px 0 20px; }
  .course-details-section { padding: 20px 0; }
  .breadcrumb-custom { margin-top: 70px !important; }
  .course-hero h1 { font-size: 1.8rem; }
}

/* ==========================================
   CERTIFICATE SECTION — WHITE TEXT OVERRIDES
   (dark-background context on all course pages & homepage)
   ========================================== */
.certificate-preview-section .text-muted,
.certificate-preview-section p.small,
.certificate-preview-section p {
    color: rgba(255, 255, 255, 0.82) !important;
}

.certificate-card .text-muted,
.certificate-card p.small {
    color: rgba(255, 255, 255, 0.80) !important;
}

