/* --- Home Page Specific Styles --- */

/* Hero Banner Slider */
.hero-slider-container {
  position: relative;
  width: 100%;
  height: 650px;
  background-color: var(--primary-dark);
  overflow: hidden;
  margin-top: 0;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  display: flex;
  align-items: center;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* Background overlay elements */
.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 42, 102, 0.9) 0%, rgba(6, 25, 62, 0.95) 100%);
  z-index: 1;
}

.hero-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-shape-circle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(250, 190, 2, 0.15) 0%, transparent 70%);
}

.hero-shape-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
}

.hero-shape-2 {
  width: 400px;
  height: 400px;
  bottom: -150px;
  left: -100px;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
  height: 100%;
  padding-top: 80px; /* Offset for sticky header */
}

@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 100px;
  }
  .hero-slider-container {
    height: auto;
    min-height: 550px;
    padding-bottom: 60px;
  }
}

.hero-text h1 {
  color: var(--bg-white);
  font-size: 3.5rem;
  margin-bottom: 20px;
  line-height: 1.15;
}

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

.hero-text h1 span {
  color: var(--accent-gold);
}

.hero-text p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  margin-bottom: 35px;
  font-family: var(--font-body);
}

.hero-text .hero-tags {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.hero-tag {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 6px 16px;
  border-radius: 50px;
  color: var(--bg-white);
  font-size: 0.85rem;
  font-weight: 500;
}

.hero-graphic {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

@media (max-width: 992px) {
  .hero-graphic {
    display: none; /* Hide illustrative graphics on mobile for neatness */
  }
}

/* Float Animation */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

.hero-graphic img, .hero-graphic svg {
  width: 100%;
  max-width: 380px;
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.3));
  animation: float 6s ease-in-out infinite;
}

/* Slider Controls */
.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  background-color: var(--accent-gold);
  width: 32px;
  border-radius: 6px;
}

/* --- Stats Counter Section --- */
.stats-section {
  background-color: var(--bg-white);
  box-shadow: 0 10px 30px rgba(10, 42, 102, 0.05);
  margin-top: -50px;
  position: relative;
  z-index: 20;
  border-radius: var(--border-radius);
  padding: 30px 40px;
  border: 1px solid var(--border-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

@media (max-width: 992px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  .stats-section {
    margin-top: 0;
    border-radius: 0;
  }
}

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

.stat-item {
  text-align: center;
  border-right: 1px solid var(--border-color);
  padding: 10px 0;
}

.stat-item:last-child {
  border-right: none;
}

@media (max-width: 992px) {
  .stat-item:nth-child(3) {
    border-right: none;
  }
}

@media (max-width: 576px) {
  .stat-item {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
  }
  .stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }
  .stat-number {
    font-size: 2.2rem;
  }
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-light);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-number span {
  color: var(--accent-gold);
}

.stat-title {
  color: var(--text-medium);
  font-weight: 500;
  font-size: 0.95rem;
}

/* --- Partner Logomark Slider --- */
.partners-section {
  background-color: var(--bg-white);
  padding: 40px 0;
  border-bottom: 1px solid var(--border-color);
}

.partners-title {
  text-align: center;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-light);
  margin-bottom: 24px;
}

.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  width: 140px;
  background-color: var(--bg-light);
  border-radius: 8px;
  padding: 10px;
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

.partner-logo:hover {
  transform: scale(1.05);
  border-color: var(--primary-light);
  background-color: var(--bg-white);
}

/* --- Why Choose Us Grid --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

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

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

.why-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background-color: var(--primary-light);
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(19, 60, 139, 0.2);
}

.why-card:hover::before {
  background-color: var(--accent-gold);
  width: 8px;
}

.why-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background-color: rgba(19, 60, 139, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary-light);
}

.why-card:hover .why-icon {
  background-color: var(--accent-gold);
  color: var(--primary-dark);
  transform: scale(1.05);
  transition: var(--transition);
}

.why-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.why-card p {
  color: var(--text-medium);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* --- Solutions Section Tabs --- */
.solutions-tabs-header {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.solution-tab-btn {
  padding: 12px 24px;
  border-radius: 50px;
  background-color: var(--bg-white);
  border: 2px solid var(--border-color);
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--text-medium);
  cursor: pointer;
  transition: var(--transition);
}

.solution-tab-btn.active, .solution-tab-btn:hover {
  background-color: var(--primary-dark);
  color: var(--bg-white);
  border-color: var(--primary-dark);
}

.solution-tab-content {
  display: none;
}

.solution-tab-content.active {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
  animation: fadeIn 0.5s ease-in-out;
}

@media (max-width: 992px) {
  .solution-tab-content.active {
    grid-template-columns: 1fr;
  }
}

.solution-tab-desc h3 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.solution-tab-desc p {
  color: var(--text-medium);
  margin-bottom: 24px;
  font-size: 1.05rem;
}

.solution-features {
  margin-bottom: 30px;
  list-style: none;
}

.solution-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-weight: 500;
  color: var(--text-dark);
}

.solution-features li svg {
  stroke: var(--accent-green);
  flex-shrink: 0;
}

.solution-tab-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  border: 4px solid var(--bg-white);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- Video Testimonial Section --- */
.video-section {
  background-color: var(--primary-dark);
  color: var(--bg-white);
  position: relative;
  overflow: hidden;
}

.video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

@media (max-width: 992px) {
  .video-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.video-content h2 {
  color: var(--bg-white);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.video-content h2 span {
  color: var(--accent-gold);
}

.video-content p {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.video-thumbnail-wrapper {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16/9;
  cursor: pointer;
}

.video-thumbnail-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.video-thumbnail-wrapper:hover img {
  transform: scale(1.03);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background-color: var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow);
  transition: var(--transition);
  animation: pulse 2s infinite;
}

.video-play-btn svg {
  fill: var(--primary-dark);
  transform: translateX(2px);
}

.video-thumbnail-wrapper:hover .video-play-btn {
  background-color: var(--bg-white);
  transform: translate(-50%, -50%) scale(1.1);
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(250, 190, 2, 0.7); }
  70% { box-shadow: 0 0 0 15px rgba(250, 190, 2, 0); }
  100% { box-shadow: 0 0 0 0 rgba(250, 190, 2, 0); }
}

/* --- Testimonials Carousel Section --- */
.testimonials-section {
  background-color: var(--bg-white);
}

.testimonials-carousel-wrapper {
  position: relative;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
  min-height: 320px;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.95);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
}

.testimonial-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.testimonial-rating {
  color: var(--accent-gold);
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.testimonial-quote {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--primary-dark);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 30px;
}

.testimonial-user {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary-light);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--accent-gold);
}

.testimonial-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary-dark);
}

.testimonial-role {
  color: var(--text-medium);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* --- Latest Resources (Blog Cards Grid) --- */
.blogs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

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

.blog-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(19, 60, 139, 0.15);
}

.blog-image {
  height: 200px;
  background-color: var(--primary-dark);
  background-size: cover;
  background-position: center;
  position: relative;
}

.blog-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  background-color: var(--accent-gold);
  color: var(--primary-dark);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.blog-card-body {
  padding: 24px;
}

.blog-meta {
  color: var(--text-light);
  font-size: 0.8rem;
  margin-bottom: 12px;
  display: flex;
  gap: 16px;
}

.blog-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  transition: var(--transition);
}

.blog-card:hover h3 {
  color: var(--primary-light);
}

.blog-card-body p {
  color: var(--text-medium);
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.blog-read-more {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-light);
}

.blog-read-more svg {
  transition: var(--transition);
}

.blog-card:hover .blog-read-more svg {
  transform: translateX(4px);
}

/* --- Job Ready Programs Grid --- */
.job-ready-programs-sec {
  background-color: var(--bg-light);
  padding: 80px 0;
}
.ready-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 992px) {
  .ready-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .ready-grid {
    grid-template-columns: 1fr;
  }
}
.ready-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  padding: 28px 24px;
  box-shadow: 0 4px 10px rgba(10,42,102,0.03);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
}
.ready-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(19, 60, 139, 0.15);
}
.ready-partner {
  color: var(--primary-light);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}
.ready-title {
  font-size: 1.25rem;
  color: var(--primary-dark);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.3;
}
.ready-details {
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ready-duration {
  font-size: 0.85rem;
  color: var(--text-medium);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}
.ready-duration svg {
  stroke: var(--text-light);
}

/* --- Course Advisor CTA --- */
.what-course-suits-you-sec {
  background: radial-gradient(circle at 10% 20%, #0A2A66 0%, #133C8B 100%);
  color: var(--bg-white);
  padding: 60px 50px;
  border-radius: var(--border-radius);
  margin-bottom: 80px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.course-suits-you-section {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (max-width: 768px) {
  .course-suits-you-section {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
}
.course-suits-you-section .image-block svg {
  max-width: 200px;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
}
.course-suits-you-section .content-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  color: var(--bg-white);
  margin-bottom: 12px;
  font-weight: 700;
  line-height: 1.2;
}
.course-suits-you-section .sub-title {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 30px;
  max-width: 600px;
}

/* --- Video Playlist Hub --- */
.video-playlist-container {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 0;
  background-color: var(--bg-white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(10, 42, 102, 0.06);
  border: 1px solid var(--border-color);
  margin-top: 40px;
}
@media (max-width: 992px) {
  .video-playlist-container {
    grid-template-columns: 1fr;
  }
}
.playlist-video-player {
  aspect-ratio: 16/9;
  background-color: #000;
  position: relative;
}
.playlist-video-player iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
.playlist-sidebar {
  background-color: var(--bg-white);
  overflow-y: auto;
  max-height: 450px;
  border-left: 1px solid var(--border-color);
}
@media (max-width: 992px) {
  .playlist-sidebar {
    border-left: none;
    border-top: 1px solid var(--border-color);
    max-height: 250px;
  }
}
.playlist-item {
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.playlist-item:last-child {
  border-bottom: none;
}
.playlist-item:hover, .playlist-item.active {
  background-color: var(--bg-light);
}
.playlist-item.active .playlist-title {
  color: var(--primary-light);
  font-weight: 700;
}
.playlist-thumb-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(19, 60, 139, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  flex-shrink: 0;
  transition: var(--transition);
}
.playlist-item.active .playlist-thumb-icon {
  background-color: var(--accent-gold);
  color: var(--primary-dark);
}
.playlist-info {
  display: flex;
  flex-direction: column;
}
.playlist-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.35;
}
.playlist-duration {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 4px;
}

/* --- Timeline Section --- */
.timeline-sec {
  background-color: var(--bg-light);
  padding: 80px 0;
}
.timeline-container {
  position: relative;
  max-width: 800px;
  margin: 50px auto 0 auto;
  padding-left: 40px;
}
.timeline-container::before {
  content: '';
  position: absolute;
  left: 9px;
  top: 0;
  width: 3px;
  height: 100%;
  background-color: var(--border-color);
}
.timeline-node {
  position: relative;
  margin-bottom: 45px;
}
.timeline-node:last-child {
  margin-bottom: 0;
}
.timeline-node::before {
  content: '';
  position: absolute;
  left: -37px;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--accent-gold);
  border: 3px solid var(--bg-white);
  box-shadow: 0 0 0 3px var(--primary-light);
  transition: var(--transition);
  z-index: 2;
}
.timeline-node:hover::before {
  background-color: var(--accent-green);
  box-shadow: 0 0 0 4px var(--primary-light);
}
.timeline-year {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.6rem;
  color: var(--primary-light);
  line-height: 1;
  margin-bottom: 10px;
}
.timeline-content {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  padding: 24px 30px;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 10px rgba(10,42,102,0.02);
  transition: var(--transition);
}
.timeline-node:hover .timeline-content {
  box-shadow: var(--shadow-md);
  border-color: rgba(19, 60, 139, 0.15);
  transform: translateX(4px);
}
.timeline-content h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--primary-dark);
}
.timeline-content p {
  font-size: 0.95rem;
  color: var(--text-medium);
  line-height: 1.5;
}

/* --- Homepage Jobs Section --- */
.home-jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 992px) {
  .home-jobs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .home-jobs-grid {
    grid-template-columns: 1fr;
  }
}
.home-job-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1.5px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 28px;
  background-color: var(--bg-white);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.home-job-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-dark);
}
