/* CSS */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 3vw, 28px);
    padding: clamp(24px, 6vh, 64px) clamp(16px, 4vw, 48px);
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.6) 100%),
        url('../images/hero.png') center/cover no-repeat;
    color: #ffffff;
    text-align: center;
    font-family: "Inter", sans-serif;
    min-height: 52vh;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 700px;
}

.hero-title {
    font-size: clamp(26px, 5vw, 42px);
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
}

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
}

.subtitle-regular {
    font-weight: 500;
    color: #ffffff;
}

.subtitle-highlight {
    font-weight: 600;
    color: #f0af3b;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: clamp(8px, 2vw, 12px) clamp(14px, 3.5vw, 20px);
    font-size: clamp(16px, 1.8vw, 15px);
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: auto;
}

.btn-primary {
    background-color: #42569d;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #354680;
    transform: translateY(-2px);
}

.btn-primary .btn-arrow {
    width: 24px;
    height: 24px;
    transform: translateX(-4px);
    transition: transform 150ms cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
}

.btn-primary:hover .btn-arrow {
    transform: translateX(12px);
}

.btn-secondary {
    background-color: #f0af3b;
    color: #ffffff;
}

.btn-secondary:hover {
    background-color: #e09d2a;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-section {
        padding: 72px clamp(16px, 4vw, 40px);
    }

    .hero-title {
        font-size: clamp(24px, 4.5vw, 36px);
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 56px 24px;
        gap: 24px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 320px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 44px;
    }

    .hero-subtitle {
        font-size: 20px;
    }

    .hero-section {
        padding: 48px 16px;
    }
}

/* CSS */
.about-section {
    padding: 80px 80px;
    background: #ebf0ff;
    text-align: center;
    font-family: "Inter", sans-serif;
}

.about-label {
    font-size: 18px;
    font-weight: 700;
    color: #f0af3b;
    letter-spacing: 1px;
    margin-bottom: 48px;
    text-transform: uppercase;
}

.about-grid {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1280px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.about-images {
    position: relative;
    width: 380px;
    height: 340px;
    flex-shrink: 0;
}

.about-img-main {
    width: 350px;
    height: 324px;
    object-fit: cover;
    border-radius: 12px;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); */
    transition: transform 0.35s ease;
    transform-origin: center;
}

.about-img-offset {
    position: absolute;
    top: 140px;
    left: 150px;
    width: 230px;
    height: 190px;
    object-fit: cover;
    border-radius: 12px;
    border: 6px solid #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.35s ease;
    transform-origin: center;
}

.about-images img:hover { transform: scale(1.06); }

.about-content {
    flex: 1;
    min-width: 320px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.about-title {
    font-size: 28px;
    font-weight: 700;
    color: #141417;
    line-height: 1.3;
    margin: 0;
}

.about-text {
    font-size: 18px;
    line-height: 1.9;
    color: #444;
}

.btn-about {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: clamp(10px, 2.8vw, 16px) clamp(16px, 4.5vw, 24px);
    background-color: #f0af3b;
    color: #ffffff;
    font-weight: 700;
    font-size: clamp(14px, 2.6vw, 16px);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-about:hover {
    background-color: #e09d2a;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(240, 175, 59, 0.3);
}

/* Responsive */
@media (max-width: 1024px) {
    .about-section {
        padding: 80px 60px;
    }

    .about-grid {
        gap: 60px;
    }

    .about-img-main {
        width: 320px;
        height: 300px;
    }

    .about-img-offset {
        width: 210px;
        height: 170px;
        top: 120px;
        left: 120px;
    }
}

@media (max-width: 768px) {
    .about-section {
        padding: 70px 40px;
    }

    .about-grid {
        flex-direction: column;
        text-align: center;
    }

    .about-content {
        align-items: center;
        text-align: center;
    }

    .about-images {
        width: 340px;
        height: 320px;
    }

    .about-img-main {
        width: 100%;
        height: 300px;
    }

    .about-img-offset {
        width: 200px;
        height: 160px;
        top: 120px;
        left: 70px;
    }

    .btn-about {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .about-title {
        font-size: 24px;
    }

    .about-text {
        font-size: 17px;
    }

    .about-images {
        width: 300px;
        height: auto;
    }

    .about-img-main {
        height: 260px;
    }

    .about-img-offset {
        width: 170px;
        height: 140px;
        top: 100px;
        left: 65px;
    }
}

/* CSS */
.unique-section {
    padding: clamp(72px, 8vw, 100px) clamp(16px, 5vw, 64px);
    background: #ebf0ff;
    font-family: "Inter", sans-serif;
    color: #141417;
}
.unique-section-2 {
    padding: clamp(72px, 8vw, 100px) clamp(16px, 5vw, 64px);
    background: #f8fbff;
    font-family: "Inter", sans-serif;
    color: #141417;
}


.unique-label {
    font-size: 18px;
    font-weight: 700;
    color: #f0af3b;
    text-align: center;
    letter-spacing: 1px;
    margin-bottom: 48px;
    text-transform: uppercase;
}

.unique-grid {
    display: flex;
    align-items: center;
    gap: 80px;
    max-width: 1280px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: space-between;
}

.unique-content {
    flex: 1;
    min-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.unique-title {
    font-size: clamp(22px, 4.8vw, 30px);
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    color: #141417;
}

.unique-text {
    font-size: clamp(16px, 3.4vw, 18px);
    line-height: 1.9;
    margin: 0;
    color: #141417;
}

.unique-strengths {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.strengths-heading {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 8px 0;
}

.strengths-list {
    list-style: none;
    padding-left: 4px;
    margin: 0;
    font-size: clamp(16px, 3.4vw, 18px);
    line-height: 2.1;
}

.strengths-list li {
    position: relative;
    padding-left: 28px;
    color: #141417;
}

.strengths-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #f0af3b;
    font-weight: bold;
    font-size: 20px;
}

.unique-image {
    flex-shrink: 0;
}

.unique-img {
    width: 100%;
    max-width: 530px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    transition: transform 0.35s ease;
}

.unique-image:hover .unique-img { transform: translateX(6px); }

/* Responsive */
@media (max-width: 1024px) {
    .unique-section {
        padding: 80px 60px;
    }

    .unique-grid {
        gap: 60px;
    }
}

@media (max-width: 868px) {
    .unique-grid {
        flex-direction: column;
        text-align: center;
    }

    .unique-content {
        align-items: center;
    }

    .strengths-list {
        padding-left: 0;
    }

    .strengths-list li {
        padding-left: 32px;
    }

    .strengths-list li::before {
        left: 0;
    }
}

@media (max-width: 480px) {
    .unique-section {
        padding: 70px 24px;
    }

    .unique-title {
        font-size: 28px;
    }

    .unique-text,
    .strengths-heading,
    .strengths-list {
        font-size: 17px;
    }

    .unique-img {
        border-radius: 8px;
    }
}

/* CSS */
.academics-section {
  padding: clamp(72px, 8vw, 100px) clamp(16px, 5vw, 64px);
  background: #f8fbff;
  font-family: "Inter", sans-serif;
  text-align: center;
}

.academics-label {
  font-size: 18px;
  font-weight: 700;
  color: #f0af3b;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 60px;
}

.academics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1400px;
  margin: 0 auto;
}

.academic-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 54px 32px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.3s ease;
}

.academic-card:hover {
  transform: translateY(-10px);
}

.card-icon-wrapper {
  background-color: #42569d;
  padding: 34px 28px;
  border-radius: 0 20px 0 0;
  margin: -54px -32px 24px -32px;
  /* width: calc(100% + 64px); */
  align-self: stretch;
}

.card-icon {
  width: 56px;
  height: 46px;
  object-fit: contain;
  transition: transform 0.5s ease;
  transform-style: preserve-3d;
}

.academic-card:hover .card-icon { transform: rotateY(180deg); }

.card-title {
  font-size: 24px;
  font-weight: 600;
  color: #42569d;
  margin: 0 0 16px 0;
  text-align: left;
}

.card-text {
  font-size: 16px;
  line-height: 2;
  color: #444;
  margin: 0 0 24px 0;
  text-align: left;
  flex-grow: 1;
}

.card-cta {
  font-size: 18px;
  font-weight: 700;
  color: #f0af3b;
  text-decoration: none;
  transition: color 0.3s ease;
}

.card-cta:hover {
  color: #d89b2a;
}

/* Responsive – only break when truly needed */
@media (max-width: 1100px) {
  .academics-grid {
    grid-template-columns: 1fr 1fr;
  }
  .academics-section {
    padding: 64px clamp(16px, 5vw, 48px);
  }
}

@media (max-width: 768px) {
  .academics-grid {
    grid-template-columns: 1fr;
  }
  .academics-section {
    padding: 56px 24px;
  }
}

@media (max-width: 480px) {
  .academics-section {
    padding: 70px 24px;
  }
  .academic-card {
    padding: 48px 28px;
  }
  .card-icon-wrapper {
    padding: 28px 24px;
    margin: -48px -28px 20px -28px;
    /* width: calc(100% + 56px); */
  }
}

/* CSS */
.community-section {
  padding: clamp(72px, 8vw, 100px) clamp(16px, 5vw, 64px);
  background: #f3fcff;
  font-family: "Inter", sans-serif;
}

.community-label {
  font-size: 18px;
  font-weight: 700;
  color: #f0af3b;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 60px;
}

.community-grid {
  display: flex;
  align-items: center;
  gap: 80px;
  max-width: 1280px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.community-content {
  flex: 1;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.community-title {
  font-size: 28px;
  font-weight: 700;
  color: #676767;
  line-height: 1.3;
  margin: 0;
}

.community-text {
  font-size: 18px;
  line-height: 1.9;
  color: #676767;
  margin: 0;
}

.community-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.highlights-heading {
  font-size: 18px;
  font-weight: 500;
  color: #676767;
  margin: 0;
}

.highlights-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 18px;
  line-height: 2.2;
  color: #676767;
}

.highlights-list li {
  position: relative;
  padding-left: 28px;
}

.highlights-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #f0af3b;
  font-weight: bold;
  font-size: 20px;
}

.community-image {
  flex-shrink: 0;
}

.community-img {
  width: 100%;
  max-width: 530px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
  object-fit: cover;
  transition: transform 0.35s ease;
}

.community-image:hover .community-img { transform: translateX(-6px); }

/* Responsive */
@media (max-width: 1024px) {
  .community-section { padding: 64px clamp(16px, 5vw, 48px); }
  .community-grid { gap: 60px; }
}

@media (max-width: 868px) {
  .community-grid {
    flex-direction: column;
    text-align: center;
  }
  .community-content {
    align-items: center;
  }
  .highlights-list li {
    padding-left: 32px;
  }
  .highlights-list li::before {
    left: 0;
  }
}

@media (max-width: 480px) {
  .community-section { padding: 48px 20px; }
  .community-title { font-size: 26px; }
  .community-text,
  .highlights-heading,
  .highlights-list { font-size: 17px; }
  .community-img { border-radius: 12px; }
}

/* CSS */
.gallery-section {
  padding: clamp(72px, 8vw, 100px) clamp(16px, 5vw, 64px);
  background: #f8fbff;
  font-family: "Inter", sans-serif;
  position: relative;
  overflow: hidden;
}

.gallery-heading {
  position: relative;
  display: inline-block;
  margin: 0 auto 40px;
  left: 50%;
  transform: translateX(-50%);
}

.heading-line {
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: #6878b1;
  z-index: 1;
}

.heading-dot {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: #6878b1;
  border-radius: 50%;
  z-index: 2;
}

.gallery-title {
  font-size: 20px;
  font-weight: 500;
  color: #00272b;
  letter-spacing: 4px;
  margin: 0;
  padding-left: 20px;
  white-space: nowrap;
}

.gallery-container {
  overflow: hidden;
  width: 100%;
}

.gallery-track {
  display: flex;
  gap: clamp(20px, 3vw, 32px);
  width: max-content;
}

.gallery-track.marquee-ready {
  animation: scroll 40s linear infinite;
  will-change: transform;
}

.gallery-item {
  position: relative;
  width: clamp(260px, 22vw, 340px);
  aspect-ratio: 3 / 4;
  flex-shrink: 0;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  scroll-snap-align: start;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 10%, rgba(0,0,0,0.6) 60%, rgba(240,175,59,0.35) 100%);
  opacity: 0;
  transform: translateY(100%);
  will-change: transform, opacity;
  transition: transform 0.35s ease-out, opacity 0.3s ease;
  pointer-events: none;
}

.gallery-hover-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  opacity: 0;
  transition: all 0.3s ease;
}

.gallery-hover-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-caption { display: none; }

.gallery-caption h3 {
  margin: 0 0 4px 0;
  font-size: 20px;
  font-weight: 600;
}

.gallery-caption p {
  margin: 0;
  font-size: 14px;
  opacity: 0.9;
}

.gallery-item:hover .gallery-img { transform: scale(1.03); }

.gallery-item:hover .gallery-overlay { opacity: 1; transform: translateY(0); }
.gallery-item:hover .gallery-hover-icon { opacity: 1; }

/* Continuous scroll animation */
@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Pause on hover */
.gallery-track:hover {
  animation-play-state: paused;
}

/* Responsive */
@media (max-width: 1024px) {
  .gallery-section { padding: 90px 60px; }
}

@media (max-width: 768px) {
  .gallery-section { padding: 56px 24px; }
  .gallery-item { width: clamp(220px, 60vw, 300px); }
  .gallery-track { gap: 20px; }
}

@media (max-width: 480px) {
  .gallery-section { padding: 48px 20px; }
  .gallery-title { font-size: 18px; letter-spacing: 3px; }
  .gallery-item { width: clamp(200px, 80vw, 260px); }
}