﻿Library
/
msx-home-responsive.css


/* ==========================================================
   MSX HOME RESPONSIVE
   Load AFTER all existing theme/page CSS.
   Unique hero names prevent old .ed-hero-* conflicts.
   ========================================================== */

html,
body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
}

img,
video,
svg {
  max-width: 100% !important;
}

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

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

.msx-hero,
.msx-hero *,
.msx-hero *::before,
.msx-hero *::after {
  box-sizing: border-box !important;
}

.msx-hero {
  position: relative !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #101828 !important;
  isolation: isolate !important;
}

.msx-hero__video-stage,
.msx-hero__slide {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  aspect-ratio: 1120 / 550 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #101828 !important;
}

.msx-hero__video,
.msx-hero__picture img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: cover !important;
  object-position: center center !important;
}

.msx-hero__picture {
  position: absolute !important;
  inset: 0 !important;
  z-index: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
}

.msx-hero__shade {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(
    90deg,
    rgba(8, 15, 29, .90) 0%,
    rgba(8, 15, 29, .72) 30%,
    rgba(8, 15, 29, .38) 55%,
    rgba(8, 15, 29, .06) 100%
  ) !important;
  pointer-events: none !important;
}

.msx-hero__inner {
  position: absolute !important;
  inset: 0 !important;
  z-index: 5 !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 1320px !important;
  height: 100% !important;
  margin: 0 auto !important;
  padding: 0 72px !important;
  pointer-events: none !important;
}

.msx-hero__copy {
  position: relative !important;
  z-index: 10 !important;
  width: min(590px, 54%) !important;
  max-width: 100% !important;
  color: #fff !important;
  pointer-events: auto !important;
}

.msx-hero__eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;
  margin: 0 0 10px !important;
  padding: 7px 11px !important;
  border: 1px solid rgba(255,255,255,.28) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.12) !important;
  color: #fff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  backdrop-filter: blur(7px) !important;
}

.msx-hero__title {
  width: 100% !important;
  max-width: 590px !important;
  margin: 0 0 14px !important;
  color: #fff !important;
  font-size: clamp(35px, 4vw, 58px) !important;
  font-weight: 700 !important;
  line-height: 1.06 !important;
  letter-spacing: -.025em !important;
}

.msx-hero__text {
  width: 100% !important;
  max-width: 540px !important;
  margin: 0 0 22px !important;
  color: rgba(255,255,255,.96) !important;
  font-size: clamp(14px, 1.3vw, 18px) !important;
  line-height: 1.58 !important;
}

.msx-hero__actions {
  position: relative !important;
  z-index: 50 !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  width: auto !important;
  pointer-events: auto !important;
}

.msx-hero__btn {
  position: relative !important;
  z-index: 60 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 155px !important;
  min-height: 46px !important;
  padding: 11px 22px !important;
  border-radius: 6px !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-decoration: none !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  touch-action: manipulation !important;
}

.msx-hero__btn--yellow {
  border: 1px solid #ffc928 !important;
  background: #ffc928 !important;
  color: #132038 !important;
}

.msx-hero__btn--outline {
  border: 1px solid rgba(255,255,255,.94) !important;
  background: rgba(255,255,255,.08) !important;
  color: #fff !important;
}

.msx-hero__skip {
  position: absolute !important;
  right: 20px !important;
  bottom: 18px !important;
  z-index: 90 !important;
  min-height: 40px !important;
  padding: 8px 13px !important;
  border: 1px solid rgba(255,255,255,.65) !important;
  border-radius: 7px !important;
  background: rgba(9,16,30,.72) !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

.msx-hero__slider {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #101828 !important;
}

.msx-hero__slider--waiting {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.msx-hero__slider .swiper-wrapper,
.msx-hero__slider .swiper-slide {
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.msx-hero__arrow {
  position: absolute !important;
  top: 50% !important;
  z-index: 100 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  padding: 0 0 3px !important;
  transform: translateY(-50%) !important;
  border: 1px solid rgba(255,255,255,.9) !important;
  border-radius: 50% !important;
  background: rgba(9,16,30,.58) !important;
  color: #fff !important;
  font-size: 31px !important;
  cursor: pointer !important;
  pointer-events: auto !important;
}

.msx-hero__arrow--prev { left: 20px !important; }
.msx-hero__arrow--next { right: 20px !important; }

.msx-hero__dots {
  position: absolute !important;
  left: 50% !important;
  bottom: 15px !important;
  z-index: 100 !important;
  display: flex !important;
  transform: translateX(-50%) !important;
  pointer-events: auto !important;
}

.msx-hero__dots .swiper-pagination-bullet {
  width: 9px !important;
  height: 9px !important;
  margin: 0 4px !important;
  background: #fff !important;
  opacity: .78 !important;
}

.msx-hero__dots .swiper-pagination-bullet-active {
  width: 25px !important;
  border-radius: 999px !important;
  background: #e31f26 !important;
  opacity: 1 !important;
}

/* ==========================================================
   GLOBAL HOMEPAGE SECTIONS
   ========================================================== */

.it-brand-5-area,
.ed-quick-links-wrap,
.it-about-area,
.why-section,
.ed-real-stats-section,
.it-course-area,
.section,
.cta-section {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
}

.it-brand-5-area .container-fluid,
.ed-quick-links-wrap.container-fluid {
  width: 100% !important;
  max-width: 100% !important;
}

/* language flags */
.it-brand-5-item {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-width: max-content !important;
}

.it-brand-5-item img {
  width: 30px !important;
  height: 30px !important;
  object-fit: contain !important;
}

/* quick links */
.ed-quick-links {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
  width: 100% !important;
}

.ed-quick-link {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  min-width: 0 !important;
  gap: 10px !important;
}

.ed-quick-link-copy {
  min-width: 0 !important;
  flex: 1 1 auto !important;
}

/* about */
.it-about-thumb img,
.ed-home-why-visual > img,
.language-image img,
.contact-visual img,
.cta-image img,
.it-blog-thumb img,
.it-course-thumb img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
}

/* why choose */
.ed-home-why-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  gap: 12px !important;
}

/* stats */
.ed-real-stats {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0,1fr)) !important;
  width: 100% !important;
}

/* courses */
#homeCoursesGrid > [class*="col-"] {
  display: flex !important;
}

.it-course-item {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
}

.it-course-content {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
}

.it-course-btn {
  margin-top: auto !important;
}

/* lower sections */
.language-card,
.contact-shell,
.cta-card {
  width: 100% !important;
  max-width: 100% !important;
}

.benefits-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  gap: 12px !important;
}

.form-card,
.contact-left,
.contact-visual,
.language-copy,
.language-image,
.cta-copy,
.cta-image {
  min-width: 0 !important;
}

.field,
.field input,
.field select,
.field textarea {
  width: 100% !important;
  max-width: 100% !important;
}

.feature-strip .row > div {
  display: flex !important;
}

.feature-item {
  width: 100% !important;
}

/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 991.98px) {

  .msx-hero__video-stage,
  .msx-hero__slide {
    aspect-ratio: 16 / 9 !important;
  }

  .msx-hero__inner {
    padding-left: 55px !important;
    padding-right: 55px !important;
  }

  .msx-hero__copy {
    width: 65% !important;
  }

  .ed-quick-links {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  }

  .ed-real-stats {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  }

  .it-about-right {
    margin-bottom: 35px !important;
  }

  .ed-home-why-visual {
    margin-bottom: 35px !important;
  }

  .language-card,
  .contact-shell,
  .cta-card {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .language-image,
  .contact-visual,
  .cta-image {
    width: 100% !important;
  }
}

/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 767.98px) {

  .container,
  .container-fluid {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .msx-hero__video-stage,
  .msx-hero__slide {
    aspect-ratio: 4 / 5 !important;
  }

  .msx-hero__video,
  .msx-hero__picture img {
    object-fit: cover !important;
    object-position: center center !important;
  }

  .msx-hero__shade {
    background: linear-gradient(
      180deg,
      rgba(8,15,29,.07) 0%,
      rgba(8,15,29,.18) 34%,
      rgba(8,15,29,.72) 68%,
      rgba(8,15,29,.95) 100%
    ) !important;
  }

  .msx-hero__inner {
    align-items: flex-end !important;
    padding: 18px 16px 64px !important;
  }

  .msx-hero__copy {
    width: 100% !important;
    max-width: 100% !important;
  }

  .msx-hero__title {
    max-width: 100% !important;
    margin-bottom: 9px !important;
    font-size: clamp(27px, 8.4vw, 38px) !important;
    line-height: 1.08 !important;
  }

  .msx-hero__text {
    max-width: 100% !important;
    margin-bottom: 15px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
  }

  .msx-hero__actions {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .msx-hero__btn {
    width: 100% !important;
    min-width: 0 !important;
    min-height: 42px !important;
    padding: 9px !important;
    font-size: 11px !important;
  }

  .msx-hero__arrow {
    top: 42% !important;
    width: 37px !important;
    height: 37px !important;
    font-size: 25px !important;
  }

  .msx-hero__arrow--prev { left: 8px !important; }
  .msx-hero__arrow--next { right: 8px !important; }

  .msx-hero__skip {
    right: 9px !important;
    bottom: 10px !important;
    min-height: 34px !important;
    padding: 7px 9px !important;
    font-size: 10px !important;
  }

  .msx-hero__picture,
  .msx-hero__picture img,
  .msx-hero__shade,
  .msx-hero__inner {
    pointer-events: none !important;
  }

  .msx-hero__copy,
  .msx-hero__actions,
  .msx-hero__actions a,
  .msx-hero__arrow,
  .msx-hero__skip,
  .msx-hero__dots {
    pointer-events: auto !important;
  }

  .ed-quick-links-wrap {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .ed-quick-links {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .ed-quick-link {
    min-height: 76px !important;
    overflow: hidden !important;
  }

  .ed-quick-link-copy strong {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  .ed-home-why-grid {
    grid-template-columns: 1fr !important;
  }

  .ed-home-why-actions,
  .ed-about-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .ed-home-why-actions a,
  .ed-about-actions a,
  .ed-about-actions button {
    width: 100% !important;
    text-align: center !important;
  }

  .ed-real-stats {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  }

  #homeCoursesGrid > [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }

  .it-course-item {
    max-width: 460px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .section,
  .cta-section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .benefits-grid {
    grid-template-columns: 1fr !important;
  }

  .blog-top .text-lg-end {
    margin-top: 15px !important;
    text-align: left !important;
  }

  .cta-card {
    overflow: hidden !important;
  }

  .cta-copy,
  .cta-image {
    width: 100% !important;
  }
}

/* ==========================================================
   SMALL MOBILE
   ========================================================== */

@media (max-width: 479.98px) {

  .msx-hero__video-stage,
  .msx-hero__slide {
    aspect-ratio: 320 / 430 !important;
  }

  .msx-hero__inner {
    padding: 14px 12px 55px !important;
  }

  .msx-hero__title {
    font-size: 27px !important;
  }

  .msx-hero__text {
    font-size: 12.5px !important;
  }

  .msx-hero__actions {
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }

  .msx-hero__btn {
    min-height: 38px !important;
    font-size: 10.5px !important;
  }

  .ed-real-stats {
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
  }

  .it-about-section-title-box .it-section-title,
  .heading,
  .title,
  .section-heading h2 {
    font-size: 25px !important;
    line-height: 1.2 !important;
  }
}

/* ==========================================================
   320PX
   ========================================================== */

@media (max-width: 320px) {

  .container,
  .container-fluid {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .msx-hero__video-stage,
  .msx-hero__slide {
    aspect-ratio: 320 / 445 !important;
  }

  .msx-hero__inner {
    padding: 12px 10px 53px !important;
  }

  .msx-hero__title {
    font-size: 23px !important;
  }

  .msx-hero__text {
    font-size: 12px !important;
    line-height: 1.42 !important;
  }

  .msx-hero__arrow {
    width: 33px !important;
    height: 33px !important;
    font-size: 22px !important;
  }

  .ed-quick-link {
    min-height: 68px !important;
  }

  .ed-quick-link-copy strong {
    font-size: 14px !important;
  }

  .ed-real-stat-item {
    padding-left: 5px !important;
    padding-right: 5px !important;
  }

  .ed-real-stat-item strong {
    font-size: 25px !important;
  }

  .ed-real-stat-item span {
    font-size: 10px !important;
  }
}

/* sourav we prepare section start from here */

.iep-section {
  background: #eef0f2;
  padding: 60px 0 70px;
  overflow: hidden;
}

.iep-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #333;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.iep-dash {
  width: 18px;
  height: 3px;
  background: red;
  display: inline-block;
}

.iep-title {
  color: red;
  font-size: 30px;
  font-weight: 800;
  margin: 0 0 40px;
}

.iep-marquee {
  width: 100%;
  overflow: hidden;
}

.iep-track {
  display: flex;
  gap: 24px;
  width: max-content;
  will-change: transform;
}

.iep-set {
  display: flex;
  gap: 24px;
  flex: 0 0 auto;
}

.iep-card {
  flex: 0 0 auto;
  width: 230px;
  height: 130px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.iep-card img {
  max-width: 90%;
  max-height: 100px;
  object-fit: contain;
}

@media (max-width: 768px) {
  .iep-card { width: 180px; height: 110px; }
  .iep-card img { max-height: 80px; }
  .iep-title { font-size: 24px; }
}

@media (max-width: 480px) {
  .iep-card { width: 150px; height: 95px; padding: 10px; }
  .iep-card img { max-height: 65px; }
}
/* we prepare section end here */


/* Get Free Counselling section start from here */

.gfc-section {
  background: linear-gradient(135deg, #fdf1ef 0%, #fef6f5 100%);
  padding: 50px 15px;
}

.gfc-card {
  background: #FDF9F9;
  max-width: 700px;
  margin: 0 auto;
  border-radius: 18px;
  border: 1px solid #f3d9d9;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  padding: 26px 32px;
}

.gfc-title {
  text-align: center;
  color: #d9384f;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 18px;
}

.gfc-form { display: flex; flex-direction: column; gap: 12px; }

.gfc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.gfc-field { display: flex; flex-direction: column; }

.gfc-field label {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin-bottom: 4px;
}

.gfc-field input,
.gfc-field select,
.gfc-field textarea {
  border: 1px solid #e3d9d9;
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 14px;
  color: #333;
  background: #fff;
  outline: none;
  transition: border-color 0.2s ease;
}

.gfc-field input:focus,
.gfc-field select:focus,
.gfc-field textarea:focus {
  border-color: #d9384f;
}

.gfc-field textarea { resize: vertical; min-height: 70px; }

.gfc-error {
  display: none;
  color: #d9384f;
  font-size: 12px;
  margin-top: 4px;
}

.gfc-error.show { display: block; }

.gfc-submit {
  background: #d9384f;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}

.gfc-submit:hover { background: #c22c42; }

.gfc-note {
  text-align: center;
  font-size: 12px;
  color: #d9384f;
  margin: 2px 0 0;
}

@media (max-width: 576px) {
  .gfc-card { padding: 20px 18px; }
  .gfc-row { grid-template-columns: 1fr; }
}

/* Get Free Counselling section end here */
