/* ==========================================================================
   EDUBRIGHT & DIGITAL DOOR - PREMIUM STYLING SYSTEM
   ========================================================================== */

:root {
  --primary-gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  --accent-gradient: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  --gold-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  --dark-bg-gradient: linear-gradient(180deg, #0b1329 0%, #0f172a 50%, #1e1b4b 100%);
  --glass-bg: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.15);
  --glass-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  --card-light-bg: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
}

/* Base Font & Smooth Scrolling */
body {
  font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
  color: #334155;
  background-color: #f8fafc;
  overflow-x: hidden;
}

/* Smooth Transitions */
a,
button,
.card-premium,
.btn-premium {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Premium Header Navbar */
.header-premium {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.05);
  padding: 12px 0;
  transition: all 0.3s ease;
}

.header-premium .logo img {
  max-height: 52px;
  filter: drop-shadow(0 2px 8px rgba(37, 99, 235, 0.2));
}

.header-premium .navmenu a {
  font-weight: 600;
  font-size: 0.95rem;
  color: #1e293b;
  padding: 8px 16px;
  border-radius: 20px;
}

.header-premium .navmenu a:hover,
.header-premium .navmenu a.active {
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
}

.btn-header-cta {
  background: var(--primary-gradient);
  color: #ffffff !important;
  padding: 10px 22px !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}

.btn-header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.5);
}

/* Hero Section */
.hero-premium {
  position: relative;
  background: var(--dark-bg-gradient);
  color: #ffffff;
  padding: 100px 0 140px 0;
  overflow: hidden;
}

/* Ambient Animated Glows */
.hero-premium::before {
  content: '';
  position: absolute;
  top: -10%;
  left: 20%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.35) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(60px);
  animation: pulseGlow 8s infinite alternate;
}

.hero-premium::after {
  content: '';
  position: absolute;
  bottom: 10%;
  right: 15%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.3) 0%, rgba(0, 0, 0, 0) 70%);
  filter: blur(60px);
  animation: pulseGlow 6s infinite alternate-reverse;
}

@keyframes pulseGlow {
  0% {
    transform: scale(0.9) translate(0, 0);
    opacity: 0.7;
  }

  100% {
    transform: scale(1.15) translate(20px, -20px);
    opacity: 1;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #38bdf8;
  letter-spacing: 0.3px;
  margin-bottom: 24px;
}

.hero-title {
  color: #ffffff !important;
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, #60a5fa 0%, #c084fc 50%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #cbd5e1 !important;
  max-width: 620px;
  margin-bottom: 36px;
}

/* Floating Card Graphics in Hero */
.hero-visual-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
  position: relative;
  animation: floatAnimation 5s ease-in-out infinite;
}

@keyframes floatAnimation {

  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-14px);
  }
}

.qr-badge-preview {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 20px;
  color: #0f172a;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  text-align: center;
}

.qr-badge-header {
  border-bottom: 2px solid #3b82f6;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.qr-code-box {
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 2px dashed #3b82f6;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px auto;
}

/* Floating Stats Section Overlapping Hero */
.stats-container {
  margin-top: -65px;
  position: relative;
  z-index: 10;
}

.stat-card-glass {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
  border: 1px solid #f1f5f9;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card-glass:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 45px rgba(37, 99, 235, 0.15);
  border-color: #bfdbfe;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #475569;
}

/* Section Title Premium */
.section-header-premium {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.section-header-premium .sub-tag {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.08);
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.section-header-premium h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
}

/* Digital Door Feature Showcase Section */
.digital-door-section {
  background: #ffffff;
  padding: 90px 0;
}

.feature-glass-box {
  background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
  border: 1px solid #dbeafe;
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.feature-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--primary-gradient);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.25);
}

/* Why Choose Edubright Feature Cards */
.features-section {
  padding: 90px 0;
  background: #f8fafc;
}

.card-feature-premium {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  height: 100%;
  position: relative;
  transition: all 0.35s ease;
}

.card-feature-premium:hover {
  transform: translateY(-8px);
  border-color: #93c5fd;
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
}

.card-feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
}

.icon-blue {
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
}

.icon-cyan {
  background: rgba(6, 182, 212, 0.1);
  color: #0891b2;
}

.icon-purple {
  background: rgba(124, 58, 237, 0.1);
  color: #7c3aed;
}

.icon-gold {
  background: rgba(245, 158, 11, 0.1);
  color: #d97706;
}

.card-feature-premium h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 14px;
}

.card-feature-premium p {
  color: #64748b;
  font-size: 0.98rem;
  line-height: 1.65;
  margin-bottom: 0;
}

/* Leadership & Team Section */
.team-section-premium {
  padding: 90px 0;
  background: #ffffff;
}

.team-card-premium {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid #e2e8f0;
  padding: 30px 24px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  margin: 10px 5px 30px 5px;
}

.team-card-premium:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.12);
  border-color: #60a5fa;
}

.team-img-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 20px auto;
}

.team-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #ffffff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.team-role-badge {
  display: inline-block;
  background: rgba(37, 99, 235, 0.1);
  color: #2563eb;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  margin-top: 6px;
  margin-bottom: 12px;
}

.team-card-premium h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
}

/* Franchise CTA Banner */
.franchise-banner {
  background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 50%, #1e293b 100%);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  color: #ffffff;
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.franchise-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.franchise-desc {
  color: #94a3b8;
  font-size: 1.05rem;
  max-width: 650px;
  margin-bottom: 0;
}

/* Quick Hero Search Box */
.hero-search-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 6px 6px 6px 20px;
  max-width: 580px;
}

.hero-search-box input {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 0.95rem;
}

.hero-search-box input::placeholder {
  color: #94a3b8;
}

.hero-search-box input:focus {
  outline: none;
  box-shadow: none;
}

/* Course / Program Cards */
.card-program {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  padding: 30px;
  transition: all 0.3s ease;
  height: 100%;
}

.card-program:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.1);
  border-color: #93c5fd;
}

.program-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 50px;
}

/* Trust Badges Grid */
.trust-badge-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.trust-badge-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  border-color: #cbd5e1;
}

/* Buttons */
.btn-primary-glow {
  background: var(--primary-gradient);
  color: #ffffff !important;
  border-radius: 50px;
  padding: 14px 32px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
}

.btn-primary-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.6);
}

.btn-accent-glow {
  background: var(--accent-gradient);
  color: #ffffff !important;
  border-radius: 50px;
  padding: 14px 32px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(6, 182, 212, 0.35);
}

.btn-accent-glow:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(6, 182, 212, 0.55);
}

.btn-secondary-glass {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  color: #ffffff !important;
  border-radius: 50px;
  padding: 14px 32px;
  font-weight: 700;
}

.btn-secondary-glass:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-3px);
  margin-bottom: 4px;
}

.stars-rating {
  color: #f59e0b;
  font-size: 0.9rem;
  margin-top: 8px;
}

/* Swiper Pagination Enhancement */
.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #cbd5e1;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: #2563eb;
  width: 30px;
  border-radius: 8px;
}

/* Franchise CTA Banner */
.franchise-banner {
  background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 100%);
  border-radius: 28px;
  padding: 60px 40px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.25);
  margin-bottom: 80px;
}

.franchise-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.4) 0%, transparent 70%);
  filter: blur(40px);
}

.franchise-title {
  font-size: 2.4rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.franchise-desc {
  font-size: 1.1rem;
  color: #cbd5e1;
  max-width: 650px;
  margin-bottom: 28px;
}

/* Custom Buttons */
.btn-primary-glow {
  background: var(--primary-gradient);
  color: #ffffff;
  padding: 14px 34px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
  border: none;
}

.btn-primary-glow:hover {
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.6);
}

.btn-secondary-glass {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-secondary-glass:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
}

.btn-accent-glow {
  background: var(--accent-gradient);
  color: #ffffff;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.35);
  border: none;
}

.btn-accent-glow:hover {
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(6, 182, 212, 0.5);
}

/* Premium Footer */
.footer-premium {
  background: #090d16;
  color: #94a3b8;
  padding: 70px 0 30px 0;
  border-top: 1px solid #1e293b;
}

.footer-brand h3 {
  color: #ffffff;
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 16px;
}

.footer-title {
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #94a3b8;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #38bdf8;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-contact-item i {
  color: #38bdf8;
  font-size: 1.2rem;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 25px;
  margin-top: 50px;
  text-align: center;
  font-size: 0.9rem;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.4rem;
  }

  .hero-premium {
    padding: 60px 0 100px 0;
  }

  .stats-container {
    margin-top: -40px;
  }

  .franchise-banner {
    padding: 40px 24px;
    text-align: center;
  }

  .franchise-desc {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 575.98px) {
  .hero-title {
    font-size: 1.9rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .btn-primary-glow,
  .btn-secondary-glass,
  .btn-accent-glow {
    width: 100%;
    justify-content: center;
  }
}