/* =========================
   RESPONSIVE HERO SLIDER
========================= */

.hero-slider {
  width: 100%;
  height: 60vh;
  min-height: 350px;
  overflow: hidden;
  position: relative;
}

.slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 1.2s ease-in-out;
}

.slider-track img {
  width: 100vw;          /* IMPORTANT FIX */
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

/* Desktop */
@media (min-width: 1025px) {
  .hero-slider {
    height: 70vh;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .hero-slider {
    height: 60vh;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .hero-slider {
    height: 50vh;
    min-height: 300px;
  }
}


/* ===============================
   SMALL LOGO CAROUSEL
=============================== */

.logo-carousel {
  padding: 30px 0;
  /* background: linear-gradient(90deg, #0f2027, #203a43, #2c5364); */
  background-color: #000;
  overflow: hidden;
}

.logo-carousel h2 {
  text-align: center;
  color: #ffffff;
  font-size: 20px;
  margin-bottom: 15px;
}

/* Container */
.carousel-container {
  width: 100%;
  overflow: hidden;
}

/* Track */
.carousel-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: scroll-left 20s linear infinite;
}

/* Logos (VERY SMALL SIZE) */
.carousel-track img {
  height: 105px;        /* 👈 SMALL SIZE */
  margin: 0 25px;
  object-fit: contain;
  filter: none;
  opacity: 0.85;
  transition: all 0.3s ease;
}

/* Hover effect */
.carousel-track img:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.1);
}

/* Animation */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}



/* Mobile optimization */
@media (max-width: 768px) {
  .carousel-track img {
    height: 50px;
    margin: 0 18px;
  }
}






/* =========================
   COURSES OFFERED SECTION
========================= */

.courses-section {
  padding: 70px 20px;
  background: #ffffff;
  text-align: center;
}

.courses-section h2 {
  font-size: 36px;
  margin-bottom: 50px;
  font-weight: 700;
}

.courses-section h2 span {
  color: #e63900; /* red like image */
}

/* GRID */
.courses-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 25px;
}

/* CARD */
.course-card {
  border-radius: 16px;
  padding: 35px 20px;
  transition: 0.3s ease;
  cursor: pointer;
}

.course-card img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 18px;
}

.course-card h3 {
  font-size: 18px;
  font-weight: 600;
}

/* HOVER */
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

/* BACKGROUND COLORS (MATCH IMAGE) */
.course-card.upsc {
  background: #ecebff;
}

.course-card.tnpsc {
  background: #c9fff0;
}

.course-card.banking {
  background: #ffe9cf;
}

.course-card.foundation {
  background: #f0f0f0;
}

.course-card.tnusrb {
  background: #ededed;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
  .courses-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .courses-grid {
    grid-template-columns: 1fr;
  }

  .courses-section h2 {
    font-size: 26px;
  }
}



/* =============================
   HERO SECTION (BLACK + GOLD)
============================= */

.hero-section {
  background: #000; /* Black */
  padding: 70px 8%;
  border-bottom: 3px solid #f4c430; /* Gold bottom border */
  animation: fadeInUp 1.2s ease-out;

  display: flex;                   /* FIX */
  justify-content: space-between;  /* FIX */
  align-items: center;             /* FIX */
  flex-wrap: wrap;                 /* Mobile friendly */
}

/* LEFT SIDE */
.hero-left {
  width: 55%;
  max-width: 600px;
}

.hero-left h1 {
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.2;
}

.hero-left .gold {
  color: #f4c430; /* Gold highlight */
}

.subtitle {
  font-size: 20px;
  color: #cccccc;
  margin: 15px 0 30px;
  font-weight: 300;
}

/* =============================
   BUTTON STYLES
============================= */

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* GOLD BUTTON */
.btn-gold {
  background: #f4c430;
  color: #000;
  padding: 12px 24px;
  font-size: 18px;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}
.btn-gold:hover {
  background: #ffd95a;
  transform: scale(1.05);
}

/* WHITE OUTLINE BUTTON */
.btn-outline {
  background: transparent;
  border: 2px solid #ffffff;
  color: #ffffff;
  padding: 12px 24px;
  font-size: 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}
.btn-outline:hover {
  background: #ffffff;
  color: #000;
  transform: scale(1.05);
}

/* RED BUTTON */
.btn-red {
  background: #e63946;
  color: #ffffff;
  padding: 12px 24px;
  font-size: 18px;
  border-radius: 8px;
  border: none;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 0 12px #e63946;
  animation: pulse 2s infinite;
  transition: 0.3s;
}
.btn-red:hover {
  background: #ff404f;
  transform: scale(1.05);
}

/* ============ ANIMATIONS ============ */

@keyframes pulse {
  0% { box-shadow: 0 0 5px #e63946; }
  50% { box-shadow: 0 0 20px #e63946; }
  100% { box-shadow: 0 0 5px #e63946; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =============================
   RIGHT-SIDE ACHIEVER SCROLL
============================= */

.hero-right-scroll {
  width: 35%;
  min-width: 260px;
  height: 420px;
  overflow: hidden;
  position: relative;
  border-left: 2px solid #f4c430;
  padding-left: 20px;
}

.scroll-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: verticalScroll 18s linear infinite;
}

.scroll-wrapper img {
  width: 230px;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  border: 2px solid #f4c430;
  box-shadow: 0 0 10px rgba(244, 196, 48, 0.4);
  transition: transform 0.3s ease;
}

.scroll-wrapper img:hover {
  transform: scale(1.05);
}

/* Infinite vertical scroll animation */
@keyframes verticalScroll {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

/* =============================
   RESPONSIVE HERO
============================= */

@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
  }

  .hero-left {
    width: 100%;
  }

  .hero-right-scroll {
    width: 100%;
    height: 250px;
    border-left: none;
    border-top: 2px solid #f4c430;
    padding-left: 0;
    margin-top: 20px;
  }
  /* GOLD GLOW BEHIND RIGHT-SIDE SCROLL */
.hero-right-scroll::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -60px; /* moves glow slightly behind the images */
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(244,196,48,0.4), rgba(0,0,0,0));
  transform: translateY(-50%);
  filter: blur(15px);
  z-index: -1;
  animation: glowPulse 4s ease-in-out infinite alternate;
}

/* Glow animation */
@keyframes glowPulse {
  0% { opacity: 0.3; transform: translateY(-50%) scale(1); }
  100% { opacity: 0.7; transform: translateY(-50%) scale(1.15); }
}


  .scroll-wrapper img {
    width: 150px;
    height: 100px;
    margin: auto;
  }

  .hero-left h1 {
    font-size: 36px;
  }

  .subtitle {
    font-size: 18px;
  }
}







/* =========================
   WHY CHOOSE US SECTION
========================= */

.why-choose {
  padding: 70px 20px;
  background: #f9f6ef;
  text-align: center;
}

.why-choose h2 {
  font-size: 34px;
  margin-bottom: 40px;
  font-weight: 700;
}

.why-choose h2 span {
  color: #f4c430;
}

/* GRID */
.why-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* CARD */
.why-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 25px 20px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: 0.3s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* ICON */
.why-card .icon {
  font-size: 34px;
  margin-bottom: 12px;
  color: #f4c430;
}

/* TEXT */
.why-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #000;
}

.why-card p {
  font-size: 14px;
  color: #444;
  margin-bottom: 12px;
}

/* LINK */
.why-card a {
  font-size: 13px;
  color: #c91d28;
  font-weight: 600;
  text-decoration: none;
}

.why-card a:hover {
  text-decoration: underline;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-choose h2 {
    font-size: 26px;
  }
}






/* =========================
   STUDENT FEEDBACK SECTION
========================= */

.feedback-section {
  background: #f9f9f9;
  padding: 80px 20px;
  text-align: center;
}

.feedback-section h2 {
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 10px;
}

.feedback-section h2 span {
  color: #f4c430;
}

.feedback-underline {
  width: 80px;
  height: 3px;
  background: #f4c430;
  margin: 10px auto 50px;
}

/* FEEDBACK CARDS */

/* Profile image */
.feedback-img {
  width: 70px;
  height: 70px;
  object-fit: cover;     /* prevents stretching */
  border-radius: 50%;    /* circle image */
  margin-bottom: 12px;
  border: 3px solid #f4c430; /* optional accent */
}

.feedback-cards {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.feedback-card {
  background: #ffffff;
  padding: 30px 25px;
  border-radius: 14px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.feedback-card.active {
  background: #000000;
  color: #ffffff;
}

.feedback-card.active h4,
.feedback-card.active small {
  color: #f4c430;
}

.feedback-card:hover {
  transform: translateY(-6px);
}

/* STARS */
.stars {
  color: #f4c430;
  font-size: 14px;
  margin-bottom: 12px;
}

.stars span {
  color: #777;
  font-size: 12px;
}

/* TEXT */
.feedback-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
  line-height: 1.6;
}

.feedback-card.active p {
  color: #ddd;
}

.feedback-card h4 {
  margin-bottom: 4px;
  font-size: 16px;
}

.feedback-card small {
  color: #777;
}

/* STATS */
.feedback-stats {
  max-width: 1000px;
  margin: 70px auto 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-box {
  background: #ffffff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.06);
}

.stat-box h3 {
  font-size: 30px;
  color: #000;
}

.stat-box p {
  font-size: 13px;
  color: #555;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
  .feedback-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .feedback-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .feedback-cards {
    grid-template-columns: 1fr;
  }
  .feedback-stats {
    grid-template-columns: 1fr;
  }
}







/* =========================
   FIVE STEP PROGRAMME
========================= */

.five-step-section {
  padding: 90px 20px;
  background: linear-gradient(135deg, #0b0b0b, #1a1a1a);
  color: #ffffff;
  text-align: center;
}

.five-step-section h2 {
  font-size: 36px;
  margin-bottom: 10px;
  color: #f4c430;
}

.five-step-section .subtitle {
  max-width: 700px;
  margin: 0 auto 70px;
  font-size: 15px;
  color: #dddddd;
}

/* STEPS LAYOUT */
.steps-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  position: relative;
}

/* DOTTED PATH */
.steps-container::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 5%;
  right: 5%;
  border-top: 2px dashed rgba(244,196,48,0.6);
  z-index: 0;
}

/* INDIVIDUAL STEP */
.step {
  width: 18%;
  position: relative;
  z-index: 1;
}

.step-circle {
  width: 70px;
  height: 70px;
  margin: auto;
  background: #000000;
  border: 3px solid #f4c430;
  color: #f4c430;
  border-radius: 50%;
  font-size: 26px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 6px rgba(244,196,48,0.15);
}

.step h4 {
  margin-top: 20px;
  font-size: 18px;
  color: #f4c430;
}

.step p {
  font-size: 14px;
  margin-top: 10px;
  color: #cccccc;
  line-height: 1.6;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {
  .steps-container {
    flex-direction: column;
  }

  .steps-container::before {
    display: none;
  }

  .step {
    width: 100%;
    margin-bottom: 40px;
  }
}

