.hero-australia {
  position: relative;
  background-color: var(--color-bg-cream);
  padding-top: 50px;
  height: 90vh;
}

.hero-content-col {
  padding-left: calc(
    (100vw - 1440px) / 2 + 12px
  );
  padding-right: 3rem;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (max-width: 1400px) {
  .hero-content-col {
    padding-left: 5rem;
  }
}
@media (max-width: 991px) {
  .hero-content-col {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.text-primary-custom {
  color: var(--color-primary);
}
.text-accent-custom {
  color: var(--color-accent);
}

.badge-dashed {
  border: 1px dashed var(--color-primary);
  color: var(--color-primary);
  background: transparent;
  font-weight: 500;
  letter-spacing: 1px;
}

.btn-primary-custom {
  background-color: var(--color-primary);
  border: 2px solid var(--color-primary);
  color: var(--text-on-dark);
  transition: all 0.3s ease;
}
.btn-primary-custom:hover {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline-custom {
  background-color: transparent;
  border: 2px solid var(--color-border);
  color: var(--color-primary);
  transition: all 0.3s ease;
}
.btn-outline-custom:hover {
  border-color: var(--color-primary);
  background-color: rgba(0, 53, 43, 0.05);
}

.user-avatars {
  display: flex;
}
.avatar-circle {
  width: 36px;
  height: 36px;
  background-color: #e9ecef;
  border: 2px solid var(--color-bg-cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-left: -10px;
}
.avatar-circle:first-child {
  margin-left: 0;
}

.hero-scroller-col {
  position: relative;
  height: 100vh;
  max-height: 900px;
  overflow: hidden;
}

.scroller-wrapper {
  height: 100%;
  width: 100%;
  transform-origin: center center;
}

.scroller-track {
  display: flex;
  flex-direction: column;
  animation: scrollUp 40s linear infinite;
}

@keyframes scrollUp {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

.masonry-grid {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  justify-content: center;
}
.masonry-col {
  display: flex;
  flex-direction: column;
  width: 50%;
}

.scroller-overlay-top,
.scroller-overlay-bottom {
  position: absolute;
  left: 0;
  right: 0;
  height: 150px;
  z-index: 2;
  pointer-events: none;
}
.scroller-overlay-top {
  top: 0;
  background: linear-gradient(
    to bottom,
    var(--color-bg-cream) 0%,
    rgba(255, 255, 255, 0) 60%
  );
}
.scroller-overlay-bottom {
  bottom: 0;
  background: linear-gradient(
    to top,
    var(--color-bg-cream) 0%,
    rgba(255, 255, 255, 0) 100%
  );
}

@media (max-width: 991px) {
  .hero-australia {
    padding-top: 40px;
    height: auto !important;
    min-height: auto !important;
  }

  .row.g-0.h-100.align-items-center {
    flex-direction: column;
    height: auto !important;
  }

  .hero-content-col {
    width: 100%;
    padding: 3rem 1.5rem 1rem 1.5rem;
    text-align: center;
    position: relative;
    z-index: 10;
    background-color: var(--color-bg-cream);
  }

  .hero-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .d-flex.flex-wrap.gap-3 {
    justify-content: center;
    width: 100%;
    margin-bottom: 20px;
  }

  .d-flex.align-items-center {
    justify-content: center;
  }

  .hero-scroller-col {
    width: 100%;
    height: 60vh !important;
    min-height: 400px;
    overflow: hidden;
    background-color: transparent;
    padding: 0;
    margin-top: 20px;
  }

  .scroller-wrapper {
    width: 100%;
  }

  .scroller-track {
    animation: scrollUp 30s linear infinite;
  }

  .scroller-item[aria-hidden="true"] {
    display: block !important;
  }

  .masonry-grid {
    gap: 1rem;
    padding: 1rem;
  }

  .scroller-overlay-top,
  .scroller-overlay-bottom {
    display: block !important;
    height: 80px;
  }
}

.process-section {
  padding: 80px auto;
  height: auto;
}
.step-card {
  background-color: var(--color-bg-cream);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid transparent;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 53, 43, 0.1);
}

.step-img-wrapper {
  height: 200px;
  overflow: hidden;
}

.step-img-wrapper img {
  object-fit: cover;
  height: 100%;
  transition: transform 0.5s ease;
}

.step-card:hover .step-img-wrapper img {
  transform: scale(1.05);
}

.step-body {
  padding: 2rem;
}

.step-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: 1rem;
}

.step-title {
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.step-desc {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 0;
}

.cta-card {
  background-color: var(--color-primary);
  color: var(--text-on-dark);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0) 70%
  );
  transform: rotate(45deg);
}

.cta-title {
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.cta-desc {
  opacity: 0.9;
  font-size: 1rem;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}

.cta-card .btn-light {
  color: var(--color-primary);
  background-color: #ffffff;
  border: none;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.cta-card .btn-light:hover {
  background-color: var(--color-bg-cream);
  transform: translateX(5px);
}

.lifestyle-section {
  background-color: var(--color-bg-cream);
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}

.float-card {
  position: absolute;
  background-color: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px -10px rgba(0, 53, 43, 0.15);
  border: 4px solid #ffffff;
  transition: all 0.4s ease-out;
  cursor: pointer;
  z-index: 1;
}

.float-card:hover {
  z-index: 20;
  transform: scale(1.05) translateY(-5px) !important;
  box-shadow: 0 30px 60px -10px rgba(0, 53, 43, 0.25);
  border-color: var(--color-bg-cream);
}

.float-card img,
.float-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pos-1 {
  top: 10%;
  left: 10%;
  width: 180px;
  height: 180px;
}
.pos-2 {
  top: 5%;
  left: 40%;
  width: 160px;
  height: 160px;
}
.pos-3 {
  top: 12%;
  right: 12%;
  width: 200px;
  height: 200px;
}

.pos-4 {
  top: 40%;
  left: 5%;
  width: 140px;
  height: 140px;
}
.pos-5 {
  top: 45%;
  right: 5%;
  width: 150px;
  height: 150px;
}

.pos-6 {
  bottom: 10%;
  left: 15%;
  width: 220px;
  height: 220px;
}
.pos-7 {
  bottom: 12%;
  right: 20%;
  width: 190px;
  height: 190px;
}

@keyframes softFloat {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

.float-card {
  animation-name: softFloat;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}

.float-delay-1 {
  animation-duration: 6s;
  animation-delay: 0s;
}
.float-delay-2 {
  animation-duration: 7s;
  animation-delay: 1s;
}
.float-delay-3 {
  animation-duration: 8s;
  animation-delay: 0.5s;
}
.float-delay-4 {
  animation-duration: 9s;
  animation-delay: 1.5s;
}

@media (max-width: 991px) {
  .lifestyle-section {
    min-height: 600px;
    padding: 40px 0;
  }

  .float-card {
    width: 100px !important;
    height: 100px !important;
    border-width: 2px;
    animation-duration: 5s;
  }

  .pos-1 {
    top: 5%;
    left: 5%;
  }
  .pos-3 {
    top: 5%;
    right: 5%;
  }
  .pos-6 {
    bottom: 5%;
    left: 5%;
  }
  .pos-7 {
    bottom: 5%;
    right: 5%;
  }
}

.career-section {
  padding: 60px 0;
  color: var(--text-main);
}

.career-header h2 {
  font-size: 3rem;
  font-weight: 500;
  margin-bottom: 1rem;
}
.career-header p {
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 40px auto;
}

.custom-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: -1px;
  z-index: 2;
  position: relative;
  flex-wrap: wrap;
}

.custom-tab-btn {
  background: transparent;
  border: none;
  padding: 12px 25px;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  border-radius: 15px 15px 0 0;
  transition: all 0.3s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.custom-tab-btn:hover {
  color: var(--color-primary);
}
.custom-tab-btn.active {
  background-color: var(--color-primary);
  color: var(--text-on-dark);
}

@media (max-width: 992px) {
  .custom-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-left: 20px;
    padding-right: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .custom-tabs::-webkit-scrollbar {
    display: none;
  }
}

.tab-content-container {
  background-color: var(--color-primary);
  border-radius: 20px;
  padding: 40px;
  position: relative;
  color: var(--text-on-dark);
  min-height: 580px;
}

.cards-wrapper {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  gap: 30px;
  padding-bottom: 20px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.cards-wrapper::-webkit-scrollbar {
  display: none;
}

.program-card {
  flex: 0 0 calc(33.333% - 20px);
  display: flex;
  flex-direction: column;
  background: transparent;
}
@media (max-width: 992px) {
  .program-card {
    flex: 0 0 calc(50% - 15px);
  }
}
@media (max-width: 768px) {
  .program-card {
    flex: 0 0 100%;
  }
}

.card-img-top {
  border-radius: 15px;
  height: 200px;
  object-fit: cover;
  margin-bottom: 20px;
  width: 100%;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-on-dark);
  min-height: 60px;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  font-size: 0.9rem;
  opacity: 0.9;
}
.feature-list li {
  margin-bottom: 8px;
  display: flex;
  gap: 10px;
}
.feature-list li i {
  width: 20px;
  text-align: center;
  margin-top: 3px;
}

.price-tag {
  font-weight: 600;
  margin-bottom: 20px;
  display: block;
}

.btn-view-program {
  margin-top: auto;
  border: 1px solid var(--text-on-dark);
  color: var(--text-on-dark);
  border-radius: 50px;
  padding: 8px 24px;
  background: transparent;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s;
  width: fit-content;
}
.btn-view-program:hover {
  background: var(--text-on-dark);
  color: var(--color-primary);
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 20px;
}

.nav-arrow {
  color: #fff;
  cursor: pointer;
  font-size: 1.5rem;
  user-select: none;
  transition: opacity 0.3s;
}

.nav-arrow.disabled {
  opacity: 0.2;
  cursor: default;
  pointer-events: none;
}

.program-card {
  padding: 15px;
  background-color: #001e00;
  border-radius: 15px;
}

.testimonial-section {
  padding: 80px 0;
  overflow: hidden;
}

.section-header {
  margin-bottom: 50px;
  text-align: center;
}

.section-title {
  font-weight: 800;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.section-subtitle {
  color: #666;
  font-size: 1.1rem;
}

.gallery-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  height: 550px;
  margin: 0 auto;
  padding: 0 20px;
}

.gallery-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.col-edge {
  height: 75%;
}

.col-middle {
  height: 100%;
}

.student-card {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background-color: #eee;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.student-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.student-card:hover img {
  transform: scale(1.05);
}

.h-60 {
  flex: 1.4;
}
.h-40 {
  flex: 1;
}

.card-label {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);

  background-color: #111;
  color: #fff;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  z-index: 5;
  width: max-content;
  max-width: 90%;
  text-align: center;
}
.text-sub {
  display: block;
  font-size: 0.65em;
  opacity: 0.7;
  font-weight: 400;
}

@media (max-width: 992px) {
  .gallery-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    height: auto;
    gap: 15px;
  }
  .col-edge,
  .col-middle {
    height: auto;
  }

  .student-card {
    height: 300px;
  }
}

@media (max-width: 576px) {
  .gallery-container {
    grid-template-columns: 1fr;
  }
  .student-card {
    height: 350px;
  }
}

.faq-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
}

.faq-title {
  color: #103028;
  font-weight: 800;
  font-size: 3rem;
  margin-bottom: 40px;
  letter-spacing: -0.03em;
  text-align: center;
}

.faq-item {
  border-bottom: 1px solid #eaecf0;
}

.faq-button {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question-text {
  font-size: 1.125rem;
  font-weight: 500;
  color: #101828;
  padding-right: 20px;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
  opacity: 0;
}

.faq-answer p {
  color: #475467;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 24px;
  padding-right: 40px;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  opacity: 1;
}

.icon-wrapper {
  color: #f04438;
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.icon-plus {
  display: block;
}
.icon-minus {
  display: none;
}

.faq-item.active .icon-plus {
  display: none;
}
.faq-item.active .icon-minus {
  display: block;
}

#lifestyle-and-culture{
  scroll-margin-top: 150px;
}

#education-system{
  scroll-margin-top: 120px;
}