:root {
  --navy-blue: #09103e;
  --white: #ffffff;
}
body {
  height: 100vh;
  width: 100vw;
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  background-color: #ffffff;
  font-family: "Arial", sans-serif;
  overflow-x: hidden;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  height: 80px;
  background: linear-gradient(135deg, #09103e 0%, #1d1350 50%, #3d1868 100%);
  overflow: hidden;
  z-index: 50;
  width: 100%;
}

.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 70%,
      rgba(255, 255, 255, 0.08) 0%,
      transparent 50%
    ),
    linear-gradient(
      45deg,
      transparent 30%,
      rgba(255, 255, 255, 0.05) 50%,
      transparent 70%
    );
  animation: shimmer 6s ease-in-out infinite alternate;
}
@keyframes shimmer {
  0% {
    opacity: 0.3;
  }
  100% {
    opacity: 0.8;
  }
}

.header-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo-img {
  height: 80%;
}

.nav-menu {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-item {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nav-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.nav-item:hover::before {
  left: 100%;
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
  color: #fff;
}

.register-btn {
  background: #ffffff;
  color: #2d548f;
  padding: 12px 24px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  outline: none;
}

.register-btn:hover::before {
  left: 100%;
}

.register-btn .arrow {
  display: inline-block;
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.register-btn:hover .arrow {
  transform: translateX(4px);
}
/* Home section */
.home-section {
  position: relative;
  height: auto;
  margin-top: -80px;
}
.home-section .home-sec-icon-container {
  position: absolute;
  left: 8%;
  top: 5px;
  height: 100px;
  width: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 150;
}

.home-section .home-sec-icon-container .logo-img {
  height: 100%;
  width: auto;
}

.home-sec-header {
  position: relative;
  display: flex;
  width: 100%;
  height: 80px;
  background-color: var(--white);
  z-index: 100;
}
.home-sec-content {
  display: flex;
  align-items: center;
  width: 100%;
  /* height: calc(600px - 80px); */
  background: linear-gradient(135deg, #09103e 0%, #1d1350 50%, #3d1868 100%);
}

.home-sec-btn-container {
  display: flex;
  width: 100%;
  padding-right: 8%;
  height: 100%;
  align-items: center;
  justify-content: flex-end;
}

.section {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 520px;
  width: 100%;
}
/* 
=================================================================================================
Event section
================================================================================================ */
.event-section {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.event-section h1 {
  font-size: 2rem;
  font-weight: 600;
  margin: 0 0 10px;
  color: #f8d89e;
}

.event-section h1 span {
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffd38f;
}

.event-section p {
  text-transform: uppercase;
  font-size: 1rem;
  color: #f2d1a8;
  letter-spacing: 1px;
  margin: 0 0 25px;
}

.info-box {
  background: #f8d89e;
  color: #2a1d66;
  border-radius: 40px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  font-size: 0.95rem;
  width: 98%;
  height: 100px;
  max-width: 400px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.vertical-line {
  height: 50%;
  background-color: #2a1d66;
  width: 1px;
}

.info-box div {
  text-align: left;
}

.info-box strong {
  font-size: 1.1rem;
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.info-box small {
  font-size: 0.85rem;
  color: #3a2960;
}

/* =========================================================================================
Form card
======================================================================================== */
.form-card {
  background: linear-gradient(160deg, #4d148d, #2d0b59);
  padding: 30px;
  border-radius: 16px;
  width: calc(90% - 60px);
  max-width: 320px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  color: #fff;
}
.form-card form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.input-section {
  width: 100%;
}
.input-wrapper {
  width: 100%;
  display: flex;
}

.form-card h2 {
  margin-bottom: 20px;
  font-size: 1.5rem;
  font-weight: 700;
}

.input {
  display: flex;
  width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 10px;
  margin-bottom: 15px;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.95rem;
}

.btn-sec {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.form-card input::placeholder {
  color: #d0c6e6;
}

/* =========================================================================================
    Image auto scrolling effect section
========================================================================================= */
.scroll-container-sec {
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: space-around;
}
.scroll-container {
  width: 30%;
  max-width: 200px;
  height: 100%; /* viewport per section */
  overflow: hidden;
  position: relative;
}

.scroll-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  animation: scrollImages 20s linear infinite;
}

.scroll-content img {
  width: 100%;
  height: 400px;
  margin: 20px 0;
  border-radius: 120px;
  object-fit: cover;
}

/* Infinite upward scroll */
/* Infinite upward scroll */
@keyframes scrollImages {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%); /* scroll by half (first set height) */
  }
}

/* Middle container */
.scroll-container.middle .scroll-content {
  animation: scrollImagesPause 20s linear infinite;
}

/* Keyframes with real pause */
@keyframes scrollImagesPause {
  0% {
    transform: translateY(0);
  }

  /* Scroll up */
  30% {
    transform: translateY(-25%);
  }

  /* Pause (hold the same position) */
  60% {
    transform: translateY(-25%);
  }

  /* Resume scrolling */
  100% {
    transform: translateY(-50%);
  }
}

/* =========================================================================================
    Image auto scrolling effect section
========================================================================================= */
.stats-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 150px;
  padding: 50px 20px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  max-width: 200px;
  position: relative;
}

.stat-item::before,
.stat-item::after {
  content: "🌿"; /* using emoji as fallback */
  font-size: 60px;
  color: var(--gold);
  position: absolute;
  top: 0;
}

.stat-item::before {
  left: -70px;
  transform: scaleX(-1); /* mirror left laurel */
}

.stat-item::after {
  right: -70px;
}

.stat-item strong {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: var(--navy-blue);
}

.stat-item span {
  font-size: 16px;
  color: #333;
}

/* 
  ===================================================================================
  School section
  ================================================================================ */
.schools-section {
  text-align: center;
  padding: 40px 20px;
}

.schools-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: #1a1446;
  margin-bottom: 25px;
}

.schools-carousel {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px;
  overflow: auto; /* still scrollable */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.schools-carousel::-webkit-scrollbar {
  height: 8px;
}
.schools-carousel::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 4px;
}

.school-logo {
  flex: 0 0 auto;
  width: 160px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #eee;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

.school-logo img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.school-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ===================================================================================
 School categories
  ================================================================================ */

.school-categories {
  text-align: center;
  padding: 50px 20px;
  font-family: "Open Sans", sans-serif;
}

.school-categories h2 {
  font-size: 28px;
  font-weight: 700;
  color: #2a1659; /* dark navy */
  margin-bottom: 40px;
}

.school-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
}

.school-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.school-card:hover {
  transform: translateY(-6px);
}

.school-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding-top: 20px;
  padding-bottom: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: #fff;
  text-align: left;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.overlay h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  padding-left: 20px;
  padding-right: 20px;
}

.overlay p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  padding-left: 20px;
  padding-right: 20px;
}
/* ===================================================================================
 Appoinment section
  ================================================================================ */
.appointment-section {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
  color: #2a1659;
}

/* Background image */
.appointment-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Gradient overlay on left */
.appointment-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 55%;
  background: linear-gradient(
    90deg,
    rgba(242, 230, 255, 0.95) 0%,
    rgba(242, 230, 255, 0.7) 70%,
    transparent 100%
  );
  padding: 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.appointment-overlay h4 {
  font-size: 18px;
  font-weight: 500;
  color: #8e44ad;
  margin: 0 0 15px;
}

.appointment-overlay h2 {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 20px;
}

.appointment-overlay p {
  font-size: 18px;
  font-weight: 500;
  font-style: italic;
  color: #7d5ba6;
  margin-bottom: 40px;
}

/* Button */
.appointment-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  border: 2px solid #2a1659;
  background: #fff;
  border-radius: 6px;
  color: #2a1659;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.appointment-btn span {
  display: inline-block;
  background: #2a1659;
  color: #fff;
  padding: 4px 6px;
  border-radius: 3px;
  font-size: 12px;
}

.appointment-btn:hover {
  background: #2a1659;
  color: #fff;
}

.appointment-btn:hover span {
  background: #fff;
  color: #2a1659;
}

/* Responsive */
@media (max-width: 900px) {
  .appointment-overlay {
    width: 100%;
    padding: 30px 20px;
    text-align: center;
    background: rgba(242, 230, 255, 0.9);
  }
  .appointment-overlay h2 {
    font-size: 28px;
  }
  .appointment-btn {
    margin: 0 auto;
  }
}

.curved-section {
  position: relative;
  width: 100%;
  height: 100px;
  margin-bottom: 50px;
  background: #2a1d66;
  border-radius: 0 0 50% 50%;
  overflow: hidden;
}

.navigation-container {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  z-index: 10;
}

.nav-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-button:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.nav-button:active {
  transform: translateY(0);
}

.nav-button svg {
  width: 24px;
  height: 24px;
  fill: white;
  transition: transform 0.3s ease;
}

.nav-button:hover svg {
  transform: scale(1.1);
}

/* Alternative curved top using border-radius */
.curved-section-alt {
  position: relative;
  width: 100%;
  height: 200px;
  background: #2a1d66;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  overflow: visible;
}

.content-area {
  padding: 50px 20px;
  text-align: center;
  color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
  .curved-section,
  .curved-section-alt {
    height: 150px;
  }

  .nav-button {
    width: 50px;
    height: 50px;
  }

  .nav-button svg {
    width: 20px;
    height: 20px;
  }

  .navigation-container {
    top: 25px;
    gap: 15px;
  }
}
.exhibition-section {
  background: linear-gradient(180deg, #2a1659 0%, #3e1c72 100%);
  padding: 60px 20px;
  color: #fff;
  text-align: center;
}

.exhibition-section h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 40px;
}

/* Horizontal scroll wrapper */
.exhibition-cards {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  max-width: 100%;
  margin: 0 auto;
}

/* Hide scrollbar */
.exhibition-cards::-webkit-scrollbar {
  display: none;
}
.exhibition-cards {
  -ms-overflow-style: none; /* IE/Edge */
  scrollbar-width: none; /* Firefox */
}

.exhibition-card {
  flex: 0 0 280px; /* fixed card width */
  scroll-snap-align: start;
  background: linear-gradient(180deg, #f7ebff 0%, #efe1ff 100%);
  border-radius: 12px;
  padding: 30px 20px;
  text-align: left;
  color: #2a1659;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.exhibition-card:hover {
  transform: translateY(-6px);
}

.exhibition-card .icon {
  font-size: 36px;
  margin-bottom: 15px;
  color: #8e44ad;
}

.exhibition-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px;
}

.exhibition-card p {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  color: #333;
}

.footer-container {
  background: linear-gradient(135deg, #2a1d66, #1a0f3d);
  padding: 40px 30px;
  color: white;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 50px;
}

/* Logo Section */
.logo-section {
  flex-shrink: 0;
}

.logo-placeholder {
  width: 120px;
  height: 90px;
  background: linear-gradient(135deg, #2a1d66, #1a0f3d);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #60a5fa;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.logo-text {
  text-align: center;
  font-weight: bold;
  font-size: 11px;
  color: white;
  line-height: 1.2;
}

/* Logo image styling */
.logo-image {
  width: 120px;
  height: 90px;
  object-fit: contain;
  border-radius: 8px;
}

/* Office Sections */
.office-section {
  flex: 1;
  max-width: 280px;
}

.section-header {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.icon-wrapper {
  width: 24px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  flex-shrink: 0;
}

.icon-wrapper svg {
  width: 14px;
  height: 14px;
  fill: white;
}

.section-title {
  font-size: 16px;
  font-weight: 600;
  color: white;
}

.office-address {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
  margin-left: 34px;
}

/* Contact Section */
.contact-section {
  flex-shrink: 0;
}

.phone-numbers {
  margin-left: 34px;
}

.phone-number {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2px;
}

/* Social Section */
.social-section {
  flex-shrink: 0;
}

.social-title {
  font-size: 16px;
  font-weight: 600;
  color: white;
  margin-bottom: 15px;
}

.social-icons {
  display: flex;
  gap: 10px;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: white;
}

/* Copyright Section */
.copyright-section {
  background: #f8f9fa;
  color: #666;
  text-align: center;
  padding: 18px 0;
  font-size: 14px;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .footer-content {
    gap: 30px;
  }

  .office-section {
    max-width: 240px;
  }
}

@media (max-width: 968px) {
  .footer-content {
    flex-wrap: wrap;
    gap: 30px;
  }

  .logo-section-2 {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .footer-container {
    padding: 30px 20px;
  }

  .footer-content {
    flex-direction: column;
    gap: 25px;
  }

  .office-section {
    max-width: 100%;
  }

  .social-section {
    text-align: center;
  }

  .social-icons {
    justify-content: center;
  }
}

/* ===================================================================================
  Common register button
  ================================================================================ */
/* Base button */
.common-register-btn {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2px;
  height: 45px;
  border-radius: 5px;
  cursor: default; /* prevents text cursor */
  user-select: none; /* stops text selection */
  max-width: 170px;
}

/* Icon section (shared) */
.common-register-btn .icon-section {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  transform: rotate(-50deg);
}

.common-register-btn .icon-section img {
  height: 15px;
  padding-right: 10px;
}

/* Text section (shared) */
.common-register-btn .txt-section {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 10px;
  font-size: 16px;
}

/* Variant: white background */
.common-register-btn.white {
  background-color: var(--white);
}
.common-register-btn.white .icon-section .arrow {
  color: var(--navy-blue);
}
.common-register-btn.white .txt-section {
  background-color: var(--navy-blue);
  color: var(--white);
}

/* Variant: navy background */
.common-register-btn.navy {
  background-color: var(--navy-blue);
}
.common-register-btn.navy .icon-section .arrow {
  color: var(--white);
}
.common-register-btn.navy .txt-section {
  background-color: var(--white);
  color: var(--navy-blue);
}

/* 
===========Responsive desing====================== */
@media (max-width: 1000px) {
  .home-sec-content {
    flex-direction: column;
  }
}
