/* ==========================================================================
   Kadigai Academy — Design System
   Font: Poppins (only)
   ========================================================================== */

:root {
  --cream: #FAF8F3;
  --cream-2: #FAF8F3;
  --white: #FFFFFF;
  --maroon: #6C1F2A;
  --maroon-dark: #5A1223;
  --maroon-black: #2A0A12;
  --gold: #C9A227;
  --gold-light: #E9D9A6;
  --text-dark: #222222;
  --text-gray: #6f6f6f;
  --text-on-maroon: #F3E7DD;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-card: 0 20px 45px -20px rgba(42, 10, 18, 0.25);
  --container-w: 1920px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  margin: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container-xl {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 60px 80px;
}

h1,
h2,
h3,
h4 {
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.2;
  margin: 0;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--maroon);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 16px;
  height: 16px;
  background-color: var(--gold);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C12 6.627 17.373 12 24 12C17.373 12 12 17.373 12 24C12 17.373 6.627 12 0 12C6.627 12 12 6.627 12 0Z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 0C12 6.627 17.373 12 24 12C17.373 12 12 17.373 12 24C12 17.373 6.627 12 0 12C6.627 12 12 6.627 12 0Z'/%3E%3C/svg%3E") no-repeat center / contain;
  display: inline-block;
}


.section-cream {
  background: var(--cream);
}

.section-cream-2 {
  background: var(--cream-2);
}

.section-maroon {
  background: var(--maroon);
  color: var(--text-on-maroon);
}

.section-maroon h2,
.section-maroon h3,
.section-maroon .section-title {
  color: var(--white);
}

.section-title {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: 16px;
}

.section-desc {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.6;
  color: var(--text-gray);
  margin-bottom: 24px;
}

.section-maroon .section-desc {
  color: var(--gold-light);
  opacity: 1;
}

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-heading h2,
.section-heading .section-title {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  font-weight: 600;
  margin-bottom: 16px;
}

.section-heading p,
.section-heading .section-desc {
  color: var(--text-gray);
  margin-bottom: 0;
}

.section-maroon .section-heading p,
.section-maroon .section-heading .section-desc {
  color: var(--gold-light);
  opacity: .9;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 500;
  font-size: 16px;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: all .2s ease;
  white-space: nowrap;
}

.btn-maroon {
  background: var(--maroon);
  color: var(--white);
}

.btn-maroon:hover {
  background: var(--maroon-dark);
  color: var(--white);
}

.btn-outline-dark {
  border-color: var(--text-dark);
  color: var(--text-dark);
  background: transparent;
}

.btn-outline-dark:hover {
  background: var(--text-dark);
  color: var(--white);
}

.btn-ghost-play {
  background: transparent;
  color: var(--text-dark);
  font-weight: 600;
  gap: 12px;
  display: flex;
  align-items: center;
  border: 2px solid var(--text-dark);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
}

.btn-ghost-play .play-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--maroon);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.btn-cream {
  background: var(--cream);
  color: var(--maroon);
}

.btn-cream:hover {
  background: var(--white);
  color: var(--maroon);
}

.btn-block {
  width: 100%;
}

/* ---------- Navbar ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--cream);
  border-bottom: 1px solid rgba(0, 0, 0, .05);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.brand-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
}

.nav-links a {
  font-weight: 500;
  font-size: 16px;
  color: var(--text-dark);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--maroon);
  transition: width .2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--maroon);
}

.nav-links a.nav-enquire-mobile,
.nav-enquire-mobile {
  display: none !important;
}

.nav-links a.nav-enquire-mobile::after {
  display: none !important;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-sm {
  padding: 10px 22px;
  font-size: 16px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--maroon);
}

.nav-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid var(--maroon);
  color: var(--maroon);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.nav-social-link:hover {
  background: var(--maroon);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(108, 31, 42, 0.2);
}

/*======================================================
                    HERO
======================================================*/

.hero {
  position: relative;
  background: #f6f2eb;
  overflow: hidden;
}

/*----------------------------------*/

.hero-grid {

  display: grid;

  grid-template-columns: 1.1fr 0.9fr;

  gap: 40px;

  align-items: center;

}

/*----------------------------------*/

.hero-copy h1 {

  font-size: 56px;

  line-height: 68px;

  font-weight: 600;

  color: var(--text-dark);

  margin-bottom: 20px;

}

.hero-copy p {

  font-size: 20px;

  line-height: 28px;

  color: var(--text-gray);

  max-width: 520px;

  margin-bottom: 40px;

}

.hero-actions {

  display: flex;

  align-items: center;

  gap: 25px;

}

/*======================================================
                IMAGE
======================================================*/

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

.hero-img {
  width: 100%;
  max-width: 580px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.08));
}

/*======================================================
                FLOATING CARD
======================================================*/

.floating-card {

  position: absolute;

  background: #fff;

  padding: 12px 16px;

  border-radius: 14px;

  display: flex;

  align-items: center;

  gap: 12px;

  box-shadow: 0 10px 25px rgba(0, 0, 0, .12);

}

.avatar {

  width: 42px;

  height: 42px;

  border-radius: 50%;

  background: #8d2231;

}

.floating-card strong {

  display: block;

  font-size: 15px;

}

.floating-card span {

  color: #777;

  font-size: 13px;

}

.mentor {

  top: 25px;

  right: -15px;

}

.completed {

  left: -20px;

  bottom: 70px;

}

.completed .avatar {

  width: 28px;

  height: 28px;

  background: #D9B24C;

}

/*======================================================
                STATS PANEL
======================================================*/

.hero-stats {
  position: absolute;
  right: 0;
  bottom: 0;

  width: 650px;
  height: 120px;

  background: #8d2231;

  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 70px;
  padding-right: 30px;

  /* Diagonal left slant cut */
  clip-path: polygon(100px 0, 100% 0, 100% 100%, 0 100%);

  overflow: hidden;
  z-index: 10;
}

/*----------------------------------*/

.stat-item {

  flex: 1;

  text-align: center;

  position: relative;

}

/* Divider */

.stat-item:not(:last-child)::after {

  content: "";

  position: absolute;

  top: 50%;

  right: 0;

  transform: translateY(-50%);

  width: 1px;

  height: 52px;

  background: rgba(255, 255, 255, .25);

}

.stat-item h3 {

  margin: 0;

  color: var(--white);

  font-size: 28px;

  font-weight: 700;

  line-height: 38px;

}

.stat-item p {

  margin-top: 8px;
  margin-bottom: 0;
  color: var(--white);
  font-size: 15px;

}



/* ---------- Why Choose ---------- */
.why-choose {
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.why-img {
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  display: block;
}

.why-choose h2 {
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  margin: 0 0 16px;
}

.why-choose p {
  color: var(--text-gray);
  margin-bottom: 32px;
  max-width: 540px;
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 500;
}

.check-list li .tick {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--maroon);
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  margin-top: 2px;
}

.check-list li .tick::after {
  content: "";
  width: 12px;
  height: 12px;
  background-color: var(--white);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5L6.5 11.5L12.5 4.5'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5L6.5 11.5L12.5 4.5'/%3E%3C/svg%3E") no-repeat center / contain;
  display: block;
}

.section-maroon .check-list li .tick {
  background: var(--white);
}

.section-maroon .check-list li .tick::after {
  background-color: var(--maroon);
}

/* ---------- Courses grid ---------- */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.course-card {
  position: relative;
  padding-top: 14px;
  padding-left: 14px;
}

.course-card .card-tab {
  position: absolute;
  top: 0;
  left: 0;
  width: 70%;
  height: 56%;
  background: var(--maroon);
  border-radius: 0;
  z-index: 0;
}

.course-card .card-body {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: 0;
  box-shadow: var(--shadow-card);
  padding: 22px 22px 26px;
}

.course-card .thumb {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 0;
  margin-bottom: 18px;
  display: block;
}

.course-card h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.course-card p {
  color: var(--text-gray);
  font-size: .92rem;
  margin-bottom: 20px;
  min-height: 66px;
}

/* ---------- Success stories ---------- */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.story-card {
  background: #FAF8F3;
  border-radius: var(--radius-md);
  overflow: hidden;
  color: var(--text-dark);
  box-shadow: var(--shadow-card);
}

.story-card .thumb {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--white);
  object-fit: contain;
  display: block;
}

.story-card .info {
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.story-card .details {
  flex: 1;
}

.story-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 4px;
  color: var(--text-dark);
}

.story-card .meta {
  color: #666666;
  font-size: .88rem;
  line-height: 1.45;
}

.story-card .score {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--maroon);
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}

.story-card .arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--maroon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  flex: none;
  transition: transform .2s ease;
  position: relative;
}

.story-card .arrow::after {
  content: "";
  width: 12px;
  height: 12px;
  background-color: var(--white);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3L11 8L6 13'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3L11 8L6 13'/%3E%3C/svg%3E") no-repeat center / contain;
  display: block;
}

.story-card:hover .arrow {
  transform: translateX(3px);
}

/* ---------- About courses + demo videos ---------- */
.split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 60px;
  align-items: center;
}

.split h2 {
  margin-bottom: 16px;
}

.split>div>p {
  color: var(--text-gray);
  margin-bottom: 10px;
}

.demo-videos-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.demo-videos-wrap .video-thumb {
  margin-bottom: 0;
}

.video-thumb {
  width: 100%;
  aspect-ratio: 20/10;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, var(--maroon), var(--maroon-dark));
  margin-bottom: 20px;
  position: relative;
}

.video-thumb:last-child {
  margin-bottom: 0;
}

.video-thumb::after,
.testimonial-card::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 52px;
  height: 52px;
  background-color: var(--white);
  border-radius: 50%;
  backdrop-filter: blur(4px);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236C1F2A'%3E%3Cpath d='M8 6.82v10.36c0 .79.87 1.27 1.54.84l8.14-5.18a1 1 0 0 0 0-1.69L9.54 5.98A1 1 0 0 0 8 6.82z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s ease, background-color 0.25s ease;
  cursor: pointer;
}

.video-thumb:hover::after,
.testimonial-card:hover::after {
  transform: scale(1.1);
  background-color: var(--white);
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--maroon-dark);
  border-radius: var(--radius-md);
  min-height: 400px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.testimonial-card .testimonial-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.testimonial-card:hover .testimonial-thumb {
  transform: scale(1.05);
}

/* Video Lightbox Modal */
.video-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 20px;
}

.video-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.video-modal-container {
  position: relative;
  width: 100%;
  max-width: 860px;
  background: #000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.video-modal-backdrop.active .video-modal-container {
  transform: scale(1);
}

.video-modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  border: none;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.4);
}

.video-modal-body {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

.video-modal-body iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Final CTA ---------- */
.cta-final {
  text-align: center;
}

.cta-final h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 16px;
}

.cta-final p {
  color: var(--text-gray);
  max-width: 620px;
  margin: 0 auto 32px;
}

.cta-final .check-list {
  align-items: center;
  margin: 0 auto 32px;
}

.cta-final .check-list li {
  align-items: center;
}

/* ---------- Chevron divider ---------- */
.chevron-divider {
  height: 90px;
  background: var(--maroon-dark);
  clip-path: polygon(0 0%, 50% 55%, 100% 0%, 100% 100%, 0 100%);
  margin-bottom: -2px;
  display: block;
}

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, var(--maroon-dark), var(--maroon-black));
  color: var(--white);
}

.site-footer .container-xl {
  padding-bottom: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-brand {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.footer-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-col h5 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 18px;

}

.footer-col ul li {
  margin-bottom: 10px;
  font-size: .9rem;
  opacity: 1;
}

.footer-col ul li a {
  color: var(--white);
  transition: opacity .2s ease;
}

.footer-col ul li a:hover {
  opacity: 1;
}

.footer-social-link,
.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-social-link svg,
.footer-contact-link svg {
  flex-shrink: 0;
}

.footer-address-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-address-item svg {
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-desc {
  font-size: .88rem;
  opacity: 1;
  max-width: 300px;
}

.footer-bottom {
  text-align: center;
  padding: 16px 0 20px;
  font-size: .82rem;
  opacity: .65;
}

/* ---------- Page hero (About/Courses/Contact) banners ---------- */
.page-banner {
  position: relative;
  padding: 120px 0;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(90, 18, 35, .85), rgba(90, 18, 35, .85)), linear-gradient(160deg, #3a3a3a, #1c1c1c);
  background-size: cover;
  background-position: center;
}

.page-banner h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.about-hero-banner {
  background: linear-gradient(rgba(88, 18, 35, 0.8), rgba(88, 18, 35, 0.8)), url("assets/about/about_hero.webp") center/cover no-repeat;
  padding: 200px 0;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-hero-banner {
  background: linear-gradient(rgba(88, 18, 35, 0.8), rgba(88, 18, 35, 0.8)), url("assets/contact/contact_hero.webp") center/cover no-repeat;
  padding: 200px 0;
  min-height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-banner.solid {
  background: var(--maroon);
}

.page-banner.solid h1 {
  margin-bottom: 12px;
}

.page-banner.solid p {
  color: var(--gold-light);
  max-width: 560px;
  margin: 0 auto 28px;
}

/* ---------- About page ---------- */
.container-xl.mission-vision {
  max-width: 960px;
  padding-top: 40px;
}

.mission-vision {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

.mv-card {
  position: relative;
  padding: 12px 0 0 12px;
}

.mv-card .tab {
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  height: 60%;
  background: var(--maroon);
}

.mv-card .body {
  position: relative;
  z-index: 1;
  background: var(--white);
  box-shadow: var(--shadow-card);
  padding: 28px 30px;

}

.mv-card h4 {
  font-size: 1.2rem;
  letter-spacing: .06em;
  color: var(--maroon);
  margin-bottom: 10px;
}

.mv-card p {
  color: var(--text-gray);
  font-size: .92rem;
  margin-bottom: 0;
}

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

.faculty-card {
  position: relative;
}

.faculty-card .photo {
  width: 100%;
  aspect-ratio: 3/2.6;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--maroon), var(--maroon-dark));
  overflow: hidden;
}

.faculty-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.faculty-tag {
  background: var(--cream);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-card);
  padding: 16px 20px;
  width: 86%;
  margin: -35px auto 0;
  position: relative;
  text-align: center;
}

.faculty-tag strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.faculty-tag span {
  color: var(--maroon);
  font-size: 0.95rem;
  font-weight: 600;
}

.leadership {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.leadership .names {
  font-weight: 600;
  margin-bottom: 24px;
  border-left: 2px solid rgba(255, 255, 255, 0.85);
  padding-left: 18px;
}

.leadership .names div {
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--white);
}

.leadership .names div:last-child {
  margin-bottom: 0;
}

.leadership p {
  color: var(--white);
  margin-bottom: 14px;
  opacity: 1;
}

.leadership-img {
  width: 85%;
  max-width: 420px;
  height: auto;
  border-radius: 0;
  display: block;
  box-shadow: var(--shadow-card);
  object-fit: cover;
  justify-self: center;
}

/* ---------- Courses page ---------- */
.courses-hero {
  background: var(--maroon);
  overflow: hidden;
  position: relative;
}

.courses-hero .container-xl {
  padding-top: 60px;
  padding-bottom: 0;
}

.courses-hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: flex-end;
}

.courses-hero-text {
  padding-bottom: 100px;
}

.courses-hero-text h1 {

  font-size: 56px;

  line-height: 68px;

  font-weight: 600;

  color: var(--white);

  margin-bottom: 20px;
}

.courses-hero-text p {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.65;
  margin-bottom: 40px;
  max-width: 560px;
}

.courses-hero-media {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  line-height: 0;
  margin-bottom: 0;
}

.courses-hero-media img {
  max-width: 100%;
  height: auto;
  max-height: 520px;
  display: block;
  object-fit: contain;
  object-position: bottom right;
  vertical-align: bottom;
  margin-bottom: 0;
}

.course-grid-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: flex-start;
}

.course-grid-layout.reverse {
  grid-template-columns: 0.85fr 1.15fr;
}

.course-left-col .section-desc {
  color: var(--text-dark);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.65;
  margin-bottom: 32px;
}

.section-maroon .course-left-col .section-desc {
  color: var(--white);
}

.course-subheading {
  font-size: 1.2rem;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 20px;
}

.section-cream .course-subheading {
  color: var(--text-dark);
}

.section-maroon .course-subheading {
  color: var(--white);
}

.course-right-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.course-right-col .thumb {
  width: 100%;
  max-width: 440px;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

.feature-pills-stacked {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.pill-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--maroon);
  border-radius: 30px;
  padding: 8px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--maroon);
  background: transparent;
  white-space: nowrap;
}

.section-maroon .pill-outline {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.course-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.section-desc {
  color: var(--text-dark);
}

.section-maroon .section-desc {
  color: var(--white);
}

.course-detail-copy .section-desc {
  color: var(--text-dark);
}

.section-maroon .course-detail-copy .section-desc {
  color: var(--gold-light);
}

.course-detail-media .thumb {
  width: 100%;
  aspect-ratio: 4/3.2;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, var(--maroon), var(--maroon-dark));
  box-shadow: var(--shadow-card);
  object-fit: cover;
  display: block;
}

.who-join-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

.who-card {
  border: 1.5px solid var(--maroon);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  background: var(--white);
}

.who-card h4 {
  margin-bottom: 10px;
  font-size: 1.02rem;
}

.who-card p {
  color: var(--text-dark);
  font-size: .9rem;
  margin-bottom: 0;
}

.callback-card {
  background: var(--maroon);
  border-radius: var(--radius-lg);
  padding: 50px;
  text-align: center;
  color: var(--white);
}

.callback-card h2 {
  color: var(--white);
  margin-bottom: 8px;
}

.callback-card .sub {
  color: var(--gold-light);
  margin-bottom: 30px;
}

.callback-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 680px;
  margin: 0 auto;
}

.callback-form .form-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.callback-form .form-group.full-width,
.callback-form .form-submit-wrap {
  grid-column: 1 / -1;
}

.callback-form label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 6px;
}

textarea.form-control,
.callback-form textarea {
  min-height: 140px;
  resize: vertical;
}

.callback-form .form-submit-wrap {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.callback-form .btn {
  padding: 14px 40px;
}

.form-control {
  width: 100%;
  border: 1px solid #ddd4c2;
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  font-family: inherit;
  font-size: .92rem;
  background: var(--white);
  color: var(--text-dark);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus,
input:focus,
textarea:focus,
select:focus {
  border-color: var(--maroon);
  box-shadow: 0 0 0 2px rgba(108, 31, 42, 0.12);
  outline: 0;
}

.form-control::placeholder {
  color: #a39a8c;
}

.req {
  color: #e53935;
  margin-left: 2px;
  font-weight: bold;
}

.faq-wrap {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: stretch;
  margin-top: 44px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: var(--white);
  font-weight: 500;
  cursor: pointer;
  border: 1px solid #eee2cd;
  transition: .2s;
}

.faq-item.active {
  background: var(--maroon);
  color: var(--white);
}

.faq-answer {
  background: var(--maroon);
  border-radius: var(--radius-md);
  color: var(--white);
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.faq-answer h4 {
  color: var(--white);
  margin-bottom: 14px;
}

.faq-answer p {
  color: var(--white);
}

.bento-gallery {
  display: grid;
  grid-template-columns: 2.1fr 2.4fr 2.4fr 2.1fr 3.6fr;
  grid-template-rows: 250px 250px;
  gap: 20px;
  margin-top: 40px;
}

.bento-item {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.bento-item:hover img {
  transform: scale(1.03);
}

.bento-item-1 {
  grid-column: 1 / 3;
  grid-row: 1 / 2;
}

.bento-item-2 {
  grid-column: 3 / 5;
  grid-row: 1 / 2;
}

.bento-item-3 {
  grid-column: 5 / 6;
  grid-row: 1 / 3;
}

.bento-item-4 {
  grid-column: 1 / 4;
  grid-row: 2 / 3;
}

.bento-item-5 {
  grid-column: 4 / 5;
  grid-row: 2 / 3;
}

/* ---------- Contact page ---------- */
.container-xl.contact-grid {
  padding-top: 40px;
}

.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 30px;
  margin-top: 0;
  align-items: stretch;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1.1fr;
  gap: 24px;
  height: 100%;
}

.contact-card {
  background: var(--maroon);
  border-radius: var(--radius-md);
  padding: 28px 20px;
  text-align: center;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact-card .icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.contact-card .icon svg {
  width: 26px;
  height: 26px;
}

.contact-card h5 {
  font-size: .85rem;
  opacity: .85;
  margin-bottom: 4px;
  font-weight: 500;
}

.contact-card strong {
  font-size: 1rem;
}

.location-card {
  grid-column: span 2;
}

.location-card p {
  color: var(--white);
  font-size: .9rem;
  margin-top: 6px;
}

.message-card {
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 30px;
  position: relative;
  border-top: 5px solid var(--maroon);
  height: 100%;
}

.message-card h3 {
  margin-bottom: 20px;
  font-size: 1.15rem;
}

.message-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.message-form .full {
  grid-column: 1/-1;
}

.message-form textarea {
  min-height: 90px;
  resize: vertical;
}

.message-form .btn {
  margin-top: 14px;
}

.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 21/9;
  box-shadow: var(--shadow-card);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ======================================================
                 RESPONSIVE SYSTEM
   1. Desktop: Base Styles (> 991px)
   2. Tablet: @media (max-width: 991px)
   3. Mobile: @media (max-width: 576px)
====================================================== */

/* ---------- Tablet Viewport (max-width: 991px) ---------- */
@media (max-width: 991px) {
  .container-xl {
    padding-left: 60px;
    padding-right: 60px;
  }

  .navbar-inner {
    padding-left: 60px;
    padding-right: 60px;
  }



  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy h1 {
    font-size: 42px;
    line-height: 52px;
  }

  .hero-copy p {
    margin: auto auto 30px;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 50px;
  }

  .why-media {
    display: none;
  }

  .hero-stats {
    position: relative;
    margin: -85px auto 0;
    width: 100%;
    max-width: 620px;
    right: auto;
    clip-path: none;
    border-radius: 20px;
    z-index: 10;
    padding: 0 20px;
  }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 10px 24px 20px;
    display: none;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 0;
  }

  .nav-toggle {
    display: block;
  }

  .nav-actions .btn-sm.hide-mobile {
    display: none;
  }

  .why-choose,
  .split,
  .course-detail,
  .courses-hero-inner,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .course-grid-layout,
  .course-grid-layout.reverse {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .leadership {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    align-items: center;
  }

  .leadership-img {
    max-width: 280px;
    width: 100%;
  }

  .courses-hero-media {
    display: none;
  }

  .courses-hero .container-xl {
    padding-bottom: 60px;
  }

  .courses-hero-text {
    padding-bottom: 0;
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
  }

  .courses-hero-text h1 {
    font-size: 42px;
    line-height: 52px;
  }

  .courses-hero-text p {
    margin: 0 auto 32px;
  }

  .course-detail.reverse .course-detail-copy,
  .course-detail.reverse .course-detail-media {
    order: 0;
  }

  .courses-grid,
  .stories-grid,
  .mission-vision,
  .faculty-grid,
  .who-join-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .courses-grid>.course-card:nth-child(3):last-child,
  .stories-grid>.story-card:nth-child(3):last-child,
  .faculty-grid>.faculty-card:nth-child(3):last-child {
    grid-column: 1 / -1;
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
  }

  .demo-videos-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .stats-bar .container-xl {
    flex-wrap: wrap;
    gap: 20px;
  }

  .stat {
    flex: 1 1 40%;
    border-right: none;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1.3fr;
    gap: 32px 30px;
    align-items: start;
  }

  .footer-grid>div:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .footer-grid>div:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
  }

  .footer-grid>div:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
  }

  .footer-grid>div:nth-child(4) {
    grid-column: 3;
    grid-row: 1 / span 2;
  }

  .course-two-col {
    grid-template-columns: 1fr;
  }

  .faq-wrap {
    grid-template-columns: 1fr 1.1fr;
    gap: 24px;
  }

  .bento-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    gap: 16px;
  }

  .bento-item {
    height: 220px;
  }

  .bento-item-3 {
    grid-column: 1 / -1;
    grid-row: auto;
    height: 320px;
  }
}

/* ---------- Mobile Viewport (max-width: 576px) ---------- */
@media (max-width: 576px) {
  .navbar-inner {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .nav-actions .btn {
    display: none;
  }

  .nav-links a.nav-enquire-mobile,
  .nav-enquire-mobile {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 12px;
    color: var(--white) !important;
    padding: 12px 24px;
  }

  .nav-links a.nav-enquire-mobile:hover {
    color: var(--white) !important;
  }

  .hero {
    padding-bottom: 0px;
  }

  .hero-grid {
    gap: 10px;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .photo-frame {
    width: 280px;
    height: 360px;
  }

  .hero-stats {
    height: auto;
    padding: 20px 0;
    flex-direction: column;
    gap: 20px;
  }

  .stat-item {
    width: 100%;
  }

  .stat-item::after {
    display: none;
  }

  .container-xl {
    padding: 40px 20px;
  }

  .section-heading {
    margin: 0 auto 40px;
  }

  .courses-grid,
  .stories-grid,
  .mission-vision,
  .faculty-grid,
  .who-join-grid,
  .testimonial-grid,
  .contact-cards,
  .message-form,
  .callback-form,
  .demo-videos-wrap,
  .leadership,
  .course-grid-layout,
  .course-grid-layout.reverse,
  .faq-wrap {
    grid-template-columns: 1fr;
  }

  .courses-grid>.course-card:nth-child(3):last-child,
  .stories-grid>.story-card:nth-child(3):last-child,
  .faculty-grid>.faculty-card:nth-child(3):last-child {
    grid-column: auto;
    max-width: 100%;
    margin: 0;
  }

  .location-card {
    grid-column: span 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .bento-gallery {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .bento-item,
  .bento-item-1,
  .bento-item-2,
  .bento-item-3,
  .bento-item-4,
  .bento-item-5 {
    grid-column: auto;
    grid-row: auto;
    height: 240px;
  }

  .footer-grid>div:nth-child(1),
  .footer-grid>div:nth-child(2),
  .footer-grid>div:nth-child(3),
  .footer-grid>div:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
  }

  .callback-card {
    padding: 30px;
  }


  .hero-actions {
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
  }
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #25d366;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4), 0 2px 6px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.whatsapp-icon {
  width: 26px;
  height: 26px;
  object-fit: contain;
  display: block;
}

/* Floating WhatsApp Pulse Effect */
.whatsapp-float::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: #25d366;
  opacity: 0.6;
  z-index: -1;
  animation: whatsapp-pulse 2s infinite ease-in-out;
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }

  50% {
    transform: scale(1.35);
    opacity: 0;
  }

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

/* WhatsApp Hover Tooltip */
.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #1e293b;
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.825rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
  border-width: 5px 0 5px 5px;
  border-style: solid;
  border-color: transparent transparent transparent #1e293b;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(-4px);
}

@media (max-width: 576px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }

  .whatsapp-icon {
    width: 30px;
    height: 30px;
  }

  .whatsapp-tooltip {
    display: none;
  }
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    font-size: 14px;
    color: #ffffff;
}

.footer-bottom a {
    color: #d4af37;
    text-decoration: none;
    font-weight: 600;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}