* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: "Amazing Kids";
  src: url("../font/AmazingKids.ttf") format("truetype"),
    url("font/AmazingKids.ttf") format("truetype"),
    url("../../font/AmazingKids.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: "Montserrat", sans-serif;
  margin: 0;
}

h1,
h2,
h3 {
  font-family: "Montserrat", sans-serif;
}

h1,
h2 {
  font-size: 40px;
  font-weight: bold;
  color: #292122;
}

/* Header Styles */
.header {
  display: none;
}

.header--mobile {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: rgb(255 255 255 / 90%);
  border-bottom: 1px solid #e9e9e9;
  backdrop-filter: blur(4px);
  height: 149px;
  padding: 37px 30px !important;
}

.header__logo-container {
  display: flex;
  align-items: center;
}

.header__logo {
  height: 50px;
  width: auto;
  object-fit: cover;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.text-white {
  font-size: 58px;
}
.header__button {
  width: 104px;
  height: 36px;
  background-color: #da1a35;
  color: white;
  font-weight: bold;
  text-decoration: none;
  font-size: 12px;
  border-radius: 20px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.header__hamburger {
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.header__hamburger-line {
  width: 24px;
  height: 2px;
  background-color: #292122;
}

/* Navigation Styles */
.nav {
  display: block;
  width: 100%;
  height: 102px;
  background: rgb(255 255 255 / 90%);
  border-bottom: 1px solid #e9e9e9;
  backdrop-filter: blur(4px);
}

.nav__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 1284px;
  height: 100%;

  margin: 0 auto;
  padding: 0 20px;
}

.nav__logo {
  height: 62.94px;
  width: 150px;
  cursor: pointer;
  object-fit: cover;
}

.nav__menu {
  width: 706px;
  height: 72px;
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nav__list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list--top li:first-child {
  padding-left: 0;
}

.nav__list--top li {
  padding: 0px 12px;
  border-right: 1.4px solid #5f5e5e;
}

.nav__list--top li:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: none;
}

.nav__list--bottom {
  align-items: center;
  margin-left: auto;
}

.nav__item {
  padding-right: 17px;
}

.nav__link {
  color: #292122;
  text-decoration: none;
  font-size: 12px;
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
}

.nav__list--top .nav__link {
  color: #5f5e5e;
  letter-spacing: 2px;
}

.nav__link:hover {
  text-decoration: none;
  color: #da1a35;
}

/* carousel section */
.carousel-header {
  position: relative;
  overflow: hidden;
}

.carousel-inner {
  width: 100%;
}

.carousel-item {
  width: 100%;
  position: relative;
}

.carousel-background {
  background-color: #232021;
  height: 650px;
  flex-basis: 62%;
  margin-right: -177px;
  clip-path: polygon(0 0, 80% 0, 100% 90%, 0% 100%);
  position: relative;
}

.carousel-caption {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6));
  text-align: center;
}

.carousel-image {
  height: 650px;
  flex-basis: 62%;
  position: relative;
  z-index: 1;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 23% 90%);
}

.carousel-image img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-carousel-btn {
  display: block;
  text-decoration: none;
  color: #fff;
  background-color: #da1a35;
  text-align: center;
  height: 50px;
  width: 160px;
  line-height: 50px;
  border-radius: 50px;
  transition: 0.5s;
}

.main-carousel-btn:hover {
  background-color: #b5142a;
  color: #fff;
}

.carousel-triangle-1 {
  height: 120px;
  width: 120px;
  color: #b51b31;
  transform: rotate(30deg);
  position: relative;
  top: -70px;
  left: -100px;
}

.carousel-triangle-2 {
  height: 60px;
  width: 60px;
  color: #7f1d2c;
  transform: rotate(90deg);
  position: relative;
  top: -30px;
  left: -90px;
}

.tab-none {
  display: block;
}

.tab-dis {
  display: none;
}

.slick-prev,
.slick-next {
  background-color: #ffffff;
  color: #da1a35;
  height: 50px;
  width: 50px;
  border-radius: 100px;
  border: none;
  transition: 0.5s;
  position: absolute;
  top: 70%;
  transform: translateY(-50%);
  z-index: 10;
}

.slick-prev {
  left: 78px;
}

.slick-next {
  right: 78px;
  background-color: #da1a35;
  color: #fff;
}

.slick-prev:hover {
  background-color: #da1a35;
  color: #fff;
}

.slick-next:hover {
  color: #da1a35;
  background-color: #fff;
}
.main-carousel-btn:hover {
  transform: translateY(3px);
  transition: 2s;
}

.header__button:hover {
  transform: translateY(3px);
  transition: 2s;
}
.content-last-section_carousell {
  position: relative;
  margin-top: 36px;
}

.last-section p {
  font-size: 16px;
  text-align: center;
  color: #5f5e5e;
  line-height: 150%;
  font-weight: 500;
}

.right-section-text {
  font-size: 16px;
  line-height: 150%;
  margin-top: 10px;
  font-weight: 500;
}

/* Media Queries */

@media (max-width: 1024px) {
  .header--mobile {
    display: flex;
  }

  .nav {
    display: none;
  }

  .nav__menu {
    width: 100%;
  }

  .nav__list--top,
  .nav__list--bottom {
    flex-direction: column;
    width: 100%;
  }

  .nav__item {
    padding: 0.5rem 0;
    border-right: none;
  }

  .nav__button {
    width: 100%;
    margin-top: 1rem;
  }
}

@media (min-width: 1025px) {
  .header--mobile {
    display: none;
  }

  .nav {
    display: block;
  }
}

/* Tablet specific styles */
@media (min-width: 768px) and (max-width: 1024px) {
  .nav__container {
    max-width: 100%;
    padding: 0 40px;
  }

  .nav__menu {
    width: 100%;
  }

  .nav__list--top,
  .nav__list--bottom {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav__item {
    padding: 0.5rem 1rem;
  }
}

/* Mobile specific styles */
@media (max-width: 767px) {
  .nav__container {
    padding: 0 15px;
  }

  .header--mobile {
    padding: 0 300px;
  }

  .nav__menu {
    width: 100%;
  }

  .nav__list--top,
  .nav__list--bottom {
    flex-direction: column;
    align-items: center;
  }

  .nav__item {
    padding: 0.5rem 0;
    width: 100%;
    text-align: center;
  }

  .nav__button {
    width: 100%;
    margin: 1rem 0;
  }
}

html,
body {
  overflow-x: hidden;
}

.container {
  padding: 136px 61px;

  margin: 0 auto;
}
.content-last-section {
  position: relative;
  margin-top: 36px;
}
.main-content-last-section {
  padding: 0px 61px !important;
}

.last-section {
  padding: 90px 61px 138px 61px;

  margin: 0 auto;
}

/* Updated Services Section */
.container-services {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  transition: transform 0.3s ease-in-out;
}

.container-services-one,
.container-services-two,
.container-services-three,
.container-services-four,
.container-services-five,
.container-services-six {
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  height: 264px;
  border-radius: 8px;
  flex: 1 1 calc(33.333% - 14px); /* 3 per row by default */
  min-width: 300px; /* Minimum width for each box */
}

.container-services-one::before,
.container-services-two::before,
.container-services-three::before,
.container-services-four::before,
.container-services-five::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(34, 31, 32, 0.5);
  clip-path: polygon(0% 82%, 484% 0%, 100% 100%, 0% 100%);
  z-index: 1;
}

.container-services-one span,
.container-services-two span,
.container-services-three span,
.container-services-four span,
.container-services-five span,
.container-services-six span {
  position: absolute;
  bottom: 4%;
  left: 50%;
  transform: translate(-50%, 50%);
  text-align: center;
  color: white;
  z-index: 2;
  font-size: 18px;
  font-weight: 600;
  line-height: 150%;
  margin-bottom: 19px;
  white-space: nowrap;
}

.container-services-one span:hover,
.container-services-two span:hover,
.container-services-three span:hover,
.container-services-four span:hover,
.container-services-five span:hover {
  transform: translate(-50%, 30%);
  color: #da1a35;
  transition: all 0.3s ease;
}

.container-services-six {
  align-items: center;
  display: flex;
  padding: 0px 40px;
  text-align: left;
  background-color: #da1a35;
}

.container-services-six h4 {
  font-weight: 600;
  color: #fff;
  padding: 15px 0px;
  font-size: 24px;
}

.container-services-six p {
  font-size: 16px;
  padding-bottom: 40px;
  color: #fff;
  font-weight: 100 !important;
}

.get-started-btn {
  background-color: #da1a35;
  color: white;
  padding: 8px 20px;
  text-decoration: none;
  font-size: 16px;
  cursor: pointer;
  border-radius: 20px;
  border: 1px solid #ffffff;
}

.container h2 {
  text-align: center;
  line-height: 125%;
  padding-bottom: 40px;
  font-weight: 700;
  padding-right: 17%;
  padding-left: 17%;
}

.right-side-section-text {
  font-size: 20px;
  font-weight: 500;
  color: #5f5e5e;
  line-height: 150%;
}

/* DIVIDER */
#learn-divider {
  overflow: hidden;
  width: 100%;
  height: 50px;
  z-index: 3;
  position: relative;
}
.divider-1-cube {
  width: 100%;
  height: 50px;
  border-top: 85px solid transparent;
  border-right: 125vw solid #f4f4f4;
  z-index: 3;
  position: absolute;
  top: 20;
  right: 0;
}

.divider-2-cube {
  width: 100%;
  height: 50px;
  border-top: 85px solid transparent;
  border-left: 100vw solid #fafafa;
  z-index: 3;
  position: absolute;
  top: 0;
  left: 0;
}

.learn-divider-1-cube {
  width: 100%;
  height: 50px;
  border-bottom: 85px solid transparent;
  border-right: 125vw solid #fafafa;
  z-index: 3;
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 3;
}

.learn-divider-2-cube {
  width: 0;
  height: 0;
  border-top: 85px solid #f4f4f4;
  border-right: 100vw solid transparent;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
}

.learn-from-home {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10%;
  padding: 138px 61px;

  margin: 0 auto;
  background-color: #fafafa;
}

.left-section {
  position: relative;
  padding: 0px;
  z-index: 1;
  width: 100%;
  margin-left: 26px;
}

.left-section::before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0;
  right: 0px;
  bottom: 0;
  background: #da1a35;
  transform: rotate(352deg);
  z-index: -1;
  border-radius: 10px;
}

.left-section img {
  display: block;
  width: 450px;
  margin: 0 auto;
  border-radius: 10px;
}

.right-section h4 {
  font-size: 40px;
  padding: 16px 0px 24px 0px;
  font-weight: 700;
  line-height: 125%;
}

.section-cards {
  display: flex;
  align-items: center;
  margin-top: 40px;
  gap: 30px;
}

/* The best college in town section */

.last-section h2 {
  text-align: center;
  padding-bottom: 18px;
  font-weight: 700;
  line-height: 125%;
}

.last-section h4 {
  text-align: center;
  font-size: 20px;
  color: #292122;
  padding: 8px 0px;
  line-height: 150%;
}

.last-section-sub-text {
  font-size: 20px !important;
  font-weight: 500 !important;
  color: #292122 !important;
  line-height: 150% !important;
  padding: 0px 22% !important;
  text-align: center !important;
}

.left-section-image {
  position: relative;
  padding: 0px;
  z-index: 5;
  width: 100%;
  grid-gap: 30px;
  min-height: 200px;
  background-size: cover;
  background-position: center;
}

.left-section-image::before {
  content: "";
  position: absolute;
  top: 6px;
  left: -1px;
  right: 16px;
  bottom: -1px;
  background: #da1a35;
  transform: rotate(7deg);
  z-index: -1;
  border-radius: 10px;
}

.left-section-inner {
  background-color: #fff;
  padding: 60px 32px;
  border-radius: 10px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  transform: rotate(360deg);
}

/* The footer section */

#footer {
  overflow: hidden;
  width: 100%;
  height: 50px;
  z-index: 3;
  position: relative;
}
.footer-1-cube {
  width: 100%;
  height: 50px;
  border-top: 85px solid transparent;
  border-right: 125vw solid rgb(49, 52, 61);
  z-index: 3;
  position: absolute;
  top: 20;
  right: 0;
}

.footer-2-cube {
  width: 100%;
  height: 50px;
  border-top: 85px solid transparent;
  border-left: 100vw solid #221f20;
  z-index: 3;
  position: absolute;
  top: 0;
  left: 0;
}

.footer {
  padding: 90px 61px 48px 61px;
  background-color: #221f20;
  margin: 0 auto;
}

.footer .row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: 27px;
  justify-content: space-between;
}

.footer .row .column a {
  display: block;
  text-decoration: none;
  margin-bottom: 10px;
  color: #fff;
  font-size: 12px;
  transition: all 0.3s ease;
  line-height: 150%;
}

.footer .row .column a:hover {
  transform: translateY(-5px);
  color: #da1a35;
}

.column h3 {
  color: #fff;
  padding-bottom: 16px;
}

.contact-info p {
  color: #fff;
  font-size: 12px;
  line-height: 17px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  font-size: 12px;
  color: #fff;
  padding-bottom: 5px;
  align-items: flex-start;
  gap: 40px;
}

.footer-left,
.footer-right {
  flex: 1;
  box-sizing: border-box;
  padding: 32px 0px;
}

.footer-copyright {
  display: flex;
  padding: 0px 0px;
}

.footer-copyright p {
  font-size: 12px;
  color: #fff;
}

.contact-info p span {
  cursor: pointer;
  color: #da1a35;
}

.shared-btn {
  margin: 40px auto;
  background-color: #fff;
  color: #da1a35;
  padding: 8px 20px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 50px;
  border: 2px solid #da1a35;
  transition: 0.5s;
  position: relative;
  overflow: hidden;
  z-index: 1;
  width: 180px;
  height: 48px;
  line-height: 125%;
}

.shared-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #000;
  z-index: -1;
  transition: 0.5s;
}

.shared-btn:hover::before {
  width: 100%;
}

.shared-btn:hover {
  color: #fff;
  border-color: #fff;
}

.find-out-more-btn {
  display: block;
  background-color: #fff;
  color: #da1a35;
  padding: 8px 20px;
  text-decoration: none;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 50px;
  border: 2px solid #da1a35;
  transition: 0.5s;
  position: relative;
  overflow: hidden;
  z-index: 1;
  width: 180px;
  height: 48px;
  line-height: 125%;
}

.find-out-more-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: #000;
  z-index: -1;
  transition: 0.5s;
}

.find-out-more-btn:hover::before {
  width: 100%;
}

.find-out-more-btn:hover {
  color: #fff;
  border-color: #fff;
}

.column h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 150%;
}

.contact-info {
  padding: 26px 0px;
}

.column h3 a:hover {
  color: #5f5e5e;
}

.footer-copyright a {
  margin-right: 20px;
  font-size: 12px;
  color: #fff;
  text-decoration: none;
}

.footer-copyright a:hover {
  color: #5f5e5e;
}

.container-services-one:hover,
.container-services-two:hover,
.container-services-three:hover,
.container-services-four:hover,
.container-services-five:hover {
  transform: scale(1.1);
  transition: 2s;
}

.left-section-inner:hover {
  transform: translateY(10px);
  transition: 2s;
}

.right-section h3 {
  font-family: "Amazing Kids";
  color: #da1a35;
  font-size: 48px;
  line-height: 100%;
  font-style: normal;
  font-weight: 400;
}

.contact-icon i {
  margin-right: 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  padding: 19px 0px;
  transition: all 0.3s ease;
}

.contact-icon i:hover {
  transform: translateY(-3px);
  color: #da1a35;
}

/* Responsive Media Queries */
@media (max-width: 1400px) {
  .navbar-container {
    max-width: 1140px;
  }
}

@media (max-width: 1200px) {
  .navbar-container {
    max-width: 960px;
  }
}

@media (max-width: 992px) {
  .navbar-container {
    max-width: 720px;
  }
}

@media (max-width: 768px) {
  .navbar-container {
    flex-direction: column;
    height: auto;
    padding: 15px;
    max-width: 540px;
  }

  .last-section,
  .footer {
    padding: 60px 20px;
  }

  .right-section h3 {
    font-size: 31px;
  }

  .right-section h4 {
    font-size: 34px;
  }

  .last-section h2 {
    font-size: 34px;
  }

  .navbar {
    width: 100%;
    margin-top: 15px;
  }

  .nav-top,
  .nav-bottom {
    flex-wrap: wrap;
    justify-content: center;
  }

  .container {
    padding: 77px 24px 80px;
  }

  .container-services {
    padding-bottom: 20px;
  }

  .container-services-one,
  .container-services-two,
  .container-services-three,
  .container-services-four,
  .container-services-five,
  .container-services-six {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    flex: 1 1 100%;
    transition: transform 0.5s ease-in-out;
  }
  .container-services-six p {
    font-size: 12px;
    padding-bottom: 17px;
    font-weight: 500;
    line-height: 150%;
  }
  .container-services-one:hover,
  .container-services-two:hover,
  .container-services-three:hover,
  .container-services-four:hover,
  .container-services-five:hover {
    transform: scale(1.05);
  }

  .container-services-one span,
  .container-services-two span,
  .container-services-three span,
  .container-services-four span,
  .container-services-five span,
  .container-services-six span {
    transition: all 0.5s ease-in-out;
  }

  .container-services-one:hover span,
  .container-services-two:hover span,
  .container-services-three:hover span,
  .container-services-four:hover span,
  .container-services-five:hover span {
    transform: translate(-50%, 40%);
    color: #da1a35;
  }

  .learn-from-home {
    flex-direction: column-reverse;
    gap: 40px;
  }

  .left-section {
    width: 100%;
    height: 228px;
    margin-left: 4%;
  }

  .left-section::before {
    width: 96%;
    height: 100%;
    transform: rotate(0deg);
    background-image: url("assets/images/college.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: transparent;
    z-index: 8 !important;
  }

  .left-section img {
    width: 100%;
    max-width: 200px;
    height: auto;
    display: none;
  }

  .left-section img {
    width: 100%;
    max-width: 250px;
    height: auto;
    display: none;
  }

  .section-cards {
    flex-direction: column;
  }

  .footer .row {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-top,
  .nav-bottom {
    flex-direction: column;
    align-items: center;
  }

  .nav-top li,
  .nav-bottom li {
    border-right: none;
    padding: 10px 0;
  }

  .register-btn {
    margin-top: 10px;
  }

  .left-section-image {
    min-height: 210px;
  }

  .container h2 {
    text-align: left;
    padding-left: 0px;
    padding-right: 0px;
    line-height: 1.2;

    font-size: 34px;
  }
  .contact-icon-mobile {
    justify-content: space-between;
    display: flex;
    align-items: center;
    font-size: 23px;
    margin-bottom: 32px;
  }

  .footer-left-p {
    margin-top: 24px;
  }

  .footer-copyright {
    display: flex;
    flex-direction: column;
    padding: 2px 0px;
    gap: 24px;
    font-size: 12px;
    font-weight: 500;
    line-height: 150%;
  }

  .mobile-footer {
    padding-top: 90px;
    padding-right: 61px;
    padding-bottom: 138px;
    padding-left: 61px;
  }
}
/* iPad-specific styles (768px-1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .container {
    padding: 80px 40px;
  }

  .last-section,
  .footer {
    padding: 80px 40px;
  }

  .learn-from-home {
    padding: 50px 40px;
    flex-direction: column-reverse;
  }

  .left-section {
    padding: 0px 40px;
  }

  .left-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .left-section::before {
    width: calc(100% - 80px);
    height: 100%;
    left: 40px;
  }

  .mobile-footer {
    display: block;
    padding: 32px 40px 38px 40px;
  }

  .mobile-footer img {
    width: 179px;
    height: 50px;
    object-fit: contain;
    display: block;
    margin-bottom: 32px;
  }

  .footer-logo {
    width: 179px;
    height: 50px;
    object-fit: contain;
    display: block;
  }

  .left-section-inner {
    width: 480px;
    height: 290px;
    padding: 20px;
    margin: 0 auto;
  }

  .left-section-image::before {
    width: 480px;
    height: 290px;
    left: 50%;
    transform: translateX(-50%) rotate(4deg);
  }

  .container-services {
    gap: 40px;
    justify-content: center;
  }

  .container-services-one,
  .container-services-two,
  .container-services-three,
  .container-services-four,
  .container-services-five,
  .container-services-six {
    margin-bottom: 40px;
  }

  .section-cards {
    flex-wrap: wrap;
    gap: 40px;
  }

  .footer {
    display: none;
  }

  .mobile-footer {
    display: block;
    background-color: #222;
    color: white;
  }

  .footer-section {
    padding: 10px 0;
  }

  .footer-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    color: white;
    font-weight: 800;
    line-height: 150%;
  }

  .footer-title i {
    margin-left: auto;
    transition: transform 0.3s ease;
  }

  .footer-section.active .footer-title i {
    transform: rotate(180deg);
  }

  .footer-dropdown {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
    display: none;
  }

  .footer-dropdown li {
    margin: 5px 0;
  }

  .footer-dropdown li a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    display: block;
    line-height: 150%;
    font-weight: 500;
    position: relative;
    padding: 15px 0px;
  }

  .footer-dropdown li a::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #da1a35;
  }

  .footer-dropdown li a:hover {
    color: white;
  }

  .divider {
    border-top: 1px solid #444;
    margin: 10px 0;
  }

  .footer-small-links i {
    margin-left: 6px;
  }

  .footer-small-links a {
    color: #fff;
    text-decoration: none;
    display: block;
    font-size: 14px;
    font-weight: 500;
    line-height: 150%;
    padding: 16px 0px;
  }

  .footer-small-links a:hover {
    color: #fff;
  }

  .footer-small-links i {
    margin-right: 5px;
  }

  .contact-icon-mobile {
    justify-content: flex-start;
    display: flex;
    align-items: center;
    font-size: 23px;
    margin-bottom: 32px;
    gap: 16px;
  }

  .button-container {
    display: flex;
    flex-direction: row;
    gap: 8px;
    justify-content: flex-start !important;
    align-items: center;
    padding: 32px 0px;
    width: 100%;
  }
}

/* Mobile Menu Styles */
.mobile-footer {
  display: none;
  background-color: #222;
  color: white;
  padding: 32px 15px 38px 15px;
}

.footer-small-links {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}
.footer-small-links li {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-footer img {
  width: 179px;
  height: 50px;
  object-fit: contain;
}

.footer-logo {
  width: 178.57px;
  height: 50px;
  object-fit: contain;
}

.footer-section {
  margin-top: 32px;
  padding: 10px 0;
}

.footer-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 18px;
  color: white;
  font-weight: 800;
  line-height: 150%;
}

.footer-title i {
  margin-left: auto;
  transition: transform 0.3s ease;
  font-size: 14px;
  color: #fff;
}

.footer-section.active .footer-title i {
  transform: rotate(180deg);
}

.footer-dropdown {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
  display: none;
}

.footer-dropdown li {
  margin: 5px 0;
}

.footer-dropdown li a {
  color: #ccc;
  text-decoration: none;
  font-size: 14px;
  display: block;
  line-height: 150%;
  font-weight: 500;
  position: relative;
  padding: 15px 0px;
}

.footer-dropdown li a::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #da1a35;
}

.footer-dropdown li a:hover {
  color: white;
}

.divider {
  border-top: 1px solid #444;
  margin: 10px 0;
}

.footer-small-links i {
  margin-left: 6px;
}

.footer-small-links a {
  color: #fff;
  text-decoration: none;
  display: block;
  font-size: 14px;
  font-weight: 500;
  line-height: 150%;
  padding: 16px 0px;
}

.footer-small-links a:hover {
  color: #fff;
}

.footer-small-links i {
  margin-right: 5px;
}

.button-container {
  display: flex;
  flex-direction: row;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
  padding: 32px 0px;
  width: 100%;
}

.rc-assist-btn {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 8px 16px;
  gap: 8px;
  width: 152px;
  height: 36px;
  border: 1px solid #ffffff;
  border-radius: 500px;
  background-color: #00000000;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  line-height: 165%;
}
.remove {
  display: none !important;
}

.enquire-btn {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 8px 16px;
  gap: 8px;
  width: 152px;
  height: 36px;
  border-radius: 500px;
  background-color: #da1a35;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  line-height: 165%;
  border: 1px solid #da1a35;
}

/* Show mobile menu on mobile and iPad */
@media (max-width: 1024px) {
  .footer {
    display: none;
  }

  .mobile-footer {
    display: block;
  }

  /* iPad specific padding */
  @media (min-width: 768px) {
    .mobile-footer {
      padding: 32px 40px 38px 40px;
    }
  }
}

/* Mobile styles */
@media (max-width: 767px) {
  .footer {
    display: none;
  }

  .mobile-footer {
    display: block;
  }

  .shared-btn {
    width: 100%;
    text-align: center;
  }

  .find-out-more-btn {
    width: 100%;
    text-align: center;
  }

  .footer-title i {
    font-size: 12px;
  }

  .left-section-image::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 13px;
    right: 13px;
    bottom: -8px;
    background: #da1a35;
    transform: rotate(4deg);
    z-index: -1;
    border-radius: 10px;
  }

  .section-cards {
    display: flex;
    gap: 49px;
  }
}

/* iPad-specific styles (768px-1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .footer {
    display: none;
  }
}

/* Mobile header */
.mobile-header {
  display: none;
  background: rgb(255 255 255 / 90%);
  border-bottom: 1px solid #e9e9e9;

  padding: 15px 24px;
  align-items: center;
  justify-content: space-between;
}

.mobile-logo-container {
  display: flex;
  align-items: center;
}

.mobile-logo {
  height: 40px;
  width: auto;
}

.mobile-apply-button-container {
  display: flex;
  align-items: center;
}

.mobile-apply-button {
  background-color: #da1a35;
  color: white;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: bold;
  text-decoration: none;
  margin-right: 10px;
}

.mobile-hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
}

.mobile-hamburger-line {
  width: 100%;
  height: 3px;
  background-color: #292122;
  border-radius: 2px;
}

/* Show mobile header on smaller screens */

/* Mobile Header (Tablet and below) */

@media (max-width: 1024px) {
  .mobile-header {
    display: flex;
  }

  nav {
    display: none;
  }
}

/* Container Padding (iPad & below)*/

/* General Layout Adjustments*/

/* Desktop and below (1440px and under) */
@media (max-width: 1440px) {
  .footer,
  .learn-from-home,
  .last-section {
    padding: 93px 61px;
  }
}

/* Large tablets (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .footer,
  .learn-from-home,
  .last-section {
    padding: 80px 40px;
  }
}

/* Mobile (under 768px) */
@media (max-width: 767px) {
  .footer,
  .learn-from-home,
  .last-section {
    padding: 60px 20px;
  }

  .learn-from-home {
    flex-direction: column-reverse;
    gap: 40px;
  }
}
