* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
}

:root {
    --primary: #6c63ff;
    --secondary: #ff6584;
    --accent: #FFD166;
    --success: #06D6A0;
    --info: #118AB2;
    --dark: #073B4C;
    --light: #f8f9fa;
    --gray: #6c757d;
    --beginner: #4caf50;
    --intermediate: #2196f3;
    --advanced: #ff9800;
    --robotics: #9c27b0;
    --generative-ai: #00bcd4;
}

body {
    background-color: #f5f7fb;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Auth avatar + small chat bubble */
.auth-buttons { display:flex; align-items:center; gap:12px; }

/* Avatar circle used in header */
.user-avatar {
  width:40px; height:40px; border-radius:50%;
  overflow:hidden; display:inline-flex; align-items:center; justify-content:center;
  border:2px solid rgba(0,0,0,0.06); cursor:pointer;
  box-shadow:0 4px 10px rgba(0,0,0,0.08);
}

/* Small online indicator */
.user-avatar .status-dot {
  position:relative;
}
.user-avatar::after {
  content: "";
  position: absolute;
  right: -1px; bottom: -1px;
  width:8px; height: 8px; border-radius:50%;
  background:#25D366; border:2px solid #fff; box-shadow:0 2px 6px rgba(0,0,0,0.2);
  display: none;
}
/* show if logged in */
.auth-logged-in .user-avatar::after { display:block; }

/* === OTP area fixes === */
.otp-wrapper { position: relative; z-index: 30; overflow: visible; }

/* ensure send button visible and not clipped/transparent */
#send-otp-btn,
#verify-otp-btn {
  display: inline-block !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  pointer-events: auto !important;
  z-index: 40 !important;
  transition: none !important;
}

/* in case header overlaps, raise form container above header */
.form-container, .login-container, .signup-container {
  position: relative;
  z-index: 20; /* increase if header still overlaps */
}

/* small responsive tweak so send button isn't hidden on narrow screens */
@media (max-width: 640px) {
  #send-otp-btn, #verify-otp-btn { padding: 10px 14px; font-size: 14px; }
  .otp-wrapper input#signup-otp { min-width: 120px; }
}


/* Floating chat/profile pill bottom-right (whatsapp-like) */
.chat-pill {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 2200;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  background: linear-gradient(90deg,#25D366,#06b84d);
  padding: 8px;
  border-radius: 40px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  transition: transform .15s ease;
}
.chat-pill:hover { transform: translateY(-4px); }

/* circular avatar inside pill */
.chat-pill .pill-avatar {
  width:40px; height:40px; border-radius:50%; overflow:hidden; border:2px solid rgba(255,255,255,0.9);
  display:flex; align-items:center; justify-content:center; background:#fff;
}

/* small badge (unread) */
.chat-pill .unread {
  background: #ff3b30; color:#fff; font-size:12px; padding:2px 6px; border-radius:12px;
}

/* optional small panel that opens when clicking pill */
.chat-panel {
  position: fixed;
  right: 20px;
  bottom: 80px;
  width: 320px;
  max-width: calc(100% - 40px);
  z-index: 2210;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.18);
  overflow: hidden;
  display: none;
}
.chat-panel.open { display:block; }
.chat-panel .panel-header { padding: 12px; border-bottom: 1px solid #eee; display:flex; gap:10px; align-items:center; }
.chat-panel .panel-body { padding: 12px; max-height: 360px; overflow:auto; }


/* Header Styles */
header {
    background: linear-gradient(135deg, var(--dark), var(--primary));
    color: white;
    padding: 15px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.5s ease-out;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.8rem;
    font-weight: 700;
    animation: fadeIn 0.8s ease-out;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo i {
    color: var(--secondary);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
    position: relative;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

nav a:hover {
    color: var(--secondary);
}

.auth-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

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

.btn-primary:hover {
    background: #ff4d6d;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 101, 132, 0.4);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background: white;
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    z-index: 1;
    top: 100%;
    left: 0;
    margin-top: 10px;
    overflow: hidden;
    animation: dropdownFadeIn 0.3s ease-out;
}

.dropdown-content a {
    color: var(--dark);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: all 0.3s;
    border-bottom: 1px solid #f0f0f0;
    transform: translateX(-10px);
    opacity: 0;
    animation: dropdownItemFadeIn 0.3s ease-out forwards;
}

.dropdown-content a:nth-child(1) { animation-delay: 0.05s; }
.dropdown-content a:nth-child(2) { animation-delay: 0.1s; }
.dropdown-content a:nth-child(3) { animation-delay: 0.15s; }
.dropdown-content a:nth-child(4) { animation-delay: 0.2s; }
.dropdown-content a:nth-child(5) { animation-delay: 0.25s; }
.dropdown-content a:nth-child(6) { animation-delay: 0.3s; }
.dropdown-content a:nth-child(7) { animation-delay: 0.35s; }
.dropdown-content a:nth-child(8) { animation-delay: 0.4s; }
.dropdown-content a:nth-child(9) { animation-delay: 0.45s; }
.dropdown-content a:nth-child(10) { animation-delay: 0.5s; }
.dropdown-content a:nth-child(11) { animation-delay: 0.55s; }
.dropdown-content a:nth-child(12) { animation-delay: 0.6s; }

.dropdown-content a:hover {
    background-color: #f8f9fa;
    color: var(--primary);
    transform: translateX(5px);
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown.active .dropdown-content {
    display: block;
}

/* Enhanced Hero Section */
.hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  padding: 120px 0;
  position: relative;
  overflow-x: hidden;
  overflow-y: visible;
}

.hero::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

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

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #fff, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 1s ease-out, textGlow 3s ease-in-out infinite alternate, float 6s ease-in-out infinite;
}

@keyframes textGlow {
  0% { text-shadow: 0 0 10px rgba(255,255,255,0.2); }
  100% { text-shadow: 0 0 20px rgba(255,255,255,0.4); }
}

.hero p {
  font-size: 1.3rem;
  max-width: 700px;
  margin: 0 auto 40px;
  color: rgba(255,255,255,0.9);
  animation: fadeInUp 1s ease-out 0.3s both, slideInLeft 1s ease-out 0.5s both;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.6s both, bounceIn 1s ease-out 1s both;
}

.btn-hero {
  background: var(--secondary);
  color: white;
  padding: 14px 32px;
  font-size: 1.1rem;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(255, 101, 132, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-hero-secondary {
  background: transparent;
  border: 2px solid white;
  color: white;
}

.btn-hero:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 25px rgba(255, 101, 132, 0.6);
}

.btn-hero-secondary:hover {
  background: white;
  color: var(--primary);
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: white;
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
    animation: fadeInLeft 1s ease-out;
}

.about-text h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--gray);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-top: 5px;
    animation: iconBounce 2s infinite;
}

.feature:nth-child(2) i { animation-delay: 0.2s; }
.feature:nth-child(3) i { animation-delay: 0.4s; }
.feature:nth-child(4) i { animation-delay: 0.6s; }

.feature h4 {
    color: var(--dark);
    margin-bottom: 5px;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: fadeInRight 1s ease-out;
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(108, 99, 255, 0.2), rgba(255, 101, 132, 0.2));
    opacity: 0;
    transition: opacity 0.5s;
    z-index: 1;
}

.about-image:hover::before {
    opacity: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Enhanced Features Section */
.features-section {
  padding: 100px 0;
  background: white;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.feature-card {
  background: white;
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--primary), var(--info));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: white;
  font-size: 2rem;
  transition: all 0.4s;
}

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

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.feature-card p {
  color: var(--gray);
  line-height: 1.6;
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.section-title p {
    color: var(--gray);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Featured Courses */
.featured-courses {
    padding: 80px 0;
    background: var(--light);
}

/* Marquee Containers */
.marquee {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.marquee-content {
    display: inline-flex;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.marquee-left .marquee-content {
    animation: marquee-left 40s linear infinite;
}

.marquee-right .marquee-content {
    animation: marquee-right 40s linear infinite;
}

/* Pause animation on hover */
.marquee:hover .marquee-content {
    animation-play-state: paused;
}

/* Enhanced Course Cards */
.course-card {
    flex: 0 0 320px;
    margin: 0 12px;
    background: #fff;
    border-radius: 15px;
    text-align: left;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    white-space: normal;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    animation: cardFloat 3s ease-in-out infinite, fadeInUp 0.8s ease-out;
}

/* Staggered animation delays for course cards */
.marquee-content .course-card:nth-child(1) { animation-delay: 0.1s; }
.marquee-content .course-card:nth-child(2) { animation-delay: 0.2s; }
.marquee-content .course-card:nth-child(3) { animation-delay: 0.3s; }
.marquee-content .course-card:nth-child(4) { animation-delay: 0.4s; }
.marquee-content .course-card:nth-child(5) { animation-delay: 0.5s; }
.marquee-content .course-card:nth-child(6) { animation-delay: 0.6s; }
.marquee-content .course-card:nth-child(7) { animation-delay: 0.7s; }
.marquee-content .course-card:nth-child(8) { animation-delay: 0.8s; }
.marquee-content .course-card:nth-child(9) { animation-delay: 0.9s; }

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s;
}

.course-card:hover::before {
  transform: scaleX(1);
}

.course-card:nth-child(2n) {
    animation-delay: 0.5s;
}

.course-card:nth-child(3n) {
    animation-delay: 1s;
}

.course-card:hover {
    animation-play-state: paused;
    transform: translateY(-15px) scale(1.05) rotate(1deg);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15), 0 0 30px rgba(108, 99, 255, 0.3);
}

.course-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
    transition: transform 0.7s;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.3s forwards;
}

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

.course-card-content {
    padding: 20px;
    position: relative;
}

.course-card h3 {
    color: #2a2a72;
    font-size: 1.2rem;
    margin-bottom: 10px;
    height: 50px;
    overflow: hidden;
}

.course-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--secondary);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    animation: badgePulse 2s infinite;
}

.course-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.course-level {
    color: var(--primary);
    font-weight: 600;
}

.course-duration {
    color: var(--gray);
}

.rating {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.stars {
    color: #ffc107;
    margin-right: 5px;
}

.rating-value {
    font-weight: 600;
    margin-right: 5px;
}

.rating-count {
    color: var(--gray);
    font-size: 0.9rem;
}

.enrollment {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.course-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.original-price {
    text-decoration: line-through;
    color: var(--gray);
    font-size: 0.9rem;
    margin-left: 5px;
}

.add-to-cart {
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background 0.3s, transform 0.2s;
    display: flex;
    align-items: center;
    gap: 5px;
}

.add-to-cart:hover {
    background: var(--dark);
    transform: scale(1.05);
}

/* Learning Paths */
.learning-paths {
    padding: 80px 0;
    background: white;
}

/* Enhanced Learning Paths Cards */
.path-card {
    flex: 0 0 340px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--info) 100%);
    color: white;
    border-radius: 20px;
    margin: 0 12px;
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    white-space: normal;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.path-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity 0.5s;
}

.path-card:hover::before {
    opacity: 1;
}

.path-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 25px 50px rgba(108, 99, 255, 0.3);
}

.path-card h3 { 
    font-size: 1.4rem; 
    margin-bottom: 10px; 
}

.path-card p { 
    font-size: 0.95rem; 
    margin-bottom: 15px; 
    opacity: 0.9;
}

.path-card ul { 
    list-style: none; 
    padding: 0; 
    margin-bottom: 20px; 
}

.path-card li { 
    font-size: 0.9rem; 
    margin: 8px 0; 
    position: relative;
    padding-left: 25px;
    transition: transform 0.3s;
}

.path-card li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.path-card:hover li {
    transform: translateX(5px);
}

.path-card button {
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    border-radius: 30px;
    padding: 10px 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.path-card button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transition: left 0.5s;
}

.path-card button:hover::before {
    left: 100%;
}

.path-card button:hover { 
    background: #fff; 
    color: var(--primary); 
    transform: translateY(-3px);
}

/* Continuous Infinite Animation */
@keyframes marquee-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes marquee-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* Enhanced Stats Section */
.stats-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--info) 0%, var(--primary) 100%);
  color: white;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  align-items: stretch;
}

.stat-item {
  position: relative;
  overflow: hidden;
  padding: 30px 20px;
  border-radius: 15px;

  /* FIX: better contrast */
  background: rgba(255, 255, 255, 0.18);

  backdrop-filter: blur(12px);
  transition: transform 0.3s;

  /* FIX: proper alignment */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}


.stat-item:hover {
  transform: translateY(-10px);
}

.stat-item h3 {
  font-size: 3.2rem;
  font-weight: 800;
  color: #0f3f46;

  /* FIX alignment issues */
  margin: 0;
  line-height: 1.1;
}


.stat-item p {
  font-size: 1.05rem;
  font-weight: bold;
  color: rgba(10, 10, 10, 0.9);

  margin-top: 8px;
  line-height: 1.3;

  /* prevent side overflow */
  max-width: 90%;
}

.empty-message {
  text-align: center;
  padding: 30px;
  color: #6c757d;
  font-size: 1rem;
}

 
/* Achievements */
.achievements {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--dark), var(--primary));
    color: white;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat {
    position: relative;
    overflow: hidden;
}

.stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.1);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.5s;
}

.stat:hover::before {
    transform: scaleY(1);
}

.stat h3 {
    font-size: 3rem;
    margin-bottom: 10px;
    position: relative;
}

.stat:hover h3 {
    animation: countUp 1s ease-out;
}

/* Upcoming Events */
.events {
    padding: 80px 0;
    background: white;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.event-card {
    background: var(--light);
    padding: 25px;
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: var(--primary);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.5s;
}

.event-card:hover::before {
    transform: scaleY(1);
}

.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.event-date {
    background: var(--primary);
    color: white;
    padding: 10px;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 15px;
    transition: transform 0.3s;
}

.event-card:hover .event-date {
    transform: rotate(5deg) scale(1.05);
}

.event-card h4 {
    color: var(--dark);
    margin-bottom: 10px;
}

.event-card p {
    color: var(--gray);
    margin-bottom: 15px;
}

.event-card a {
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
    position: relative;
}

.event-card a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.event-card a:hover::after {
    width: 100%;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: var(--light);
}

.faq-content {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.faq-item h4 {
    color: var(--dark);
    margin-bottom: 10px;
    position: relative;
    padding-right: 30px;
}

.faq-item h4::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 0;
    font-size: 1.5rem;
    color: var(--primary);
    transition: transform 0.3s;
}

.faq-item.active h4::after {
    content: '-';
    transform: rotate(180deg);
}

.faq-item p {
    color: var(--gray);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
}

.faq-item.active p {
    max-height: 200px;
}

/* Newsletter */
.newsletter {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary), var(--dark));
    color: white;
    text-align: center;
}

.newsletter h2 {
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
}

.newsletter p {
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.newsletter form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.newsletter input {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 5px;
    transition: box-shadow 0.3s;
}

.newsletter input:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
    outline: none;
}

/* Level-specific Pages */
.level-page {
    padding: 40px 0;
}

.course-description {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 50px;
    animation: fadeInUp 1s ease-out;
}

.course-description h3 {
    color: var(--dark);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.course-description p {
    color: var(--gray);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.course-description ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.course-description li {
    color: var(--gray);
    margin-bottom: 8px;
    font-size: 1.1rem;
    position: relative;
    padding-left: 20px;
}

.course-description li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.level-courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.level-course-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeInUp 1s ease-out;
}

.level-course-card:nth-child(2) {
    animation-delay: 0.2s;
}

.level-course-card:nth-child(3) {
    animation-delay: 0.4s;
}

.level-course-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.level-course-header {
    padding: 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.level-course-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.1);
    transform: translateY(100%);
    transition: transform 0.5s;
}

.level-course-card:hover .level-course-header::before {
    transform: translateY(0);
}

.level-beginner-header {
    background: linear-gradient(135deg, var(--beginner), #66bb6a);
}

.level-intermediate-header {
    background: linear-gradient(135deg, var(--intermediate), #42a5f5);
}

.level-advanced-header {
    background: linear-gradient(135deg, var(--advanced), #ffb74d);
}

.level-robotics-header {
    background: linear-gradient(135deg, var(--robotics), #ba68c8);
}

.level-cybersecurity-header {
    background: linear-gradient(135deg, var(--cybersecurity), #ef5350);
}

.level-generative-ai-header {
    background: linear-gradient(135deg, var(--generative-ai), #26c6da);
}

.level-course-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.level-course-content {
    padding: 20px;
}

.level-course-features {
    margin-bottom: 20px;
}

.level-course-features h4 {
    color: var(--dark);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.level-course-features ul {
    list-style: none;
    padding-left: 0;
}

.level-course-features li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    transition: transform 0.3s;
}

.level-course-features li:hover {
    transform: translateX(5px);
}

.level-course-features li:last-child {
    border-bottom: none;
}

.level-course-features i {
    color: var(--success);
    margin-right: 10px;
}

.course-price {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
    position: relative;
    z-index: 1;
}

.course-price span {
    font-size: 1.2rem;
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.7);
    margin-left: 10px;
}

.course-duration {
    font-size: 0.9rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* NEW IMPROVED DASHBOARD STYLES */
.dashboard-header {
    margin-bottom: 40px;
    text-align: center;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.dashboard {
  width: 100%;
  padding: 40px 0;
}

.dashboard-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    border-left: 4px solid var(--primary);
    animation: fadeInUp 1s ease-out;
}

.stat-card:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-card:nth-child(3) {
    animation-delay: 0.4s;
}

.stat-card:nth-child(4) {
    animation-delay: 0.6s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.stat-card h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
    transition: transform 0.5s;
}

.stat-card:hover h3 {
    transform: scale(1.1);
}

.dashboard-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.dashboard-section {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    transition: transform 0.3s;
    animation: fadeInUp 1s ease-out;
}

.dashboard-section:nth-child(2) {
    animation-delay: 0.2s;
}

.dashboard-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.dashboard-section h3 {
    color: var(--dark);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light);
    display: flex;
    align-items: center;
    gap: 10px;
}

.dashboard-section h3 i {
    color: var(--primary);
}

.progress-course-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    border-radius: 8px;
    background: var(--light);
    margin-bottom: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
    border-left: 3px solid var(--primary);
}

.progress-course-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.progress-course-card img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    transition: transform 0.5s;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.3s forwards;
}

.progress-course-card:hover img {
    transform: scale(1.05);
}

.progress-info {
    flex: 1;
}

.progress-info h4 {
    color: var(--dark);
    margin-bottom: 5px;
}

.progress-bar {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    margin-top: 8px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary);
    border-radius: 4px;
    transition: width 0.5s ease;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: progressShine 2s infinite;
}

.achievement-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    margin-right: 15px;
    margin-bottom: 15px;
    transition: transform 0.3s;
    border: 1px solid #f0f0f0;
    animation: fadeInUp 1s ease-out;
}

.achievement-badge:nth-child(2) {
    animation-delay: 0.2s;
}

.achievement-badge:nth-child(3) {
    animation-delay: 0.4s;
}

.achievement-badge:nth-child(4) {
    animation-delay: 0.6s;
}

.achievement-badge:hover {
    transform: translateY(-3px) scale(1.05);
}

.badge-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: transform 0.5s;
}

.achievement-badge:hover .badge-icon {
    transform: rotate(15deg) scale(1.1);
}

.course-recommendations {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.recommendation-card {
    background: var(--light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.recommendation-card:hover {
    transform: translateY(-5px);
}

.recommendation-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    transition: transform 0.5s;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.3s forwards;
}

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

.recommendation-content {
    padding: 15px;
}

.recommendation-content h4 {
    color: var(--dark);
    margin-bottom: 10px;
    font-size: 1rem;
}

.recommendation-content p {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

/* NEW IMPROVED SYLLABUS STYLES */
.syllabus-section {
    padding: 80px 0;
    background: var(--light);
}

.syllabus-container {
    max-width: 1000px;
    margin: 0 auto;
}

.class-accordion {
    margin-bottom: 20px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    animation: fadeInUp 1s ease-out;
}

.class-accordion:nth-child(2) {
    animation-delay: 0.2s;
}

.class-accordion:nth-child(3) {
    animation-delay: 0.4s;
}

.class-accordion:nth-child(4) {
    animation-delay: 0.6s;
}

.class-header {
    padding: 20px;
    background: linear-gradient(135deg, var(--primary), var(--dark));
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
    position: relative;
    overflow: hidden;
}

.class-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.1);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.class-header:hover::before {
    transform: translateX(0);
}

.class-header:hover {
    background: linear-gradient(135deg, var(--dark), var(--primary));
}

.class-header i {
    transition: transform 0.3s;
}

.class-header.active i {
    transform: rotate(180deg);
}

.syllabus-content {
    display: none;
    padding: 20px;
    animation: fadeIn 0.5s ease-out;
}

.syllabus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.syllabus-card {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary);
    animation: fadeInUp 0.5s ease-out;
}

.syllabus-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.syllabus-title {
    padding: 15px;
    background-color: #f8f9fa;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--dark);
    border-bottom: 1px solid #eee;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.syllabus-title:hover {
    background-color: #e9ecef;
}

.syllabus-title i {
    transition: transform 0.3s;
}

.syllabus-title.active i {
    transform: rotate(180deg);
}

.syllabus-details {
    display: none;
    padding: 15px;
    animation: fadeIn 0.5s ease-out;
}

.syllabus-list {
    list-style-type: none;
}

.syllabus-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    position: relative;
    padding-left: 20px;
    transition: transform 0.3s;
}

.syllabus-list li:hover {
    transform: translateX(5px);
}

.syllabus-list li:before {
    content: "•";
    color: var(--primary);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.syllabus-list li:last-child {
    border-bottom: none;
}

/* Login/Signup Form Styles */
.form-container {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-out;
    position: relative;
    z-index: 1100;  
}

.form-title {
    text-align: center;
    margin-bottom: 30px;
    color: var(--dark);
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.1);
    outline: none;
}

.form-footer {
    text-align: center;
    margin-top: 20px;
}

.form-footer a {
    color: var(--primary);
    text-decoration: none;
    position: relative;
}

.form-footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s;
}

.form-footer a:hover::after {
    width: 100%;
}

#send-otp-btn:hover {
    transform: none !important;
}

/* === SAFE OTP BUTTON LAYOUT === */
.otp-email-group {
  position: relative;
  z-index: 2000;
}

.otp-btn {
  margin-top: 10px;
  width: 100%;
  background: var(--primary);
  color: white;
  border: none;
}

.otp-btn:hover {
  transform: none !important;
}

/* ===== OTP LAYOUT FIX (SAFE OVERRIDE) ===== */

.email-otp-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

.otp-row {
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-top: 12px;
}

.otp-btn {
  padding: 10px 16px;
  font-size: 0.9rem;
  white-space: nowrap;
  border-radius: 10px;
  min-width: 110px;
}

/* feedback text */
.otp-feedback {
  display: block;
  margin-top: 6px;
  font-size: 0.85rem;
  color: #666;
}

/* hide OTP row initially */
#otp-row {
  display: none;
}

/* ===== Send OTP (outline style) ===== */

.otp-btn-outline {
  background: #ffffff !important;
  color: var(--primary) !important;
  border: 2px solid var(--primary) !important;
  box-shadow: none !important;
}

/* Hover effect */
.otp-btn-outline:hover {
  background: var(--primary) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(108, 99, 255, 0.25);
}

/* Disable animation glow from global btn */
.otp-btn-outline::before,
.otp-btn-outline::after {
  display: none !important;
}

/* Email verified tick icon */
/* .otp-action {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
}

.verified-icon {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #2ecc71;
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(46, 204, 113, 0.4);
  cursor: default;
} */

/* align icon properly */
/* .otp-row {
  display: flex;
  gap: 10px;
  align-items: center;
} */

/* OTP row layout */
/*.otp-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
} */

/* Verified tick styling */
/*#verified-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #2ecc71;
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(46, 204, 113, 0.4);
} */

/* Enrollment Form */
/* .auth-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 0;
}

.auth-container {
  width: 100%;
  max-width: 420px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.auth-card {
  background: #fff;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.auth-form input,
.auth-form select {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
} */

/* ===============================
   ENROLLMENT PAGE (ISOLATED)
================================ */

.enroll-page {
  
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 60px 20px;
  width: 100%;
}

.enroll-container {
  width: 100%;
  max-width: 520px;
}

.enroll-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.enroll-card h2 {
  text-align: center;
  margin-bottom: 6px;
}

.enroll-card .form-group {
  margin-bottom: 18px;
}

.enroll-card input,
.enroll-card select {
  width: 100%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

/* Enrollment checkbox alignment fix */
.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;              /* space between checkbox and text */
  margin: 15px 0 20px;
}

.checkbox-group input[type="checkbox"] {
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.checkbox-group label {
  margin: 0;
  font-size: 14px;
  color: #111827;
  cursor: pointer;
}

.terms-link {
  color: #6c63ff;
  text-decoration: none;
  font-weight: 500;
}

.terms-link:hover {
  text-decoration: underline;
}

.enroll-card .btn-primary {
  width: 100%;
  margin-top: 15px;
}

.enroll-subtitle {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 14px;
  color: #6b7280; /* soft gray */
  text-align: center;
}

/* Blog Styles */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.blog-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    animation: fadeInUp 1s ease-out;
}

.blog-card:nth-child(2) {
    animation-delay: 0.2s;
}

.blog-card:nth-child(3) {
    animation-delay: 0.4s;
}

.blog-card:nth-child(4) {
    animation-delay: 0.6s;
}

.blog-card:nth-child(5) {
    animation-delay: 0.8s;
}

.blog-card:nth-child(6) {
    animation-delay: 1s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.3s forwards;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-content {
    padding: 20px;
}

.blog-date {
    color: var(--gray);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.blog-title {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 10px;
    transition: color 0.3s;
}

.blog-card:hover .blog-title {
    color: var(--primary);
}

.blog-excerpt {
    color: var(--gray);
    margin-bottom: 15px;
}

.blog-read-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    position: relative;
}

.blog-read-more::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.blog-read-more:hover::after {
    width: 100%;
}

/* Contact Styles */
.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-form {
    flex: 1;
}

.contact-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    transition: transform 0.3s;
    animation: fadeInUp 1s ease-out;
}

.contact-card:nth-child(2) {
    animation-delay: 0.2s;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card h3 {
    color: var(--dark);
    margin-bottom: 15px;
}

.contact-card p {
    color: var(--gray);
    margin-bottom: 10px;
}

.contact-card i {
    color: var(--primary);
    margin-right: 10px;
    width: 20px;
}

/* Footer */
footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 20px;
    animation: fadeInUp 1s ease-out;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--secondary);
    position: relative;
    display: inline-block;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--secondary);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
}

.footer-column a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--secondary);
    transition: width 0.3s;
}

.footer-column a:hover::after {
    width: 100%;
}

.footer-column a:hover {
    color: var(--secondary);
}

/* .social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1); 
    border-radius: 50%;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-3px) rotate(5deg);
} */

/* ===============================
   FOOTER SOCIAL ICONS – FIXED
================================ */

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.social-links a {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;

  color: #ffffff;
  font-size: 18px;

  border-radius: 50%;
  background: #2b2b2b;

  position: relative;
  text-decoration: none;

  transition: all 0.3s ease;
}

/* ICON CENTER FIX */
.social-links a i {
  position: relative;
  z-index: 2;
}

/* HOVER CIRCLE (SMALL & CLEAN) */
.social-links a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #ff4d8d;

  transform: scale(0);
  transition: transform 0.3s ease;
  z-index: 1;
}

/* STRAIGHT UNDERLINE */
.social-links a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  width: 18px;
  height: 2px;
  background: #ff4d8d;

  transform: translateX(-50%) scaleX(0);
  transition: transform 0.3s ease;
}

/* HOVER EFFECT */
.social-links a:hover::before {
  transform: scale(0.85);
}

.social-links a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.social-links a:hover {
  color: #ffffff;
}

/* ===============================
   CONTACT PAGE – MINIMAL ICONS
================================ */

.contact-links {
  display: flex;
  gap: 18px;
  margin-top: 10px;
}

.contact-links a {
  font-size: 20px;
  color: #4f46e5; /* clean professional color */
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

/* STRAIGHT UNDERLINE ONLY */
.contact-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 20px;
  height: 2px;
  background-color: #4f46e5;

  transform: translateX(-50%) scaleX(0);
  transition: transform 0.3s ease;
}

/* HOVER EFFECT */
.contact-links a:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.contact-links a:hover {
  color: #1e1b4b;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 0.9rem;
}

/* Page Styles */
.page {
    display: none;
    min-height: auto; /* header + footer space */
    padding: 0;
    width: 100%;
    overflow: visible;
    animation: pageFadeIn 0.5s ease-out;
}

.page,
main,
section {
  width: 100%;
}

.active-page {
    display: block;
    
}

.page.active-page {
  display: block;
  min-height: 70vh;
  background: #f9fafb;
  padding: 0;
  overflow: visible;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s;
}

.mobile-menu-btn:hover {
    transform: rotate(90deg);
}

/* Enhanced Mobile Bottom Navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    display: none;
    justify-content: space-around;
    padding: 12px 0;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    z-index: 1000;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--gray);
    font-size: 0.8rem;
    transition: all 0.3s;
    position: relative;
}

.nav-item.active {
    color: var(--primary);
}

.nav-icon {
    font-size: 1.3rem;
    margin-bottom: 5px;
    transition: all 0.3s;
}

.nav-item:hover .nav-icon {
    transform: translateY(-5px);
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: -12px;
  width: 0;
  height: 3px;
  background: var(--primary);
  border-radius: 3px;
  transition: width 0.3s;
}

.nav-item.active::after {
  width: 30px;
}

/* GIF Container Styles */
.gif-container {
  position: relative;
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  animation: fadeInRight 1s ease-out;
}

.animated-gif {
  width: 100%;
  height: auto;
  border-radius: 15px;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  display: block;
}

.animated-gif:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Hero Section with GIF */
.hero-content-with-gif {
  display: flex;
  align-items: center;
  gap: 50px;
  text-align: left;
}

.hero-text {
  flex: 1;
  animation: fadeInLeft 1s ease-out;
}

.hero-gif {
  flex: 1;
  animation: fadeInRight 1s ease-out;
}

/* About Section with GIF */
.about-content-with-gif {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-gif {
  flex: 1;
  animation: fadeInLeft 1s ease-out;
}

.about-text {
  flex: 1;
  animation: fadeInRight 1s ease-out;
}

/* === NEW ANIMATIONS === */
@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

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

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

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

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

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

@keyframes heroZoom {
    0% {
        background-size: 100%;
    }
    100% {
        background-size: 110%;
    }
}

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

@keyframes iconBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

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

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

@keyframes countUp {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

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

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

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Floating Animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.floating {
  animation: float 5s ease-in-out infinite;
}

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

@keyframes marquee-right {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* Enhanced Buttons */
.btn {
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn::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.7s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 5px 15px rgba(108, 99, 255, 0.4);
}

.btn-primary:hover {
  background: #5a52e0;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(108, 99, 255, 0.6);
}

.btn-secondary {
  background: var(--secondary);
  color: white;
  box-shadow: 0 5px 15px rgba(255, 101, 132, 0.4);
}

.btn-secondary:hover {
  background: #ff4d6d;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 101, 132, 0.6);
}

/* Enhanced Section Titles */
.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.8rem;
  color: var(--dark);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 2px;
}

.section-title p {
  color: var(--gray);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
}

/* === Added playful animation styles === */
@keyframes logo-pop {
    0% { transform: scale(0); opacity:0; filter:grayscale(100%); }
    60% { transform: scale(1.15); opacity:1; filter:grayscale(0%); }
    100% { transform: scale(1); }
}
@keyframes welcome-fade {
    to { opacity:1; transform:translateY(0); }
}
@keyframes btn-pop {
    to { transform:scale(1); }
}
/* section reveal */
.reveal {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: opacity 700ms cubic-bezier(.2,.9,.2,1), transform 700ms cubic-bezier(.2,.9,.2,1);
    will-change: transform, opacity;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}
/* playful hover for buttons */
.btn-hero, .btn, .btn-primary {
    transition: transform 250ms ease, box-shadow 250ms ease;
}
.btn-hero:hover, .btn:hover, .btn-primary:hover {
    transform: translateY(-6px) scale(1.02) rotate(-0.5deg);
    box-shadow: 0 12px 30px rgba(108,99,255,0.18);
}
/* pulse for featured course images on reveal */
.course-card img, .path-card {
    transition: transform 500ms ease, box-shadow 500ms ease;
}
.reveal.visible .course-card img {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
/* small bounce */
@keyframes bounceIn {
    0% { transform: scale(.9) translateY(10px); opacity:0; }
    60% { transform: scale(1.03) translateY(-6px); opacity:1; }
    100% { transform: scale(1) translateY(0); }
}
.bounce-in {
    animation: bounceIn 700ms cubic-bezier(.2,.9,.2,1) forwards;
}

/* NEW ANIMATIONS ADDED */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* Enhanced Button Animations */
.btn-hero, .btn-primary, .btn-secondary {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-hero::after, .btn-primary::after, .btn-secondary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-hero:hover::after, .btn-primary:hover::after, .btn-secondary:hover::after {
    width: 300px;
    height: 300px;
}

/* Pulse animation for CTA buttons */
.btn-hero-primary {
    animation: pulse 2s infinite;
}

.btn-hero-primary:hover {
    animation: none;
    transform: translateY(-5px) scale(1.05);
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: transparent;
    z-index: 9999;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    width: 0%;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(108, 99, 255, 0.5);
}

/* Image Loading Animation */
.course-card img,
.instructor-card img,
.about-image img,
.blog-image img {
    opacity: 0;
    animation: fadeIn 0.8s ease-out 0.3s forwards;
}

/* Progressive image loading */
img[src] {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

img:not([src]) {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

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

/* Scroll-triggered Animation Styles */
.hidden-section {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease;
}

.animate-fade-up {
  animation: fadeUp 1s ease forwards;
}
.animate-slide-left {
  animation: slideLeft 1s ease forwards;
}
.animate-slide-right {
  animation: slideRight 1s ease forwards;
}
.animate-zoom-in {
  animation: zoomIn 0.8s ease forwards;
}

/* Keyframes for scroll animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(50px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideLeft {
  from { opacity: 0; transform: translateX(100px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideRight {
  from { opacity: 0; transform: translateX(-100px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

/* Footer heading animations */
footer h3,
.footer h3,
footer h2,
.footer h2 {
  font-weight: 700;
  font-size: 1.3rem;
  background: linear-gradient(90deg, #ff4f79, #6c63ff, #ff4f79);
  background-size: 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientMove 5s linear infinite;
  position: relative;
}

footer h3::after,
.footer h3::after,
footer h2::after,
.footer h2::after {
  content: "";
  display: block;
  width: 55px;
  height: 3px;
  background: linear-gradient(90deg, #6c63ff, #ff4f79);
  margin-top: 6px;
  border-radius: 2px;
  animation: gradientMove 5s linear infinite;
}

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

/* Profile modal styles */
.profile-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  background: rgba(0,0,0,0.35);
}
.profile-modal.open { display: flex; }

.profile-modal-inner {
  width: 360px;
  max-width: calc(100% - 32px);
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 18px 40px rgba(10,20,30,0.4);
  padding: 18px;
  animation: pm-pop .12s ease-out;
  overflow: hidden;
}
@keyframes pm-pop { from { transform: translateY(-6px) scale(.99); opacity:.0 } to { transform:none; opacity:1 } }

.pm-close {
  border: none;
  background: transparent;
  font-size: 20px;
  float: right;
  cursor: pointer;
  color: #333;
}

.profile-top { display:flex; gap:14px; align-items:center; margin-bottom:12px; }
.avatar-wrapper { width:88px; height:88px; border-radius:50%; overflow:hidden; position:relative; flex:0 0 88px; }
.avatar-wrapper img { width:100%; height:100%; object-fit:cover; display:block; }
.avatar-edit { position:absolute; right:6px; bottom:6px; width:34px; height:34px; border-radius:50%; background:rgba(0,0,0,0.45); display:flex; align-items:center; justify-content:center; cursor:pointer; color:#fff; }
.avatar-edit i { font-size:13px; }

.profile-info { flex:1; }
.profile-name-row { display:flex; align-items:center; gap:8px; justify-content:flex-start; }
.profile-name-row h3 { margin:0; font-size:1.05rem; letter-spacing:0.2px; }
.icon-btn { border: none; background: transparent; cursor: pointer; color: #666; padding:6px; border-radius:6px; }
.profile-email { margin-top:8px; color:#666; font-size:0.95rem; }

.profile-actions { display:flex; gap:8px; justify-content:flex-end; margin-top:12px; }
.profile-actions .btn { padding:8px 14px; border-radius:8px; }

/* header small avatar style (already used) */
.user-avatar { width:36px; height:36px; border-radius:50%; overflow:hidden; display:inline-block; margin-left:8px; cursor:pointer; border:2px solid rgba(255,255,255,0.06); }

/* chat pill */
.chat-pill { position:fixed; right:16px; bottom:20px; display:flex; gap:10px; align-items:center; padding:8px 12px; background:#4b46ff; border-radius:40px; box-shadow:0 8px 26px rgba(40,40,80,0.25); color:#fff; cursor:pointer; z-index:2500; }
.chat-pill .pill-avatar { width:36px; height:36px; border-radius:50%; overflow:hidden; }
.chat-pill .pill-avatar img { width:100%; height:100%; object-fit:cover; }
.chat-pill .pill-label { font-weight:700; font-size:0.95rem; padding-right:6px; }

.pm-remove-avatar {
  margin-top: 6px;
  font-size: 14px;
  color: #e53935; /* red */
  cursor: pointer;
  user-select: none;
}

.pm-remove-avatar:hover {
  text-decoration: underline;
  opacity: 0.85;
}

/* ===== Profile Modal Close Button ===== */
.pm-close-btn {
  background: transparent;
  color: #6c63ff;              /* match your theme */
  /* border: 2px solid #6c63ff; */
  border: none;
  padding: 8px 18px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  opacity: 1;                  /* 🔴 always visible */
  visibility: visible;         /* 🔴 always visible */
  transition: 
    background 0.25s ease,
    color 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

/* .pm-close-btn:hover {
  background: #6c63ff;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(108, 99, 255, 0.35);
} */


html, body, main, section, .page {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

main {
  width: 100%;
  overflow: visible;
}

/* FORCE SINGLE SCROLLBAR */
body > * {
  overflow: visible !important;
}

.page,
section,
main {
  overflow: visible !important;
}

@media (max-width: 768px) {
  .stat-item h3 {
    font-size: 2.4rem;
  }

  .stat-item p {
    font-size: 0.95rem;
  }
}

@keyframes logo-pop {
  0% {
    transform: scale(0);
  }
  70% {
    transform: scale(1.15); /* slight zoom */
  }
  100% {
    transform: scale(1.08); /* settle nicely */
  }
}

