/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #46a7cc;
  --secondary: #0b1e3f;
  --text: #000000;
  --bg-white: #ffffff;
  --bg-light: #f8f8f8;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.12);
  --transition: .3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100vw;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

.container {
  width: min(1200px, 92%);
  margin-inline: auto;
}

.section-tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: .5rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

.section-desc {
  font-size: 1rem;
  color: #555;
  margin-top: .75rem;
  max-width: 56ch;
}

section { padding: 80px 0; }

/* ============================================================
   NAVBAR
============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: var(--bg-white);
  box-shadow: 0 1px 12px rgba(0,0,0,.08);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 90px;
}

.navbar__logo img { height: 60px; width: auto; object-fit: contain; }

.navbar__actions {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.navbar__cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--primary);
  color: #fff;
  font-size: .875rem;
  font-weight: 600;
  padding: .55rem 1.25rem;
  border-radius: 6px;
  transition: opacity var(--transition);
}
.navbar__cta:hover { opacity: .88; }

.navbar__cta--outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.navbar__cta--outline:hover { background: var(--primary); color: #fff; opacity: 1; }

/* ============================================================
   HERO
============================================================ */
.hero {
  padding: 0;
  min-height: 100svh;
  background: url('./images/hero-banner.webp') center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(0,0,0,.78) 45%, rgba(0,0,0,.45));
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: min(1200px, 92%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  padding: 120px 0 80px;
}

.hero__content { color: #fff; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
    background: rgba(255, 255, 255);
  border: 1px solid var(--primary);
  color: var(--primary);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .35rem .85rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}



.hero__title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
}


.hero__title span { 
  color: var(--primary);
font-weight: 600;
}

.hero__desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 2rem;
  max-width: 46ch;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: .85rem 2rem;
  border-radius: 8px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(70, 166, 204, 0.3);
}

/* ============================================================
   SHARED FORM CARD
   (used in both Hero and Enquiry sections)
============================================================ */
.form-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 2rem 1.75rem;
}

.form-card__title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .25rem;
}

.form-card__sub {
  font-size: .85rem;
  color: #888;
  margin-bottom: 1.5rem;
}

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

.form-group label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: #444;
  margin-bottom: .35rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: .72rem 1rem;
  border: 1.5px solid #e8e8e8;
  border-radius: 8px;
  font-size: .9rem;
  color: var(--text);
  background: var(--bg-white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(56,84,164,.1);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 6 8 10 12 6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  padding-right: 2.5rem;
}

.form-submit {
  width: 100%;
  padding: .85rem;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity var(--transition), transform var(--transition);
  margin-top: .5rem;
  font-family: inherit;
}
.form-submit:hover { opacity: .9; transform: translateY(-1px); }

/* ============================================================
   ABOUT
============================================================ */
.about { background: var(--bg-light); }

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

.about__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-top: 1.5rem;
}

.about__list li {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
  font-size: .95rem;
  color: #444;
}

.about__list .check-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--primary);
  margin-top: 2px;
}

.about__img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about__img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

/* ============================================================
   STATS
============================================================ */
.stats {
  background: var(--bg-white);
  padding: 60px 0;
}

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

.stats__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem;
  border-radius: var(--radius);
  border: 1.5px solid #f0f0f0;
  background: var(--bg-white);
  transition:  var(--transition);
  cursor: default;
}
.stats__card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color:rgba(70, 166, 204, 0.3);;
}

.stats__icon {
  width: 44px;
  height: 44px;
  color: var(--primary);
  margin-bottom: 1rem;
}

.stats__value {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: .4rem;
}

.stats__label {
  font-size: .82rem;
  color: #666;
  font-weight: 500;
  line-height: 1.4;
}

/* ============================================================
   COURSE
============================================================ */
.course { background: var(--bg-light); }

.course__header { text-align: center; margin-bottom: 2.5rem; }

.course__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

/* ── Gallery panel (right column) ── */
.course__gallery {
  border-radius: var(--radius);
  overflow: hidden;
}

.course-gallery-swiper {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transition: 0.3s all;
}

.course-gallery-swiper .swiper-slide {
  border-radius: var(--radius);
  /* match the actual 800×120 image ratio exactly */
  background: #f0f0f0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  opacity: 0.5;
}

.course-gallery-swiper .swiper-slide-active{
  opacity: 1;
}

.course-gallery-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

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

.course__card {
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.course__card-header {
  background: linear-gradient(135deg, var(--secondary), #2a3f84);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.course__card-header svg {
  width: 32px;
  height: 32px;
  color: rgba(255,255,255,.85);
  flex-shrink: 0;
}

.course__card-header h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}

.course__card-header p {
  font-size: .82rem;
  color: rgba(255,255,255,.7);
  margin-top: .15rem;
}

.course__body { padding: 2rem; }

.course__row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid #f0f0f0;
  align-items: start;
}
.course__row:last-child { border-bottom: none; padding-bottom: 0; }

.course__row-label {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--primary);
  padding-top: .1rem;
}

.course__row-value {
  font-size: .92rem;
  color: #333;
  line-height: 1.65;
}

/* ============================================================
   ALUMNI / RECRUITERS
============================================================ */
.alumni { background: var(--secondary); }

.alumni__header { text-align: center; margin-bottom: 2.5rem; }

.alumni__header h2{color: white;}

.alumni-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
}

.alumni-swiper .swiper-slide img {
  height: 40px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  opacity: .8;
  transition: filter var(--transition), opacity var(--transition), transform var(--transition);
}
.alumni-swiper .swiper-slide img:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.06);
}

/* ============================================================
   INFRASTRUCTURE / VIDEO
============================================================ */
.infra { background: var(--bg-light); }

.infra__header { text-align: center; margin-bottom: 2.5rem; }

.infra__video-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.infra__video-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  aspect-ratio: 16 / 9;
}

.infra__video-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

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

/* ============================================================
   ENQUIRY FORM SECTION
============================================================ */
.testimonials {
  background: var(--bg-light);
}

.enquiry__inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: center;
}

.enquiry__label-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.5rem;
}

.enquiry__icon-wrap {
  width: 48px;
  height: 48px;
  background: rgba(11, 30, 63, 0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.enquiry__icon-wrap svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
}

.enquiry__desc {
  font-size: 1rem;
  color: #555;
  line-height: 1.7;
  margin-top: .75rem;
  margin-bottom: 1.75rem;
  
}

.enquiry__highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.enquiry__highlights li {
  display: flex;
  align-items: center;
  gap: .65rem;
  font-size: .92rem;
  color: #444;
}

.enquiry__highlights li svg {
  width: 18px;
  height: 18px;
  color: var(--primary);
  flex-shrink: 0;
}

/* ============================================================
   TESTIMONIALS
============================================================ */
/* .testimonials { background: var(--bg-white); } */

.testimonials__header { text-align: center; margin-bottom: 2.5rem; }

.testimonials-swiper .swiper-slide { height: auto; }

.testimonial-card {
  background: var(--bg-white);
  border: 1.5px solid #f0f0f0;
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  height: 100%;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.testimonial-card__quote {
  width: 28px;
  height: 28px;
  color: var(--primary);
  opacity: .25;
  flex-shrink: 0;
}

.testimonial-card__text {
  font-size: .9rem;
  color: #444;
  line-height: 1.7;
  flex: 1;
  overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 6;
-webkit-box-orient: vertical;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding-top: .75rem;
  border-top: 1px solid #f0f0f0;
}

.testimonial-card__img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  flex-shrink: 0;
  border: 2px solid #f0f0f0;
}

.testimonial-card__name {
  font-size: .9rem;
  font-weight: 700;
  color: var(--text);
}

.testimonial-card__role {
  font-size: .78rem;
  color: #888;
}

.testimonial-card__batch {
  font-size: .72rem;
  color: var(--primary);
  font-weight: 600;
  margin-top: .15rem;
}

.testimonial-card__stars {
  display: flex;
  gap: 2px;
  margin-top: .25rem;
}

.star-icon { width: 13px; height: 13px; color: #f5a623; }

/* ============================================================
   SWIPER PAGINATION (shared)
============================================================ */
.swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #ccc;
  opacity: 1;
  transition: all var(--transition);
}
.swiper-pagination-bullet-active {
  background: var(--primary);
  width: 22px;
  border-radius: 4px;
}

.swiper-pagination { position: relative; margin-top: 28px; }

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: #0d0d0d;
  padding: 40px 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.footer__logo img { height: 95px; width: auto; filter: brightness(0) invert(1); }

.footer__divider {
  width: 60px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}

.footer__contact {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem 1.5rem;
  margin-bottom: .25rem;
}

.footer__contact-item {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: color var(--transition);
}
a.footer__contact-item:hover { color: rgba(255,255,255,.85); }

.footer__social {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: .25rem;
}

.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}
.footer__social-link:hover {
  border-color: var(--primary);
  color: #fff;
  background: var(--primary);
}

.footer__copyright {
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  text-align: center;
}

/* ============================================================
   FLOATING ELEMENTS
============================================================ */
.float-actions {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 998;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(0,0,0,.2);
  transition: transform var(--transition), box-shadow var(--transition);
  border: none;
  cursor: pointer;
}
.float-btn:hover {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 28px rgba(0,0,0,.25);
}

.float-btn--whatsapp { background: #25d366; }
.float-btn--call { background: var(--secondary); }
.float-btn svg { width: 22px; height: 22px; color: #fff; }

.float-enquire {
    transform-origin:right bottom;
  position: fixed;
  right: 0;
  top: 45%;
  transform: translateY(-50%) rotate(-90deg);
  z-index: 998;
  background: var(--primary);
  color: #fff;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .6rem 1.4rem;
  border-radius: 8px 8px 0 0;
  box-shadow: -2px 0 18px rgba(70, 166, 204, 0.3);
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  gap: .45rem;
  border: none;
  transition: var(--transition);
}
.float-enquire:hover { opacity: 0.88;}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {

  .navbar__inner {
    height: 60px;
}

  .navbar__logo img {
    height: 40px;
}

  .stats__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 110px 0 60px;
  }
  .hero__desc { max-width: 100%; }

  .about__inner { grid-template-columns: 1fr; gap: 40px; }
  .about__img { order: -1; }
  .about__img img { height: 300px; }

  .enquiry__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 640px) {
  .navbar__cta--outline{text-indent: -900px;gap: 0;}
  section { padding: 60px 0; }
  .stats__grid { grid-template-columns: 1fr; max-width: 280px; margin-inline: auto; }
  .hero__inner { padding: 100px 0 50px; }
  .form-card { padding: 1.5rem; }
  .course__row { grid-template-columns: 1fr; gap: .35rem; }
  .float-enquire { font-size: .68rem; padding: .5rem 1rem; }
}
