.hero-section {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  position: relative;
  overflow: visible;
  /* Changed from hidden to allow tooltips to show if near edge */
  background: linear-gradient(180deg, #F9F9FA 0%, #FFFFFF 100%);
  padding-top: 80px;
  /* Added padding to prevent overlapping with navbar */
}

body.dark-mode .hero-section {
  background: var(--bg-white);
  /* Use global dark background */
}

.hero-content {
  max-width: 700px;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  line-height: 1.2;
}

.hero-content h1 span {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.hero-search {
  display: flex;
  gap: 12px;
  max-width: 500px;
}

.hero-search input {
  flex: 1;
  padding: 14px 20px;
  border: 1px solid #E0E0E0;
  border-radius: var(--border-radius);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
}

.hero-search input:focus {
  outline: none;
  border-color: var(--brand-pink);
}

/* Mobile adjustments for floating icons are at bottom of file */
.floating-tech-symbols {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.tech-symbol {
  position: absolute;
  bottom: -20%;
  /* Start below screen */
  left: var(--left);
  /* Use variable for position */
  font-size: 3rem;
  opacity: 0.5;
  /* Increased opacity for much clearer visibility */
  filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
  /* Glow effect for brightness */
  animation: rise 25s infinite linear;
  /* Continuous rising, slowed down from 15s */
  animation-delay: var(--delay);
}

/* Icon Colors */
.tech-symbol .fa-python {
  color: #3776AB;
}

.tech-symbol .fa-js {
  color: #F7DF1E;
}

.tech-symbol .fa-react {
  color: #61DAFB;
}

.tech-symbol .fa-java {
  color: #007396;
}

.tech-symbol .fa-html5 {
  color: #E34F26;
}

.tech-symbol .fa-css3-alt {
  color: #1572B6;
}

.tech-symbol .fa-node-js {
  color: #339933;
}

.tech-symbol .fa-database {
  color: #4DB33D;
}

.tech-symbol .fa-aws {
  color: #FF9900;
}

.tech-symbol .fa-docker {
  color: #2496ED;
}

.tech-symbol .fa-angular {
  color: #DD0031;
}

.tech-symbol .fa-vuejs {
  color: #4FC08D;
}

.tech-symbol .fa-git-alt {
  color: #F05032;
}

.tech-symbol .fa-linux {
  color: #FCC624;
}

.tech-symbol .fa-android {
  color: #3DDC84;
}

.tech-symbol .fa-apple {
  color: #555555;
}

.tech-symbol .fa-google {
  color: #4285F4;
}

.tech-symbol .fa-code {
  color: #666666;
}

.tech-symbol .fa-swift {
  color: #F05138;
}

.tech-symbol .fa-php {
  color: #777BB4;
}

@keyframes rise {
  0% {
    bottom: -20%;
    transform: translateX(0) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 0.5;
    /* Quickly fade in to full brightness */
  }

  90% {
    opacity: 0.5;
    /* Stay bright until the end */
  }

  100% {
    bottom: 110%;
    /* Move above screen */
    transform: translateX(100px) rotate(360deg);
    /* Drift right and rotate */
    opacity: 0;
    /* Fade out at very top */
  }
}

/* Remove old manual positioning since we use --left now */
.tech-symbol:nth-child(n) {
  top: auto;
  right: auto;
}

/* Mobile adjustments for floating tech icons */
@media (max-width: 768px) {
  .floating-tech-symbols {
    z-index: 0;
    /* Behind hero content on mobile */
  }

  .tech-symbol {
    font-size: 2rem;
    /* Smaller icons on mobile */
    opacity: 0.35;
    /* Slightly more transparent */
  }
}

@media (max-width: 480px) {
  .tech-symbol {
    font-size: 1.5rem;
    /* Even smaller on very small screens */
    opacity: 0.3;
  }
}



.stats-section {
  background-color: var(--bg-white);
}

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

.stat-card {
  text-align: center;
  padding: 32px 24px;
}

.stat-card h2 {
  font-size: 3rem;
  color: var(--brand-orange);
  margin-bottom: 0.5rem;
}

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

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.popular-courses h2,
.why-lastprep h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}

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

.course-card {
  padding: 0;
  overflow: hidden;
}

@media (min-width: 968px) {
  .hero-section .container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 40px;
  }
}

.hero-image-wrapper {
  position: relative;
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}

.hero-image-wrapper img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  transform: rotate(2deg);
  transition: transform 0.3s ease;
}

.hero-image-wrapper:hover img {
  transform: rotate(0deg) scale(1.02);
}

.course-banner {
  height: 200px;
  width: 100%;
  overflow: hidden;
}

.course-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-card:hover .course-banner img {
  transform: scale(1.05);
}

.cta-section {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center;
  color: white;
}

.cta-card {
  background: var(--primary-gradient);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
}

.cta-card h2 {
  color: white;
}

.cta-card p {
  color: rgba(255, 255, 255, 0.9);
}

.course-content {
  padding: 24px;
}

.course-tags {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.tag {
  background-color: var(--bg-secondary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--text-primary);
  font-weight: 500;
}

.rating {
  color: #FFA500;
  font-size: 0.9rem;
}

.course-content h3 {
  margin-bottom: 12px;
}

.course-content p {
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.course-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

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

.feature-card {
  text-align: center;
  padding: 40px 24px;
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  margin-bottom: 12px;
  color: var(--brand-purple);
}

.feature-card p {
  color: var(--text-secondary);
}

/* Must Explore Section - Refined Pro Layout */
.must-explore-section {
  padding: 80px 0;
  position: relative;
}

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

.must-explore-header h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: var(--brand-purple);
}

/* Must Explore Grid Update */
.must-explore-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  padding: 10px;
}

/* Card 6: Workshops (Purple/Blue) - Pulse Animation */
.explore-card:nth-child(6) {
  border-top: 4px solid #8e44ad;
  background: rgba(142, 68, 173, 0.04);
}

.explore-card:nth-child(6):hover {
  box-shadow: 0 10px 20px rgba(142, 68, 173, 0.15);
  border-color: rgba(142, 68, 173, 0.3);
  background: rgba(142, 68, 173, 0.08);
}

.explore-card:nth-child(6) .explore-icon-wrapper svg {
  stroke: #8e44ad;
  animation: pulse-icon 2.5s ease-in-out infinite;
}

.explore-card:nth-child(6):hover .explore-icon-wrapper {
  background: linear-gradient(135deg, #8e44ad, #3498db);
  box-shadow: 0 5px 15px rgba(142, 68, 173, 0.4);
}

body.dark-mode .explore-card:nth-child(6) .explore-icon-wrapper svg {
  stroke: #9b59b6;
  /* Bright Purple */
}

/* Responsive Update */
@media (max-width: 1200px) {
  .must-explore-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .must-explore-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .must-explore-grid {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin: 0 auto;
  }
}

.cta-section {
  background-color: var(--bg-secondary);
}

/* Testimonials & Outcomes */
.section-header-center {
  text-align: center;
  margin-bottom: 50px;
}

.section-title-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-size: 2.5rem;
}

.trophy-icon {
  color: #DAA520;
  /* Gold color */
}

.highlight-blue {
  color: #4169E1;
  /* Royal Blue */
}

.testimonials-grid-new {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 20px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  /* Hide scrollbar */
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE 10+ */
}

.testimonials-grid-new::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari/Webkit */
}

.outcome-card {
  flex: 0 0 350px;
  /* Fixed width cards */
  scroll-snap-align: start;
  background: var(--bg-primary);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.outcome-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.verified-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(34, 197, 94, 0.1);
  color: #16a34a;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.rating-stars {
  color: #fbbf24;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.quote-icon-large {
  font-size: 1.5rem;
  color: rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
}

.outcome-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.outcome-profile {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: auto;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 20px;
}

.profile-avatar-placeholder {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.2rem;
}

.profile-avatar-placeholder.blue-bg {
  background: rgba(59, 130, 246, 0.1);
  color: #3b82f6;
}

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

.profile-info span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.testimonials-carousel-container {
  position: relative;
  display: flex;
  align-items: center;
}

.testimonial-nav {
  background: var(--bg-primary);
  border: 1px solid rgba(0, 0, 0, 0.1);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
  transition: all 0.2s ease;
  z-index: 2;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.testimonial-nav:hover {
  background: var(--brand-purple);
  color: white;
  border-color: var(--brand-purple);
}

.testimonial-nav.prev {
  left: -20px;
}

.testimonial-nav.next {
  right: -20px;
}

@media (max-width: 768px) {
  .testimonial-nav {
    display: none;
  }
}

/* Industry Support Section */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.mentor-endorsement-card {
  background: var(--bg-primary);
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mentor-endorsement-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6);
}

.mentor-endorsement-card:hover {
  transform: translateY(-5px);
}

.mentor-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.mentor-icon-placeholder {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #0ea5e9;
  box-shadow: inset 0 2px 4px 0 rgba(255, 255, 255, 0.6);
}

.mentor-details {
  flex-grow: 1;
}

.mentor-name-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.mentor-details h4 {
  font-size: 1.1rem;
  margin: 0;
  color: var(--text-primary);
  font-weight: 700;
}

.mentor-role {
  font-size: 0.9rem;
  color: #6366f1;
  /* Indigo */
  font-weight: 600;
  margin: 0;
}

.mentor-company {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
}

.linkedin-icon {
  color: #0077b5;
  font-size: 1.2rem;
}

.quote-icon-blue {
  color: rgba(59, 130, 246, 0.2);
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.endorsement-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 20px;
}

.card-footer-tags {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.tag-pill {
  background: rgba(59, 130, 246, 0.1);
  color: #2563eb;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
}

.expert-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Dark Mode Overrides for Mentors */
body.dark-mode .mentor-endorsement-card {
  background: var(--bg-primary);
  border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .mentor-icon-placeholder {
  background: rgba(14, 165, 233, 0.2);
  color: #38bdf8;
  box-shadow: none;
}

body.dark-mode .mentor-details h4 {
  color: var(--text-primary);
}

body.dark-mode .mentor-role {
  color: var(--brand-purple-light);
}

body.dark-mode .mentor-company {
  color: var(--text-secondary);
}

body.dark-mode .card-footer-tags {
  border-color: var(--border-color);
}

body.dark-mode .tag-pill {
  background-color: rgba(139, 92, 246, 0.2);
  color: var(--brand-purple-light);
}

body.dark-mode .expert-label {
  color: var(--text-secondary);
}

body.dark-mode .endorsement-text {
  color: var(--text-secondary);
}

/* =========================================
   Why Choose Section Styles (Added to Home)
   ========================================= */

.why-choose-section {
  padding: 60px 0;
  background-color: var(--bg-white);
  position: relative;
  overflow: hidden;
  margin-top: 40px;
}

.why-choose-section h2 {
  color: var(--brand-purple, #9b59b6);
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.choose-card {
  background: var(--bg-primary);
  border: 1px solid #eee;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.choose-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.choose-card.highlight {
  border: 1px solid #FF7A00;
  /* Orange/Pink border */
  box-shadow: 0 4px 25px rgba(232, 67, 147, 0.15);
  /* Pinkish shadow */
  position: relative;
}

.choose-card.highlight::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 20px;
  box-shadow: inset 0 0 20px rgba(232, 67, 147, 0.05);
  pointer-events: none;
}

.choose-icon {
  font-size: 3rem;
  margin-bottom: 10px;
  display: inline-block;
  background: linear-gradient(135deg, #FF7A00, #E84393);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Fallback for icon color if gradient text fails */
  color: #E84393;
}

.choose-card h3 {
  font-size: 1.5rem;
  color: var(--brand-purple, #9b59b6);
  font-weight: 700;
  margin: 0;
}

.choose-card p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px) {
  .why-choose-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}

.explore-card {
  background: var(--bg-white);
  border: 1px solid transparent;
  border-radius: 20px;
  padding: 15px 10px;
  /* Compact Padding */
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  /* Compact Gap */
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: visible;
  min-height: 140px;
  /* Compact Min-Height */
}

body.dark-mode .explore-card {
  background: var(--card-bg);
  /* Solid Dark Background */
  box-shadow: var(--shadow-md);
  border-color: var(--border-color);
}

/* Remove colored backgrounds in Dark Mode to prevent "muddy" look */
body.dark-mode .explore-card:nth-child(n) {
  background: var(--card-bg);
}

body.dark-mode .explore-card:nth-child(n):hover {
  background: #1e293b;
  /* Slightly lighter dark on hover */
  border-color: inherit;
  /* Keep the accent border color */
}

/* Ensure Text is Bright in Dark Mode */
body.dark-mode .explore-card h3 {
  color: #f8fafc;
}

/* Ensure Icons visually pop in Dark Mode */
body.dark-mode .explore-icon-wrapper {
  background: rgba(255, 255, 255, 0.1);
  /* Glassy dark mode icon bg */
}

body.dark-mode .explore-icon-wrapper svg {
  stroke: #ffffff;
  /* White icons for contrast */
}

body.dark-mode .explore-card:nth-child(1) .explore-icon-wrapper svg {
  stroke: #60a5fa;
  /* Bright Blue */
}

body.dark-mode .explore-card:nth-child(2) .explore-icon-wrapper svg {
  stroke: #f472b6;
  /* Bright Pink */
}

body.dark-mode .explore-card:nth-child(3) .explore-icon-wrapper svg {
  stroke: #2dd4bf;
  /* Bright Teal */
}

body.dark-mode .explore-card:nth-child(4) .explore-icon-wrapper svg {
  stroke: #fbbf24;
  /* Bright Yellow */
}

body.dark-mode .explore-card:nth-child(5) .explore-icon-wrapper svg {
  stroke: #a78bfa;
  /* Bright Violet */
}

/* Card Decorative Background */
.explore-card::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.explore-card:hover::after {
  opacity: 1;
}

.explore-card h3 {
  font-size: 1rem;
  /* Compact Font */
  font-weight: 700;
  margin: 0;
  color: var(--text-primary);
  z-index: 2;
}

.explore-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.4;
  z-index: 2;
  flex-grow: 1;
  display: flex;
  align-items: center;
}

.explore-icon-wrapper {
  width: 40px;
  /* Compact Size */
  height: 40px;
  /* Compact Size */
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 2;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.05);
  margin: 0 auto;
}

.explore-icon-wrapper svg {
  width: 20px;
  /* Compact Icon */
  height: 20px;
  /* Compact Icon */
  stroke: var(--brand-purple);
  stroke-width: 2;
  fill: none;
  transition: stroke 0.3s ease;
}

/* Hover State - Reduced movement for compact cards */
.explore-card:hover {
  transform: translateY(-5px);
}

.explore-card:hover .explore-icon-wrapper svg {
  stroke: white;
}

/* --- Animations --- */

@keyframes float-icon {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes pulse-icon {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15);
  }
}

@keyframes wiggle-icon {

  0%,
  100% {
    transform: rotate(-5deg);
  }

  50% {
    transform: rotate(5deg);
  }
}

@keyframes bounce-icon {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-4px);
  }
}

/* Individual Card Colors & Animations */

/* Card 1: Roadmaps (Blue/Violet) - Float Animation */
.explore-card:nth-child(1) {
  border-top: 4px solid #4361ee;
  background: rgba(67, 97, 238, 0.04);
}

.explore-card:nth-child(1):hover {
  box-shadow: 0 10px 20px rgba(67, 97, 238, 0.15);
  border-color: rgba(67, 97, 238, 0.3);
  background: rgba(67, 97, 238, 0.08);
}

.explore-card:nth-child(1) .explore-icon-wrapper svg {
  stroke: #4361ee;
  animation: float-icon 3s ease-in-out infinite;
}

.explore-card:nth-child(1):hover .explore-icon-wrapper {
  background: linear-gradient(135deg, #4361ee, #7209b7);
  box-shadow: 0 5px 15px rgba(67, 97, 238, 0.4);
}

/* Card 2: Courses (Pink/Red) - Pulse Animation */
.explore-card:nth-child(2) {
  border-top: 4px solid #f72585;
  background: rgba(247, 37, 133, 0.04);
}

.explore-card:nth-child(2):hover {
  box-shadow: 0 10px 20px rgba(247, 37, 133, 0.15);
  border-color: rgba(247, 37, 133, 0.3);
  background: rgba(247, 37, 133, 0.08);
}

.explore-card:nth-child(2) .explore-icon-wrapper svg {
  stroke: #f72585;
  animation: pulse-icon 2s ease-in-out infinite;
}

.explore-card:nth-child(2):hover .explore-icon-wrapper {
  background: linear-gradient(135deg, #f72585, #b5179e);
  box-shadow: 0 5px 15px rgba(247, 37, 133, 0.4);
}

/* Card 3: Projects (Green/Teal) - Wiggle Animation */
.explore-card:nth-child(3) {
  border-top: 4px solid #4cc9f0;
  background: rgba(76, 201, 240, 0.04);
}

.explore-card:nth-child(3):hover {
  box-shadow: 0 10px 20px rgba(76, 201, 240, 0.15);
  border-color: rgba(76, 201, 240, 0.3);
  background: rgba(76, 201, 240, 0.08);
}

.explore-card:nth-child(3) .explore-icon-wrapper svg {
  stroke: #4cc9f0;
  animation: wiggle-icon 2.5s ease-in-out infinite;
}

.explore-card:nth-child(3):hover .explore-icon-wrapper {
  background: linear-gradient(135deg, #4cc9f0, #4895ef);
  box-shadow: 0 5px 15px rgba(76, 201, 240, 0.4);
}

/* Card 4: Internships (Orange/Yellow) - Bounce Animation */
.explore-card:nth-child(4) {
  border-top: 4px solid #fb8500;
  background: rgba(251, 133, 0, 0.04);
}

.explore-card:nth-child(4):hover {
  box-shadow: 0 10px 20px rgba(251, 133, 0, 0.15);
  border-color: rgba(251, 133, 0, 0.3);
  background: rgba(251, 133, 0, 0.08);
}

.explore-card:nth-child(4) .explore-icon-wrapper svg {
  stroke: #fb8500;
  animation: bounce-icon 2s ease-in-out infinite;
}

.explore-card:nth-child(4):hover .explore-icon-wrapper {
  background: linear-gradient(135deg, #fb8500, #ffb703);
  box-shadow: 0 5px 15px rgba(251, 133, 0, 0.4);
}

/* Card 5: Workshops (Violet/Purple) - Pulse Animation */
.explore-card:nth-child(5) {
  border-top: 4px solid #8338ec;
  background: rgba(131, 56, 236, 0.04);
}

.explore-card:nth-child(5):hover {
  box-shadow: 0 10px 20px rgba(131, 56, 236, 0.15);
  border-color: rgba(131, 56, 236, 0.3);
  background: rgba(131, 56, 236, 0.08);
}

.explore-card:nth-child(5) .explore-icon-wrapper svg {
  stroke: #8338ec;
  animation: pulse-icon 2.5s ease-in-out infinite;
}

.explore-card:nth-child(5):hover .explore-icon-wrapper {
  background: linear-gradient(135deg, #8338ec, #3a86ff);
  box-shadow: 0 5px 15px rgba(131, 56, 236, 0.4);
}

/* Responsive Grid */
@media (max-width: 1024px) {
  .must-explore-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .must-explore-grid {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin: 0 auto;
  }
}

.cta-section {
  background-color: var(--bg-secondary);
}

/* Testimonials & Outcomes */
.section-header-center {
  text-align: center;
  margin-bottom: 50px;
}

.section-title-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  font-size: 2.5rem;
}

.trophy-icon {
  color: #DAA520;
  /* Gold color */
}

.highlight-blue {
  color: #4169E1;
  /* Royal Blue */
}

.testimonials-grid-new {
  display: flex;
  overflow-x: auto;
  gap: 24px;
  padding: 40px 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  /* Hide scrollbar for cleaner look, users can swipe */
  scrollbar-width: none;
}

.testimonials-grid-new::-webkit-scrollbar {
  display: none;
}

.outcome-card {
  min-width: 340px;
  max-width: 340px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 32px;
  position: relative;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-bottom: 4px solid var(--brand-pink);
  /* Added accent border */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Dark Mode Overrides for Outcome Card */
body.dark-mode .outcome-card {
  background: rgba(30, 30, 30, 0.85);
  /* Darker, less transparent for readability */
  border-color: rgba(255, 255, 255, 0.1);
  border-bottom-color: var(--brand-pink);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

body.dark-mode .outcome-card:hover {
  background: rgba(40, 40, 40, 0.95);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3);
}

body.dark-mode .outcome-text {
  color: #e0e0e0;
}

body.dark-mode .profile-info h4 {
  color: #ffffff;
}

body.dark-mode .profile-info span {
  color: #b0b0b0;
}

/* Remove the old top gradient bar */
.outcome-card::before {
  display: none;
}

.outcome-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  border-color: var(--brand-pink);
}

.verified-badge {
  position: absolute;
  top: 24px;
  right: 24px;
  background-color: rgba(232, 67, 147, 0.1);
  color: var(--brand-pink);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: none;
  margin: 0;
  top: auto;
  right: auto;
  /* Resetting position to flow naturally in header or keep separate */
  position: relative;
  align-self: flex-start;
  margin-bottom: 16px;
}

.rating-stars {
  color: #FFC107;
  font-size: 1rem;
  margin-bottom: 20px;
  display: inline-block;
  margin-left: 15px;
}

.quote-icon-large {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 4rem;
  color: var(--brand-violet);
  opacity: 0.05;
  top: auto;
  pointer-events: none;
}

.outcome-text {
  position: relative;
  color: var(--text-primary);
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 12px 0 24px 0;
  font-weight: 400;
  min-height: 80px;
  /* Adjusted min-height */
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
}

.outcome-profile {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid #f0f0f0;
  padding-top: 20px;
}

.profile-avatar-placeholder {
  width: 44px;
  height: 44px;
  background: var(--icon-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.profile-info h4 {
  margin: 0;
  font-size: 1rem;
  color: #333;
}

.profile-info span {
  font-size: 0.85rem;
  color: #777;
}



/* Industry Support Section */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
}

.mentor-endorsement-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  border: 1px solid #e5e7eb;
  position: relative;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mentor-endorsement-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--brand-orange);
}

.mentor-header {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.mentor-img {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  object-fit: cover;
}

.mentor-details {
  flex: 1;
}

.mentor-details h4 {
  margin: 0 0 5px 0;
  font-size: 1.1rem;
  color: #111;
  font-weight: 700;
}

.mentor-role {
  margin: 0;
  color: #2563EB;
  font-weight: 500;
  font-size: 0.9rem;
}

.mentor-company {
  margin: 0;
  color: #6B7280;
  font-size: 0.9rem;
}

.linkedin-icon {
  color: #0077b5;
  font-size: 1.5rem;
}

.quote-icon-blue {
  color: #93C5FD;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.endorsement-text {
  color: #4B5563;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 20px;
}

.card-footer-tags {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #f0f0f0;
  padding-top: 15px;
}

.tag-pill {
  background-color: #E0E7FF;
  color: #3730A3;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.expert-label {
  color: #6B7280;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .industry-grid {
    grid-template-columns: 1fr;
  }
}

.cta-card {
  text-align: center;
  padding: 60px 40px;
  background: var(--primary-gradient);
  color: white;
  border: none;
}

.cta-card h2 {
  color: white;
  margin-bottom: 16px;
}

.cta-card p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
  font-size: 1.1rem;
}

.cta-card .btn {
  background-color: white;
  color: var(--brand-pink);
}

.cta-card .btn:hover {
  background-color: var(--bg-secondary);
  transform: translateY(-2px);
}

@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-section {
    padding-top: 100px;
    /* Increased to prevent navbar overlapping */
    align-items: flex-start;
    /* Better for mobile hero */
  }

  .stat-card h2 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {

  /* Fix for Jumbled Header Text */
  .section-title-icon {
    flex-wrap: wrap;
    flex-direction: column;
    gap: 10px;
    text-align: center;
    line-height: 1.3;
  }

  .section-title-icon i {
    margin-bottom: 5px;
  }

  .hero-section {
    padding-top: 100px;
    padding-bottom: 40px;
    height: auto;
    min-height: auto;
  }

  .hero-content {
    text-align: center;
    margin: 0 auto 40px auto;
    padding: 0 20px !important;
    /* Extra padding to prevent border touch */
    width: 100%;
    box-sizing: border-box;
  }

  .hero-content h1 {
    font-size: 2rem !important;
    /* Reduced from 2.5rem */
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  /* Stats Section: 2 Columns on Mobile */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-card {
    padding: 20px 10px;
  }

  .stat-card h2 {
    font-size: 2rem;
  }

  .hero-search {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
  }

  .hero-search input {
    width: 100%;
    padding: 10px 15px;
    font-size: 0.9rem;
  }

  .hero-search button {
    width: 100%;
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* FAQ Section */
.faq-section {
  background-color: var(--bg-white);
  padding: 80px 0;
}

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

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid #e0e0e0;
  overflow: hidden;
  transition: var(--transition);
}

body.dark-mode .faq-item {
  background: var(--card-bg);
  border-color: var(--border-color);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--brand-purple);
}

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(123, 44, 191, 0.1);
  border-radius: 50%;
  color: var(--brand-purple);
  transition: transform 0.3s ease, background 0.3s ease;
}

.faq-item.active .faq-question {
  color: var(--brand-purple);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--brand-purple);
  color: white;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 24px;
}

.faq-answer p {
  padding-bottom: 24px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.faq-answer a {
  color: var(--brand-pink);
  font-weight: 500;
  text-decoration: underline;
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}



/* Industry-Relevant Courses Title Coloring */
.popular-courses .course-card h3 {
  color: rgb(12, 120, 158);
}

/* Testimonial Carousel Navigation */
.testimonials-carousel-container {
  display: flex;
  align-items: center;
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials-grid-new {
  flex: 1;
  /* Ensure it takes available space */
  scroll-behavior: smooth;
  /* Smooth scrolling for JS */
  padding-left: 10px;
  /* Slight padding buffer */
  padding-right: 10px;
}

.testimonial-nav {
  background: var(--bg-white);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text-primary);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.testimonial-nav:hover {
  background: var(--brand-purple);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 8px 16px rgba(124, 58, 237, 0.3);
}

.testimonial-nav.prev {
  margin-right: 10px;
}

.testimonial-nav.next {
  margin-left: 10px;
}

body.dark-mode .testimonial-nav {
  background: var(--card-bg);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

body.dark-mode .testimonial-nav:hover {
  background: var(--brand-purple);
  color: white;
}

/* Mobile adjustments: hide arrows on very small screens if needed, or keep them */
@media (max-width: 768px) {
  .testimonial-nav {
    display: none;
  }

  .testimonials-carousel-container {
    display: flex;
    /* Keep flex layout */
  }

  .testimonial-nav {
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    z-index: 20;
    border: 1px solid rgba(0, 0, 0, 0.05);
  }

  .testimonial-nav.prev {
    left: 0;
  }

  .testimonial-nav.next {
    right: 0;
  }

  .testimonials-grid-new {
    padding-left: 40px;
    padding-right: 40px;
  }

  body.dark-mode .testimonial-nav {
    background: rgba(30, 30, 30, 0.9);
  }

}

.mentor-icon-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(124, 58, 237, 0.1);
  /* brand purple light */
  color: var(--brand-purple);
  font-size: 2rem;
}

body.dark-mode .mentor-icon-placeholder {
  background: rgba(139, 92, 246, 0.2);
  color: var(--brand-purple-light);
}

body.dark-mode .mentor-endorsement-card {
  background: var(--bg-card);
  border-color: var(--border-color);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.4);
}

body.dark-mode .mentor-details h4 {
  color: var(--text-primary);
}

body.dark-mode .mentor-role {
  color: var(--brand-purple-light);
}

body.dark-mode .mentor-company {
  color: var(--text-secondary);
}

body.dark-mode .card-footer-tags {
  border-color: var(--border-color);
}

body.dark-mode .tag-pill {
  background-color: rgba(139, 92, 246, 0.2);
  color: var(--brand-purple-light);
}

body.dark-mode .expert-label {
  color: var(--text-secondary);
}

body.dark-mode .endorsement-text {
  color: var(--text-secondary);
}

/* =========================================
   Why Choose Section Styles (Added to Home)
   ========================================= */

.why-choose-section {
  padding: 60px 0;
  background-color: var(--bg-white);
  position: relative;
  overflow: hidden;
  margin-top: 40px;
}

.why-choose-section h2 {
  color: var(--brand-purple, #9b59b6);
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.choose-card {
  background: var(--bg-primary);
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  position: relative;
  /* Added for pseudo-element */
  z-index: 1;
}

/* Inset shadow effect for all cards (hidden by default) */
.choose-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 20px;
  box-shadow: inset 0 0 20px rgba(232, 67, 147, 0.05);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.choose-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  border-color: #FF7A00;
  /* Orange border on hover */
}

.choose-card:hover::after {
  opacity: 1;
  /* Show inset shadow on hover */
}

/* Permanent highlight style */
.choose-card.highlight {
  border-color: #FF7A00;
  box-shadow: 0 4px 25px rgba(232, 67, 147, 0.15);
}

.choose-card.highlight::after {
  opacity: 1;
  /* Always visible for highlighted card */
}

/* Maintain hover lift for highlight card */
.choose-card.highlight:hover {
  box-shadow: 0 15px 35px rgba(232, 67, 147, 0.25);
  /* Slightly colored shadow for emphasis */
}

.choose-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
  display: inline-block;
  background: linear-gradient(135deg, #FF7A00, #E84393);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  /* Fallback for icon color if gradient text fails */
  color: #E84393;
}

.choose-card h3 {
  font-size: 1.3rem;
  color: var(--brand-purple, #9b59b6);
  font-weight: 700;
  margin: 0;
}

.choose-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 1100px) {
  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 600px) {
  .why-choose-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

/* Card Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.choose-card {
  opacity: 0;
  /* Start hidden */
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Staggered Delays */
.choose-card:nth-child(1) {
  animation-delay: 0.1s;
}

.choose-card:nth-child(2) {
  animation-delay: 0.3s;
}

.choose-card:nth-child(3) {
  animation-delay: 0.5s;
}

.choose-card:nth-child(4) {
  animation-delay: 0.7s;
}