@import url('https://fonts.googleapis.com/css2?family=KoHo:wght@400;500;600;700&display=swap');



* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'KoHo', sans-serif;
  color: var(--text-main);
  background: var(--bg-gradient);
  background-repeat: no-repeat;
  background-size: 100% 1200px;
  line-height: 1.5;
  overflow-x: hidden;
}

#navbar {
  background: transparent !important;
  border-bottom: none;
}

#navbar.scrolled {
  background: #fff !important;
  border-bottom: 1px solid #ededed;
}

#navbar.mob-header {
  background: #ffffff !important;
}

#navbar.mob-header .logo a img {
  display: flex;
}

#navbar.mob-header .logo-white a img {
  display: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 80px 0px 80px;
}



.site-header {
  padding: 20px 0;
  position: fixed;
  z-index: 100;
  width: 100%;
}

.logo img {
  height: 60px;
  width: auto;
}

.main-nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
}

.main-nav a {
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  color: var(--text-main);
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: var(--primary);
}

.btn-enquiry {
  background-color: #F9A121;
  color: var(--white);
  padding: 12px 32px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-enquiry:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(249, 161, 33, 0.4);
}


/* --------------------------------------------
---------------- hero section------------------
---------------------------------------------- */


.hero-video {
  position: relative;
  height: 100vh;
  display: grid;
  place-items: center;
  align-content: center;
  padding-top: 15rem;
}

.bg-image {
  position: absolute;
  z-index: -1;
  width: 100vw;
  top: -270px;
}

.bg-image img {
  width: 100%;
  filter: blur(160px);
  object-fit: cover;
}

.hero-cnt {
  text-align: center;
  margin-top: 54px;
}

.high-duration {
  color: #481f7f;
  display: block;
  background-color: #fff;
  border: 1px solid #481f7f;
  width: fit-content;
  margin: 3rem auto;
  border-radius: 50px;
  padding: 1px 20px;
  display: flex;
  align-items: center;
  gap: 5px;
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 500;
}

.hero-cnt h1 {
  font-size: 100px;
  line-height: 1.2;
}

.head-subtext {
  font-size: 45px;
}

.hero-image {
  margin-top: 4rem;
}

.floor-image {
  position: absolute;
  bottom: -25%;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 500px;
  mix-blend-mode: color-burn;
  opacity: 0.3;
  background: url(../../images/video-edit/grid-bg.svg);
  background-size: cover;
  background-position: center;
}

.student_place {
  background: linear-gradient(135deg, #DE558D 0%, #D44780 100%);
  color: #fff;
  padding: 26px 24px;
  border-radius: 20px;
  width: 185px;
  height: 185px;
  position: absolute;
  right: 16%;
  bottom: 15%;
  transform: rotate(-8deg);
  box-shadow:
    inset 4px 4px 8px rgba(255, 255, 255, 0.35),
    inset -6px -6px 15px rgba(0, 0, 0, 0.15),
    15px 25px 40px rgba(116, 72, 161, 0);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 10;
}

.student_place h6 {
  font-size: 38px;
  font-weight: 700;
  line-height: 0.8;
  margin-bottom: 0;
  letter-spacing: -0.5px;
}

.student_place h6 span {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0;
}

.student_place p {
  margin-bottom: 0;
  line-height: 1.3;
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.95);
}

.student_place::after {
  content: "";
  position: absolute;
  width: 135px;
  height: 11px;
  background-color: #11111169;
  transform: skew(71deg, 6deg) translateY(-15px);
  bottom: -29px;
  left: 63px;
  filter: blur(11px);
}

.experience_place {
  background: linear-gradient(135deg, #FFB72B 0%, #F59C12 100%);
  color: #fff;
  padding: 20px;
  border-radius: 18px;
  width: 165px;
  height: 145px;
  position: absolute;
  left: 14%;
  bottom: 11%;
  transform: rotate(0deg);
  box-shadow:
    inset 4px 4px 8px rgba(255, 255, 255, 0.4),
    inset -6px -6px 15px rgba(0, 0, 0, 0.15),
    15px 25px 40px rgba(245, 154, 18, 0);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 15px;
  z-index: 10;
}

.experience_place h6 {
  font-size: 46px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 0;
  letter-spacing: -1px;
  display: flex;
  align-items: baseline;
}

.experience_place h6 span {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0;
  margin-left: 6px;
}

.experience_place p {
  margin-bottom: 0;
  line-height: 1.2;
  font-size: 19px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
}

.experience_place::before {

  background-color: #111111;
  height: 30px;
  width: 97px;
  position: absolute;
  transform: skew(99deg, 10deg);
  bottom: -11px;
}

.duration-section {
  margin-top: 10rem;
}

.duration-flex {
  display: flex;
  align-items: flex-start;
  gap: 2.5rem;
  background-color: #ffffff4a;
  padding: 2.2rem 2.5rem;
  border: 2px solid #ffff;
  border-radius: 30px;
  position: relative;
  /* NO overflow:hidden — keeps the rotated inquiry button visible */
  transition: gap 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Flex children base --- */
.desc-txt {
  flex: 1 1 0;
  min-width: 0;
  opacity: 1;
  transform: translateX(0);
  transition: opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    max-width 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    padding 0.4s ease;
  max-width: 50%;
  overflow: hidden;
}

.duration-card {
  flex: 1 1 0;
  min-width: 0;
  transition: flex 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Inquiry form panel: hidden — taken out of flow so it can't stretch the container --- */
.inquiry-form-panel {
  position: absolute;
  /* out of flow: doesn't affect container height */
  top: 0;
  right: 0;
  width: 0;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: max-width 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    width 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.4s ease 0.18s,
    visibility 0s linear 0.6s;
  height: 100%;
  display: flex;
  align-items: center;
}

/* --- Active: snap back into flow and slide in --- */
.duration-flex.form-active {
  gap: 2rem;
}

.duration-flex.form-active .desc-txt {
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateX(-24px);
  padding: 0;
  pointer-events: none;
}

.duration-flex.form-active .inquiry-form-panel {
  position: relative;
  /* back in flow */
  width: auto;
  max-width: 55%;
  flex: 1 1 0;
  min-width: 0;
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  overflow: visible;
  height: auto;
  transition: max-width 0.55s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.4s ease 0.18s,
    visibility 0s linear 0s;
}

/* --- Inquiry button tab: hide when form opens --- */
.course-enquiry {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.duration-flex.form-active .course-enquiry {
  opacity: 0;
  pointer-events: none;
  transform: translateX(20px);
}

/* -----------------------------------------------
   Inquiry Form Inner Layout
----------------------------------------------- */
.inquiry-form-inner {
  padding: 0.25rem 1.5rem 0.25rem 3.8rem;
  border-left: 2px solid rgb(72 31 127 / 6%);
  white-space: normal;
}

.inquiry-form-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 1rem;
}

.inq-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(72, 31, 127, 0.12), rgba(130, 56, 229, 0.15));
  color: #481f7f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
  border: 1px solid rgba(72, 31, 127, 0.2);
  margin-bottom: 4px;
}

.inquiry-form-header h4 {
  font-size: 20px;
  font-weight: 700;
  color: #481f7f;
  margin: 0;
  line-height: 1.2;
}

.form-close-btn {
  flex-shrink: 0;
  background: rgba(72, 31, 127, 0.08);
  border: 1.5px solid rgba(72, 31, 127, 0.2);
  color: #481f7f;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 13px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  line-height: 1;
  padding: 0;
}

.form-close-btn:hover {
  background: rgba(72, 31, 127, 0.18);
  transform: rotate(90deg);
}

/* --- Form Groups --- */
.inq-form-group {
  margin-bottom: 0.8rem;
}

.inq-form-group label {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: #481f7f;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.7px;
}

.inq-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.inq-icon {
  position: absolute;
  left: 0.75rem;
  width: 16px;
  height: 16px;
  color: #8238e5;
  pointer-events: none;
  flex-shrink: 0;
}

.inq-form-group input,
.inq-form-group select {
  width: 100%;
  padding: 0.6rem 1rem 0.6rem 2.4rem;
  border: 1.5px solid rgba(72, 31, 127, 0.2);
  border-radius: 10px;
  font-size: 14.5px;
  font-family: 'KoHo', sans-serif;
  color: #1a1a1a;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.inq-form-group input:focus,
.inq-form-group select:focus {
  border-color: #8238e5;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 0 3px rgba(130, 56, 229, 0.13);
}

.inq-form-group input::placeholder {
  color: #aaa;
}

/* Custom select */
.inq-select-wrap {
  position: relative;
}

.inq-form-group select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
  cursor: pointer;
}

.inq-chevron {
  position: absolute;
  right: 0.75rem;
  width: 15px;
  height: 15px;
  color: #8238e5;
  pointer-events: none;
}

/* --- Submit Button --- */
.inq-submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: radial-gradient(circle at 30% 50%, rgba(130, 56, 229, 1) 0%, rgba(72, 31, 127, 1) 100%);
  color: #fff;
  border: none;
  padding: 0.72rem 1.5rem;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'KoHo', sans-serif;
  cursor: pointer;
  margin-top: 1.6rem;
  letter-spacing: 0.3px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.inq-submit-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, transparent 60%);
  border-radius: inherit;
}

.inq-submit-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

.inq-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(72, 31, 127, 0.42);
}

.inq-submit-btn:hover svg {
  transform: translateX(4px);
}

/* --- Success state --- */
.inq-submit-btn.success {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

.course-enquiry button {
  background: radial-gradient(circle, rgba(130, 56, 229, 1) 0%, rgba(72, 31, 127, 1) 100%);
  border: none;
  padding: 11px 33px;
  border-radius: 13px;
  position: absolute;
  color: #fff;
  font-size: 18px;
  right: -83px;
  top: 50%;
  transform: translate(0%, -50%) rotate(270deg);
  cursor: pointer;
  font-family: 'KoHo', sans-serif;
}

.desc-txt h6 {
  font-size: 28px;
}

.duration-card h3 {
  font-size: 45px;
  color: #481f7f;
  font-weight: 600;
}

.duration-card p {
  font-size: 18px;
}

.cours-duration {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
  font-size: 20px;
  color: #481f7f;
  font-size: 18px;
}

.cours-duration b {
  font-size: 25px;
  padding-left: 0.6rem;
}

.course-enquiry button {
  background: radial-gradient(circle, rgba(130, 56, 229, 1) 0%, rgba(72, 31, 127, 1) 100%);
  border: none;
  padding: 11px 33px;
  border-radius: 13px;
  position: absolute;
  color: #fff;
  font-size: 18px;
  right: -83px;
  top: 50%;
  transform: translate(0%, -50%) rotate(270deg);
}


.g-review {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 6rem;
  margin-bottom: 2rem;
}

.g-review p {
  margin-bottom: 0;
  font-size: 21px;
  font-weight: 500;
}

.review-cnt {
  line-height: 1.2;
}


.titles {
  text-align: center;
  margin-top: 1rem;
}

.titles h2 {
  font-size: 45px;
}

.titles p {
  font-size: 18px;
  width: 24%;
  margin: auto;
}

.learn-main {
  margin-top: 5rem;
  display: flex;
  gap: 1.5rem;
  transform: translate(18%, 0px);
  height: 28vh;
  align-items: center;
}

.learn-card {
  width: 215px;
  height: 215px;
  border: 1px solid #FFACAD;
  padding: 1rem;
  display: grid;
  align-content: space-between;
  border-radius: 15px;
}

.learn-card h6 {
  font-size: 17px;
  font-weight: 600;
}

.card-1 {
  transform: rotate(-9.15deg);
}

.card-2 {
  transform: translate(-35.4199px, -1.7877px) rotate(9.7698deg);
  background-color: #fffeff;
}

.card-3 {
  transform: rotate(-8.88deg) translateX(-70px);
  background-color: #fffeff;
}

.card-4 {
  transform: translate(-100.3802px, 6.7057px) rotate(7.6302deg) skew(0.000567883deg, 0deg);
  background-color: #fffeff;
}

.card-5 {
  transform: translate(-133.38px, 7.7057px) rotate(-9.37deg) skew(0.000565311deg, 0deg);
  background-color: #fffeff;
}

.card-6 {
  transform: translate(-165.38px, 2.7057px) rotate(4.63deg) skew(0.000565311deg, 0deg);
  background-color: #fffeff;
}

.card-7 {
  transform: translate(-193.38px, 9.7057px) rotate(-6.37deg) skew(0.000565311deg, 0deg);
  background-color: #fffeff;
}

.card-8 {
  transform: translate(-215.38px, 3.7057px) rotate(5.6303deg) skew(0.000666735deg, 0deg);
  background-color: #fffeff;
}

.card-9 {
  transform: translate(-245.38px, 12.7057px) rotate(-3.37deg) skew(0.000565311deg, 0deg);
  background-color: #fffeff;
}


/* --------------------------------------------
---------------- Skills Tools Section ----------
---------------------------------------------- */

.skills-tools-section {
  padding: 120px 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.skills-tools-wrapper {
  position: relative;
  text-align: center;
  padding: 100px 0;
  min-height: 400px;
}

.skills-tools-title {
  font-size: 70px;
  font-weight: 500;
  color: #1a1a1a;
  margin: 0;
  position: relative;
  z-index: 10;
  line-height: 1.4;
  max-width: 570px;
  margin-left: auto;
  margin-right: auto;
}

.purple-text {
  color: #481F7F;
  font-weight: 600;
}

.orange-text {
  color: #F9A121;
  font-weight: 600;
}

.floating-icons {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.icon {
  position: absolute;
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.icon-1 {
  top: 33%;
  right: 23%;
  width: 75px;
  height: 75px;
  transform: rotate(-3deg);
}

.icon-2 {
  top: 54%;
  left: 16%;
  width: 60px;
  height: 60px;
  transform: rotate(0deg) scale(2);
}

.icon-3 {
  top: 81%;
  left: 32%;
  transform: translateY(-50%) rotate(10deg) scale(2);
  width: 70px;
  height: 70px;
  z-index: 11;

}

.icon-4 {
  bottom: -11%;
  left: 22%;
  transform: translateY(-50%) rotate(0deg);
  width: 65px;
  height: 65px;
}

.icon-5 {
  bottom: 6%;
  right: 38%;
  width: 68px;
  height: 68px;
  transform: rotate(0deg) scale(1.5);
}

.icon-6 {
  bottom: 10%;
  right: 18%;
  width: 72px;
  height: 72px;
  transform: rotate(-12deg);
}

.icon-7 {
  top: 5%;
  left: 24%;
  width: 55px;
  height: 55px;
  transform: rotate(-5deg) scale(1.5);
}

.icon-8 {
  top: 13%;
  right: 50%;
  width: 58px;
  height: 58px;
  transform: rotate(10deg) scale(1.6);
  z-index: 10;
}

.icon-9 {
  top: -3%;
  right: 28%;
  transform: translateX(-50%) rotate(-8deg);
  width: 62px;
  height: 62px;
}

.icon-10 {
  top: 33%;
  left: 28%;
  width: 40px;
  height: 55px;
  transform: rotate(-5deg) scale(1.5);
}

.icon-11 {
  top: 23%;
  right: 13%;
  transform: translateX(-50%) rotate(-8deg);
  width: 55px;
  height: 62px;
}

/* --------------------------------------------
---------------- Student Work Section ---------
---------------------------------------------- */

.student-work-section {
  background: radial-gradient(circle, rgba(108, 85, 163, 1) -40%, rgba(42, 21, 92, 1) 100%);
  padding: 100px 0;
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.student-work-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 60px;
}

.header-left .sub-heading {
  color: #F9A121;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 10px;
}

.header-left h2 {
  color: #ffffff;
  font-size: 50px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 450px;
  margin-top: 20px;
}

.header-right .icon-wrapper svg {
  width: 60px;
  height: auto;
}

.header-right p {
  color: #ffffff;
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
  font-weight: 400;
}

.gallery-wrapper {
  width: 100%;
  margin-top: 40px;
}

.gallery-container {
  display: flex;
  gap: 30px;
  padding-left: max(24px, calc((100vw - 1232px) / 2));
  padding-right: 100px;
  width: max-content;
  height: 600px;
  will-change: transform;
}

.gallery-col {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.large-col {
  width: 800px;
}

.small-col {
  width: 500px;
}

.gallery-item {
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid #715835;
  transition: transform 0.3s ease, border-color 0.3s ease;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  background-color: #000;
  cursor: pointer;
}

.large-item {
  height: 100%;
  border-color: #00aaff;
  border-width: 4px;
}

.small-col .gallery-item {
  height: calc(50% - 15px);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  opacity: 0.85;
}

.gallery-item:hover {
  border-color: #F9A121;
}

.gallery-item.active {
  border-color: #00aaff;
}

.gallery-item.active img,
.gallery-item:hover img {
  transform: scale(1.05);
  opacity: 1;
}

@media (max-width: 1700px) {
  .high-duration {
    margin-top: 10rem;
  }
}

@media (max-width: 768px) {
  .hero-video {
    padding-top: 8rem;
    align-content: start;
    height: auto;
    min-height: 100vh;
  }

  .high-duration {
    margin-top: 0;
  }
}

@media (max-width: 1280px) {
  .gallery-container {
    padding-left: 24px;
  }
}

@media (max-width: 992px) {
  .student-work-header {
    flex-direction: column;
    gap: 30px;
  }

  .gallery-container {
    height: 450px;
  }

  .large-col {
    width: 600px;
  }

  .small-col {
    width: 380px;
  }
}

@media (max-width: 768px) {
  .gallery-container {
    height: 350px;
  }

  .large-col {
    width: 450px;
  }

  .small-col {
    width: 300px;
  }

  .header-left h2 {
    font-size: 36px;
  }
}

/* --------------------------------------------
---------------- Why Skilz Section ------------
---------------------------------------------- */

.why-skilz-section {
  background-color: #ffffff;
}

.why-skilz-header {
  margin-bottom: 50px;
  margin-top: 50px;
}

.why-skilz-header h2 {
  font-size: 40px;
  font-weight: 600;
  color: #111111;
}

.why-skilz-grid {
  display: flex;
  gap: 20px;
  justify-content: space-between;
}

.skilz-card {
  background-color: #F8F9FA;
  border-radius: 16px;
  padding: 30px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skilz-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.icon-box {
  width: 70px;
  height: 70px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  border: 2px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.icon-box img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* Approximate soft colors based on the design */
.icon-bg-1 {
  background-color: #FFF5EB;
}

.icon-bg-2 {
  background-color: #EEF2FF;
}

.icon-bg-3 {
  background-color: #FDF2F8;
}

.icon-bg-4 {
  background-color: #F0FDF4;
}

.icon-bg-5 {
  background-color: #F7FEE7;
}

.skilz-card p {
  font-size: 20px;
  font-weight: 600;
  color: #333333;
  line-height: 1.4;
  margin: 0;
}

@media (max-width: 992px) {
  .why-skilz-grid {
    flex-wrap: wrap;
  }

  .skilz-card {
    min-width: calc(33.333% - 20px);
  }
}

@media (max-width: 768px) {
  .why-skilz-grid {
    flex-direction: column;
  }

  .skilz-card {
    min-width: 100%;
  }
}

/* --------------------------------------------
---------------- Roles Marquee Section --------
---------------------------------------------- */

.roles-section {
  background-color: #ffffff;
}

.roles-banner {
  background: linear-gradient(144deg, #5f409d 0%, #39285E 100%);
  border-radius: 24px;
  display: flex;
  align-items: center;
  padding: 35px 50px;
  position: relative;
  box-shadow: 0 15px 40px rgba(79, 56, 125, 0.2);
  overflow: hidden;
}

.roles-heading {
  flex-shrink: 0;
  margin-right: 50px;
  position: relative;
  z-index: 2;
}

.roles-heading h3 {
  color: #ffffff;
  font-size: 32px;
  font-weight: 600;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.5px;
}

.roles-marquee-container {
  flex-grow: 1;
  overflow: hidden;
  display: flex;
  white-space: nowrap;
  position: relative;
  /* Soft fade out on edges */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 5%, black 80%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 5%, black 80%, transparent 100%);
}

.roles-marquee {
  display: flex;
  animation: marquee 50s linear infinite;
  will-change: transform;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
}

.marquee-content span {
  color: #ffffff;
  font-size: 22px;
  font-weight: 500;
}

.marquee-content span.star {
  color: #F9A121;
  font-size: 26px;
  /* subtle pulse animation on star */
  animation: pulse 2s infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

@keyframes pulse {

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

  50% {
    opacity: 0.7;
    transform: scale(0.85);
  }
}

@media (max-width: 992px) {
  .roles-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 40px;
    gap: 30px;
  }

  .roles-heading {
    margin-right: 0;
    width: 100%;
    text-align: center;
  }

  .roles-marquee-container {
    width: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  }
}

@media (max-width: 768px) {
  .roles-banner {
    padding: 30px 20px;
  }

  .roles-heading h3 {
    font-size: 28px;
  }

  .marquee-content span {
    font-size: 18px;
  }

  .marquee-content {
    gap: 30px;
    padding-right: 30px;
  }
}

/* --------------------------------------------
---------------- Who This Course Is For -------
---------------------------------------------- */

.who-for-section {
  background-color: #ffffff;
}

.who-for-header {
  margin-bottom: 40px;
}

.who-for-header h2 {
  font-size: 36px;
  font-weight: 600;
  color: #111111;
}

.who-for-list {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.who-for-item {
  padding: 35px 50px;
  border-bottom: 1px solid #EAEAEA;
  position: relative;
  cursor: pointer;
  transition: background-color 0.4s ease;
  overflow: visible;
  /* To allow shapes to break out slightly */
}

.who-for-item:first-child {
  border-top: 1px solid #EAEAEA;
}

.who-for-item h4 {
  font-size: 25px;
  font-weight: 400;
  color: #111111;
  margin: 0;
  transition: color 0.4s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}

.who-for-item.active h4 {
  transform: translateX(15px);
}

.hover-shape {
  position: absolute;
  right: 15%;
  top: 20%;
  transform: translateY(-50%) scale(0) rotate(-45deg);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 3;
  pointer-events: none;
}

.who-for-item.active .hover-shape {
  transform: translateY(-50%) scale(1) rotate(0deg);
  opacity: 1;
}

@keyframes floatShape {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-10px) rotate(3deg);
  }
}

.hover-shape svg {
  animation: floatShape 3s ease-in-out infinite;
  display: block;
}

/* Specific Item Styles - Active Colors */

/* Item 1 - Yellow/Gold */
.who-for-item.item-1.active {
  background-color: #FCEB8A;
  border-color: transparent;
}

.who-for-item.item-1.active+.who-for-item {
  border-top-color: transparent;
}

.who-for-item.item-1.active h4 {
  color: #A07A07;
}

.who-for-item.item-1 .hover-shape {
  color: #F8B10F;
}

/* Item 2 - Light Blue */
.who-for-item.item-2.active {
  background-color: #E0F2FE;
  border-color: transparent;
}

.who-for-item.item-2.active+.who-for-item {
  border-top-color: transparent;
}

.who-for-item.item-2.active h4 {
  color: #026AA2;
}

.who-for-item.item-2 .hover-shape {
  color: #38BDF8;
}

/* Item 3 - Light Pink */
.who-for-item.item-3.active {
  background-color: #FCE7F3;
  border-color: transparent;
}

.who-for-item.item-3.active+.who-for-item {
  border-top-color: transparent;
}

.who-for-item.item-3.active h4 {
  color: #9D174D;
}

.who-for-item.item-3 .hover-shape {
  color: #F472B6;
}

/* Item 4 - Light Green */
.who-for-item.item-4.active {
  background-color: #DCFCE7;
  border-color: transparent;
}

.who-for-item.item-4.active+.who-for-item {
  border-top-color: transparent;
}

.who-for-item.item-4.active h4 {
  color: #166534;
}

.who-for-item.item-4 .hover-shape {
  color: #4ADE80;
}

/* Item 5 - Light Purple */
.who-for-item.item-5.active {
  background-color: #F3E8FF;
  border-color: transparent;
}

.who-for-item.item-5.active h4 {
  color: #6B21A8;
}

.who-for-item.item-5 .hover-shape {
  color: #C084FC;
}


@media (max-width: 768px) {
  .who-for-item {
    padding: 25px 20px;
  }

  .who-for-item h4 {
    font-size: 16px;
  }

  .hover-shape {
    right: 5%;
  }

  .hover-shape svg {
    width: 80px;
    height: 80px;
  }
}


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


@media (max-width: 992px) {}


@media (max-width: 480px) {
  .learn-main {
    transform: translate(0%, 0px);
    height: auto;
    padding: 1rem 0;
  }

  .learn-card {
    width: 88vw;
    height: 88vw;
    flex-shrink: 0;
  }
}

@media (max-width: 768px) {

  /* Learn card slideshow — 1.5 cards visible on tablet */
  .learn-main {
    transform: translate(0%, 0px);
    height: auto;
    padding: 1rem 0;
  }

  .learn-card {
    width: 56vw;
    height: 56vw;
    flex-shrink: 0;
  }

  /* Inquiry form — stack vertically on tablet/mobile */
  .duration-flex,
  .duration-flex.form-active {
    flex-direction: column;
    gap: 1.2rem;
  }

  /* reset horizontal max-width values so columns go full width */
  .desc-txt {
    max-width: 100% !important;
    overflow: visible !important;
    transform: none !important;
    width: 100%;
    opacity: 1 !important;
    pointer-events: auto !important;
    padding: 0 !important;
    /* vertical collapse via max-height */
    max-height: 300px;
    transition: opacity 0.4s ease,
      max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
      padding 0.4s ease !important;
  }

  .duration-card {
    width: 100%;
    flex: unset !important;
  }

  .inquiry-form-panel {
    max-width: 100% !important;
    width: 100%;
    flex: unset !important;
    max-height: 0;
    overflow: hidden !important;
    opacity: 0;
    transition: opacity 0.4s ease 0.1s,
      max-height 0.55s cubic-bezier(0.4, 0, 0.2, 1) !important;
  }

  /* When form is active on mobile */
  .duration-flex.form-active .desc-txt {
    max-height: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    pointer-events: none !important;
  }

  .duration-flex.form-active .inquiry-form-panel {
    max-height: 600px;
    max-width: 100% !important;
    opacity: 1;
    overflow: visible !important;
    pointer-events: all;
  }

  .inquiry-form-inner {
    padding: 1rem 0 0 0;
    border-left: none;
    border-top: 2px solid rgba(72, 31, 127, 0.18);
  }

  .duration-flex.form-active .course-enquiry {
    display: none;
  }

  .hero-image img {
    width: 100%;
  }

  .hero-cnt h1 {
    font-size: 40px;
    line-height: 1;
  }

  .student_place {
    width: 125px;
    height: 120px;
    right: 10%;
    bottom: 2%;
    padding: 14px 14px;
  }

  .hero-video {
    padding-top: 9rem;
    height: auto;
    min-height: 100vh;
    align-content: start;
    place-items: start center;
  }

  .hero-image {
    margin-top: 2rem;
  }

  .high-duration {
    font-size: 14px;
    margin: 0 auto 2rem;
  }

  .student_place h6 {
    font-size: 20px;
  }

  .student_place h6 span {
    font-size: 16px;
  }

  .student_place p {
    font-size: 13px;
  }

  .student_place::after {
    width: 135px;
    height: 11px;
    bottom: -14px;
    left: 9px;
  }

  .experience_place {
    padding: 9px;
    width: 105px;
    height: 89px;
    left: 8%;
    bottom: -2%;
    transform: rotate(4deg);
    display: flex;
    flex-direction: column;
    gap: 8px;
    justify-content: space-around;
  }

  .experience_place h6 {
    font-size: 27px;
    margin-bottom: 0;
  }

  .experience_place h6 span {
    font-size: 19px;
  }

  .experience_place p {
    font-size: 14px;
  }

  .head-subtext {
    font-size: 25px;
    display: block;
    margin-top: 0.5rem;
  }

  .duration-section {
    margin-top: 6rem;
  }

  .duration-flex {
    flex-direction: column;
    background-color: #f6f0ff;
    padding: 2rem 1rem;
    gap: 2rem;
  }

  .duration-card {
    width: 100% !important;
  }

  .desc-txt {
    width: 100% !important;
  }

  .desc-txt h6 {
    font-size: 22px;
  }

  .duration-card h3 {
    font-size: 30px;
  }

  .duration-card p {
    font-size: 16px;
  }

  .cours-duration b {
    padding-left: 0;
    font-size: 20px;
    display: block;
  }

  .course-enquiry button {
    right: 7px;
    top: 93%;
    transform: translate(-50%, 0%) rotate(0deg);
  }

  .titles h2 {
    font-size: 30px;
  }

  .g-review {
    margin-top: 2rem;
  }

  .titles p {
    font-size: 15px;
    width: 85%;
  }


  .skills-tools-section {
    padding-top: 20px;
  }

  .skills-tools-title {
    font-size: 45px;
  }

  .icon-1 {
    top: 49%;
    right: -6%;

    transform: rotate(-3deg);
  }

  .icon-2 {
    top: 50%;
    left: -2%;

    transform: rotate(0deg) scale(1.5);
  }

  .icon-3 {
    top: 78%;
    left: 19%;
    transform: translateY(-50%) rotate(10deg) scale(1.3);

    z-index: 11;
  }

  .icon-4 {
    bottom: -13%;
    left: 2%;
    transform: translateY(-50%) rotate(0deg);

  }

  .icon-5 {
    bottom: -1%;
    right: 33%;
    transform: rotate(0deg) scale(1);
  }

  .icon-6 {
    bottom: -1%;
    right: 1%;
    transform: rotate(-12deg);
  }

  .icon-7 {
    top: 7%;
    left: 8%;
    transform: rotate(-5deg) scale(1.5);
  }

  .icon-8 {
    top: 16%;
    right: 34%;
    transform: rotate(10deg) scale(1.6);
  }

  .icon-9 {
    top: -2%;
    right: -6%;
    transform: translateX(-50%) rotate(-8deg);
  }


}