/* ============================================
   CodeWaleBaba - Main Stylesheet
   ============================================ */

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

:root {
  --primary-dark: #0f172a;
  --secondary-dark: #1e293b;
  --tertiary-dark: #334155;
  --cyan: #06b6d4;
  --cyan-light: #22d3ee;
  --blue: #3b82f6;
  --blue-dark: #1e40af;
  --purple: #a855f7;
  --text-light: #f1f5f9;
  --text-muted: #cbd5e1;
  --border-color: rgba(6, 182, 212, 0.3);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(135deg, #0f172a 0%, #1a1f3a 50%, #0f172a 100%);
  color: var(--text-light);
  line-height: 1.6;
  min-height: 100vh;
}

/* ============================================
   Typography
   ============================================ */

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  background: linear-gradient(135deg, #06b6d4, #3b82f6, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: 2.5rem;
  background: linear-gradient(135deg, #06b6d4, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h3 {
  font-size: 1.5rem;
  color: var(--text-light);
}

p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--cyan-light);
}

/* ============================================
   Navigation Bar
   ============================================ */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(90deg, #0f172a, #1e293b, #0f172a);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  padding: 1rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.logo-section:hover {
  opacity: 0.8;
}

.logo-section img {
  height: 2.5rem;
  width: 2.5rem;
  border-radius: 50%;
  object-fit: cover;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(90deg, #06b6d4, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: #cbd5e1;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--cyan);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.mobile-menu-btn:hover {
  color: var(--cyan);
}

/* ============================================
   Responsive Navigation
   ============================================ */

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: linear-gradient(180deg, #1e293b, #0f172a);
    padding: 1rem;
    gap: 0;
    border-top: 1px solid var(--border-color);
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(6, 182, 212, 0.1);
  }

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

/* ============================================
   Main Content Area
   ============================================ */

main {
  margin-top: 4rem;
  min-height: calc(100vh - 4rem);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: space-around;
  justify-content: center;
  overflow: hidden;
  padding-top: 4rem;
}

.hero-background {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  z-index: 0;
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  mix-blend-mode: multiply;
  animation: blob-animation 7s infinite;
}

.blob:nth-child(1) {
  width: 300px;
  height: 300px;
  background: #06b6d4;
  top: 80px;
  left: 40px;
  animation-delay: 0s;
}

.blob:nth-child(2) {
  width: 300px;
  height: 300px;
  background: #3b82f6;
  top: 160px;
  right: 40px;
  animation-delay: 2s;
}

.blob:nth-child(3) {
  width: 300px;
  height: 300px;
  background: #a855f7;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 4s;
}

@keyframes blob-animation {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  animation: fade-in 0.8s ease-out;
}

.hero-content h1 {
  font-size: 4rem;
  margin: 3.5rem;
  animation: fade-in 0.8s ease-out;
}

.hero-content span{
  font-size: 2rem;
  font-weight: bolder;
  animation: fade-in 0.8s ease-out;
  background: linear-gradient(135deg, #06b6d4, #3b82f6, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: cursive;
}

.hero-content p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  animation: fade-in 1.2s ease-out;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fade-in 1.6s ease-out;
}

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

/* ============================================
   Buttons
   ============================================ */

.btn {
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background: linear-gradient(90deg, #06b6d4, #3b82f6);
  color: #0f172a;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.5);
}

.btn-secondary {
  background: transparent;
  color: var(--cyan);
  border: 2px solid var(--cyan);
}

.btn-secondary:hover {
  background: var(--cyan);
  color: #0f172a;
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

/* ============================================
   Featured Course Banner
   ============================================ */

.featured-section {
  padding: 5rem 0;
  position: relative;
}

.featured-banner {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(51, 65, 85, 0.6));
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 4rem;
  overflow: hidden;
  position: relative;
}

.featured-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.featured-image {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.featured-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.featured-details h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.course-level {
  display: inline-block;
  background: var(--cyan);
  color: #0f172a;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.course-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.stat-value {
  color: var(--text-light);
  font-weight: 600;
  font-size: 1.125rem;
}

.rating {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.stars {
  display: flex;
  gap: 0.25rem;
}

.star {
  color: #fbbf24;
  font-size: 1rem;
}

.featured-footer {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}

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

.banner-nav {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.banner-nav button {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: var(--text-light);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.banner-nav button:hover {
  background: rgba(255, 255, 255, 0.4);
}

.banner-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--cyan);
  width: 2rem;
}

/* ============================================
   Statistics Section
   ============================================ */

.stats-section {
  padding: 4rem 0;
  background: rgba(30, 41, 59, 0.3);
  margin: 3rem 0;
}

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

.stat-card {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(59, 130, 246, 0.1));
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

.stat-card .number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}

.stat-card .label {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ============================================
   Courses Section
   ============================================ */

.courses-section {
  padding: 5rem 0;
}

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

.section-header h2 {
  margin-bottom: 1rem;
}

.filters {
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.search-box {
  width: 100%;
  padding: 1rem;
  background: var(--secondary-dark);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  color: var(--text-light);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.search-box:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
}

.filter-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.5rem;
  background: var(--secondary-dark);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  border-radius: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--cyan);
  color: #0f172a;
  border-color: var(--cyan);
}

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

.course-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(51, 65, 85, 0.6));
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.2);
  border-color: var(--cyan);
}

.course-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.course-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.course-level-badge {
  display: inline-block;
  background: var(--cyan);
  color: #0f172a;
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  width: fit-content;
}

.course-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.course-card:hover .course-title {
  color: var(--cyan);
}

.course-description {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.course-instructor {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.course-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
}

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

.course-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cyan);
}

/* ============================================
   Page Sections
   ============================================ */

.page-section {
  padding: 1rem 0;
}

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

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   Course Detail Page
   ============================================ */

.course-detail-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.course-detail-image {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.course-detail-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.course-detail-info h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cyan);
  margin-bottom: 2rem;
  transition: color 0.3s ease;
}

.back-link:hover {
  color: var(--cyan-light);
}

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

.outcome-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem;
  background: rgba(6, 182, 212, 0.1);
  border-radius: 0.5rem;
  border-left: 3px solid var(--cyan);
}

.outcome-item::before {
  content: "✓";
  color: var(--cyan);
  font-weight: bold;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.course-includes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.include-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.1), rgba(59, 130, 246, 0.1));
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
}

.include-item::before {
  content: "•";
  color: var(--cyan);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.curriculum {
  margin: 3rem 0;
}

.curriculum-module {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  overflow: hidden;
}

.module-header {
  padding: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  font-weight: 600;
}

.curriculum-module:hover .module-header {
  background: rgba(6, 182, 212, 0.1);
  color: var(--cyan);
}

.module-toggle {
  transition: transform 0.3s ease;
}

.module-toggle.open {
  transform: rotate(180deg);
}

.module-content {
  display: none;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
}

.module-content.open {
  display: block;
}

/* ============================================
   About Page
   ============================================ */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin: 3rem 0;
}

.about-image {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

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

.value-card {
  padding: 2rem;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(51, 65, 85, 0.6));
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

.value-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--cyan);
}

.value-card h3 {
  margin-bottom: 0.75rem;
}

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

.team-member {
  text-align: center;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(51, 65, 85, 0.6));
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.2);
}

.team-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid var(--cyan);
}

.team-member h3 {
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--cyan);
  font-weight: 600;
  font-size: 0.875rem;
}

/* ============================================
   Projects Page
   ============================================ */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.project-card {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(51, 65, 85, 0.6));
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 30px rgba(6, 182, 212, 0.2);
}

.project-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.project-card:hover .project-image {
  transform: scale(1.1);
}

.project-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.project-description {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  flex: 1;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.tech-tag {
  background: rgba(6, 182, 212, 0.2);
  color: var(--cyan);
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
}

.project-links {
  display: flex;
  gap: 1rem;
}

.project-links a {
  flex: 1;
  padding: 0.5rem;
  text-align: center;
  background: var(--cyan);
  color: #0f172a;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.project-links a:hover {
  background: var(--cyan-light);
  transform: translateY(-2px);
}

.project-links a.secondary {
  background: var(--secondary-dark);
  color: var(--text-light);
  border: 1px solid var(--border-color);
}

.project-links a.secondary:hover {
  background: var(--tertiary-dark);
  color: var(--cyan);
}

/* ============================================
   Contact Page
   ============================================ */

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

.contact-card {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(51, 65, 85, 0.6));
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.2);
}

.contact-icon {
  font-size: 2rem;
  color: var(--cyan);
  margin-bottom: 1rem;
}

.contact-card h3 {
  margin-bottom: 0.5rem;
}

.contact-card p {
  color: var(--text-muted);
}

.contact-form {
  max-width: 600px;
  margin: 3rem auto;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.8), rgba(51, 65, 85, 0.6));
  border: 1px solid var(--border-color);
  border-radius: 1rem;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  background: var(--secondary-dark);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  color: var(--text-light);
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.3);
}

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

.form-submit {
  width: 100%;
  padding: 1rem;
  background: linear-gradient(90deg, var(--cyan), var(--blue));
  color: #0f172a;
  border: none;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
}

.form-message {
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  display: none;
}

.form-message.success {
  display: block;
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid #22c55e;
  color: #86efac;
}

.faq-section {
  max-width: 800px;
  margin: 3rem auto;
}

.faq-item {
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  transition: all 0.3s ease;
}

.faq-item:hover .faq-question {
  background: rgba(6, 182, 212, 0.1);
  color: var(--cyan);
}

.faq-toggle {
  transition: transform 0.3s ease;
}

.faq-toggle.open {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
}

.faq-answer.open {
  display: block;
}

/* ============================================
   CTA Section
   ============================================ */

.cta-section {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(59, 130, 246, 0.2));
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 3rem;
  text-align: center;
  margin: 3rem 0;
}

.cta-section h2 {
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   Footer
   ============================================ */

footer {
  background: linear-gradient(90deg, #0f172a, #1e293b, #0f172a);
  border-top: 1px solid var(--border-color);
  padding: 3rem 0 1rem;
  margin-top: 5rem;
}

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

.footer-section h4 {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 1rem;
}

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

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

.footer-section a {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

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

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--cyan);
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .hero-content h1 {
    font-size: 4rem;
  }


  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 70%;
  }

  .featured-content {
    grid-template-columns: 1fr;
  }

  .course-detail-hero {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .courses-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}

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

  .nav-container {
    padding: 0 1rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero-content h1 {
    font-size: 3.5rem;
    
  }

  .hero-content p {
    font-size: 1rem;
    padding:45px;
  }

  .featured-banner {
    padding: 1.5rem;
  }

  .course-stats {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .filter-buttons {
    flex-direction: column;
  }

  .filter-btn {
    width: 100%;
  }

  .contact-form {
    padding: 1rem;
  }

  .cta-section {
    padding: 1.5rem;
  }
}
