@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800&display=swap");

@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --primary-blue: #3b82f6;
  --accent-orange: #f97316;
  --dark-bg: #1f2937;
  --light-bg: #f9fafb;
  --text-dark: #111827;
  --text-light: #6b7280;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  background-color: #ffffff;
  transition: background-color 0.3s ease;
}

body.dark-mode {
  background-color: var(--dark-bg);
  color: #f9fafb;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Header Styles */
header {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

body.dark-mode header {
  background: rgba(31, 41, 55, 0.95);
}

/* Navigation */
.nav-link {
  position: relative;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s ease;
}

body.dark-mode .nav-link {
  color: #f9fafb;
}

.nav-link:hover {
  color: var(--primary-blue);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-blue);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* Button Styles */
.btn-primary {
  background: var(--primary-blue);
  color: white;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
}

.btn-primary:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--primary-blue);
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid var(--primary-blue);
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
}

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

.btn-orange {
  background: var(--accent-orange);
  color: white;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
}

.btn-orange:hover {
  background: #ea580c;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(249, 115, 22, 0.3);
}

/* Hero Section */
.hero-gradient {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 50%, #bfdbfe 100%);
  position: relative;
  overflow: hidden;
}

body.dark-mode .hero-gradient {
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%);
}

/* Section Styles */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

body.dark-mode .section-title {
  color: #f9fafb;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.125rem;
  margin-bottom: 3rem;
}

/* Card Styles */
.card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

body.dark-mode .card {
  background: #374151;
}

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

/* Icon Styles */
.icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 2rem;
}

.icon-blue {
  background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
  color: var(--primary-blue);
}

.icon-orange {
  background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
  color: var(--accent-orange);
}

/* Program Cards */
.program-card {
  background: white;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  height: 100%;
}

body.dark-mode .program-card {
  background: #374151;
}

.program-card:hover {
  border-color: var(--primary-blue);
  transform: translateY(-8px);
}

.program-card.featured {
  border: 2px solid var(--primary-blue);
  position: relative;
}

.program-card.featured::before {
  content: "POPULAR";
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--primary-blue);
  color: white;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Mentor Cards */
.mentor-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

body.dark-mode .mentor-card {
  background: #374151;
}

.mentor-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.mentor-avatar {
  width: 120px;
  height: 140px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  object-fit: cover;
  object-position: center top;
  border: 4px solid var(--primary-blue);
}

/* Testimonial Cards */
.testimonial-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  position: relative;
}

body.dark-mode .testimonial-card {
  background: #374151;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 4rem;
  color: var(--primary-blue);
  opacity: 0.2;
  font-family: Georgia, serif;
}

/* Footer */
footer {
  background: #111827;
  color: #f9fafb;
  padding: 60px 0 30px;
}

footer a {
  color: #9ca3af;
  transition: color 0.3s ease;
  text-decoration: none;
}

footer a:hover {
  color: var(--primary-blue);
}

/* Dark Mode Toggle */
.dark-mode-toggle {
  background: var(--light-bg);
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.dark-mode-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body.dark-mode .dark-mode-toggle {
  background: #374151;
  color: #f9fafb;
}

/* Language Toggle */
#lang-toggle {
  display: flex;
  gap: 4px;
  background: var(--light-bg);
  border-radius: 8px;
  padding: 4px;
}

body.dark-mode #lang-toggle {
  background: #374151;
}

.lang-btn {
  background: transparent;
  border: none;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  opacity: 0.6;
}

.lang-btn:hover {
  transform: scale(1.15);
  opacity: 1;
}

.lang-btn.active {
  background: white;
  opacity: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

body.dark-mode .lang-btn.active {
  background: #1f2937;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 20px;
  z-index: 999;
}

body.dark-mode .mobile-menu {
  background: #374151;
}

.mobile-menu.active {
  display: block;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

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

body.dark-mode .hamburger span {
  background: #f9fafb;
}

/* Responsive */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .desktop-nav {
    display: none;
  }

  .section-title {
    font-size: 2rem;
  }

  .section {
    padding: 60px 0;
  }

  .program-card {
    margin-bottom: 2rem;
  }
}

/* Utility Classes */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary-blue) 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Checkmark List */
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  color: var(--text-light);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-blue);
  font-weight: bold;
  font-size: 1.2rem;
}

/* Social Icons */
.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary-blue);
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  background: var(--primary-blue);
  color: white;
  transform: translateY(-3px);
}

/* Form Styles */
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

body.dark-mode .form-input {
  background: #374151;
  border-color: #4b5563;
  color: #f9fafb;
}

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