﻿/**
 * Modern Design System - WeLevelUp
 * Premium, vibrant, and dynamic styling
 */

/* ========================================
   CSS CUSTOM PROPERTIES (VARIABLES)
======================================== */
:root {
  /* Modern Color Palette - Vibrant Gradients */
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --success-gradient: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  --dark-gradient: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);

  /* Solid Colors */
  --primary-color: #667eea;
  --secondary-color: #764ba2;
  --accent-color: #4facfe;
  --success-color: #43e97b;
  --warning-color: #feca57;
  --danger-color: #f5576c;

  /* Neutral Colors */
  --dark: #1a1a2e;
  --dark-light: #16213e;
  --text-dark: #2d3436;
  --text-light: #636e72;
  --text-white: #ffffff;
  --bg-light: #f8f9fa;
  --bg-grey: #f1f3f5;
  --border-color: #e9ecef;

  /* Typography */
  --font-primary: 'Inter', 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Poppins', 'Inter', sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 4rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.15);
  --shadow-colored: 0 8px 32px rgba(102, 126, 234, 0.25);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ========================================
   GOOGLE FONTS IMPORT
======================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* ========================================
   GLOBAL RESET & BASE STYLES
======================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  color: var(--text-dark);
  line-height: 1.7;
  background-color: #ffffff;
  overflow-x: hidden;
}

/* ========================================
   TYPOGRAPHY
======================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--dark);
  margin-bottom: var(--spacing-sm);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -1px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.5px;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

h5 {
  font-size: 1.25rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: var(--spacing-sm);
  color: var(--text-light);
  font-size: 1.05rem;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition-base);
}

a:hover {
  color: var(--secondary-color);
  text-decoration: none;
}

/* ========================================
   UTILITY CLASSES
======================================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section-padding {
  padding: var(--spacing-xxl) 0;
}

.text-center {
  text-align: center;
}

.text-gradient {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-grey {
  background-color: var(--bg-grey);
}

.bg-gradient {
  background: var(--primary-gradient);
}

/* ========================================
   MODERN BUTTONS
======================================== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-primary);
  border-radius: var(--radius-lg);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  text-align: center;
  line-height: 1.5;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.3));
  transform: translateX(-100%);
  transition: transform 0.4s ease;
  z-index: -1;
}

.btn:hover::before {
  transform: translateX(0);
}

.btn-main {
  background: var(--primary-gradient);
  color: var(--text-white);
  box-shadow: var(--shadow-colored);
}

.btn-main:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(102, 126, 234, 0.35);
}

/* Shaded Light Blue Animated Button */
.btn-shaded-blue {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 50%, #4facfe 100%);
  background-size: 200% 200%;
  color: white;
  padding: 16px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  animation: gradientShift 3s ease infinite;
}

.btn-shaded-blue::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.btn-shaded-blue:hover::before {
  left: 100%;
}

.btn-shaded-blue::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn-shaded-blue:hover::after {
  width: 300px;
  height: 300px;
}

.btn-shaded-blue:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 40px rgba(79, 172, 254, 0.6);
  color: white;
}

.btn-shaded-blue:active {
  transform: translateY(-2px) scale(1.02);
}

/* Animated gradient effect */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* ========================================
   MODERN HERO SECTION
======================================== */
.hero-modern-2 {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 100px 0 80px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  position: relative;
  overflow: hidden;
}

.hero-modern-2::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(79, 172, 254, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

.hero-modern-2::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-30px) rotate(5deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
}

/* Title Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 25px;
  animation: slideInLeft 1s ease-out 0.2s both;
  position: relative;
}

.hero-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100px;
  height: 5px;
  background: var(--accent-gradient);
  border-radius: 10px;
  animation: expandWidth 1s ease-out 0.8s both;
}

@keyframes expandWidth {
  from {
    width: 0;
  }

  to {
    width: 100px;
  }
}

.subheading-modern {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeIn 1s ease-out 0.4s both;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 35px;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.btn-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.8s both;
}

.btn-container .mr-3 {
  margin-right: 0 !important;
}

/* Hero Image Wrapper */
.hero-img-wrapper {
  position: relative;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-img {
  position: relative;
  z-index: 2;
  transition: transform 0.5s ease;
}

.hero-img:hover {
  transform: scale(1.05) rotate(2deg);
}

/* Glass Effect for Cards */
.glass-effect {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.glass-effect:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Background Gradients */
.bg-light-gradient {
  background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
}

/* Feature Cards Modern */
.feature-card-modern {
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.3s ease;
}

.feature-icon-modern {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: var(--accent-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  transition: all 0.3s ease;
}

.feature-card-modern:hover .feature-icon-modern {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 10px 30px rgba(79, 172, 254, 0.4);
}

.feature-card-modern h4 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.feature-card-modern p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.7;
}

/* Counter Section Modern */
.counter-item-modern {
  padding: 30px 20px;
  transition: all 0.3s ease;
}

.counter-icon-modern {
  font-size: 3rem;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.counter-item-modern:hover .counter-icon-modern {
  transform: scale(1.2);
  color: var(--accent-color);
}

/* Course Cards Modern */
.course-card-modern {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.course-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.course-img-modern {
  height: 250px;
  overflow: hidden;
}

.course-img-modern img {
  transition: transform 0.5s ease;
}

.course-card-modern:hover .course-img-modern img {
  transform: scale(1.1);
}

.course-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary-gradient);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.course-price-modern {
  font-size: 1.5rem;
}

/* Blog Cards Modern */
.blog-card-modern {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.blog-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.blog-img-modern {
  height: 250px;
  overflow: hidden;
}

.blog-img-modern img {
  transition: transform 0.5s ease;
}

.blog-card-modern:hover .blog-img-modern img {
  transform: scale(1.1);
}

.blog-date-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: white;
  padding: 15px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
}

/* ========================================
   FOOTER STYLES
======================================== */
.footer-modern {
  background: #025C8A;
  color: rgba(255, 255, 255, 0.7);
  padding-top: 80px;
  position: relative;
}

.footer-widget h4 {
  color: var(--text-white);
  margin-bottom: 25px;
  font-size: 1.3rem;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-contact-list li {
  display: flex;
  margin-bottom: 15px;
}

.footer-contact-list i {
  color: var(--primary-color);
  margin-right: 15px;
  font-size: 1.1rem;
  margin-top: 5px;
}

.footer-bottom {
  background: var(--dark-light);
  padding: 25px 0;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.social-icon-footer {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  transition: all 0.3s ease;
}

.feature-card-modern:hover .feature-icon-modern {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 10px 30px rgba(79, 172, 254, 0.4);
}

.feature-card-modern h4 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.feature-card-modern p {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.7;
}

/* Counter Section Modern */
.counter-item-modern {
  padding: 30px 20px;
  transition: all 0.3s ease;
}

.counter-icon-modern {
  font-size: 3rem;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.counter-item-modern:hover .counter-icon-modern {
  transform: scale(1.2);
  color: var(--accent-color);
}

/* Course Cards Modern */
.course-card-modern {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.course-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.course-img-modern {
  height: 250px;
  overflow: hidden;
}

.course-img-modern img {
  transition: transform 0.5s ease;
}

.course-card-modern:hover .course-img-modern img {
  transform: scale(1.1);
}

.course-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary-gradient);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.course-price-modern {
  font-size: 1.5rem;
}

/* Blog Cards Modern */
.blog-card-modern {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.blog-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.blog-img-modern {
  height: 250px;
  overflow: hidden;
}

.blog-img-modern img {
  transition: transform 0.5s ease;
}

.blog-card-modern:hover .blog-img-modern img {
  transform: scale(1.1);
}

.blog-date-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: white;
  padding: 15px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
}

/* ========================================
   FOOTER STYLES
======================================== */
.footer-modern {
  background: #025C8A;
  color: rgba(255, 255, 255, 0.7);
  padding-top: 80px;
  position: relative;
}

.footer-widget h4 {
  color: var(--text-white);
  margin-bottom: 25px;
  font-size: 1.3rem;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-contact-list li {
  display: flex;
  margin-bottom: 15px;
}

.footer-contact-list i {
  color: var(--primary-color);
  margin-right: 15px;
  font-size: 1.1rem;
  margin-top: 5px;
}

.footer-bottom {
  background: var(--dark-light);
  padding: 25px 0;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.social-icon-footer {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  margin-right: 10px;
  transition: var(--transition-base);
}

.social-icon-footer:hover {
  background: var(--primary-gradient);
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-modern-2 {
    min-height: auto;
    padding: 80px 0 60px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .btn-container {
    flex-direction: column;
  }

  .btn-shaded-blue {
    width: 100%;
    text-align: center;
  }
}

/* ========================================
   HERO REFERENCE STYLE (New Design)
======================================== */
.hero-reference-style {
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
  background: #fffbf2;
  /* Soft peach/cream background from reference */
  position: relative;
  overflow: hidden;
}

/* If user wants site theme, we can override this, but reference has this specific color. 
   Let's make it a soft variant of the site theme if needed, but the reference is distinct.
   User said "bg color site ke according", so let's use a soft blue/purple tint instead of peach 
   to match the "site ke according" instruction strictly. */
.hero-reference-style {
  background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
  /* Clean light background */
}

.hero-reference-content {
  padding-right: 30px;
  z-index: 2;
  position: relative;
}

/* Course Cards Modern */
.course-card-modern {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.course-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.course-img-modern {
  height: 250px;
  overflow: hidden;
}

.course-img-modern img {
  transition: transform 0.5s ease;
}

.course-card-modern:hover .course-img-modern img {
  transform: scale(1.1);
}

.course-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--primary-gradient);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.course-price-modern {
  font-size: 1.5rem;
}

/* Blog Cards Modern */
.blog-card-modern {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: white;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.blog-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
}

.blog-img-modern {
  height: 250px;
  overflow: hidden;
}

.blog-img-modern img {
  transition: transform 0.5s ease;
}

.blog-card-modern:hover .blog-img-modern img {
  transform: scale(1.1);
}

.blog-date-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: white;
  padding: 15px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
}

/* ========================================
   FOOTER STYLES
======================================== */
.footer-modern {
  background: #025C8A;
  color: rgba(255, 255, 255, 0.7);
  padding-top: 80px;
  position: relative;
}

.footer-widget h4 {
  color: var(--text-white);
  margin-bottom: 25px;
  font-size: 1.3rem;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-contact-list li {
  display: flex;
  margin-bottom: 15px;
}

.footer-contact-list i {
  color: var(--primary-color);
  margin-right: 15px;
  font-size: 1.1rem;
  margin-top: 5px;
}

.footer-bottom {
  background: var(--dark-light);
  padding: 25px 0;
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.social-icon-footer {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  margin-right: 10px;
  transition: var(--transition-base);
}

.social-icon-footer:hover {
  background: var(--primary-gradient);
  transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-modern-2 {
    min-height: auto;
    padding: 80px 0 60px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .btn-container {
    flex-direction: column;
  }

  .btn-shaded-blue {
    width: 100%;
    text-align: center;
  }
}

/* ========================================
   HERO REFERENCE STYLE (New Design)
======================================== */
.hero-reference-style {
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
  background: #fffbf2;
  /* Soft peach/cream background from reference */
  position: relative;
  overflow: hidden;
}

/* If user wants site theme, we can override this, but reference has this specific color. 
   Let's make it a soft variant of the site theme if needed, but the reference is distinct.
   User said "bg color site ke according", so let's use a soft blue/purple tint instead of peach 
   to match the "site ke according" instruction strictly. */
.hero-reference-style {
  background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
  /* Clean light background */
}

.hero-reference-content {
  padding-right: 30px;
  z-index: 2;
  position: relative;
}

.hero-reference-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-reference-title span {
  color: #ff7e21;
  /* Orange from reference, or use var(--primary-color) */
}

/* User said "site ke according", so let's use site primary color for the highlighted text */
.hero-reference-title span.highlight-site {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-reference-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 35px;
  max-width: 500px;
  line-height: 1.6;
}

.hero-btn-group {
  display: flex;
  gap: 20px;
  align-items: center;
}

.btn-orange {
  background: #ff7e21;
  color: white;
  box-shadow: 0 10px 25px rgba(255, 126, 33, 0.3);
}

.btn-orange:hover {
  background: #e66b15;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(255, 126, 33, 0.4);
  color: white;
}

/* Site Theme Button (Shaded Style) */
.btn-site-primary {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 50%, #4facfe 100%);
  background-size: 200% 200%;
  color: white;
  box-shadow: 0 8px 25px rgba(79, 172, 254, 0.4);
  position: relative;
  overflow: hidden;
  border: none;
  animation: gradientShift 3s ease infinite;
}

.btn-site-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(79, 172, 254, 0.6);
  color: white;
}

.btn-site-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.btn-site-primary:hover::before {
  left: 100%;
}

.btn-outline-custom {
  background: transparent;
  border: 2px solid #ff7e21;
  color: #ff7e21;
  box-shadow: none;
}

.btn-outline-custom:hover {
  background: #ff7e21;
  color: white;
  transform: translateY(-3px);
}

/* Site Theme Outline Button */
.btn-outline-site {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline-site:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

/* Hero Image Area */
.hero-reference-img-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-main-img {
  position: relative;
  z-index: 1;
  max-height: 600px;
  border-radius: 0;
  /* Reference image has a cutout person, usually no border radius */
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: white;
  padding: 15px 20px;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 2;
  animation: floatBadge 6s ease-in-out infinite;
}

.badge-top-right {
  top: 10%;
  right: 0;
  transform: rotate(15deg);
  animation-delay: 0s;
}

.badge-bottom-left {
  bottom: 15%;
  left: -20px;
  transform: rotate(-10deg);
  animation-delay: 1.5s;
}

.badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.badge-icon.orange {
  background: #fff3e0;
  color: #ff7e21;
}

.badge-icon.blue {
  background: #e3f2fd;
  color: #2196f3;
}

.badge-text span {
  display: block;
  line-height: 1.2;
}

.badge-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dark);
}

.badge-subtitle {
  font-size: 0.85rem;
  color: var(--text-light);
}

.student-avatars {
  display: flex;
  margin-right: 10px;
}

.student-avatars img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid white;
  margin-left: -10px;
}

.student-avatars img:first-child {
  margin-left: 0;
}

@keyframes floatBadge {

  0%,
  100% {
    transform: translateY(0) rotate(var(--rotation));
  }

  50% {
    transform: translateY(-15px) rotate(var(--rotation));
  }
}

/* Responsive */
@media (max-width: 991px) {
  .hero-reference-style {
    padding: 60px 0;
    text-align: center;
  }

  .hero-reference-content {
    padding-right: 0;
    margin-bottom: 50px;
  }

  .hero-reference-title {
    font-size: 2.2rem;
  }

  .hero-btn-group {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-reference-img-wrapper {
    margin-top: 30px;
  }

  .badge-top-right {
    right: 5%;
    top: 5%;
    transform: scale(0.9) rotate(15deg);
  }

  .badge-bottom-left {
    left: 5%;
    bottom: 10%;
    transform: scale(0.9) rotate(-10deg);
  }
}

@media (max-width: 576px) {
  .hero-reference-title {
    font-size: 1.8rem;
  }

}

.btn-site-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.btn-site-primary:hover::before {
  left: 100%;
}

.btn-outline-custom {
  background: transparent;
  border: 2px solid #ff7e21;
  color: #ff7e21;
  box-shadow: none;
}

.btn-outline-custom:hover {
  background: #ff7e21;
  color: white;
  transform: translateY(-3px);
}

/* Site Theme Outline Button */
.btn-outline-site {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline-site:hover {
  background: var(--primary-color);
  color: white;
  transform: translateY(-3px);
}

/* Hero Image Area */
.hero-reference-img-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-main-img {
  position: relative;
  z-index: 1;
  max-height: 600px;
  border-radius: 0;
  /* Reference image has a cutout person, usually no border radius */
}

/* Floating Badges */
.floating-badge {
  position: absolute;
  background: white;
  padding: 15px 20px;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 2;
  animation: floatBadge 6s ease-in-out infinite;
}

.badge-top-right {
  top: 10%;
  right: 0;
  transform: rotate(15deg);
  animation-delay: 0s;
}

.badge-bottom-left {
  bottom: 15%;
  left: -20px;
  transform: rotate(-10deg);
  animation-delay: 1.5s;
}

.badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.badge-icon.orange {
  background: #fff3e0;
  color: #ff7e21;
}

.badge-icon.blue {
  background: #e3f2fd;
  color: #2196f3;
}

.badge-text span {
  display: block;
  line-height: 1.2;
}

.badge-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--dark);
}

.badge-subtitle {
  font-size: 0.85rem;
  color: var(--text-light);
}

.student-avatars {
  display: flex;
  margin-right: 10px;
}

.student-avatars img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid white;
  margin-left: -10px;
}

.student-avatars img:first-child {
  margin-left: 0;
}

@keyframes floatBadge {

  0%,
  100% {
    transform: translateY(0) rotate(var(--rotation));
  }

  50% {
    transform: translateY(-15px) rotate(var(--rotation));
  }
}

/* Responsive */
@media (max-width: 991px) {
  .hero-reference-style {
    padding: 60px 0;
    text-align: center;
  }

  .hero-reference-content {
    padding-right: 0;
    margin-bottom: 50px;
  }

  .hero-reference-title {
    font-size: 2.2rem;
  }

  .hero-btn-group {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-reference-img-wrapper {
    margin-top: 30px;
  }

  .badge-top-right {
    right: 5%;
    top: 5%;
    transform: scale(0.9) rotate(15deg);
  }

  .badge-bottom-left {
    left: 5%;
    bottom: 10%;
    transform: scale(0.9) rotate(-10deg);
  }
}

@media (max-width: 576px) {
  .hero-reference-title {
    font-size: 1.8rem;
  }

  .hero-btn-group {
    flex-direction: column;
    width: 100%;
  }

  .floating-badge {
    padding: 10px 15px;
  }

  .badge-icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .badge-title {
    font-size: 0.9rem;
  }

  .badge-subtitle {
    font-size: 0.75rem;
  }
}

/* Enhanced Counter Styles (Professional) */
.counter-item-modern {
  padding: 40px 30px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.counter-item-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.counter-item-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
}

.counter-item-modern:hover::before {
  transform: scaleX(1);
}

.counter-icon-modern {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  transition: all 0.4s ease;
}

.counter-item-modern:hover .counter-icon-modern {
  background: var(--primary-gradient);
  color: white;
  transform: rotateY(180deg);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.counter-item-modern .count span {
  font-size: 3.5rem;
  font-weight: 800;
  background: var(--dark-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  .badge-icon.blue {
    background: #e3f2fd;
    color: #2196f3;
  }

  .badge-text span {
    display: block;
    line-height: 1.2;
  }

  .badge-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--dark);
  }

  .badge-subtitle {
    font-size: 0.85rem;
    color: var(--text-light);
  }

  .student-avatars {
    display: flex;
    margin-right: 10px;
  }

  .student-avatars img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 2px solid white;
    margin-left: -10px;
  }

  .student-avatars img:first-child {
    margin-left: 0;
  }

  @keyframes floatBadge {

    0%,
    100% {
      transform: translateY(0) rotate(var(--rotation));
    }

    50% {
      transform: translateY(-15px) rotate(var(--rotation));
    }
  }

  /* Responsive */
  @media (max-width: 991px) {
    .hero-reference-style {
      padding: 60px 0;
      text-align: center;
    }

    .hero-reference-content {
      padding-right: 0;
      margin-bottom: 50px;
    }

    .hero-reference-title {
      font-size: 2.2rem;
    }

    .hero-btn-group {
      justify-content: center;
      flex-wrap: wrap;
    }

    .hero-reference-img-wrapper {
      margin-top: 30px;
    }

    .badge-top-right {
      right: 5%;
      top: 5%;
      transform: scale(0.9) rotate(15deg);
    }

    .badge-bottom-left {
      left: 5%;
      bottom: 10%;
      transform: scale(0.9) rotate(-10deg);
    }
  }

  @media (max-width: 576px) {
    .hero-reference-title {
      font-size: 1.8rem;
    }

    .hero-btn-group {
      flex-direction: column;
      width: 100%;
    }

    .floating-badge {
      padding: 10px 15px;
    }

    .badge-icon {
      width: 35px;
      height: 35px;
      font-size: 1rem;
    }

    .badge-title {
      font-size: 0.9rem;
    }

    .badge-subtitle {
      font-size: 0.75rem;
    }
  }

  /* Enhanced Counter Styles (Professional) */
  .counter-item-modern {
    padding: 40px 30px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
    border: 1px solid rgba(0, 0, 0, 0.02);
  }

  .counter-item-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
  }

  .counter-item-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
  }

  .counter-item-modern:hover::before {
    transform: scaleX(1);
  }

  .counter-icon-modern {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
  }

  .counter-item-modern:hover .counter-icon-modern {
    background: var(--primary-gradient);
    color: white;
    transform: rotateY(180deg);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
  }

  .counter-item-modern .count span {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--dark-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    margin-bottom: 10px;
  }

  .counter-item-modern p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  /* Mobile Styles Fix */
  @media (max-width: 576px) {
    .hero-btn-group {
      flex-direction: column;
      width: 100%;
    }

    .hero-btn-group .btn {
      width: 100%;
    }

    .floating-badge {
      padding: 10px 15px;
    }

    .badge-icon {
      width: 35px;
      height: 35px;
      font-size: 1rem;
    }

    .badge-title {
      font-size: 0.9rem;
    }

    .badge-subtitle {
      font-size: 0.75rem;
    }
  }

  /* Glassmorphism Features Section */
  .features-glass-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
  }

  .features-glass-section::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(80px);
  }

  .features-glass-section::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    filter: blur(80px);
  }

  .feature-card-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    height: 100%;
  }

  .feature-card-glass:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
  }

  .feature-icon-glass {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
  }

  .feature-card-glass:hover .feature-icon-glass {
    background: white;
    color: #764ba2;
    transform: rotateY(180deg);
  }

  .feature-text-glass h4 {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
  }

  font-size: 1rem;
}

.badge-title {
  font-size: 0.9rem;
}

.badge-subtitle {
  font-size: 0.75rem;
}


/* Enhanced Counter Styles (Professional) */
.counter-item-modern {
  padding: 40px 30px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  z-index: 1;
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.counter-item-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.counter-item-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
}

.counter-item-modern:hover::before {
  transform: scaleX(1);
}

.counter-icon-modern {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: rgba(102, 126, 234, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--primary-color);
  transition: all 0.4s ease;
}

.counter-item-modern:hover .counter-icon-modern {
  background: var(--primary-gradient);
  color: white;
  transform: rotateY(180deg);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.counter-item-modern .count span {
  font-size: 3.5rem;
  font-weight: 800;
  background: var(--dark-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  margin-bottom: 10px;
}

.counter-item-modern p {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Mobile Styles Fix */
@media (max-width: 576px) {
  .hero-btn-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-btn-group .btn {
    width: 100%;
  }

  .floating-badge {
    padding: 10px 15px;
  }

  .badge-icon {
    width: 35px;
    height: 35px;
    font-size: 1rem;
  }

  .badge-title {
    font-size: 0.9rem;
  }

  .badge-subtitle {
    font-size: 0.75rem;
  }
}

/* Glassmorphism Features Section */
.features-glass-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
}

.features-glass-section::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  filter: blur(80px);
}

.features-glass-section::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  filter: blur(80px);
}

.feature-card-glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s ease;
  height: 100%;
}

.feature-card-glass:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.feature-icon-glass {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
}

.feature-card-glass:hover .feature-icon-glass {
  background: white;
  color: #764ba2;
  transform: rotateY(180deg);
}

.feature-text-glass h4 {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.feature-text-glass p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Gradient Counter Section */
.counter-gradient-section {
  background: white;
}

.counter-gradient-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  padding: 60px 20px;
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
  position: relative;
  overflow: hidden;
}

.counter-gradient-card::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.counter-gradient-card::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.counter-item-gradient {
  position: relative;
  z-index: 1;
}

.counter-icon-gradient {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  transition: all 0.3s ease;
}

.counter-item-gradient:hover .counter-icon-gradient {
  background: white;
  color: #764ba2;
  transform: scale(1.1);
}

.counter-item-gradient .count span {
  font-size: 3rem;
  font-weight: 800;
  color: white;
}

.counter-item-gradient p {
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.8);
}

/* About Section */
.about-img-wrapper {
  position: relative;
  z-index: 1;
}

.about-img {
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  width: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.about-img:hover {
  border-radius: 50%;
}

.about-subtitle {
  color: #ff7e5f;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.about-title {
  font-size: 2.5rem;
  color: #2d3748;
  line-height: 1.2;
}

.about-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #718096;
}

.btn-gradient-purple {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  position: relative;
  overflow: hidden;
}

.features-glass-section::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  filter: blur(80px);
}

.features-glass-section::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  filter: blur(80px);
}

.feature-card-glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s ease;
  height: 100%;
}

.feature-card-glass:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.feature-icon-glass {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
}

.feature-card-glass:hover .feature-icon-glass {
  background: white;
  color: #764ba2;
  transform: rotateY(180deg);
}

.feature-text-glass h4 {
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.feature-text-glass p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Gradient Counter Section */
.counter-gradient-section {
  background: white;
}

.counter-gradient-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  padding: 60px 20px;
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
  position: relative;
  overflow: hidden;
}

.counter-gradient-card::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.counter-gradient-card::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.counter-item-gradient {
  position: relative;
  z-index: 1;
}

.counter-icon-gradient {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  transition: all 0.3s ease;
}

.counter-item-gradient:hover .counter-icon-gradient {
  background: white;
  color: #764ba2;
  transform: scale(1.1);
}

.counter-item-gradient .count span {
  font-size: 3rem;
  font-weight: 800;
  color: white;
}

.counter-item-gradient p {
  font-size: 0.9rem;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.8);
}

/* About Section */
.about-img-wrapper {
  position: relative;
  z-index: 1;
}

.about-img {
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  width: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.about-img:hover {
  border-radius: 50%;
}

.about-subtitle {
  color: #ff7e5f;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.about-title {
  font-size: 2.5rem;
  color: #2d3748;
  line-height: 1.2;
}

.about-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #718096;
}

.btn-gradient-purple {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  box-shadow: 0 10px 20px rgba(118, 75, 162, 0.3);
  transition: all 0.3s ease;
}

.btn-gradient-purple:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(118, 75, 162, 0.4);
  color: white;
}

/* ========================================
   MODERN COURSE SINGLE PAGE STYLES
======================================== */

/* Page Header */
.page-header-modern {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header-modern::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.page-header-modern h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.page-header-modern p {
  font-size: 1.1rem;
  color: var(--text-light);
  position: relative;
  z-index: 1;
}

/* Course Header */
.course-header-modern {
  margin-bottom: 40px;
}

.course-main-image-modern {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin-bottom: 30px;
  width: 100%;
  object-fit: cover;
}

.course-meta-info-modern span {
  margin-right: 25px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
}

.course-meta-info-modern i {
  color: var(--primary-color);
  margin-right: 8px;
  font-size: 1.1rem;
}

/* Tags */
.tag-modern {
  display: inline-block;
  background: rgba(102, 126, 234, 0.1);
  color: var(--primary-color);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-right: 10px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.tag-modern:hover {
  background: var(--primary-gradient);
  color: white;
  transform: translateY(-2px);
}

/* Sidebar */
.course-sidebar-modern {
  position: sticky;
  top: 100px;
}

.price-box-modern {
  background: white;
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  margin-bottom: 30px;
  border: 1px solid var(--border-color);
}

.price-box-modern h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
}

.course-info-box {
  background: white;
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.course-info-list-modern {
  list-style: none;
  padding: 0;
  margin: 0;
}

.course-info-list-modern li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.course-info-list-modern li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.course-info-list-modern i {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-right: 15px;
  margin-top: 5px;
  width: 24px;
  text-align: center;
}

/* Buttons */
.btn-gradient {
  background: var(--primary-gradient);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
  color: white;
}

.btn-outline-gradient {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 12px 25px;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-gradient:hover {
  background: var(--primary-gradient);
  color: white;
  color: #718096;
}

.btn-gradient-purple {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  box-shadow: 0 10px 20px rgba(118, 75, 162, 0.3);
  transition: all 0.3s ease;
}

.btn-gradient-purple:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(118, 75, 162, 0.4);
  color: white;
}

/* ========================================
   MODERN COURSE SINGLE PAGE STYLES
======================================== */

/* Page Header */
.page-header-modern {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header-modern::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.page-header-modern h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
}

.page-header-modern p {
  font-size: 1.1rem;
  color: var(--text-light);
  position: relative;
  z-index: 1;
}

/* Course Header */
.course-header-modern {
  margin-bottom: 40px;
}

.course-main-image-modern {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin-bottom: 30px;
  width: 100%;
  object-fit: cover;
}

.course-meta-info-modern span {
  margin-right: 25px;
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: var(--text-light);
  display: inline-flex;
  align-items: center;
}

.course-meta-info-modern i {
  color: var(--primary-color);
  margin-right: 8px;
  font-size: 1.1rem;
}

/* Tags */
.tag-modern {
  display: inline-block;
  background: rgba(102, 126, 234, 0.1);
  color: var(--primary-color);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-right: 10px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
}

.tag-modern:hover {
  background: var(--primary-gradient);
  color: white;
  transform: translateY(-2px);
}

/* Sidebar */
.course-sidebar-modern {
  position: sticky;
  top: 100px;
}

.price-box-modern {
  background: white;
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  margin-bottom: 30px;
  border: 1px solid var(--border-color);
}

.price-box-modern h3 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 20px;
}

.course-info-box {
  background: white;
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.course-info-list-modern {
  list-style: none;
  padding: 0;
  margin: 0;
}

.course-info-list-modern li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.course-info-list-modern li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.course-info-list-modern i {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin-right: 15px;
  margin-top: 5px;
  width: 24px;
  text-align: center;
}

/* Buttons */
.btn-gradient {
  background: var(--primary-gradient);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-gradient:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
  color: white;
}

.btn-outline-gradient {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 12px 25px;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline-gradient:hover {
  background: var(--primary-gradient);
  color: white;
  border-color: transparent;
  transform: translateY(-3px);
}

/* Related Courses */
.course-content-modern {
  background: white;
  border: 1px solid var(--border-color);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* Enroll Now Modal Styles */
.modal-content {
  border-radius: 20px;
  overflow: hidden;
}

.modal-header .close {
  padding: 1rem;
  margin: -1rem -1rem -1rem auto;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.modal-header .close:hover {
  opacity: 1;
}

#enrollModalLabel {
  color: var(--dark);
  font-size: 1.8rem;
  margin-bottom: 5px;
}

.form-control-modern {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 15px;
  transition: all 0.3s ease;
  background: #f8f9fa;
  color: var(--dark);
}

.form-control-modern:focus {
  outline: none;
  border-color: var(--primary-color);
  background: white;
  box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.form-control-modern::placeholder {
  color: #a0aec0;
}

.form-group label {
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--dark);
  font-size: 0.95rem;
}

.modal-body {
  background: white;
}

.alert {
  border-radius: 12px;
  font-size: 0.95rem;
}