:root {
  --primary-teal: #00514a;
  --secondary-yellow: #f9c349;
  --text-dark: #004d40;
  --social-bg: #c1d3d0;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #fcfcfc;
  color: #333;
}

.text-justify {
  text-align: justify !important;
}

h1,
h2,
h3,
.nav-link,
.btn-custom {
  font-family: "Outfit", sans-serif;
}

.text-primary-teal {
  color: var(--primary-teal);
}

/* Reusable Utility Classes */
.btn-custom {
  border: none;
  font-weight: 700;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  padding: 0.7rem 2rem;
}

.btn-custom:hover {
  transform: translateY(-3px);
}

.btn-leaf {
  border-radius: 50px 5px 50px 5px;
}

.btn-primary-teal {
  background-color: var(--primary-teal);
  color: white !important;
  box-shadow: 0 10px 20px rgba(0, 81, 74, 0.2);
}

.btn-primary-teal:hover {
  background-color: #003d38;
  box-shadow: 0 15px 30px rgba(0, 81, 74, 0.3);
}

.btn-secondary-yellow {
  background-color: var(--secondary-yellow);
  color: var(--primary-teal) !important;
  box-shadow: 0 8px 15px rgba(249, 195, 73, 0.3);
}

.btn-secondary-yellow:hover {
  background-color: #f7b41e;
  box-shadow: 0 12px 25px rgba(249, 195, 73, 0.4);
}

.btn-outline-dark {
  border: 1px solid #999;
  color: #333 !important;
  background: transparent;
}

.btn-outline-dark:hover {
  background: #333;
  color: white !important;
  border-color: #333;
}

.pill-custom {
  display: inline-block;
  padding: 8px 25px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pill-teal {
  background-color: #d1eded;
  color: var(--primary-teal);
}

/* Header Specific Styles */
.top-bar {
  z-index: 1030;
}

.btn-campus {
  /* Inherits from btn-custom btn-primary-teal */
  border-radius: 50px 5px 50px 5px;
}

.social-icon {
  width: 42px;
  height: 42px;
  background-color: #f0f4f4;
  /* Muted background color */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-teal);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.1rem;
  border: 1px solid rgba(0, 81, 74, 0.05);
  /* Subtle outline */
}

.social-icon:hover {
  background-color: var(--primary-teal);
  color: white;
  transform: translateY(-3px) rotate(8deg);
}

/* Navbar styles */
.navbar-nav .nav-link {
  transition: all 0.3s ease;
  position: relative;
  letter-spacing: 0.5px;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 50%;
  width: 0;
  height: 3px;
  background: white;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 100%;
}

.navbar-nav .nav-link.active {
  color: #fff !important;
  opacity: 1;
}

.btn-contact {
  /* Inherits from btn-custom btn-secondary-yellow btn-leaf */
  padding: 0.7rem 2.8rem;
}

/* Offcanvas styles */
.offcanvas {
  width: 300px !important;
}

.offcanvas-body .nav-link {
  color: var(--text-dark);
}

/* Animation classes */
.scale-up {
  transition: transform 0.2s;
}

.scale-up:hover {
  transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .top-bar img {
    max-height: 80px !important;
  }

  .offcanvas {
    width: 320px !important;
    background-color: #f8f9fa;
  }

  .offcanvas-header {
    background-color: var(--primary-teal);
    color: white !important;
  }

  .offcanvas-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
  }

  .offcanvas-header .offcanvas-title {
    color: white !important;
  }
}

@media (max-width: 576px) {
  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .top-bar img {
    max-height: 60px !important;
  }

  .top-bar .col-9 {
    padding-left: 0;
  }
}

/* Hero Section Styles */
.hero-section {
  position: relative;
  background: radial-gradient(circle at center, #f0f9f8 0%, #ffffff 100%);
  overflow: hidden;
  padding: 60px 0;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-section::before {
  content: "";
  position: absolute;
  bottom: 40px;
  left: 60px;
  width: 100px;
  height: 100px;
  background-image: radial-gradient(#ccc 2px, transparent 2px);
  background-size: 20px 20px;
  opacity: 0.3;
}

.hero-section::after {
  content: "✦";
  position: absolute;
  top: 10%;
  left: 20%;
  font-size: 2rem;
  color: #f9c349;
  opacity: 0.4;
  transform: rotate(15deg);
}

.hero-pill {
  /* Inherits from pill-custom pill-teal */
  margin-bottom: 25px;
}

.hero-title {
  color: var(--primary-teal);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-title span {
  position: relative;
  color: #00796b;
}

.hero-title span::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 15px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20" preserveAspectRatio="none"><path d="M0,10 Q50,20 100,10" stroke="%23f9c349" stroke-width="3" fill="none"/></svg>');
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.hero-subtext {
  color: #555;
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.btn-admission {
  /* Inherits from btn-custom btn-primary-teal btn-leaf */
  padding: 15px 40px;
}

.btn-explore {
  /* Inherits from btn-custom btn-outline-dark btn-leaf */
  padding: 15px 40px;
}

.hero-img-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img-left,
.hero-img-right {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.1));
}

/* Responsive adjustments for Hero */
@media (max-width: 1400px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (max-width: 1199px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-img-left,
  .hero-img-right {
    max-height: 400px;
  }
}

@media (max-width: 991px) {
  .hero-section {
    padding: 30px 0;
    min-height: auto;
  }

  .hero-title {
    font-size: 2.2rem;
    line-height: 1.3;
  }

  .hero-img-left,
  .hero-img-right {
    max-height: 280px;
  }

  .hero-subtext {
    font-size: 0.95rem;
    padding: 0 10px;
    margin-bottom: 30px;
  }

  .btn-admission,
  .btn-explore {
    padding: 12px 30px;
    font-size: 0.95rem;
  }
}

@media (max-width: 767px) {
  .hero-side-img {
    display: none;
  }

  .hero-section {
    text-align: center;
    padding: 60px 15px;
  }

  .hero-title {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .hero-subtext {
    font-size: 1rem;
    margin-bottom: 35px;
  }

  .hero-btns {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .btn-admission,
  .btn-explore {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .hero-pill {
    font-size: 0.8rem;
    padding: 6px 20px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .hero-subtext {
    font-size: 0.9rem;
    margin-bottom: 25px;
  }

  .hero-section {
    padding: 50px 10px;
  }
}

/* Marquee Section Styles */
.updates-marquee {
  background-color: #f0f2f5;
  border-bottom: 2px solid #e9ecef;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  height: 50px;
}

.updates-label {
  background-color: var(--primary-teal);
  color: white;
  padding: 0 25px;
  display: flex;
  align-items: center;
  font-weight: 700;
  font-family: "Outfit", sans-serif;
  z-index: 10;
  white-space: nowrap;
  border-radius: 0 8px 8px 0;
  box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
}

.marquee-container {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  position: relative;
}

.marquee-content {
  display: flex;
  white-space: nowrap;
  animation: marquee-scroll 30s linear infinite;
  padding-left: 20px;
}

.marquee-content:hover {
  animation-play-state: paused;
}

.marquee-item {
  color: var(--primary-teal);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0 40px;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: color 0.3s ease;
}

.marquee-item:hover {
  color: #00796b;
}

.marquee-item i {
  color: var(--secondary-yellow);
  margin-right: 10px;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Stats Section Styles */
.stats-section {
  background-color: var(--primary-teal);
  padding: 20px 0;
  color: white;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
  padding: 15px 0;
  position: relative;
}

.stat-icon {
  font-size: 2.5rem;
  opacity: 0.9;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
}

.stat-info h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.stat-info p {
  font-size: 0.9rem;
  margin-bottom: 0;
  opacity: 0.8;
  font-weight: 400;
}

/* Plus-style Dividers */
.stat-col {
  position: relative;
}

/* Vertical lines for desktop */
@media (min-width: 992px) {
  .stat-col:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.3);
  }
}

/* Plus intersection for 2x2 mobile/tablet */
@media (max-width: 991px) {
  .stat-col {
    border-color: rgba(255, 255, 255, 0.2) !important;
  }

  /* Vertical line between columns */
  .stat-col:nth-child(odd) {
    border-right: 1px solid;
  }

  /* Horizontal line between rows */
  .stat-col:nth-child(-n + 2) {
    border-bottom: 1px solid;
  }

  .stat-item {
    justify-content: flex-start;
    text-align: left;
    padding: 20px 10px;
    gap: 12px;
  }

  .stat-info h4 {
    font-size: 1rem;
  }

  .stat-info p {
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .stats-section {
    padding: 30px 10px 10px;
  }

  .stat-item {
    gap: 10px;
    padding: 15px 5px;
  }

  .stat-icon {
    font-size: 1.5rem;
    min-width: 35px;
  }

  .stat-info h4 {
    font-size: 0.85rem;
  }

  .stat-info p {
    font-size: 0.7rem;
  }
}

/* About Section Styles */
.about-section {
  padding: 30px 0;
  background-color: #fff;
  overflow: hidden;
}

.about-pill {
  /* Inherits from pill-custom pill-teal */
  background-color: #c9efeb;
  /* Specific tint for about section */
  margin-bottom: 25px;
}

.about-title {
  font-size: 2rem;
  font-weight: 800;
  color: #333;
  line-height: 1.2;
  margin-bottom: 30px;
}

.about-title span {
  color: var(--primary-teal);
  position: relative;
  display: inline-block;
}

.about-title span::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 100%;
  height: 20px;
  background-image: url("../image/underline.png");
  background-size: contain;
  background-repeat: no-repeat;
}

.about-description {
  color: #555;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 25px;
  max-width: 600px;
}

.about-list {
  margin-bottom: 40px;
}

.about-list-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  font-weight: 700;
  color: #333;
  font-size: 1.1rem;
}

.about-list-icon {
  width: 24px;
  height: 24px;
}

.btn-about {
  /* Inherits from btn-custom btn-primary-teal btn-leaf */
  padding: 16px 35px;
  gap: 15px;
}

.about-image-container {
  position: relative;
  width: 100%;
  padding-left: 40px;
}

.about-image-container img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

@media (max-width: 1199px) {
  .about-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 991px) {
  .about-section {
    padding: 30px 0;
  }

  .about-image-container {
    padding-left: 0;
    margin-top: 50px;
  }

  .about-title {
    font-size: 1.6rem;
  }

  .btn-about {
    padding: 14px 30px;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .about-title {
    font-size: 1.4rem;
  }

  .about-description {
    font-size: 0.9rem;
  }

  .about-list-item {
    font-size: 0.9rem;
    gap: 12px;
  }

  .btn-about {
    padding: 12px 25px;
    font-size: 0.9rem;
    gap: 10px;
  }
}

/* Our Schools Section Styles */
.schools-section {
  padding: 40px 0;
  background-color: #fff;
  overflow: hidden;
}

.school-filter-container {
  margin-bottom: 50px;
  display: flex;
  justify-content: center;
  gap: 40px;
}

.filter-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  padding: 10px 0;
  position: relative;
  cursor: pointer;
  transition: all 0.3s ease;
  opacity: 0.6;
}

.filter-btn.active {
  opacity: 1;
  color: var(--primary-teal);
}

.filter-btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary-teal);
  transition: all 0.3s ease;
}

.filter-btn.active::after {
  width: 100%;
}

.filter-btn:not(.active):hover {
  opacity: 0.8;
}

/* Slider Controls */
.slider-controls {
  display: flex;
  gap: 15px;
}

.slider-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  color: var(--primary-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-btn:hover {
  background: var(--primary-teal);
  color: #fff;
  border-color: var(--primary-teal);
}

/* Carousel Container */
.schools-carousel-container {
  position: relative;
  width: 100%;
  overflow-x: hidden;
  /* Changed to hidden for JS control */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.schools-carousel-container::-webkit-scrollbar {
  display: none;
}

.schools-wrapper {
  display: flex;
  gap: 30px;
  padding: 10px 0;
  transition: transform 0.5s ease-out;
  width: max-content;
}

/* School Card */
.school-card {
  width: 320px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid #eee;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.school-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-teal);
}

.card-img-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
  padding: 10px;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.board-label {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--secondary-yellow);
  color: var(--primary-teal);
  padding: 8px 25px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
}

.card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.card-content h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-teal);
  margin-bottom: 20px;
  line-height: 1.4;
  min-height: 3.5rem;
}

.card-info {
  margin-bottom: 25px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: #555;
  font-size: 0.9rem;
  font-weight: 500;
}

.info-item i {
  font-size: 1.1rem;
  color: var(--primary-teal);
  opacity: 0.7;
}

.btn-view-school {
  width: 100%;
  background-color: var(--primary-teal);
  color: #fff !important;
  text-decoration: none;
  padding: 12px;
  border-radius: 50px;
  text-align: center;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-view-school:hover {
  background-color: #003d38;
}

@media (max-width: 991px) {
  .schools-section {
    padding: 30px 0;
  }

  .school-filter-container {
    gap: 20px;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 10px;
    margin-bottom: 30px;
  }

  .filter-btn {
    font-size: 1.1rem;
    white-space: nowrap;
  }

  .school-card {
    min-width: 300px;
  }

  .card-content h3 {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .slider-btn {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 576px) {
  .schools-section {
    padding: 40px 0;
  }

  .school-card {
    min-width: 260px;
    max-width: 280px;
  }

  .card-img-wrapper {
    height: 180px;
  }

  .board-label {
    padding: 6px 18px;
    font-size: 0.75rem;
  }

  .card-content {
    padding: 15px;
  }

  .card-content h3 {
    font-size: 1rem;
    min-height: 3rem;
    margin-bottom: 15px;
  }

  .info-item {
    font-size: 0.85rem;
    gap: 10px;
    margin-bottom: 8px;
  }
}

/* Academics Section Styles */
.academics-section {
  padding: 40px 0;
  background-color: #fcfcfc;
  overflow: hidden;
}

.academics-carousel-container {
  position: relative;
  width: 99%;
  padding: 15px 0;
}

.academic-card {
  width: 98%;
  height: 100%;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.academic-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.card-header-stage {
  padding: 20px;
  color: white;
  display: flex;
  align-items: center;
  gap: 15px;
}

.stage-icon-circle {
  width: 35px;
  height: 35px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.stage-info h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stage-info p {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.95;
}

.card-body-stage {
  padding: 25px;
  flex-grow: 1;
}

.card-body-stage strong {
  display: block;
  font-size: 0.95rem;
  color: #333;
  margin-bottom: 5px;
}

.card-body-stage p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
}

.card-body-stage ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card-body-stage ul li {
  position: relative;
  padding-left: 15px;
  font-size: 0.85rem;
  color: #666;
  line-height: 1.5;
}

.card-body-stage ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #888;
}

/* Card Themes */
.stage-blue {
  border-color: rgba(74, 144, 226, 0.5);
}

.stage-blue .card-header-stage {
  background: #4a90e2;
}

.stage-green {
  border-color: rgba(139, 195, 74, 0.5);
}

.stage-green .card-header-stage {
  background: #8bc34a;
}

.stage-pink {
  border-color: rgba(233, 30, 99, 0.5);
}

.stage-pink .card-header-stage {
  background: #e91e63;
}

.stage-orange {
  border-color: rgba(255, 87, 34, 0.5);
}

.stage-orange .card-header-stage {
  background: #ff5722;
}

.stage-teal {
  border-color: rgba(0, 150, 136, 0.5);
}

.stage-teal .card-header-stage {
  background: #009688;
}

.academics-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
}

@media (max-width: 991px) {
  .academics-section {
    padding: 30px 0;
  }
}

@media (max-width: 576px) {
  .card-header-stage {
    padding: 15px;
    gap: 12px;
  }

  .stage-icon-circle {
    width: 30px;
    height: 30px;
  }

  .stage-info h4 {
    font-size: 0.9rem;
  }

  .stage-info p {
    font-size: 0.75rem;
  }

  .card-body-stage {
    padding: 20px;
  }

  .card-body-stage strong {
    font-size: 0.9rem;
  }

  .card-body-stage p {
    font-size: 0.85rem;
    margin-bottom: 15px;
  }
}

/* Why Choose Section Styles */
.why-choose-section {
  padding: 30px 0;
  background-color: #fff;
  overflow: hidden;
}

.why-choose-section .about-title {
  font-weight: 500;
  max-width: 500px;
}

.why-choose-section .about-title span {
  font-weight: 800;
}

.why-choose-content {
  padding-right: 30px;
}

.why-choose-section .about-description {
  max-width: 500px;
  margin-bottom: 35px;
  font-weight: 500;
}

.why-choose-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.why-choose-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 22px;
  font-weight: 700;
  color: var(--text-dark);
  font-size: 1.15rem;
}

.btn-why-choose {
  border-radius: 50px;
  font-weight: 700;
  padding: 15px 40px;
  background-color: var(--primary-teal);
  color: white !important;
  box-shadow: 0 10px 20px rgba(0, 81, 74, 0.15);
}

.why-choose-list-icon {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.video-box {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-image-wrapper {
  position: relative;
  width: 100%;
  border-radius: 20px;
  transition: transform 0.3s ease;
}

.video-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.play-btn-circle {
  width: 80px;
  height: 80px;
  background: var(--primary-teal);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 0 0 rgba(0, 81, 74, 0.5);
  animation: play-pulse 2s infinite;
  border: none;
  transition: all 0.3s ease;
}

.play-btn-circle i {
  color: #fff;
  font-size: 32px;
  margin-left: 5px;
}

@keyframes play-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 81, 74, 0.7);
  }

  70% {
    box-shadow: 0 0 0 25px rgba(0, 81, 74, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(0, 81, 74, 0);
  }
}

.play-btn-circle:hover {
  background: #003d38;
  transform: scale(1.1);
}

@media (max-width: 991px) {
  .why-choose-section {
    padding: 30px 0;
    text-align: center;
  }

  .why-choose-content {
    padding-right: 0;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .why-choose-section .about-title {
    font-size: 1.6rem;
    margin-bottom: 20px;
  }

  .why-choose-section .about-description {
    font-size: 0.95rem;
    margin-bottom: 25px;
  }

  .why-choose-list {
    text-align: left;
    display: inline-block;
    margin-top: 20px;
  }

  .play-btn-circle {
    width: 65px;
    height: 65px;
  }

  .play-btn-circle i {
    font-size: 24px;
  }
}

@media (max-width: 576px) {
  .why-choose-section {
    padding: 40px 0;
  }

  .why-choose-section .about-title {
    font-size: 1.4rem;
  }

  .why-choose-item {
    font-size: 0.9rem;
    gap: 12px;
    margin-bottom: 15px;
  }

  .why-choose-list-icon {
    width: 20px;
    height: 20px;
  }

  .btn-why-choose {
    padding: 12px 30px;
    font-size: 0.9rem;
  }
}

/* Beyond Classrooms / News & Events Section */
.beyond-classrooms-section {
  padding: 60px 0 0;
  background-color: #fff;
  overflow: hidden;
}

.beyond-content {
  padding-right: 40px;
}

.news-pill {
  background-color: #c9efeb;
  color: var(--primary-teal);
  display: inline-block;
  padding: 8px 25px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 25px;
}

.beyond-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #333;
  line-height: 1.2;
  margin-bottom: 30px;
}

.beyond-title span {
  color: var(--primary-teal);
  position: relative;
  display: inline-block;
}

.beyond-title span::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 100%;
  height: 20px;
  background-image: url("../image/underline.png");
  background-size: contain;
  background-repeat: no-repeat;
}

.beyond-description {
  color: #555;
  line-height: 1.7;
  font-size: 1.05rem;
  margin-bottom: 40px;
  font-family: "Outfit", sans-serif;
  font-weight: 500;
}

.news-card {
  height: 100%;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.news-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  padding: 10px;
  border-radius: 20px;
}

.news-card-img1 {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 10px;
  border-radius: 20px;
}

.news-card-content {
  padding: 20px;
  flex-grow: 1;
}

.news-card-content h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-teal);
  margin-bottom: 12px;
}

.news-card-content p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

.beyond-swiper {
  padding: 20px 0 50px;
}

@media (max-width: 991px) {
  .beyond-classrooms-section {
    padding: 30px 0;
  }

  .beyond-content {
    padding-right: 0;
    margin-bottom: 50px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .beyond-title {
    font-size: 1.8rem;
  }
}

.testimonial-section {
  padding: 20px 0;
  background: #ffffff;
}

.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 35px 30px;
  height: 100%;
  border: 1px solid #eee;
  text-align: left;
  position: relative;

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease;

  will-change: transform;
}

/* Hover - shadow always */
.testimonial-card:hover {
  box-shadow: 0 25px 50px rgba(0, 81, 74, 0.18);
  border-color: var(--primary-teal);
}

@media (min-width: 992px) {
  .testimonial-card:hover {
    transform: translateY(-12px);
  }

  .testimonial-card.featured {
    transform: translateY(-10px);
    box-shadow: 0 20px 45px rgba(0, 81, 74, 0.18);
    border-color: var(--primary-teal);
  }

  .testimonial-card.featured:hover {
    transform: translateY(-18px);
  }
}

/* Disable transforms on swiper screens */
@media (max-width: 991px) {

  .testimonial-card,
  .testimonial-card.featured {
    transform: none !important;
  }

  .testimonial-section {
    padding: 0;
  }
}

.testimonial-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-teal);
  margin-bottom: 10px;
}

.quote-icon {
  font-size: 2.5rem;
  color: var(--secondary-yellow);
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 25px;
}

/* Footer */
.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid #eee;
  padding-top: 20px;
}

.testimonial-footer img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-teal);
}

.testimonial-footer h6 {
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
  color: #333;
}

.stars {
  color: var(--secondary-yellow);
  font-size: 0.85rem;
  letter-spacing: 2px;
}

/* Small screens */
@media (max-width: 576px) {
  .testimonial-card {
    padding: 25px;
  }

  .testimonial-title {
    font-size: 1.1rem;
  }
}

/* Allow hover shadows */
.testimonialSwiper .swiper-slide {
  overflow: visible !important;
}

.testimonialSwiper .swiper-wrapper {
  padding: 30px 0;
}

@media (min-width: 992px) {
  .testimonialSwiper {
    padding: 0;
    overflow: hidden;
  }

  .testimonialSwiper .swiper-wrapper {
    display: flex;
    margin-left: -15px;
    margin-right: -15px;
  }

  .testimonialSwiper .swiper-slide {
    width: calc(33.333% - 30px);
    margin: 0 15px;
  }
}

.testimonialSwiper {
  padding-bottom: 20px;
}

.testimonialSwiper .swiper-slide {
  height: auto;
}

/* ==============================
   ADMISSION PROCESS SECTION
============================== */

.admission-process-section {
  padding: 20px 0 0;
  background: #ffffff;
  overflow-x: hidden;
}

/* Equal height columns */
.admission-left,
.admission-right {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* ==============================
   LEFT SIDE
============================== */

.admission-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
}

.admission-title span {
  position: relative;
  display: inline-block;
  color: var(--primary-teal);
}

/* Span underline */
.admission-title span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 12px;
  background-image: url("../../assets/image/underline.png");
  background-repeat: no-repeat;
  background-size: contain;
}

.admission-desc {
  font-size: 0.95rem;
  max-width: 420px;
  margin-bottom: 25px;
}

/* Button spacing handled by btn-custom */
.btn-custom.btn-primary-teal {
  width: fit-content;
}

/* NOTE BOX */
.admission-note {
  margin-top: auto;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fde199;
  padding: 14px 16px;
  border-radius: 14px;
  max-width: 460px;
}

.admission-note img {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.admission-note p {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.45;
  word-wrap: break-word;
}

/* ==============================
   RIGHT SIDE (STEPS)
============================== */

.admission-steps {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  /* reduced for height match */
  height: 100%;
}

/* Step Card */
.admission-step {
  background: #ffffff;
  border: 1px solid #d8dbea;
  border-radius: 8px;
  padding: 12px 16px;
  /* reduced height */
  transition: all 0.3s ease;
  overflow: hidden;
}

/* Step Header */
.step-header span {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-teal);
}

.step-header h4 {
  margin: 4px 0 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-teal);
}

/* Step Text */
.admission-step p {
  margin-top: 4px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #333;
  word-wrap: break-word;
}

.admission-step {
  transition:
    background-color 0.35s ease,
    box-shadow 0.35s ease,
    border-color 0.35s ease,
    transform 0.35s ease;
}

/* FULL CARD HOVER */
.admission-step:hover {
  background-color: var(--primary-teal);
  border-color: var(--primary-teal);
  box-shadow: 0 14px 35px rgba(0, 81, 74, 0.25);
  transform: translateY(-4px);
}

/* Text color change for ALL content */
.admission-step:hover h4,
.admission-step:hover span,
.admission-step:hover p {
  color: #ffffff;
}

/* ==============================
   MOBILE & RESPONSIVE
============================== */

.desktop-steps {
  display: flex;
}

.mobile-steps {
  display: none;
}

/* ==============================
    MOBILE LAYOUT (Below 768px)
============================== */
@media (max-width: 767px) {

  /* Visibility Toggles */
  .desktop-steps {
    display: none;
  }

  .mobile-steps {
    display: block;
  }

  /* Section Styling */
  .admission-process-section {
    padding: 10px 0 0;
  }

  .admission-title {
    font-size: 1.7rem;
  }

  /* Element Spacing */
  .btn-custom.btn-primary-teal {
    margin-bottom: 18px;
  }

  /* Global Overflow Prevention */
  body {
    overflow-x: hidden;
  }

  .container {
    max-width: 100%;
    overflow-x: hidden;
  }
}

/* Wrapper and Row setup for Swiper */
.admission-mobile-wrapper {
  width: 100%;
  overflow: hidden;
}

.admission-mobile-row {
  display: flex;
  transition: transform 0.5s ease-out;
}

/* Individual Slide Logic */
.admission-mobile-item {
  flex: 0 0 100%;
  /* Ensures one box per view */
  padding: 10px;
  /* Provides space for the hover shadow to show */
  box-sizing: border-box;
}

/* The Box (Matching .admission-step) */
.admission-mobile-box {
  background: #ffffff;
  border: 1px solid #d8dbea;
  border-radius: 8px;
  padding: 16px;
  height: 100%;
  /* Ensures all boxes in a row match height */
  transition: all 0.35s ease;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* Step Label (Step 1, 2, etc.) */
.admission-mobile-step {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-teal);
  transition: color 0.35s ease;
}

/* Box Title */
.admission-mobile-title {
  margin: 4px 0 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-teal);
  transition: color 0.35s ease;
}

/* Box Text */
.admission-mobile-text {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: #333;
  word-wrap: break-word;
  transition: color 0.35s ease;
}

/* ==============================
   HOVER / ACTIVE STATES
   (Works for touch too)
============================== */
.admission-mobile-box:hover {
  background-color: var(--primary-teal);
  border-color: var(--primary-teal);
  box-shadow: 0 14px 35px rgba(0, 81, 74, 0.25);
  transform: translateY(-4px);
}

.admission-mobile-box:hover .admission-mobile-title,
.admission-mobile-box:hover .admission-mobile-step,
.admission-mobile-box:hover .admission-mobile-text {
  color: #ffffff;
}

.admission-step {
  box-sizing: border-box;
}

/* ==============================
   MOBILE VIEW FIX (NO STYLE CHANGE)
============================== */

@media (max-width: 767px) {

  /* Scroll wrapper */
  .admission-mobile-wrapper {
    width: 95%;
    max-width: 95vw;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin: auto;
  }

  /* Hide scrollbar */
  .admission-mobile-wrapper::-webkit-scrollbar {
    display: none;
  }

  .admission-mobile-wrapper {
    scrollbar-width: none;
  }

  /* Horizontal layout */
  .admission-mobile-row {
    display: flex;
    gap: 20px;
    padding: 0 10px;
    /* safe edge padding */
  }

  /* Card container — FIX IS HERE */
  .admission-mobile-item {
    flex: 0 0 88%;
    /* replaces min-width */
    max-width: 88%;
    scroll-snap-align: center;
  }

  /* Ensure inner box never overflows */
  .admission-mobile-box {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  /* Disable hover lift on mobile (layout safety) */
  .admission-step:hover {
    transform: none;
    box-shadow: none;
  }
}

/* ============================
   ADMISSION HERO - FINAL FIX
============================ */

.admission-hero {
  background: linear-gradient(135deg, #0b6b5d, #0e8a79);
  padding: 30px 0;
  color: #fff;
}

.hero-container {
  max-width: 95%;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 0.9fr;
  gap: 30px;
  align-items: center;
}

/* ================= LEFT ================= */

.hero-left h1 {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
}

.hero-left h1 span {
  color: #ffc42d;
}

.hero-left p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 12px;
  max-width: 520px;
}

.hero-pill {
  background: #d9f3ee;
  color: #065f54;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 18px;
}

.hero-left .btn-contact {
  margin-top: 18px;
  padding: 14px 34px;
}

/* ================= CENTER ================= */

.hero-center1 {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-center1 img {
  position: relative;
  z-index: 2;
  margin-bottom: -120px;
}

@media (max-width: 1200px) {
  .hero-center1 img {
    width: 300px;
    margin-bottom: -220px;
  }
}

.hero-center {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-center img {
  position: relative;
  z-index: 2;
  margin-bottom: -100px;
}

@media (max-width: 1200px) {
  .hero-center img {
    width: 300px;
    margin-bottom: -185px;
  }
}

.yellow-blob {
  position: absolute;
  width: 220px;
  height: 280px;
  background: #ffc42d;
  border-radius: 50% 50% 40% 40%;
  z-index: 1;
}

/* ================= RIGHT FORM ================= */

.hero-right {
  background: #0f5e55;
  padding: 12px 24px;
  border-radius: 14px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  border: 2px solid white;
}

.hero-right h3 {
  font-size: 1.25rem;
  margin-bottom: 14px;
}

.hero-right form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-right label {
  font-size: 0.75rem;
  opacity: 0.85;
}

.hero-right input,
.hero-right select,
.hero-right textarea {
  padding: 9px 12px;
  border-radius: 6px;
  border: none;
  font-size: 0.9rem;
}

.hero-right textarea {
  resize: none;
  padding: 0px 10px !important;
}

.hero-btn {
  margin-top: 10px;
  padding: 12px;
  font-weight: 700;
}

.hero-right small {
  margin-top: 8px;
  text-align: center;
  font-size: 0.7rem;
  opacity: 0.9;
}

@media (max-width: 1000px) {
  .hero-center1 {
    display: none;
  }
}

@media (max-width: 1000px) {
  .hero-center {
    display: none;
  }

  .hero-container {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-center {
    order: -1;
    margin-bottom: 30px;
  }

  .hero-left p {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 576px) {
  .hero-center img {
    width: 200px;
  }

  .yellow-blob {
    width: 190px;
    height: 240px;
  }
}

/* ==============================
   PARTNER SCHOOLS SECTION
============================== */

.partner-schools-section {
  padding: 20px 0 50px 0;
  background: #ffffff;
  overflow: hidden;
}

/* Title */
.partner-title {
  font-size: 2rem;
  font-weight: 800;
  color: #065f54;
  position: relative;
  display: inline-block;
  margin-bottom: 40px;
}

/* Signature underline */
.partner-title .signature {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -18px;
  width: 120px;
  height: 20px;
  background: url("../../Assets/Images/signature.png") no-repeat center;
  background-size: contain;
}

/* Slider */
.partner-slider {
  width: 100%;
  overflow: hidden;
}

/* Track */
.partner-track {
  display: flex;
  gap: 30px;
  width: max-content;
  animation: scrollPartners 30s linear infinite;
}

/* Card */
.partner-card {
  min-width: 260px;
  background: #ffffff;
  border-radius: 16px;
  padding: 20px 25px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  border: 1px solid #f0f0f0;
}

/* Logo */
.partner-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

/* Name */
.partner-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0;
  text-align: left;
}

/* Animation */
@keyframes scrollPartners {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Pause on hover */
.partner-slider:hover .partner-track {
  animation-play-state: paused;
}

/* ==============================
   RESPONSIVE
============================== */

@media (max-width: 767px) {
  .partner-title {
    font-size: 1.6rem;
  }

  .partner-card {
    min-width: 220px;
    padding: 18px;
  }

  .partner-card h4 {
    font-size: 0.85rem;
  }
}

.bg-teal {
  background: linear-gradient(135deg, #0b6b5d, #0e8a79);
}

.footer-info li,
.footer-links li {
  opacity: 0.95;
  margin-bottom: 10px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

.footer-address {
  font-size: 14px;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Map */
.footer-map {
  width: 100%;
  height: 180px;
  border: none;
  border-radius: 10px;
}

/* Divider */
.footer-divider {
  border-color: rgba(255, 255, 255, 0.4);
}

/* Bottom Bar */
.footer-bottom {
  background: #f8c63c;
  padding: 14px 25px;
  border-radius: 50px;
  font-size: 14px;
}

/* Social Icons */
.footer-social a {
  color: #000;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.footer-social a:hover {
  transform: translateY(-3px);
}

/* Mobile */
@media (max-width: 767px) {
  .footer-bottom {
    border-radius: 20px;
    text-align: center;
    background: none;
  }

  .footer-bottom p {
    color: #ffffff !important;
  }

  .footer-social a {
    color: #ffffff;
    font-size: 1.2rem;
    /* Optional: makes icons slightly larger */
    transition: opacity 0.3s;
  }

  .footer-social a:hover {
    color: #cccccc;
    opacity: 0.8;
  }
}

/* Ensure headers align perfectly */
.footer-col h5 {
  margin-top: 0;
  line-height: 1.2;
}

/* Map styling */
.footer-map {
  width: 100%;
  height: 180px;
  border: none;
  border-radius: 10px;
}

/* ==========================
   REUSABLE HERO SECTION
========================== */

.school-hero {
  position: relative;
  min-height: 320px;
  padding-top: 80px;
  padding-bottom: 80px;

  /* 🔥 FIX IMAGE SCALE & CENTER */
  background-image: var(--hero-bg);
  background-size: cover;
  /* keep natural scale */
  background-position: center 30%;
  /* adjust vertical centering */
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
}

/* 🔥 SOFT OVERLAY (NO BLUR) */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  /* reduced opacity */
}

/* Content */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  color: #ffffff;
  padding: 0 20px;
}

/* Title */
.hero-content h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.hero-content h4 {
  font-size: 1.2rem;
  font-weight: 600;
  opacity: 0.95;
  margin-bottom: 8px;
}

.hero-content p {
  font-size: 0.95rem;
  margin-bottom: 22px;
  opacity: 0.9;
}

/* ==========================
   BREADCRUMB (GREY PILL)
========================== */

.breadcrumb-box {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  background: rgba(220, 220, 220, 0.35);
  /* greyish glass */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  color: white;
  padding: 10px 16px;
  border-radius: 30px;

  font-size: 0.8rem;
  font-weight: 600;

  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

/* Breadcrumb icons */
.breadcrumb-box i {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ==========================
   RESPONSIVE
========================== */

@media (max-width: 768px) {
  .school-hero {
    padding-top: 100px;
    padding-bottom: 60px;
    background-position: center center;
  }

  .hero-content h1 {
    font-size: 1.7rem;
  }

  .hero-content h4 {
    font-size: 1rem;
  }
}

/* ===============================
   CAMPUS HIGHLIGHTS
================================ */

.campus-highlights-section {
  padding: 30px 0;
  background: #ffffff;
}

.campus-card {
  height: 100%;
  border-radius: 14px;
  padding: 14px;
  transition: all 0.3s ease;
}

.campus-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
}

.campus-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.campus-card p {
  font-size: 0.85rem;
  line-height: 1.55;
  margin: 0;
}

/* Color Themes */
.campus-card.green {
  background: #b8ff9f;
}

.campus-card.blue {
  background: #bcd7f5;
}

.campus-card.orange {
  background: #ffb07a;
}

.campus-card.yellow {
  background: #ffd77a;
}

.campus-card.pink {
  background: #f7b6d2;
}

/* Hover (Desktop Only) */
@media (min-width: 992px) {
  .campus-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  }
}

/* Swiper spacing */
.campusSwiper .swiper-slide {
  height: auto;
}

/* ===== Back To Top Button ===== */
#backToTop {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: var(--primary-teal);
  color: #fff;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 99;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

@media (max-width: 767px) {
  #backToTop {
    /* 22px (original) + 80px (extra) = 102px */
    bottom: 90px;
  }
}

/* Show button */
#backToTop.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Hover */
#backToTop:hover {
  background: var(--secondary-yellow);
  color: #000;
  transform: translateY(-4px);
}

/* Mobile size */

#backToTop {
  z-index: 99;
}

/* ===============================
   COMPACT CAMPUS DROPDOWN
   (MOBILE & TABLET ONLY)
================================ */

@media (max-width: 992px) {
  .campus-dropdown-mobile .btn-campus {
    padding: 10px 14px !important;
    font-size: 0.9rem;
  }

  .campus-dropdown-mobile .dropdown-menu {
    padding: 6px 0;
    border-radius: 10px;
  }

  .campus-dropdown-mobile .dropdown-header {
    font-size: 0.7rem;
    padding: 6px 16px;
  }

  .campus-dropdown-mobile .dropdown-item {
    padding: 6px 16px !important;
    font-size: 0.85rem;
    line-height: 1.3;
  }

  .campus-dropdown-mobile .dropdown-divider {
    margin: 6px 0;
  }
}

@media (max-width: 767px) {

  /* Prevent white text on tap / active */
  .campus-dropdown-mobile .dropdown-item,
  .campus-dropdown-mobile .dropdown-item:focus,
  .campus-dropdown-mobile .dropdown-item:active,
  .campus-dropdown-mobile .dropdown-item.active {
    background-color: transparent !important;
    color: #333 !important;
  }

  /* Optional: subtle tap feedback instead */
  .campus-dropdown-mobile .dropdown-item:active {
    background-color: #e6f5f2 !important;
    color: #0b6b5d !important;
  }

  /* Headers should never change color */
  .campus-dropdown-mobile .dropdown-header {
    color: #0b6b5d !important;
    background: transparent !important;
  }
}

@media (max-width: 767px) {

  /* Prevent nav links turning white on tap */
  .offcanvas .nav-link,
  .offcanvas .nav-link:focus,
  .offcanvas .nav-link:active,
  .offcanvas .nav-link.active {
    color: #333 !important;
    background-color: transparent !important;
  }

  /* Keep active page highlight (border only) */
  .offcanvas .nav-link.border-start {
    color: var(--primary-teal) !important;
  }
}

.custom-select {
  position: relative;
  width: 100%;
  font-family: Inter, sans-serif;
}

.select-trigger {
  width: 100%;
  background: #fff;
  border: 1px solid #dcdcdc;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.select-trigger i {
  transition: transform 0.3s ease;
}

.custom-select.open .select-trigger i {
  transform: rotate(180deg);
}

.select-dropdown {
  position: absolute;
  top: 110%;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  max-height: 280px;
  overflow-y: auto;
  display: none;
  z-index: 1000;
}

.custom-select.open .select-dropdown {
  display: block;
}

.select-group {
  padding: 6px 0;
}

.group-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 8px 14px;
  color: #0b6b5d;
}

.select-divider {
  height: 1px;
  background: #e6e6e6;
  margin: 6px 0;
}

.option {
  padding: 8px 10px;
  font-size: 0.88rem;
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.option:hover {
  background: #e6f5f2;
  color: #00514a;
}

/* ===== FIX WHITE TEXT ISSUE IN CUSTOM DROPDOWN ===== */

.custom-select,
.custom-select * {
  color: #333 !important;
}

.select-dropdown {
  background: #ffffff !important;
}

/* Group headings */
.group-label {
  color: #0b6b5d !important;
}

/* Options */
.option {
  color: #333 !important;
}

/* Hover */
.option:hover {
  background: #e6f5f2 !important;
  color: #00514a !important;
}

/* Selected */
.option.selected {
  background: #00514a !important;
  color: #ffffff !important;
}

/* Trigger text */
.select-trigger span,
.select-trigger i {
  color: #333 !important;
}

.dropdown-menu .dropdown-item.active {
  background-color: rgba(0, 81, 74, 0.15);
  color: var(--primary-teal);
  font-weight: 600;
}

/* MOBILE ACTION BAR */
.mobile-action-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid #e5e5e5;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 0;
  z-index: 10;
}

/* Individual Item */
.mobile-action-bar .action-item {
  flex: 1;
  text-align: center;
  color: #0b6b5d;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}

.mobile-action-bar .action-item i {
  display: block;
  font-size: 22px;
  margin-bottom: 2px;
}

/* WhatsApp Highlight */
.mobile-action-bar .whatsapp {
  color: #25d366;
}

/* Chatbot Highlight */
.mobile-action-bar .chatbot {
  color: #0056b3;
}

/* Hide on tablets & desktop */
@media (min-width: 768px) {
  .mobile-action-bar {
    display: none;
  }
}

/* Add space so content doesn't hide behind bar */
@media (max-width: 767px) {
  body {
    padding-bottom: 70px;
  }
}

/* ===============================
   DESKTOP FLOATING BUTTONS
================================ */

.desktop-floating-actions {
  position: fixed;
  right: 20px;
  bottom: 140px;
  /* 👈 ABOVE back-to-top button */
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 990;
}

/* Common Button Style */
.floating-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  font-size: 20px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

/* Hover effect */
.floating-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.28);
}

/* Individual colors */
.floating-btn.enquiry {
  background: #0b6b5d;
}

.floating-btn.whatsapp {
  background: #25d366;
}

.floating-btn.chatbot {
  background: #0056b3;
}

/* Hide on mobile */
@media (max-width: 767px) {
  .desktop-floating-actions {
    display: none;
  }
}

/* =========================
   ENQUIRY MODAL (THEMED)
========================= */
.enquiry-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  /* lighter overlay */
  display: none;
  align-items: center;
  /* CENTER vertically */
  justify-content: center;
  /* CENTER horizontally */
  z-index: 10000;
  padding: 16px;
}

/* Modal Box */
.enquiry-content {
  background: #ffffff;
  width: 100%;
  max-width: 420px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  animation: scaleFade 0.35s ease;
}

/* Header */
.enquiry-header {
  background: linear-gradient(135deg, #00514a, #0b6b5d);
  color: #ffffff;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.enquiry-header h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  font-family: "Outfit", sans-serif;
}

.close-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 26px;
  cursor: pointer;
  line-height: 1;
}

/* Form */
.enquiry-form {
  padding: 20px;
}

.enquiry-form input,
.enquiry-form select {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 14px;
  border-radius: 12px;
  border: 1px solid #dcdcdc;
  font-size: 14px;
  font-family: "Inter", sans-serif;
  color: #333;
}

.enquiry-form input::placeholder {
  color: #888;
}

.enquiry-form input:focus,
.enquiry-form select:focus {
  outline: none;
  border-color: #0b6b5d;
  box-shadow: 0 0 0 2px rgba(11, 107, 93, 0.15);
}

/* Submit Button */
.submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #f9c349, #ffcf4a);
  color: #00514a;
  padding: 14px;
  border-radius: 14px;
  font-weight: 700;
  border: none;
  font-size: 16px;
  font-family: "Outfit", sans-serif;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(249, 195, 73, 0.35);
}

/* Animation */
@keyframes scaleFade {
  from {
    opacity: 0;
    transform: scale(0.92);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.school-popup {
  position: fixed;
  /* Instead of inset: 0, we center it */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  /* Define the size */
  width: 90%;
  /* Mobile friendly width */
  max-width: 450px;
  /* Maximum width for desktop */
  max-height: 80vh;
  /* Limits height to 80% of screen height */

  background: #fff;
  z-index: 99999;
  display: none;
  /* Keep this; toggled via JS */
  flex-direction: column;

  /* UI Improvements */
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  overflow-y: auto;
  /* Adds scroll if content is too long */
}

/* Header */
.school-popup-header {
  padding: 4px 10px;
  background: #00796b;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 15px;
}

.school-popup-header h4 {
  margin: 0;
  font-size: 18px;
}

.school-popup-header button {
  background: none;
  border: none;
  font-size: 28px;
  color: #fff;
}

/* List */
.school-list {
  overflow-y: auto;
  padding-bottom: 20px;
}

.school-group {
  padding: 12px 8px;
  font-size: 13px;
  font-weight: 700;
  color: #0b6b5d;
}

.school-item {
  padding: 1px 8px;
  border-bottom: 1px solid #eee;
  font-size: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.school-item::after {
  content: "›";
  font-size: 20px;
  color: #999;
}

.school-item:hover {
  background: #f2f8f7;
}

/* Trigger field */
.school-select-trigger {
  border: 1px solid #dcdcdc;
  border-radius: 12px;
  padding: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.campus-menu {
  min-width: 320px;
  padding: 8px;
}

.menu-level {
  display: none;
}

.menu-level.active {
  display: block;
}

.menu-link {
  cursor: pointer;
  font-weight: 600;
}

.menu-back a {
  font-weight: 600;
  color: #0b6b5d;
}

.dropdown-item.active {
  background: #0b6b5d;
  color: #fff;
}

.submenu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid #e6e6e6;
}

.submenu-title {
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.back-btn {
  background: none;
  border: none;
  color: var(--primary-teal);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.back-btn:hover {
  text-decoration: underline;
}

.mobile-campus-menu {
  background: #fff;
}

.menu-level {
  display: none;
}

.menu-level.active {
  display: block;
}

.menu-item {
  padding: 14px 16px;
  font-weight: 600;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

.menu-level a {
  display: block;
  padding: 10px 16px;
  color: #333;
  text-decoration: none;
  border-bottom: 1px solid #f1f1f1;
}

.menu-level a:hover {
  background: #f4f8f7;
}

.submenu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: #00514a;
  color: #fff;
}

.submenu-header button {
  background: none;
  border: none;
  color: #fff;
  font-weight: 600;
}

@media (max-width: 767px) {
  .enquiry-content {
    max-height: calc(100vh - 90px);
    overflow-y: auto;
  }
}

.form-message {
  padding: 10px;
  border-radius: 8px;
  font-size: 14px;
  display: none;
  font-weight: 500;
}

.form-message.success {
  display: block;
  background-color: #d1e7dd;
  color: #0f5132;
  border: 1px solid #badbcc;
}

.form-message.error {
  display: block;
  background-color: #f8d7da;
  color: #842029;
  border: 1px solid #f5c2c7;
}

@media (max-width: 767px) {
  .enquiry-content {
    max-height: calc(100vh - 90px);
    overflow-y: auto;
  }
}

.custom-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 10;

  width: 36px;
  height: 37px;

  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  border: none;
  border-radius: 50%;

  font-size: 22px;
  line-height: 36px;
  text-align: center;

  cursor: pointer;
}

.custom-close:hover {
  background: rgba(0, 0, 0, 0.85);
}


/* ==============================
   EVENTS GALLERY
============================== */

.events-gallery {
  padding: 50px 20px;
}

.events-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-teal);
}

.events-subtitle {
  text-align: center;
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 35px;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

/* EVENT CARD */
.event-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.event-card:hover {
  transform: translateY(-6px);
}

.event-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.event-info {
  padding: 10px 10px;
}

.event-info h4 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  color: var(--primary-teal);
  font-weight: 750;
}

/* ==============================
   EVENT DETAIL PAGE
============================== */

.event-detail {
  padding: 40px 20px;
}

.event-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 15px;
  text-align: center;
}

.event-desc {
  max-width: 700px;
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 30px;
}

/* ==============================
   EVENT GALLERY GRID
============================== */

.event-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* Laptop / Desktop */
  gap: 18px;
  justify-items: center;
  /* helps centering single image */
}


/* ==============================
   TABLET VIEW (3 per row)
============================== */
@media (max-width: 991px) {
  .event-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==============================
   MOBILE VIEW (1 per row)
============================== */
@media (max-width: 575px) {
  .event-gallery {
    grid-template-columns: 1fr;
  }
}


.event-gallery img {
  width: 100%;
  height: 280px;
  border-radius: 14px;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.event-gallery img:hover {
  transform: scale(1.04);
}

/* ==============================
   EVENT IMAGE LIGHTBOX
============================== */

.event-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(63, 61, 61, 0.92);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.event-lightbox.active {
  display: flex;
}

.event-lightbox img {
  max-width: 90%;
  max-height: 85%;
  object-fit: contain;
}

/* Top bar */
.lightbox-top {
  position: absolute;
  top: 14px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  color: #fff;
  font-size: 0.9rem;
}

.lightbox-close {
  font-size: 2rem;
  cursor: pointer;
}

/* Navigation */
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 10px;
}

.lightbox-nav.prev {
  left: 20px;
}

.lightbox-nav.next {
  right: 20px;
}

/* Caption */
.lightbox-caption {
  position: absolute;
  bottom: 16px;
  color: #ccc;
  font-size: 0.85rem;
}

/* ==============================
   EVENT CARD HOVER EFFECT
============================== */

.event-card {
  display: block;
  text-decoration: none;
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease;
}

.event-card:hover {
  transform: translateY(-6px);
}

/* Image wrapper */
.event-img-wrap {
  position: relative;
  overflow: hidden;
}

/* Image */
.event-img-wrap img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Overlay */
.event-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}

/* Button */
.view-gallery-btn {
  background: #ffffff;
  color: #111;
  padding: 12px 28px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  transform: translateY(12px);
  transition: transform 0.35s ease;
}

/* Hover states */
.event-card:hover .event-overlay {
  opacity: 1;
}

.event-card:hover img {
  transform: scale(1.08);
}

.event-card:hover .view-gallery-btn {
  transform: translateY(0);
}



.event-info p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.6;
}

/* ==============================
   MOBILE BEHAVIOR
============================== */
@media (max-width: 767px) {
  .event-overlay {
    opacity: 1;
    background: linear-gradient(to top,
        rgba(0, 0, 0, 0.55),
        rgba(0, 0, 0, 0));
    align-items: flex-end;
    padding-bottom: 18px;
  }

  .view-gallery-btn {
    transform: none;
  }
}

/* ==============================
   EVENTS GRID FIX
============================== */

.events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* Desktop = 3 cards */
  gap: 24px;
}

/* Tablet */
@media (max-width: 991px) {
  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 575px) {
  .events-grid {
    grid-template-columns: 1fr;
  }
}

.news-card-content {
  display: flex;
  flex-direction: column;
}

.news-card-content a {
  margin-top: auto;
}


#admissions-information .admissions-dropdown-wrap {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

#admissions-information .admission-dropdown {
  background: #fff;
  border-radius: 18px;
  border: 1px solid #e8edf2;
  box-shadow: 0 10px 24px rgba(11, 55, 91, 0.08);
  overflow: hidden;
}

#admissions-information .admission-dropdown.green {
  border-left: 6px solid #4aa56a;
}

#admissions-information .admission-dropdown.blue {
  border-left: 6px solid #2d8dcf;
}

#admissions-information .admission-dropdown.orange {
  border-left: 6px solid #f19a32;
}

#admissions-information .admission-dropdown summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 1.1rem;
  color: #0d2b45;
  background: #f9fbfd;
}

#admissions-information .admission-dropdown summary::-webkit-details-marker {
  display: none;
}

#admissions-information .admission-dropdown summary i {
  transition: transform 0.25s ease;
}

#admissions-information .admission-dropdown[open] summary i {
  transform: rotate(180deg);
}

#admissions-information .admission-dropdown-body {
  padding: 18px 24px 22px;
}

#admissions-information .admission-dropdown-body ol,
#admissions-information .admission-dropdown-body ul {
  margin: 0;
  padding-left: 20px;
}

#admissions-information .admission-dropdown-body li {
  margin-bottom: 8px;
  line-height: 1.65;
  color: #243b53;
}

#admissions-information .admission-dropdown-body li:last-child {
  margin-bottom: 0;
}

.home-hero-slider {
  width: 100%;
}

.home-banner-swiper {
  width: 100%;
  height: clamp(200px, 30vw, 340px);
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
}

.home-banner-swiper img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: fill;
  display: block;
}

.home-banner-swiper .swiper-wrapper,
.home-banner-swiper .swiper-slide {
  height: 100%;
}

.home-banner-swiper .swiper-slide {
  display: flex;
  align-items: stretch;
}

.home-banner-swiper .swiper-slide.image-fluid img {
  object-fit: fill;
  background: transparent;
}

.home-banner-swiper .swiper-button-prev,
.home-banner-swiper .swiper-button-next {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.58);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.45);
  transition: all 0.2s ease;
}

.home-banner-swiper .swiper-button-prev:hover,
.home-banner-swiper .swiper-button-next:hover,
.home-banner-swiper .swiper-button-prev:focus-visible,
.home-banner-swiper .swiper-button-next:focus-visible,
.home-banner-swiper .swiper-button-prev:active,
.home-banner-swiper .swiper-button-next:active {
  background: #198754;
  border-color: #198754;
  color: #ffffff;
}

.home-banner-swiper .swiper-button-prev::after,
.home-banner-swiper .swiper-button-next::after {
  font-size: 16px;
  font-weight: 700;
}

.grace-beyond-section {
  padding: 60px 0;
  background: linear-gradient(180deg, #f6fbf9 0%, #ffffff 100%);
  --grace-beyond-panel-height: clamp(230px, 36vw, 460px);
}

.grace-beyond-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #083d3d;
}

.grace-beyond-title span {
  color: teal;
}

.grace-beyond-frame {
  padding: 10px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  height: var(--grace-beyond-panel-height);
  display: flex;
}

.graceBeyondMediaSwiper {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
}

.graceBeyondMediaSwiper .swiper-slide {
  height: 100%;
}

.graceBeyondMediaSwiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.grace-activity-marquee {
  height: var(--grace-beyond-panel-height);
  overflow: hidden;
  position: relative;
}

.grace-activity-track {
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: graceActivityFlow 28s linear infinite;
  will-change: transform;
}

.grace-activity-marquee:hover .grace-activity-track {
  animation-play-state: paused;
}

@keyframes graceActivityFlow {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-50%);
  }
}

/* ACTIVITY CARD */
.grace-activity-card {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 15px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
}

.grace-activity-card img {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  object-fit: cover;
}

.grace-activity-card h4 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}

.grace-activity-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
}

.grace-activity-copy a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  color: #0d5c63;
  font-weight: 700;
  text-decoration: none;
}

/* ARCHIVE */
.grace-beyond-archive {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 25px;
  border-radius: 20px;
  background: #064f45;
  color: #fff;
}

.grace-beyond-archive > div {
  min-width: 0;
}

.grace-beyond-archive h3 {
  margin: 0 0 8px;
  font-size: clamp(1.3rem, 2vw, 2rem);
  line-height: 1.2;
}

.grace-beyond-archive p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
}

.grace-beyond-archive-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 12px 22px;
  border-radius: 50px;
  background: #ffd88d;
  text-decoration: none;
  color: #000;
  font-weight: bold;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
}

@media (max-width: 991px) {
  .grace-beyond-section {
    --grace-beyond-panel-height: 340px;
  }

  .grace-beyond-archive {
    flex-direction: column;
    align-items: flex-start;
  }

  .grace-beyond-archive-btn {
    width: 100%;
  }

}

@media (max-width: 767px) {
  .grace-beyond-section {
    --grace-beyond-panel-height: 260px;
  }

  .grace-activity-card {
    padding: 12px;
    border-radius: 14px;
  }

  .grace-beyond-archive {
    padding: 18px;
    border-radius: 16px;
  }

  .grace-beyond-archive-btn {
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.95rem;
  }
}
