

/* ===== GLOBAL RHYTHM RESET ===== */

section {
  padding-top: 90px;
  padding-bottom: 90px;
}

@media (max-width: 991px) {
  section {
    padding-top: 70px;
    padding-bottom: 70px;
  }
}


/* =====================================================
   UNIVERSAL SECTION HEADLINES (ABOUT + PROGRAMS MATCH)
   ===================================================== */

.section-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
}

.section-title span {
  background: linear-gradient(90deg, #ffc107, #f57c00);
  -webkit-background-clip: text;
  color: transparent;
}

/* Eyebrow consistency */
.section-eyebrow {
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #972a2a;
  margin-bottom: 12px;
  display: inline-block;
}

/* Subtext consistency */
.section-subtext {
  font-size: 18px;
  max-width: 640px;
  opacity: 0.85;
}

@media (max-width: 991px) {
  .section-title {
    font-size: 38px;
  }
}



:root {
  --cds-dark: #1e1e1e;
  --cds-primary: #972a2a;
  --cds-accent: #ffc107;
  --cds-bg-soft: #faf7f3;
}


.section-eyebrow,
.about-eyebrow {
  color: var(--cds-primary);
}

.hero-title-new span,
.about-main-title span,
.section-title span {
  background: linear-gradient(90deg, var(--cds-accent), #f57c00);
  -webkit-background-clip: text;
  color: transparent;
}



/* =====================================================
   REAL HEADER FIX (TARGETS THEME STRUCTURE)
   ===================================================== */

/* Initial state (hero visible behind header) */
header.header,
header.header .main-navigation,
header.header .navbar {
  background: transparent !important;
  box-shadow: none !important;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

/* On scroll   APPLY GRADIENT TO THE ACTUAL ELEMENT */
header.header.is-scrolled .main-navigation,
header.header.is-scrolled .navbar {
  background: linear-gradient(90deg, #972a2a, #f7a726) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35) !important;
}

/* Ensure navbar content stays visible */
header.header.is-scrolled .navbar * {
  color: #fff;
}


header.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
}



header.header .nav-call,
header.header .nav-call * {
  color: #ffffff;
}


/* Height & alignment */
header.header .navbar {
  min-height: 72px;
  display: flex;
  align-items: center;
}

header.header .container {
  display: flex;
  align-items: center;
}

/* Mobile */
@media (max-width: 768px) {
  header.header .navbar {
    min-height: 64px;
  }
}





/* =====================================================
   CDS HERO SECTION   COMPLETE, CLEAN, FINAL
   ===================================================== */

/* HERO BACKGROUND VIDEO */
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}


/* Overlay for readability */
.hero-cds::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.55) 45%,
    rgba(0,0,0,0.25) 100%
  );
  z-index: 1;
}

/* Content Layer */
.hero-cds .container {
  position: relative;
  z-index: 2;
}

/* Hero Text */
.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffc107;
  margin-bottom: 14px;
  display: inline-block;
}

.hero-title {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 22px;
}

.hero-title span {
  background: linear-gradient(90deg, #ffc107, #f57c00);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtext {
  font-size: 18px;
  max-width: 560px;
  opacity: 0.9;
  margin-bottom: 32px;
}

/* Trust Strip */
.hero-trust {
  display: flex;
  gap: 28px;
}

.hero-trust div {
  border-left: 3px solid #ffc107;
  padding-left: 14px;
}

.hero-trust strong {
  display: block;
  font-size: 18px;
}

.hero-trust span {
  font-size: 13px;
  opacity: 0.85;
}

/* Form Card */
.hero-form-card {
  background: #ffffff;
  border-radius: 14px;
  padding: 47px 29px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.35);
}

.hero-form-card h3 {
  text-align: center;
  font-weight: 700;
  color: #972a2a;
  margin-bottom: 6px;
}

.hero-form-card p {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-bottom: 18px;
}

.form-trust {
  text-align: center;
  font-size: 12px;
  color: #777;
  /* margin-top: -17px; */
}

/* Mobile */
@media (max-width: 768px) {
  .hero-title {
    font-size: 38px;
  }

  .hero-trust {
    flex-direction: column;
    gap: 18px;
  }

  .hero-cds::before {
    filter: blur(9px);
    background-position: center top;
  }
}

/* Mobile: show full video frame (no crop) */
@media (max-width: 768px) {
  .hero-video {
    object-fit: cover;
	filter: blur(2.5px);
    background: #000; /* fills empty space cleanly */
  }
}


/* Mobile spacing between hero text & form */
@media (max-width: 768px) {
  .hero-cds .col-lg-7 {
    margin-bottom: 50px;
  }
}

/* Hide desktop sticky button on mobile */
@media (max-width: 768px) {
  .enquire_btn {
    display: none !important;
  }
}


/* =====================================================
   HERO   TRUE VERTICAL CENTERING (FINAL)
   ===================================================== */

.hero-cds {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 90px; /* header height */
  padding-bottom: 60px;
}

.hero-cds .container {
  width: 100%;
}

.hero-row {
  align-items: center;
}

/* Left content */
.hero-cds .col-lg-7 {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Right form */
.hero-cds .col-lg-5 {
  /* display: flex; */
  justify-content: center;
}

/* Mobile */
@media (max-width: 991px) {
  .hero-cds {
    padding-top: 80px;
    padding-bottom: 80px;
  }
}


           
/* ===== ABOUT CDS   PREMIUM REVAMP ===== */


.about-cds-section {
  padding: 90px 0;
  background: linear-gradient(
    180deg,
    #faf7f3 0%,
    #ffffff 60%
  );
  color: #2b2b2b;
}

/* Eyebrow */
.about-eyebrow {
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffc107;
  margin-bottom: 12px;
  display: inline-block;
}

/* Main Title */
.about-main-title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
}

.about-main-title span {
  background: linear-gradient(90deg, #ffc107, #f57c00);
  -webkit-background-clip: text;
  color: transparent;
}

/* Intro Text */
.about-intro {
  font-size: 18px;
  margin-bottom: 20px;
  max-width: 640px;
  opacity: 0.85;
}

/* Image */
.about-image-wrapper {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
}

.about-image-wrapper img {
  width: 100%;
  border-radius: 18px;
}

/* Experience Badge */
.experience-badge {
  position: absolute;
  bottom: 25px;
  left: 25px;
  background: rgba(0,0,0,0.8);
  padding: 18px 22px;
  border-left: 4px solid #ffc107;
}

.experience-badge strong {
  font-size: 32px;
  display: block;
  color: #ffc107;
}

.experience-badge span {
  font-size: 13px;
color: #ffffff;
}

/* Principles */
.about-principles {
  padding-left: 40px;
}

.principle-card {
  position: relative;
  padding-left: 60px;
  margin-bottom: 35px;
}

.principle-number {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 22px;
  font-weight: 700;
  color: #ffc107;
}

.principle-card h4 {
  font-size: 20px;
  margin-bottom: 8px;
}

.principle-card p {
  font-size: 15px;
  opacity: 0.85;
}

/* CTA */
.about-cta {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-top: 40px;
}

.about-call a {
  color: #972a2a;
}

.about-call span {
  color: #777;
}

/* Responsive */
@media (max-width: 991px) {
  .about-main-title {
    font-size: 38px;
  }

  .about-principles {
    padding-left: 0;
    margin-top: 50px;
  }
}


/* =====================================================
   PROGRAMS   COURSE CANVAS EXPERIENCE
   ===================================================== */

.programs-canvas {
  background: #fdfbf8;
}

.programs-header {
  max-width: 820px;
  margin: 0 auto 70px;
}

/* Canvas Card */
.program-canvas {
  position: relative;
  min-height: 520px;
  margin-bottom: 80px;
  border-radius: 22px;
  overflow: hidden;
}

/* Background */
.program-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.program-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 0.8s ease;
}

/* Overlay */
.program-canvas::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.78) 0%,
    rgba(0,0,0,0.6) 45%,
    rgba(0,0,0,0.25) 100%
  );
  z-index: 2;
}

/* Inner Content */
.program-inner {
  position: relative;
  z-index: 3;
  max-width: 620px;
  padding: 80px 70px;
  color: #ffffff;
}

.program-inner h3 {
  font-size: 40px;
  font-weight: 800;
  margin: 14px 0 20px;
  color: #ffffff; /* FORCE WHITE */
  text-shadow: 0 4px 18px rgba(0,0,0,0.55); /* readability on bright frames */
}

/* Optional: subtle premium accent underline */
.program-inner h3::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin-top: 10px;
  background: linear-gradient(90deg, #ffc107, #f57c00);
  border-radius: 2px;
}

@media (max-width: 991px) {
  .program-inner h3 {
    font-size: 32px;
  }
}

.program-inner p {
  font-size: 16px;
  line-height: 1.6;
  opacity: 0.92;
  margin-bottom: 16px;
}

.program-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 25px 0 30px;
  padding: 0;
  list-style: none;
}

.program-highlights li {
  font-size: 13px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.15);
  border-radius: 30px;
}

/* CTA */
.program-link {
  font-weight: 600;
  color: #ffc107;
  text-decoration: none;
  font-size: 15px;
}

.program-link:hover {
  text-decoration: underline;
}

/* Hover motion */
.program-canvas:hover .program-bg img {
  transform: scale(1.12);
}


/* =====================================================
   PROGRAMS SECTION HEADER   LEFT ALIGNED (LIKE ABOUT CDS)
   ===================================================== */

.programs-header {
  max-width: 820px;
  margin: 0 0 70px 0; /* remove auto centering */
  text-align: left;
}

.programs-header .section-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
}

.programs-header .section-title {
  margin-bottom: 16px;
}

.programs-header .section-subtext {
  max-width: 640px;
  opacity: 0.85;
}


/* Mobile */
@media (max-width: 991px) {
  .program-inner {
    padding: 60px 30px;
  }

  .program-inner h3 {
    font-size: 32px;
  }

  .program-canvas {
    min-height: auto;
  }
}




/* =====================================================
   LEARNING PHILOSOPHY SECTION
   ===================================================== */

.learning-philosophy-section {
  padding: 80px 0;
  background: #f8f8f8;
}

.learning-header {
  max-width: 820px;
  margin-bottom: 60px;
}

.learning-narrative {
  max-width: 760px;
  margin-bottom: 80px;
}

.lead-line {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 28px;
}

.learning-points {
  list-style: none;
  padding: 0;
}

.learning-points li {
  font-size: 17px;
  margin-bottom: 14px;
  position: relative;
  padding-left: 20px;
}

.learning-points li::before {
  content: "-";
  position: absolute;
  left: 0;
  color: #972a2a;
}

/* Cards */

.learning-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.learning-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  margin-bottom: 18px;
}

.learning-card h4 {
  font-size: 20px;
  margin-bottom: 10px;
}

.learning-card p {
  font-size: 16px;
  opacity: 0.85;
}

/* Responsive */

@media (max-width: 991px) {
  .learning-cards {
    grid-template-columns: 1fr;
  }

  .lead-line {
    font-size: 20px;
  }
}


/* ====================
   STUDENT WORK HEADER
   ==================== */

.student-work-header {
  max-width: 820px;
  margin: 0 0 70px 0;
  text-align: left;
}


.cds-work {
  padding: 80px 0 90px;
  background: #ffffff;
}

.cds-work-header {
  max-width: 620px;
  margin-bottom: 40px;
}

.cds-work-header h2 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
}

.cds-work-header span {
  color: #972a2a;
}

.cds-work-header p {
  font-size: 16px;
  color: #555;
  margin-top: 12px;
}

/* Work Wall */
.work-wall {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 140px;
  gap: 6px;
}

/* Base Item */
.work-tile {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.work-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.work-tile:hover img {
  transform: scale(1.06);
}

/* Tile Sizes */
.tile-lg {
  grid-column: span 6;
  grid-row: span 3;
}

.tile-md {
  grid-column: span 4;
  grid-row: span 2;
}

.tile-sm {
  grid-column: span 3;
  grid-row: span 2;
}

/* Subtle Overlay (Luxury Touch) */
.work-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.08);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.work-tile:hover::after {
  opacity: 1;
}

/* CTA */
.work-cta {
  margin-top: 45px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.work-cta p {
  font-size: 15px;
  color: #444;
  max-width: 500px;
}

/* Mobile */
@media (max-width: 991px) {
  .work-wall {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }

  .tile-lg,
  .tile-md,
  .tile-sm {
    grid-column: span 2;
    grid-row: span 1;
  }

  .cds-work-header h2 {
    font-size: 34px;
  }

  .work-cta {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}






/* =====================================================
   MOBILE APPLY CTA (SCROLL-BASED)
   ===================================================== */

.mobile-apply-cta {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: linear-gradient(90deg, #972a2a, #f7a726);
  color: #fff;
  padding: 14px 32px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 9999;
}

/* Visible state */
.mobile-apply-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Desktop: never show */
@media (min-width: 769px) {
  .mobile-apply-cta {
    display: none !important;
  }
}




/* =====================================================
   CDS FOOTER   INTELLECTUAL, PREMIUM
   ===================================================== */

.cds-footer {
  background: linear-gradient(180deg, #1e1e1e 0%, #121212 100%);
  color: rgba(255,255,255,0.8);
  padding: 30px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.4fr;
  gap: 60px;
  margin-bottom: 10px;
}

/* Brand */
.footer-brand img {
  width: 140px;
  margin-bottom: 18px;
}

.footer-brand p {
  font-size: 15px;
  line-height: 1.7;
  max-width: 360px;
}

/* Links */
.footer-links h5,
.footer-contact h5 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
}

.footer-links a:hover {
  color: #ffc107;
}

/* Contact */
.footer-contact p {
  font-size: 14px;
  margin-bottom: 14px;
}

.footer-contact a {
  color: #ffc107;
  text-decoration: none;
}

/* Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  font-size: 13px;
  opacity: 0.7;
}

/* Social */
.footer-social {
  display: flex;
  gap: 18px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: #ffc107;
  border-color: #ffc107;
  color: #1e1e1e;
}


@media (max-width: 991px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 18px;
    text-align: center;
  }
}


