* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", sans-serif;
  line-height: 1.6;
}

/* Navbar */
/* Navbar container */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background-color: #f3cfa8;
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* Left: Logo */
.nav-left {
  flex: 1;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 60px;
  height: 60px;
}

/* Center: Nav links */
.nav-center {
  flex: 2;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.nav-center a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-center a:hover {
  color: #a55e30;
}

.nav-center a:hover {
  color: #a55e30;
}

/* Right: Button + hamburger */
.nav-right {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
}

.admission-btn {
  background-color: #a55e30;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
}

/* Hamburger initially hidden */
.hamburger {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #333;
  cursor: pointer;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Hamburger styling */
.hamburger {
  font-size: 1.8rem;
  cursor: pointer;
  background: none;
  border: none;
  color: #333;
}

#admission-btn-mobile-view {
  display: none;
}

/* Mobile styles and Responsive adjustments  */
@media (max-width: 768px) {
  .nav-center {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: #f3cfa8;
    padding: 0 2rem;
    z-index: 100;
  }

  .nav-center.active {
    max-height: 500px;
    /* Enough to show all links */
    opacity: 1;
    pointer-events: auto;
    padding: 1rem 2rem;
  }

  .nav-center .admission-btn.mobile {
    display: block;
    margin-top: 1rem;
  }

  .admission-btn {
    display: none;
  }

  #admission-btn-mobile-view {
    display: block;
  }

  .hamburger {
    display: block;
  }
}

/* Hero section  */

.hero {
  background-image: url("images/hero-bg.jpg");
  /* initial image */
  background-size: cover;
  background-position: center;
  color: white;
  text-align: left;
  padding: 6rem 2rem;
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  transition: background-image 1s ease-in-out;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  /* Dark overlay */
  z-index: 0;
}

.hero-content {
  position: relative;
  max-width: 700px;
  z-index: 1;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: whitesmoke;
}

.hero p {
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.8;
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    /* We'll toggle with JS later if needed */
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
}

/* Section wrapper */
.curriculum-section {
  padding: 4rem 2rem;
  text-align: center;
  background-color: #fff;
}

/* Section title with decorative underline */
.section-title {
  font-size: 2.5rem;
  margin-bottom: 2.5rem;
  position: relative;
  display: inline-block;
  font-weight: 600;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #a55e30;
  border-radius: 2px;
}

/* Cards layout */
.curriculum-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

/* Individual card */
.curriculum-card {
  background-color: #a55e30;
  color: white;
  padding: 2rem;
  border-radius: 10px;
  width: 300px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.curriculum-card .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: white;
  transition: transform 0.3s ease, color 0.3s ease;
  opacity: 0;
  transform: translateY(-10px);
}

.curriculum-card[data-aos].aos-animate .icon {
  opacity: 1;
  transform: translateY(0);
}

.curriculum-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  transition: color 0.3s ease;
}

.curriculum-card:hover h3 {
  color: #ffe2c2;
}

.curriculum-card h4 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.curriculum-card p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Hover effect */
.curriculum-card:hover {
  transform: translateY(-5px);
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.15);
  }

  100% {
    transform: scale(1);
  }
}

/* Icon hover: pulse */
.curriculum-card:hover .icon {
  animation: pulse 0.6s ease-in-out;
  color: #ffe2c2;
}

/* Responsive stacking */
@media (max-width: 768px) {
  .curriculum-cards {
    flex-direction: column;
    align-items: center;
  }
}

.events-section {
  background-color: #f3cfa8;
  padding: 4rem 2rem;
}

.events-section .section-title {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

.events-container {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
}

.event-card {
  background-color: #a55e30;
  border-radius: 10px;
  width: 250px;
  flex: 0 0 auto;
  scroll-snap-align: start;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.event-card:hover {
  transform: translateY(-5px);
}

.event-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.event-info {
  padding: 1rem;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
}

.event-info h3 {
  font-size: 1.1rem;
  margin: 0;
  font-weight: 600;
}

.event-info .event-date {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Bookmark icon */
.event-info i {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  font-size: 1.2rem;
  color: white;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.event-info i:hover {
  transform: scale(1.3);
  color: #ffe2c2;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive tweak: full width on small devices */
@media (max-width: 768px) {
  .events-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.event-card img {
  height: 160px;
}

.why-choose-section {
  padding: 4rem 4rem;
  background-color: #fff;
  color: #2c1e13;
  font-family: "Poppins", sans-serif;
}

.why-choose-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.why-text {
  flex: 1 1 50%;
  max-width: 600px;
}

.emoji-heading {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.subheading {
  font-size: 1.25rem;
  font-weight: 600;
  color: #8b4e2e;
  margin-bottom: 1.5rem;
}

.why-text p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.why-image {
  flex: 1 1 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.why-image img {
  /* width: 100%;
    max-width: 400px;
    border-radius: 50% 50% 40% 60% / 60% 40% 60% 40%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease; */

  width: 100%;
  height: 80%;
  max-width: 450px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.5s ease;
}

.why-image img:hover {
  transform: scale(1.03);
}

@media screen and (max-width: 768px) {
  .why-choose-container {
    flex-direction: column-reverse;
    text-align: center;
  }

  .why-text {
    flex: 1 1 100%;
  }

  .why-image {
    flex: 1 1 100%;
    margin-bottom: 2rem;
  }
}

.features-section {
  padding: 4rem 1rem;
  background: #fdf8f4;
  font-family: "Poppins", sans-serif;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-box {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.icon-wrapper {
  margin-bottom: 1rem;
}

.icon-wrapper svg {
  width: 48px;
  height: 48px;
  color: #a55b38;
  transition: transform 0.3s ease;
}

.feature-box:hover svg {
  transform: scale(1.1);
}

.feature-box h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c1e13;
  margin-bottom: 0.5rem;
}

.feature-box p {
  font-size: 0.95rem;
  color: #5e4b43;
  line-height: 1.5;
}

/* Scroll Animation */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: none;
}

.testimonials-section {
  background-color: #f4f0ea;
  padding: 60px 20px;
  text-align: center;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  font-weight: 700;
  color: #222;
}

.testimonials-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.testimonial-card {
  background: #fff;
  border-radius: 20px;
  padding: 25px;
  width: 300px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px);
}

.testimonial-card h3 {
  font-size: 1.2rem;
  margin: 0;
  color: #222;
}

.testimonial-card .role {
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.testimonial-card .quote {
  font-style: italic;
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 15px;
}

.testimonial-card .stars {
  font-size: 1.2rem;
  color: gold;
}

/* Scroll animation */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: none;
}

.admission-section {
  padding: 60px 20px;
  background: #f4f7fb;
}

.admission-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.admission-left {
  flex: 1;
  min-width: 280px;
}

.admission-left h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  font-weight: bold;
}

.admission-left .notice {
  color: #b0852d;
  font-weight: 600;
}

.admission-left .details {
  margin: 10px 0 25px;
  color: #444;
}

.admission-left .countdown {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.countdown div {
  background: #fff;
  padding: 12px;
  border-radius: 50%;
  text-align: center;
  width: 65px;
  height: 65px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.countdown span {
  display: block;
  font-size: 1.2rem;
  font-weight: bold;
  color: #444;
}

.countdown small {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #999;
}

.instruction-link {
  display: inline-block;
  color: #1e4dd8;
  margin-top: 10px;
  font-weight: 500;
  text-decoration: underline;
}

.admission-right {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #fff;
  border-radius: 16px;
  padding: 15px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.06);
}

.timeline-item .label {
  font-weight: bold;
  padding: 15px 20px;
  border-radius: 50px;
  color: #fff;
}

.timeline-item.red .label {
  background: #f44356;
}

.timeline-item.gold .label {
  background: #c9a04f;
}

.timeline-item.blue .label {
  background: #1eb6e5;
}

.timeline-item .date-box p {
  margin: 0;
  font-size: 0.9rem;
  color: #333;
}

/* Responsive */
@media (max-width: 768px) {
  .admission-content {
    flex-direction: column;
    align-items: center;
  }

  .countdown {
    justify-content: center;
  }

  .admission-left,
  .admission-right {
    align-items: center;
    text-align: center;
  }

  .timeline-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .timeline-item .label {
    align-self: center;
  }
}

.gallery-section {
  padding: 60px 20px;
  background-color: #fff;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gallery-container {
  max-width: 80%;
}

.gallery-header h2 {
  font-size: 2.2rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3a2f0b;
  margin-bottom: 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
  max-width: 1100px;
  width: 100%;
}

.gallery-grid img {
  width: 80%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease;
  object-fit: cover;
}

.gallery-grid img:hover {
  transform: scale(1.03);
  cursor: pointer;
}

.gallery-button {
  text-align: center;
}

.view-more-btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: #b3742d;
  color: #fff;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.view-more-btn:hover {
  background-color: #955c1f;
}

@media (max-width: 600px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid img {
    width: 100%;
  }
}

footer {
  background-color: #b08a43;
  color: white;
  padding: 60px 20px 30px;
  position: relative;
  overflow: hidden;
  font-family: "Poppins", sans-serif;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: auto;
  position: relative;
  z-index: 1;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  width: 280px;
  height: auto;
  align-items: center;
  justify-content: center;
  margin: 0px auto;
}

.footer-logo img {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
}

.footer-logo p {
  line-height: 1.6;
  font-size: 14px;
  color: #fff;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 18px;
  margin-bottom: 15px;
  border-bottom: 2px solid #fff;
  display: inline-block;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li,
.footer-contact ul li {
  margin-bottom: 8px;
  font-size: 14px;
}

.footer-links ul li a,
.footer-contact ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links ul li a:hover,
.footer-contact ul li a:hover {
  color: #f5d67b;
}

.footer-contact ul li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-social {
  text-align: center;
  margin-top: 30px;
}

.footer-social a {
  display: inline-block;
  margin: 0 8px;
  color: white;
  font-size: 18px;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 10px;
  border-radius: 50%;
  transition: background 0.3s;
}

.footer-social a:hover {
  background-color: #f5d67b;
  color: #000;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 15px;
  color: #eee;
}

/* Map container */
.footer-map iframe {
  width: 100%;
  height: 150px;
  border: none;
  border-radius: 10px;
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-logo,
  .footer-links,
  .footer-contact {
    align-items: center;
  }
}
