/* Academic Wizard - Modern Student Design
   Clean, professional, uni-student coded aesthetic */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  /* Clean Color Palette */
  --bg-main: #0f1419;
  --bg-secondary: #1a1f2e;
  --bg-card: #242b3d;
  --bg-hover: #2d3548;
  
  /* Text */
  --text-primary: #ffffff;
  --text-secondary: #b8c5d6;
  --text-muted: #7a8599;
  
  /* Brand */
  --brand-primary: #667eea;
  --brand-secondary: #764ba2;
  --brand-accent: #06b6d4;
  
  /* Functional */
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  
  /* Spacing & Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --spacing: 1rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 10%;
}

@media (max-width: 1200px) {
  .container {
    padding: 0 8%;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 5%;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 4%;
  }
}

/* BACKGROUND EFFECTS */
.animated-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: 
    radial-gradient(ellipse at top, rgba(102, 126, 234, 0.15), transparent 50%),
    radial-gradient(ellipse at bottom right, rgba(6, 182, 212, 0.1), transparent 50%),
    var(--bg-main);
}

.stars-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-image: 
    radial-gradient(1px 1px at 20% 30%, white, transparent),
    radial-gradient(1px 1px at 60% 70%, white, transparent),
    radial-gradient(1px 1px at 50% 50%, white, transparent),
    radial-gradient(1px 1px at 80% 10%, white, transparent);
  background-size: 200% 200%;
  opacity: 0.3;
}

/* HEADER & NAVIGATION */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  background: rgba(15, 20, 25, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  gap: 2rem;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}

.logo-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.logo-accent {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.navbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: nowrap;
  margin-left: auto;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
  position: relative;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--text-primary);
  background: rgba(102, 126, 234, 0.08);
}

.nav-link.active {
  color: var(--text-primary);
  background: rgba(102, 126, 234, 0.12);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--brand-primary);
  border: 1.5px solid var(--brand-primary);
}

.btn-secondary:hover {
  background: rgba(102, 126, 234, 0.1);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.6rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
}

.btn-glow {
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.3);
}

/* HERO SECTION */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 0 4rem;
  position: relative;
}

.hero-animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.floating-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: float 20s ease-in-out infinite;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: var(--brand-primary);
  top: 10%;
  left: 10%;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: var(--brand-accent);
  bottom: 10%;
  right: 10%;
  animation-delay: 5s;
}

.orb-3 {
  width: 350px;
  height: 350px;
  background: var(--brand-secondary);
  top: 50%;
  left: 50%;
  animation-delay: 10s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(30px, -30px); }
  66% { transform: translate(-20px, 20px); }
}

.grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(184, 197, 214, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 197, 214, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: linear-gradient(to bottom, black 0%, black 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 60%, transparent 100%);
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 0 2rem;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.title-line {
  display: block;
}

.gradient-text {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-secondary);
  margin-bottom: 1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.typewriter-text {
  font-size: 1.2rem;
  color: var(--brand-accent);
  margin-bottom: 2.5rem;
  min-height: 2rem;
  font-weight: 500;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.btn-icon {
  font-size: 1.2rem;
  transition: transform 0.2s;
}

.btn:hover .btn-icon {
  transform: translateX(4px);
}

.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  flex-wrap: nowrap;
  margin-top: 4rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.stat-box {
  text-align: center;
}

.stat-box .number {
  font-size: 3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-box .label {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* PAGE HERO */
.page-hero {
  padding: 10rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: visible;
  background: transparent;
}

.page-hero .hero-circle {
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 1200px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.12) 0%, rgba(102, 126, 234, 0.05) 50%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text-primary), var(--brand-primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.page-hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* SECTIONS */
.content-section,
.value-section,
.services-showcase,
.quick-stats,
.contact-section {
  padding: 5rem 0;
}

.section-title,
.content-section h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 3rem;
  text-align: center;
  color: var(--text-primary);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* CARDS & GRIDS */
.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid rgba(184, 197, 214, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s;
}

.value-card:hover {
  background: var(--bg-hover);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(102, 126, 234, 0.3);
}

.value-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: inline-block;
}

.value-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.value-card p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Services */
.services-cards,
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(184, 197, 214, 0.1);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: all 0.3s;
}

.service-card:hover {
  background: var(--bg-hover);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-card.premium {
  border-color: rgba(102, 126, 234, 0.2);
}

.service-card.featured {
  border-color: var(--brand-accent);
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(6, 182, 212, 0.05));
}

.featured-badge,
.service-badge,
.tutor-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: white;
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-header {
  margin-bottom: 1rem;
}

.service-emoji {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.service-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-features {
  list-style: none;
  margin-bottom: 2rem;
}

.service-features li {
  color: var(--text-secondary);
  padding: 0.5rem 0;
  font-size: 0.95rem;
}

/* Resources */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.resource-card {
  background: var(--bg-card);
  border: 1px solid rgba(184, 197, 214, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.resource-card:hover {
  background: var(--bg-hover);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.resource-card.premium {
  border-color: rgba(245, 158, 11, 0.3);
}

.resource-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.resource-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.resource-card .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-primary);
  margin-bottom: 1rem;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid rgba(184, 197, 214, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s;
}

.testimonial-card:hover {
  background: var(--bg-hover);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.stars {
  color: #fbbf24;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-style: italic;
}

.testimonial-author {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.9rem;
}

/* Stats - Minimal Dot Style */
.quick-stats {
  padding: 5rem 0;
  background: transparent;
}

.stats-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.stat-item-minimal {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.stat-dot {
  font-size: 1.5rem;
  color: var(--brand-primary);
  opacity: 0.5;
}

/* CTA SECTION */
.cta-section {
  padding: 5rem 0;
  position: relative;
  margin-top: 3rem;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 600px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3.5rem;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid rgba(184, 197, 214, 0.1);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.cta-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.03), rgba(6, 182, 212, 0.03));
  border-radius: var(--radius-lg);
  z-index: -1;
}

.cta-content h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* About Page - Services & Testimonials Sections */
.services-section,
.testimonials-section {
  padding: 5rem 0;
  position: relative;
  border: none !important;
  margin: 0;
  outline: none;
  box-shadow: none !important;
}

.services-section {
  background: transparent !important;
  padding-top: 3rem;
  padding-bottom: 5rem;
  position: relative;
  z-index: 2;
}

.services-section .container {
  position: relative;
  z-index: 3;
  background: transparent;
  border: none;
}

.services-section .section-header,
.testimonials-section .section-header {
  background: transparent !important;
  padding: 0;
  margin-bottom: 2.5rem;
  border: none;
  box-shadow: none;
  position: relative;
  z-index: 3;
}

.services-section::before {
  display: none;
}

.testimonials-section {
  padding-top: 5rem;
  padding-bottom: 5rem;
  margin-top: 0;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none;
  position: relative;
  z-index: 2;
}

.testimonials-section .container {
  background: transparent !important;
  border: none;
  box-shadow: none;
  position: relative;
  z-index: 3;
}

.services-grid,
.testimonials-grid {
  background: transparent;
  border: none;
  box-shadow: none;
  position: relative;
  z-index: 3;
}

.services-grid .service-card,
.testimonials-grid .testimonial-card {
  position: relative;
  z-index: 4;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.services-grid .service-card {
  background: var(--bg-card);
  border: 1px solid rgba(184, 197, 214, 0.1);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.services-grid .service-card:hover {
  background: var(--bg-hover);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(102, 126, 234, 0.3);
}

.service-icon {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
  display: block;
}

.services-grid .service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
}

.services-grid .service-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex-grow: 1;
  font-size: 0.925rem;
}

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

.service-features li {
  color: var(--text-secondary);
  padding: 0.5rem 0;
  font-size: 0.95rem;
  border-bottom: none;
}

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

.testimonial-rating {
  color: #fbbf24;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.testimonials-grid .testimonial-card {
  background: var(--bg-card);
  border: 1px solid rgba(184, 197, 214, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonials-grid .testimonial-card:hover {
  background: var(--bg-hover);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: rgba(102, 126, 234, 0.3);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: none;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.author-info h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.25rem 0;
}

.author-info p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.about-cta-section {
  text-align: center;
  padding: 4rem 0 0 0;
  position: relative;
  margin-top: 3rem;
}

.about-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 600px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.about-cta-section .cta-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 3.5rem;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid rgba(184, 197, 214, 0.1);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.about-cta-section .cta-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.03), rgba(6, 182, 212, 0.03));
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-cta-section h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-cta-section p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.about-cta-section .btn {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.services-grid .service-card a {
  color: var(--brand-accent);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.services-grid .service-card a:hover {
  color: var(--brand-primary);
  text-decoration: underline;
}

/* Contact Page Styles */
.contact-page {
  padding: 3rem 0 5rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  margin-top: 2rem;
}

.contact-info-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-intro {
  background: var(--bg-card);
  border: 1px solid rgba(184, 197, 214, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.contact-info-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.contact-info-section > div > p,
.contact-intro > p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--bg-card);
  border: 1px solid rgba(184, 197, 214, 0.1);
  border-radius: var(--radius-lg);
  transition: all 0.3s;
}

.contact-item:hover {
  background: var(--bg-hover);
  border-color: rgba(102, 126, 234, 0.3);
  transform: translateX(5px);
}

.contact-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.contact-text h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 0.5rem 0;
}

.contact-text p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0.25rem 0;
}

.contact-text a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: all 0.3s;
}

.contact-text a:hover {
  text-decoration: underline;
  color: var(--accent-purple);
}

.contact-form-section {
  background: var(--bg-card);
  border: 1px solid rgba(184, 197, 214, 0.1);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-form-section h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.faq-section {
  padding: 5rem 0;
  background: transparent;
  position: relative;
  margin-top: 3rem;
}

.faq-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 600px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.faq-section h2 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--text-primary);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid rgba(184, 197, 214, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s;
}

.faq-item:hover {
  background: var(--bg-hover);
  border-color: rgba(102, 126, 234, 0.3);
  transform: translateY(-4px);
}

.faq-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.faq-item p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.faq-item a {
  color: var(--brand-accent);
  text-decoration: none;
  font-weight: 500;
}

.faq-item a:hover {
  text-decoration: underline;
}
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* CONTACT SECTION */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  margin-top: 3rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-block {
  background: var(--bg-card);
  border: 1px solid rgba(184, 197, 214, 0.1);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: all 0.3s;
}

.info-block:hover {
  background: var(--bg-hover);
  transform: translateX(8px);
}

.info-block h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.info-block p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.info-block a {
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 500;
}

.info-block a:hover {
  color: var(--brand-accent);
}

.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid rgba(184, 197, 214, 0.1);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-form-wrapper h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

/* FORMS */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--bg-secondary);
  border: 1px solid rgba(184, 197, 214, 0.1);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  transition: all 0.2s;
}

/* Date input specific styling */
.form-group input[type="date"] {
  cursor: pointer;
  position: relative;
  padding-right: 3rem;
  color-scheme: dark;
}

.form-group input[type="date"]::-webkit-calendar-picker-indicator {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23667eea' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3E%3C/rect%3E%3Cline x1='16' y1='2' x2='16' y2='6'%3E%3C/line%3E%3Cline x1='8' y1='2' x2='8' y2='6'%3E%3C/line%3E%3Cline x1='3' y1='10' x2='21' y2='10'%3E%3C/line%3E%3C/svg%3E");
  width: 20px;
  height: 20px;
  opacity: 1;
  position: absolute;
  right: 1rem;
  filter: brightness(1);
  transition: filter 0.2s;
}

.form-group input[type="date"]:hover::-webkit-calendar-picker-indicator {
  filter: brightness(1.3);
}

/* Calendar dropdown styling */
.form-group input[type="date"]::-webkit-datetime-edit {
  padding: 0;
}

.form-group input[type="date"]::-webkit-datetime-edit-fields-wrapper {
  padding: 0;
}

.form-group input[type="date"]::-webkit-datetime-edit-text {
  color: var(--text-secondary);
  padding: 0 0.2rem;
}

.form-group input[type="date"]::-webkit-datetime-edit-month-field,
.form-group input[type="date"]::-webkit-datetime-edit-day-field,
.form-group input[type="date"]::-webkit-datetime-edit-year-field {
  color: var(--text-primary);
  padding: 0.2rem 0.3rem;
  border-radius: 4px;
}

.form-group input[type="date"]::-webkit-datetime-edit-month-field:hover,
.form-group input[type="date"]::-webkit-datetime-edit-day-field:hover,
.form-group input[type="date"]::-webkit-datetime-edit-year-field:hover {
  background: rgba(102, 126, 234, 0.1);
}

.form-group input[type="date"]::-webkit-datetime-edit-month-field:focus,
.form-group input[type="date"]::-webkit-datetime-edit-day-field:focus,
.form-group input[type="date"]::-webkit-datetime-edit-year-field:focus {
  background: rgba(102, 126, 234, 0.2);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--brand-primary);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath fill='%23667eea' d='M8 11L3 6h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 3rem;
}

/* Payment Method Selection */
.payment-method-group {
  margin: 2rem 0;
  padding: 1.5rem;
  background: rgba(102, 126, 234, 0.05);
  border-radius: 12px;
  border: 2px solid rgba(102, 126, 234, 0.2);
}

.payment-options {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
}

.payment-option {
  display: flex;
  align-items: center;
  padding: 1rem;
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.payment-option:hover {
  border-color: #667eea;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.1);
}

.payment-option input[type="radio"] {
  margin: 0;
  margin-right: 1rem;
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: #667eea;
}

.payment-option input[type="radio"]:checked + .payment-label {
  color: #667eea;
  font-weight: 600;
}

.payment-option:has(input:checked) {
  border-color: #667eea;
  background: rgba(102, 126, 234, 0.05);
}

.payment-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--text-primary);
  transition: all 0.3s ease;
}

.payment-icon {
  font-size: 1.5rem;
}

/* Price Estimate Box */
.price-estimate-box {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  border: 2px solid rgba(102, 126, 234, 0.3);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.estimate-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  color: var(--text-secondary);
  font-size: 1rem;
}

.estimate-row span:last-child {
  font-weight: 600;
  color: var(--text-primary);
}

.total-row {
  border-top: 2px solid rgba(102, 126, 234, 0.3);
  margin-top: 0.5rem;
  padding-top: 1rem;
  font-size: 1.2rem;
}

.total-row span {
  font-weight: 700;
}

.total-row span:last-child {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.5rem;
}

/* Message Boxes */
.message-box {
  display: none;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  animation: slideDown 0.3s ease-out;
}

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

.error-message {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid var(--error);
  color: var(--error);
}

.success-message {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--success);
  color: var(--success);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-submit {
  margin-top: 2rem;
}

.form-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
}

/* LOGIN PAGE */
.login-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 2rem 4rem;
}

.login-container {
  max-width: 460px;
  width: 100%;
}

.login-header {
  text-align: center;
  margin-bottom: 2rem;
}

.login-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.login-header p {
  font-size: 1rem;
  color: var(--text-secondary);
}

.login-form {
  background: var(--bg-card);
  border: 1px solid rgba(184, 197, 214, 0.1);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.remember-me {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  cursor: pointer;
}

.remember-me input[type="checkbox"] {
  width: auto;
  cursor: pointer;
  accent-color: var(--brand-primary);
}

.forgot-password {
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 500;
}

.forgot-password:hover {
  color: var(--brand-accent);
}

.form-divider {
  text-align: center;
  margin: 2rem 0;
  position: relative;
}

.form-divider::before,
.form-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 42%;
  height: 1px;
  background: rgba(184, 197, 214, 0.1);
}

.form-divider::before { left: 0; }
.form-divider::after { right: 0; }

.form-divider span {
  color: var(--text-muted);
  background: var(--bg-card);
  padding: 0 1rem;
  position: relative;
  font-size: 0.9rem;
}

.alt-login {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.signup-prompt {
  text-align: center;
  color: var(--text-secondary);
  margin-top: 1.5rem;
  font-size: 0.95rem;
}

.signup-prompt a {
  color: var(--brand-primary);
  text-decoration: none;
  font-weight: 600;
}

.signup-prompt a:hover {
  color: var(--brand-accent);
}

.login-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid rgba(184, 197, 214, 0.1);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
}

.info-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.info-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.login-message {
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.login-message.success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--success);
}

.login-message.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--error);
}

.login-message.info {
  background: rgba(102, 126, 234, 0.1);
  border: 1px solid rgba(102, 126, 234, 0.3);
  color: var(--brand-primary);
}

/* BOOKING PAGE */
.tutors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.tutor-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid rgba(184, 197, 214, 0.1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s;
}

.tutor-card:hover {
  background: var(--bg-hover);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tutor-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.tutor-subject {
  color: var(--brand-primary);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.tutor-rating {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.tutor-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.tutor-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--brand-accent);
  margin: 1rem 0;
}

.booking-form {
  background: var(--bg-card);
  border: 1px solid rgba(184, 197, 214, 0.1);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-top: 3rem;
}

.booking-form h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.booking-faq {
  background: transparent;
  padding: 3rem 0;
  position: relative;
}

.booking-faq::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 600px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.faq-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.faq-item p {
  color: var(--text-secondary);
  line-height: 1.6;
}

.payment-pricing-section {
  position: relative;
  margin-top: 3rem;
}

.payment-pricing-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 600px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.booking-cta-section {
  position: relative;
  margin-top: 3rem;
}

.booking-cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 600px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.15), transparent);
}

/* PAGINATION */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pagination button {
  min-width: 40px;
  height: 40px;
  padding: 0.5rem 0.75rem;
  background: var(--bg-card);
  border: 1px solid rgba(184, 197, 214, 0.2);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.pagination button:hover:not(:disabled) {
  background: var(--bg-hover);
  border-color: var(--brand-accent);
  transform: translateY(-2px);
}

.pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination button.active {
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  border-color: var(--brand-accent);
  color: white;
  font-weight: 700;
}

.pagination .ellipsis {
  color: var(--text-muted);
  padding: 0 0.5rem;
  font-weight: 700;
}

/* DASHBOARD STYLES */
.dashboard-main {
  padding-top: 100px;
}

.dashboard-header {
  margin-bottom: 2rem;
}

.dashboard-subtitle {
  color: var(--text-secondary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.stat-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(102, 126, 234, 0.2);
}

.stat-card.clickable {
  cursor: pointer;
}

.stat-card h3 {
  color: var(--brand-accent);
  margin-bottom: 0.5rem;
}

.stat-card .stat-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-card .stat-text {
  font-size: 1.2rem;
  color: var(--text-secondary);
}

.stat-card h3.success-text {
  color: var(--success);
}

/* Enhanced Admin Statistics Dashboard */
.admin-stats-overview {
  margin-bottom: 3rem;
}

.stats-grid-enhanced {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.stat-card-enhanced {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
  border: 2px solid rgba(102, 126, 234, 0.2);
  border-radius: 15px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.3s ease;
}

.stat-card-enhanced:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
  border-color: rgba(102, 126, 234, 0.4);
}

.stat-icon {
  font-size: 3rem;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.users-icon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.bookings-icon {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.tutors-icon {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.resources-icon {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.stat-content h3 {
  margin: 0 0 0.5rem 0;
  font-size: 0.9rem;
  color: #7f8c8d;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value-enhanced {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-detail {
  margin: 0.5rem 0 0 0;
  font-size: 0.85rem;
  color: #95a5a6;
}

.activity-trends {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.activity-card,
.trends-card {
  background: var(--bg-card);
  border: 1px solid rgba(102, 126, 234, 0.2);
  border-radius: 15px;
  padding: 1.5rem;
}

.activity-card h3,
.trends-card h3 {
  margin: 0 0 1.5rem 0;
  color: var(--text-primary);
  font-size: 1.3rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid rgba(102, 126, 234, 0.2);
}

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

.activity-item {
  padding: 1rem;
  border-left: 3px solid #667eea;
  background: rgba(102, 126, 234, 0.05);
  margin-bottom: 1rem;
  border-radius: 5px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.activity-item.loading {
  border-left-color: #95a5a6;
  background: rgba(149, 165, 166, 0.05);
}

.activity-item strong {
  color: var(--text-primary);
  font-weight: 600;
}

.trends-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.trend-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: rgba(102, 126, 234, 0.05);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.trend-item:hover {
  background: rgba(102, 126, 234, 0.1);
  transform: translateX(5px);
}

.trend-label {
  font-weight: 500;
  color: var(--text-secondary);
}

.trend-value {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Quick Actions Section */
.quick-actions-section {
  margin: 3rem 0;
  padding: 2rem;
  background: var(--bg-card);
  border-radius: 15px;
  border: 1px solid rgba(102, 126, 234, 0.2);
}

.quick-actions-section h2 {
  margin: 0 0 1.5rem 0;
  color: var(--text-primary);
}

.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
  border: 2px solid rgba(102, 126, 234, 0.2);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.action-btn:hover {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  border-color: rgba(102, 126, 234, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.action-icon {
  font-size: 2rem;
}

.admin-section {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}

.admin-section.with-divider {
  position: relative;
  margin-top: 3rem;
}

.admin-section .section-divider {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  max-width: 600px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.15), transparent);
}

.admin-section h2 {
  margin-bottom: 1.5rem;
}

.admin-section h2.centered {
  text-align: center;
}

.admin-form {
  max-width: 600px;
  margin: 0 auto;
}

.admin-form .btn-primary {
  width: 100%;
}

.search-bar {
  margin-bottom: 1.5rem;
}

.search-bar input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-primary);
  border: 1px solid rgba(184, 197, 214, 0.2);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 1rem;
}

.resources-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 2rem;
}

.resources-header h3 {
  margin: 0;
}

.resources-header .search-bar {
  flex: 1;
  max-width: 400px;
  margin-bottom: 0;
}

.horizontal-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.15), transparent);
  margin: 2.5rem 0 2rem 0;
}

.list-container {
  overflow-x: auto;
}

.pagination-wrapper {
  display: none;
  margin-top: 1.5rem;
  text-align: center;
}

.pagination-wrapper.active {
  display: block;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 700;
}

.section-header p {
    font-size: 1.1rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.testimonial-stars {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #f39c12;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 2px solid #ecf0f1;
}

.author-info h4 {
    margin: 0;
    font-size: 1.1rem;
    color: #2c3e50;
    font-weight: 600;
}

.author-info p {
    margin: 5px 0 0;
    font-size: 0.9rem;
    color: #95a5a6;
}

/* FOOTER */
.footer {
  background: rgba(15, 20, 25, 0.8);
  border-top: 1px solid rgba(184, 197, 214, 0.1);
  padding: 4rem 0 2rem;
  margin-top: 5rem;
}

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

.footer-section h4 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.footer-section p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

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

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-section a:hover {
  color: var(--brand-primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(184, 197, 214, 0.1);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  .navbar {
    gap: 0.5rem;
  }
  
  .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
  }
  
  .btn-sm {
    padding: 0.5rem 0.85rem;
    font-size: 0.8rem;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }
  
  .navbar {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 280px;
    background: var(--bg-secondary);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 5rem 0 2rem;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
  }
  
  .navbar.active {
    right: 0;
  }
  
  .nav-link {
    padding: 1rem 2rem;
    border-radius: 0;
    width: 100%;
    text-align: left;
  }
  
  .navbar .btn {
    margin: 1rem 2rem;
    width: calc(100% - 4rem);
  }
}

/* Flatpickr Calendar Customization */
.flatpickr-calendar {
  background: white;
  border-radius: 12px !important;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2) !important;
  border: 2px solid rgba(102, 126, 234, 0.1) !important;
}

.flatpickr-months {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  border-radius: 10px 10px 0 0 !important;
  padding: 10px 0 !important;
}

.flatpickr-current-month {
  color: white !important;
}

.flatpickr-prev-month svg,
.flatpickr-next-month svg {
  fill: white !important;
}

.flatpickr-weekdays {
  background: rgba(102, 126, 234, 0.1);
  padding: 8px 0;
}

.flatpickr-weekday {
  color: #667eea !important;
  font-weight: 600 !important;
}

.flatpickr-day {
  border-radius: 8px !important;
  transition: all 0.2s ease !important;
}

.flatpickr-day:hover:not(.flatpickr-disabled):not(.selected) {
  background: rgba(102, 126, 234, 0.1) !important;
  border-color: #667eea !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  border-color: #667eea !important;
}

.flatpickr-day.today {
  border-color: #667eea !important;
  font-weight: 700;
}

.flatpickr-day.today:not(.selected) {
  background: rgba(102, 126, 234, 0.15) !important;
}

.weekend-marker {
  position: absolute;
  top: 2px;
  right: 2px;
  font-size: 10px;
}

@media (max-width: 768px) {
  .header .container {
    padding-top: 1rem;
    padding-bottom: 1rem;
    gap: 1rem;
  }
  
  .logo {
    font-size: 1.3rem;
  }
  
  .logo-icon {
    font-size: 1.5rem;
  }
  
  .btn-sm {
    padding: 0.5rem 0.9rem;
    font-size: 0.8rem;
  }
  
  .stats-display {
    gap: 2rem;
  }
  
  .stat-dot {
    display: none;
  }
  
  .stat-number {
    font-size: 2.5rem;
  }
  
  .stat-label {
    font-size: 0.85rem;
  }
  
  .hero {
    padding: 6rem 0 3rem;
  }
  
  .hero-content {
    padding: 0 1rem;
  }
  
  .hero-stats {
    flex-wrap: wrap;
    gap: 2rem;
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stat-box .number {
    font-size: 2.5rem;
  }
  
  .stat-box .label {
    font-size: 0.85rem;
  }
  
  .value-grid,
  .services-cards,
  .services-grid,
  .resources-grid,
  .testimonials-grid,
  .stats-grid,
  .tutors-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .login-info {
    grid-template-columns: 1fr;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .cta-content {
    padding: 2.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 4%;
  }
  
  .hero-content {
    padding: 0 0.75rem;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-stats {
    gap: 1.5rem;
  }
  
  .stat-box .number {
    font-size: 2rem;
  }
  
  .stat-box .label {
    font-size: 0.8rem;
  }
  
  .hero-buttons,
  .cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
  }
  
  .login-form,
  .booking-form {
    padding: 2rem;
  }
}

/* CONFIRMATION PAGE */
.confirmation-section {
  min-height: 100vh;
  padding: 8rem 0 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.confirmation-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 3rem;
  max-width: 800px;
  width: 100%;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.confirmation-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: white;
  animation: confirmPulse 0.5s ease-out;
}

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

.confirmation-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.confirmation-subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  line-height: 1.6;
}

.booking-details {
  background: var(--bg-secondary);
  border-radius: var(--radius-md);
  padding: 2rem;
  margin-bottom: 2rem;
  text-align: left;
}

.booking-details h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--text-primary);
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-row.full-width {
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.detail-label {
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.detail-value {
  color: var(--text-primary);
  font-weight: 500;
  text-align: right;
}

.detail-row.full-width .detail-value {
  text-align: left;
  color: var(--text-secondary);
  line-height: 1.6;
}

.detail-value.reference {
  font-family: 'Courier New', monospace;
  background: var(--bg-card);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--brand-accent);
}

.confirmation-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .confirmation-section {
    padding: 6rem 0 3rem;
  }
  
  .confirmation-card {
    padding: 2rem;
  }
  
  .confirmation-icon {
    width: 60px;
    height: 60px;
    font-size: 2rem;
  }
  
  .confirmation-title {
    font-size: 2rem;
  }
  
  .booking-details {
    padding: 1.5rem;
  }
  
  .detail-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.75rem 0;
  }
  
  .detail-value {
    text-align: left;
  }
  
  .confirmation-actions {
    flex-direction: column;
  }
  
  .confirmation-actions .btn {
    width: 100%;
  }

  /* About & Contact Pages - Mobile */
  .services-grid,
  .testimonials-grid,
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .about-cta-section h3 {
    font-size: 1.5rem;
  }

  .about-cta-section .btn {
    padding: 0.875rem 2rem;
    font-size: 1rem;
    width: 100%;
  }
}

/* MODAL STYLES */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 20, 25, 0.85);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.2s ease-out;
}

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

.modal {
  width: 100%;
  max-width: 500px;
  animation: slideUp 0.3s ease-out;
}

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

.modal-content {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(102, 126, 234, 0.3);
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-content h3 {
  color: var(--brand-accent);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.modal-content p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

.modal-actions .btn {
  min-width: 100px;
}

.modal .form-group {
  margin-bottom: 1rem;
}

.modal .form-group label {
  display: block;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.modal .form-group input,
.modal .form-group select,
.modal .form-group textarea {
  width: 100%;
  padding: 0.75rem;
  background: var(--bg-secondary);
  border: 1px solid rgba(102, 126, 234, 0.2);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.modal .form-group input:focus,
.modal .form-group select:focus,
.modal .form-group textarea:focus {
  outline: none;
  border-color: var(--brand-accent);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.1);
}

@media (max-width: 600px) {
  .modal-content {
    padding: 1.5rem;
  }

  .modal-actions {
    flex-direction: column;
  }

  .modal-actions .btn {
    width: 100%;
    min-width: auto;
  }
}
