/* Futuristic Animated Background */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

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

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(79, 70, 229, 0.6);
  }
}

body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(-45deg, #0f0f23, #1a1a2e, #16213e, #0f3460, #533483, #4f46e5);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  color: #e2e8f0;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Futuristic Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  background: rgba(15, 15, 35, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(79, 70, 229, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, #4f46e5, #7c3aed, #ec4899);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-decoration: none;
  transition: all 0.3s ease;
  animation: gradientShift 3s ease infinite;
}

.logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 20px rgba(79, 70, 229, 0.5));
}

.header nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.header nav a {
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  background: rgba(79, 70, 229, 0.1);
  border: 1px solid rgba(79, 70, 229, 0.2);
}

.header nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(79, 70, 229, 0.3), transparent);
  transition: left 0.5s;
}

.header nav a:hover::before {
  left: 100%;
}

.header nav a:hover {
  color: #ffffff;
  background: rgba(79, 70, 229, 0.3);
  border-color: rgba(79, 70, 229, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(79, 70, 229, 0.3);
}

/* Enhanced Dropdown */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  cursor: pointer;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(15, 15, 35, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  min-width: 220px;
  z-index: 1000;
  padding: 1rem 0;
  border: 1px solid rgba(79, 70, 229, 0.3);
  margin-top: 0;
}

.dropdown:hover .dropdown-menu,
.dropdown.active .dropdown-menu {
  display: block;
  animation: float 0.3s ease;
}

.dropdown-menu a {
  display: block;
  padding: 1rem 1.5rem;
  color: #e2e8f0;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 0;
  margin: 0;
  background: transparent;
  border: none;
}

.dropdown-menu a:hover {
  background: rgba(79, 70, 229, 0.2);
  color: #ffffff;
  transform: translateX(10px);
}

/* Main Content */
.main {
  max-width: 1400px;
  margin: 2rem auto;
  padding: 0 2rem;
}

/* Hero Section */
.hero {
  text-align: center;
  margin-bottom: 6rem;
  padding: 4rem 0;
  animation: float 6s ease-in-out infinite;
}

.hero h1 {
  font-size: 4.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff, #4f46e5, #7c3aed, #ec4899);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 30px rgba(79, 70, 229, 0.5);
  animation: gradientShift 4s ease infinite;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.6rem;
  color: rgba(226, 232, 240, 0.9);
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  font-weight: 400;
}

/* Enhanced CTA Button */
.cta {
  display: inline-block;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
  background-size: 200% 200%;
  color: #fff;
  padding: 1.25rem 3rem;
  border-radius: 3rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.4);
  transition: all 0.4s ease;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  animation: gradientShift 3s ease infinite, glow 2s ease-in-out infinite;
}

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

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

.cta:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 20px 40px rgba(79, 70, 229, 0.6);
}

/* Featured Section */
.featured h2 {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 3rem;
  text-align: center;
  font-weight: 800;
  text-shadow: 0 0 20px rgba(79, 70, 229, 0.5);
}

/* Enhanced Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.card {
  background: rgba(15, 15, 35, 0.6);
  backdrop-filter: blur(20px);
  border-radius: 2rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  padding: 3rem 2.5rem;
  transition: all 0.4s ease;
  border: 1px solid rgba(79, 70, 229, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #4f46e5, #7c3aed, #ec4899);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  background: rgba(15, 15, 35, 0.8);
  border-color: rgba(79, 70, 229, 0.4);
}

.card h3 {
  color: #ffffff;
  margin-top: 0;
  margin-bottom: 1.5rem;
  font-size: 1.6rem;
  font-weight: 700;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.card p {
  color: rgba(226, 232, 240, 0.8);
  line-height: 1.7;
  margin-bottom: 2rem;
  flex-grow: 1;
  font-size: 1.1rem;
}

.card-link {
  color: #4f46e5;
  text-decoration: none;
  font-weight: 600;
  padding: 1rem 2rem;
  border: 2px solid #4f46e5;
  border-radius: 2rem;
  transition: all 0.3s ease;
  text-align: center;
  display: inline-block;
  align-self: flex-start;
  background: rgba(79, 70, 229, 0.1);
  position: relative;
  overflow: hidden;
}

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

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

.card-link:hover {
  background: #4f46e5;
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.4);
}

/* Content Sections */
.intro {
  color: rgba(226, 232, 240, 0.9);
  margin-bottom: 3rem;
  font-size: 1.3rem;
  line-height: 1.7;
  background: rgba(15, 15, 35, 0.6);
  backdrop-filter: blur(20px);
  padding: 2rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(79, 70, 229, 0.2);
}

.steps {
  padding-left: 2rem;
  margin-bottom: 4rem;
}

.steps li {
  margin-bottom: 2.5rem;
  line-height: 1.8;
  font-size: 1.2rem;
  color: rgba(226, 232, 240, 0.9);
  background: rgba(15, 15, 35, 0.4);
  padding: 1.5rem;
  border-radius: 1rem;
  border-left: 4px solid #4f46e5;
  transition: all 0.3s ease;
}

.steps li:hover {
  background: rgba(15, 15, 35, 0.6);
  transform: translateX(10px);
}

.steps strong {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 700;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.steps ul {
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.steps ul li {
  margin-bottom: 0.75rem;
  color: rgba(226, 232, 240, 0.8);
  background: transparent;
  padding: 0.5rem 0;
  border-left: none;
}

.steps a {
  color: #fbbf24;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
  background: rgba(251, 191, 36, 0.1);
}

.steps a:hover {
  color: #f59e0b;
  background: rgba(251, 191, 36, 0.2);
  transform: translateY(-1px);
}

.back {
  display: inline-block;
  margin-bottom: 3rem;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.2rem;
  padding: 1rem 2rem;
  border-radius: 1rem;
  transition: all 0.3s ease;
  background: rgba(79, 70, 229, 0.2);
  border: 1px solid rgba(79, 70, 229, 0.3);
  font-weight: 600;
}

.back:hover {
  background: rgba(79, 70, 229, 0.3);
  transform: translateX(-10px);
  box-shadow: 0 10px 25px rgba(79, 70, 229, 0.3);
}

/* Enhanced Footer */
.footer {
  text-align: center;
  color: rgba(226, 232, 240, 0.7);
  font-size: 1.1rem;
  margin: 6rem 0 3rem 0;
  padding: 3rem 0;
  border-top: 1px solid rgba(79, 70, 229, 0.3);
  background: rgba(15, 15, 35, 0.4);
  backdrop-filter: blur(20px);
}

/* Supporting Pages Styles */
.about-content, .policy-content, .terms-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-section, .policy-section, .terms-section {
  margin-bottom: 3rem;
  background: rgba(15, 15, 35, 0.6);
  backdrop-filter: blur(20px);
  border-radius: 2rem;
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(79, 70, 229, 0.2);
  transition: all 0.3s ease;
}

.about-section:hover, .policy-section:hover, .terms-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.about-section h2, .policy-section h2, .terms-section h2 {
  color: #ffffff;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-section h3, .policy-section h3, .terms-section h3 {
  color: #ffffff;
  margin: 2rem 0 1rem 0;
  font-size: 1.4rem;
  font-weight: 600;
}

.about-section p, .policy-section p, .terms-section p {
  color: rgba(226, 232, 240, 0.9);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.about-section ul, .policy-section ul, .terms-section ul {
  color: rgba(226, 232, 240, 0.9);
  line-height: 1.8;
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.about-section li, .policy-section li, .terms-section li {
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.last-updated {
  color: rgba(226, 232, 240, 0.8);
  font-style: italic;
  margin-bottom: 3rem;
  text-align: center;
  font-size: 1.1rem;
}

/* Contact Page Styles */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.contact-info, .contact-form {
  background: rgba(15, 15, 35, 0.6);
  backdrop-filter: blur(20px);
  border-radius: 2rem;
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(79, 70, 229, 0.2);
}

.contact-methods {
  margin-top: 2rem;
}

.contact-method {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(79, 70, 229, 0.1);
  border-radius: 1rem;
  border: 1px solid rgba(79, 70, 229, 0.2);
  transition: all 0.3s ease;
}

.contact-method:hover {
  background: rgba(79, 70, 229, 0.2);
  transform: translateY(-3px);
}

.contact-method h3 {
  color: #ffffff;
  margin-bottom: 0.75rem;
  font-size: 1.2rem;
  font-weight: 600;
}

.contact-method a {
  color: #4f46e5;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.contact-method a:hover {
  color: #7c3aed;
  text-decoration: underline;
}

/* Enhanced Form Styles */
.form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.form-group input, .form-group select, .form-group textarea {
  padding: 1rem;
  border: 2px solid rgba(79, 70, 229, 0.3);
  border-radius: 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: rgba(15, 15, 35, 0.6);
  color: #ffffff;
  backdrop-filter: blur(10px);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
  background: rgba(15, 15, 35, 0.8);
}

.form-group input::placeholder, .form-group textarea::placeholder {
  color: rgba(226, 232, 240, 0.6);
}

.submit-btn {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #ec4899 100%);
  background-size: 200% 200%;
  color: white;
  padding: 1.25rem 2.5rem;
  border: none;
  border-radius: 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(79, 70, 229, 0.3);
  animation: gradientShift 3s ease infinite;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(79, 70, 229, 0.5);
}

/* Enhanced FAQ Section */
.faq-section {
  background: rgba(15, 15, 35, 0.6);
  backdrop-filter: blur(20px);
  border-radius: 2rem;
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(79, 70, 229, 0.2);
}

.faq-section h2 {
  color: #ffffff;
  margin-bottom: 3rem;
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #4f46e5, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.faq {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(79, 70, 229, 0.2);
  transition: all 0.3s ease;
}

.faq:hover {
  transform: translateX(10px);
}

.faq:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.faq h3 {
  color: #ffffff;
  margin-bottom: 1rem;
  font-size: 1.3rem;
  font-weight: 600;
}

.faq p {
  color: rgba(226, 232, 240, 0.9);
  line-height: 1.7;
  font-size: 1.1rem;
}

/* Course Database Styles */
.search-box {
  margin: 3rem 0;
  text-align: center;
}

.search-box input {
  width: 100%;
  max-width: 500px;
  padding: 1.25rem 2rem;
  border: 2px solid rgba(79, 70, 229, 0.3);
  border-radius: 2rem;
  font-size: 1.1rem;
  background: rgba(15, 15, 35, 0.6);
  color: #ffffff;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.search-box input:focus {
  outline: none;
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
  background: rgba(15, 15, 35, 0.8);
}

.search-box input::placeholder {
  color: rgba(226, 232, 240, 0.6);
}

.course-list {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.course-card {
  background: rgba(15, 15, 35, 0.6);
  backdrop-filter: blur(20px);
  border-radius: 1.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  padding: 2rem;
  width: 350px;
  transition: all 0.3s ease;
  border: 1px solid rgba(79, 70, 229, 0.2);
  position: relative;
  overflow: hidden;
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #4f46e5, #7c3aed, #ec4899);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

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

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  background: rgba(15, 15, 35, 0.8);
  border-color: rgba(79, 70, 229, 0.4);
}

.course-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #ffffff;
  font-weight: 700;
}

.course-desc {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: rgba(226, 232, 240, 0.8);
  line-height: 1.6;
}

.course-link {
  color: #4f46e5;
  text-decoration: none;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border: 2px solid #4f46e5;
  border-radius: 1.5rem;
  transition: all 0.3s ease;
  display: inline-block;
  background: rgba(79, 70, 229, 0.1);
}

.course-link:hover {
  background: #4f46e5;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
  .main {
    max-width: 100%;
    padding: 0 1rem;
  }
  .cards {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .card {
    padding: 2.5rem 2rem;
  }
  .header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
  }
  .header nav {
    margin-top: 1.5rem;
    gap: 1rem;
  }
  .header nav a {
    padding: 0.75rem 1.25rem;
    font-size: 1rem;
  }
  .hero h1 {
    font-size: 3rem;
  }
  .hero p {
    font-size: 1.3rem;
  }
  .featured h2 {
    font-size: 2rem;
  }
  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .about-section, .policy-section, .terms-section, .contact-info, .contact-form, .faq-section {
    padding: 2rem;
  }
  .course-list {
    flex-direction: column;
    align-items: center;
  }
  .course-card {
    width: 100%;
    max-width: 400px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
  .card {
    padding: 2rem 1.5rem;
  }
  .about-section, .policy-section, .terms-section, .contact-info, .contact-form, .faq-section {
    padding: 1.5rem;
  }
  .header nav {
    flex-direction: column;
    width: 100%;
  }
  .header nav a {
    text-align: center;
  }
} 