/* --- MODERN DESIGN SYSTEM & VARIABLES --- */
:root {
  --primary-color: #3a7bd5;
  --secondary-color: #00d2ff;
  --accent-color: #ff7b54;
  --text-dark: #1a202c;
  --text-light: #718096;
  --bg-light: #f7fafc;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --card-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05),
    0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --card-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --gradient-primary: linear-gradient(135deg, #3a7bd5 0%, #00d2ff 100%);
  --gradient-accent: linear-gradient(135deg, #ff7b54 0%, #ffa15c 100%);
  --gradient-dark: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-white);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
  overflow: auto !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.2;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.placement-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

.placement-card {
  background: white;
  border-radius: 15px;
  padding: 30px 20px;
  text-align: center;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
}

.placement-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-primary);
}

.placement-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.placement-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 30px;
  transition: all 0.3s ease;
}

.placement-card:hover .placement-icon {
  transform: scale(1.1);
  background: var(--gradient-primary);
}

.placement-card h3 {
  font-weight: 600;
  margin-bottom: 15px;
  color: #2c3e50;
}

.placement-card p {
  color: #7f8c8d;
  line-height: 1.6;
}

.placement-card b {
  color: #3498db;
  font-weight: 600;
}

/* Animation for reveal effect */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .placement-card {
    margin-bottom: 30px;
  }
}
.section-tag {
  display: inline-block;
  background: var(--gradient-accent);
  color: white;
  padding: 10px 25px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(255, 123, 84, 0.3);
}

.section-header h2 {
  font-size: clamp(2.5rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: 20px;
}

.accent-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-header p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-light);
}

/* --- ENHANCED HERO SECTION --- */
.courses-hero {
  background: var(--gradient-primary);
  padding: 160px 0 120px;
  overflow: hidden;
  position: relative;
  margin-top: 70px; /* Assuming header height */
}

.courses-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: clamp(2.8rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 25px;
  color: #ffffff;
}

.hero-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: 35px;
}

.hero-image {
  flex: 1;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  animation: float 6s ease-in-out infinite;
}

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

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-button {
  background: var(--gradient-accent);
  color: #fff;
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 123, 84, 0.3);
  display: inline-block;
  border: none;
  cursor: pointer;
}

.cta-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 7px 20px rgba(255, 123, 84, 0.4);
}

.cta-button.secondary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: rgba(255, 255, 255, 0.9);
  box-shadow: none;
}

.cta-button.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

/* --- ENHANCED CATEGORIES SECTION --- */
.categories-section {
  background-color: var(--bg-light);
}

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

.category-card {
  background: white;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: var(--card-shadow);
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
  transform-origin: left;
}

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

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--card-shadow-hover);
}

.category-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: white;
  font-size: 2rem;
  transition: all 0.4s ease;
  box-shadow: 0 10px 20px rgba(58, 123, 213, 0.2);
}

.category-card:hover .category-icon {
  background: var(--gradient-accent);
  transform: rotate(10deg) scale(1.1);
}

.category-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}
.category-card p {
  font-size: 1rem;
}

/* --- ENHANCED COURSES SECTION --- */
.courses-section {
  background-color: var(--bg-white);
}

.courses-filter {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 50px;
}

.filter-btn {
  background: white;
  border: 1px solid var(--border-color);
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  box-shadow: 0 6px 15px rgba(58, 123, 213, 0.3);
}

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

.course-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.4s ease;
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--card-shadow-hover);
}

.course-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}
.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.course-card:hover .course-image img {
  transform: scale(1.08);
}

.course-category {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--gradient-accent);
  color: white;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(255, 123, 84, 0.3);
}

.course-content {
  padding: 30px;
}
.course-content h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}
.course-content p {
  margin-bottom: 25px;
  font-size: 0.95rem;
}

.course-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
  font-size: 0.9rem;
}
.course-duration,
.course-level {
  display: flex;
  align-items: center;
  gap: 8px;
}
.course-duration i,
.course-level i {
  color: var(--primary-color);
}

.course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.course-price {
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--primary-color);
}
.course-price s {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-right: 8px;
}

.course-cta {
  background: var(--gradient-primary);
  color: white;
  padding: 10px 22px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(58, 123, 213, 0.3);
}
.course-cta:hover {
  background: var(--gradient-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 123, 84, 0.3);
}

/* --- ENHANCED STATS SECTION --- */
.stats-section {
  background: var(--gradient-dark);
  color: white;
  position: relative;
}

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

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.stat-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: white;
  font-size: 1.8rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.stat-value {
  font-size: 2.8rem;
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 15px;
}

.stat-label {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
}

/* --- ENHANCED LEARNING PATHS SECTION --- */
.learning-paths-section {
  background-color: var(--bg-light);
  padding-top: 150px;
  padding-bottom: 150px;
}

.paths-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.path-card-modern {
  background: white;
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 40px 30px;
  border: 1px solid var(--border-color);
}

.path-card-modern:hover {
  transform: translateY(-15px);
  box-shadow: 0 0 40px rgba(58, 123, 213, 0.2);
}

.path-icon {
  width: 90px;
  height: 90px;
  margin: 0 auto 30px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  box-shadow: 0 10px 20px rgba(58, 123, 213, 0.25);
}

.path-content {
  flex-grow: 1; /* Allows footer to be pushed down */
}

.path-card-modern h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.path-card-modern p {
  font-size: 1rem;
  margin-bottom: 30px;
  color: var(--text-light);
}

.path-skills-title {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 15px;
  font-size: 1.1rem;
  text-align: left;
}

.path-courses {
  list-style: none;
  margin-bottom: 30px;
  text-align: left;
}

.path-courses li {
  padding: 8px 0;
  position: relative;
  padding-left: 30px;
  color: var(--text-light);
}

.path-courses li::before {
  content: "\f00c"; /* Font Awesome check icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 12px;
  color: var(--accent-color);
  font-size: 1rem;
}

.path-footer {
  margin-top: auto; /* Pushes the button to the bottom */
  padding-top: 20px;
}

/* --- ENHANCED TESTIMONIALS SECTION --- */
.testimonials-section {
  background-color: var(--bg-white);
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 35px;
}

.testimonial-card {
  background-color: var(--bg-light);
  border-radius: 16px;
  padding: 40px 35px;
  height: 100%;
  box-shadow: var(--card-shadow);
  position: relative;
  transition: all 0.4s ease;
}

.testimonial-card:hover {
  transform: scale(1.03);
  box-shadow: var(--card-shadow-hover);
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 5rem;
  color: rgba(58, 123, 213, 0.1);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 30px;
  color: var(--text-dark);
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
}
.testimonial-author img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 20px;
  object-fit: cover;
  border: 3px solid var(--primary-color);
}
.testimonial-author h4 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--primary-color);
}
.testimonial-author p {
  margin: 0;
  font-size: 0.9rem;
}

/* --- ENHANCED FAQ SECTION --- */
.faq-section {
  background-color: var(--bg-light);
}
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}
.faq-item.active {
  box-shadow: var(--card-shadow-hover);
}

.faq-question {
  background: white;
  padding: 20px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-dark);
  transition: all 0.3s ease;
}
.faq-question:hover {
  color: var(--primary-color);
}

.faq-question i {
  transition: transform 0.3s ease;
  color: var(--primary-color);
}
.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease-in-out;
  background: white;
}
.faq-item.active .faq-answer {
  padding: 0 30px 25px;
  max-height: 500px;
}

/* --- ENHANCED CTA SECTION --- */
.cta-section {
  background: var(--gradient-dark);
  border-radius: 20px;
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(45, 55, 72, 0.3);
}

.cta-section h2 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 20px;
}
.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 30px;
}

/* --- ANIMATION & RESPONSIVE --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .section-padding {
    padding: 80px 0;
  }
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  .hero-buttons {
    justify-content: center;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .courses-hero {
  }
  .stats-section {
  }
}
@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}
