/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu",
    "Cantarell", sans-serif;
  line-height: 1.8;
  color: #333333;
  background-color: #fffef5;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.3;
  color: #ff671f;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

p {
  margin-bottom: 1rem;
  color: #444444;
  font-size: 1.05rem;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Modern Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(255, 103, 31, 0.2);
}

.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition:
    width 0.6s,
    height 0.6s;
}

.btn:hover::before {
  width: 450px;
  height: 300px;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 103, 31, 0.3);
}

.btn:active {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #ff671f 0%, #ff7a2e 100%);
  color: #ffffff;
}

.btn-secondary {
  background: rgba(255, 254, 245, 0.15);
  color: #fffef5;
  border: 2px solid rgba(255, 254, 245, 0.5);
  backdrop-filter: blur(10px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-large {
  padding: 1.25rem 3rem;
  font-size: 1.125rem;
}

/* Header Styles */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #ff671f 0%, #ff671f 100%);
  color: #fffef5;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.top-bar {
  border-bottom: 1px solid rgba(255, 254, 245, 0.2);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
}

.contact-info {
  display: flex;
  gap: 1.5rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  position: relative;
}

.contact-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #fffaeb;
  transition: width 0.3s ease;
}

.contact-link:hover::after {
  width: 100%;
}

.contact-link:hover {
  transform: translateY(-2px);
}

.main-nav {
  padding: 1rem 0;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.logo-icon {
  width: 3.5rem;
  height: 3.5rem;
  /* background: linear-gradient(135deg, #fffaeb 0%, #fff5d6 100%); */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.logo-text h1 {
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  color: #fffef5;
  margin-bottom: 0;
}

.logo-text p {
  font-size: 0.75rem;
  opacity: 0.9;
  margin: 0;
  color: #fffef5;
}

.desktop-nav {
  display: none;
  gap: 2rem;
}

.nav-link {
  position: relative;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: #fffaeb;
  transform: translateX(-50%);
  transition: width 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: #fffaeb;
  transform: translateY(-2px);
}

.mobile-menu-btn {
  display: block;
  background: none;
  border: none;
  color: #fffef5;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: transform 0.3s ease;
}

.mobile-menu-btn:hover {
  transform: rotate(90deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 254, 245, 0.2);
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 500px;
  }
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav .nav-link {
  padding: 0.75rem 0;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }

  .mobile-menu-btn {
    display: none;
  }
}

/* Hero Section with Advanced Animations */
.hero {
  position: relative;
  height: 700px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-background {
  position: absolute;
  inset: 0;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: zoomIn 20s ease-in-out infinite alternate;
}

@keyframes zoomIn {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.1);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.322) 0%,
    rgba(0, 0, 0, 0.497) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-text {
  max-width: 48rem;
  color: #fffef5;
}

.animate-fade-up {
  animation: fadeUp 1s ease-out;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: #fffef5;
  animation: fadeUp 1s ease-out 0.2s both;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  color: #fffef5;
  animation: fadeUp 1s ease-out 0.4s both;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  animation: fadeUp 1s ease-out 0.6s both;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s ease-in-out infinite;
  color: #fffef5;
  font-size: 2rem;
  cursor: pointer;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-20px);
  }
  60% {
    transform: translateX(-50%) translateY(-10px);
  }
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  animation: fadeUp 0.8s ease-out;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ff671f, #ff7a2e);
  border-radius: 2px;
}

/* Features Section with 3D Effects */
.features {
  padding: 5rem 0;
  background: linear-gradient(135deg, #fffaeb 0%, #fff5d6 50%, #fffaeb 100%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(255, 103, 31, 0.1);
  border: 2px solid transparent;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.feature-card:hover {
  transform: translateY(-15px) rotateY(5deg);
  box-shadow: 0 20px 50px rgba(255, 103, 31, 0.2);
  border-color: #ff671f;
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, #ff671f 0%, #ff7a2e 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
  transform: rotate(360deg) scale(1.1);
}

.feature-icon i {
  font-size: 2rem;
  color: #ffffff;
}

.feature-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.feature-card p {
  color: #444444;
  line-height: 1.7;
  font-size: 1rem;
}

/* School Notice Board Section */
.notice-board {
  padding: 5rem 0;
  background: linear-gradient(135deg, #fffaeb 0%, #fff5d6 50%, #fffaeb 100%);
}

.notice-board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.notice-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(255, 103, 31, 0.1);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  cursor: pointer;
}

.notice-card:hover {
  transform: translateY(-10px) rotateX(2deg);
  box-shadow: 0 20px 50px rgba(255, 103, 31, 0.2);
}

.notice-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(180deg, #ff671f 0%, #ff7a2e 100%);
}

.notice-header {
  padding: 1.5rem 1.5rem 0;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.notice-date-badge {
  background: linear-gradient(135deg, #ff671f 0%, #ff7a2e 100%);
  color: #ffffff;
  padding: 0.75rem;
  border-radius: 15px;
  text-align: center;
  min-width: 60px;
  box-shadow: 0 4px 15px rgba(255, 103, 31, 0.3);
}

.notice-date-badge .month {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  display: block;
}

.notice-date-badge .day {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.notice-category {
  display: inline-block;
  background: #fff5eb;
  color: #ff671f;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.notice-content {
  padding: 1.5rem;
}

.notice-content h3 {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.notice-card:hover .notice-content h3 {
  color: #ff7a2e;
}

.notice-content p {
  color: #444444;
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.notice-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid #fffaeb;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.notice-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #666;
}

.notice-meta i {
  color: #ff671f;
}

.notice-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #ff671f;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.notice-read-more:hover {
  gap: 0.75rem;
  color: #ff7a2e;
}

.notice-read-more i {
  transition: transform 0.3s ease;
}

.notice-read-more:hover i {
  transform: translateX(5px);
}

.notice-board-cta {
  text-align: center;
}

/* Pinned notice styling */
.notice-card.pinned {
  background: linear-gradient(135deg, #fff 0%, #fff5eb 100%);
}

.notice-card.pinned::before {
  background: linear-gradient(180deg, #ff0000 0%, #ff671f 100%);
  width: 6px;
}

.notice-card.pinned .notice-category {
  background: linear-gradient(135deg, #ff671f 0%, #ff7a2e 100%);
  color: #ffffff;
}

/* Notice board icon rotation */
.notice-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, #ff671f 0%, #ff7a2e 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 20px rgba(255, 103, 31, 0.3);
  animation: pulse 2s ease-in-out infinite;
}

.notice-icon i {
  font-size: 1.75rem;
  color: #ffffff;
}

/* Leadership Message Section */
.leadership-message {
  padding: 5rem 0;
  background: #fffef5;
}

.leadership-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.leadership-card {
  background: #ffffff;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(255, 103, 31, 0.15);
  transition: all 0.5s ease;
  animation: fadeUp 0.8s ease-out;
}

.leadership-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(255, 103, 31, 0.25);
}

.leadership-image {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.leadership-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.leadership-card:hover .leadership-image img {
  transform: scale(1.1);
}

.leadership-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(255, 103, 31, 0.9), transparent);
  padding: 1.5rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.leadership-card:hover .leadership-overlay {
  transform: translateY(0);
}

.leadership-title {
  color: #ffffff;
  font-size: 1.125rem;
  font-weight: 600;
}

.leadership-content {
  padding: 2rem;
}

.leadership-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.75rem;
}

.leadership-role {
  color: #ff671f;
  font-weight: 600;
  display: block;
  margin-bottom: 1rem;
}

.quote-icon {
  font-size: 2rem;
  color: #ff671f;
  margin: 1rem 0;
}

.leadership-quote {
  font-style: italic;
  color: #444444;
  line-height: 1.8;
  position: relative;
  padding-left: 1.5rem;
  border-left: 4px solid #ff671f;
  font-size: 1rem;
}

/* Image Slider Section */
.image-slider-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #ff671f 0%, #ff7a2e 100%);
  overflow: hidden;
}

.image-slider-section .section-header h2,
.image-slider-section .section-header p {
  color: #fffef5;
}

.image-slider-section .section-title::after {
  background: linear-gradient(90deg, #ff671f, #ffffff);
}

.slider-container {
  margin-top: 3rem;
  overflow: hidden;
  padding: 2rem 0;
  position: relative;
}

.slider-wrapper {
  display: flex;
  width: calc(400px * 12);
  animation: scroll 20s linear infinite;
}

.slider-wrapper:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-400px * 6));
  }
}

.slide {
  flex: 0 0 400px;
  height: 300px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0);
  transition: all 0.4s ease;
  margin: 0 15px;
}

.slide:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0);
}

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

.slide:hover img {
  transform: scale(1.15);
}

.slide-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: #ffffff;
  padding: 1.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.slide:hover .slide-caption {
  transform: translateY(0);
}

/* Responsive Slider */
@media (max-width: 1024px) {
  .slider-wrapper {
    width: calc(350px * 12);
  }

  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-350px * 6));
    }
  }

  .slide {
    flex: 0 0 350px;
    height: 280px;
  }
}

@media (max-width: 768px) {
  .slider-wrapper {
    width: calc(300px * 12);
  }

  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-300px * 6));
    }
  }

  .slide {
    flex: 0 0 300px;
    height: 250px;
    margin: 0 10px;
  }

  .image-slider-section {
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  .slider-wrapper {
    width: calc(250px * 12);
  }

  @keyframes scroll {
    0% {
      transform: translateX(0);
    }
    100% {
      transform: translateX(calc(-250px * 6));
    }
  }

  .slide {
    flex: 0 0 250px;
    height: 200px;
    margin: 0 8px;
  }
}

/* School Levels Section */
.school-levels {
  padding: 5rem 0;
  background: #fffef5;
}

.levels-container {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.level-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(255, 103, 31, 0.1);
  transition: all 0.5s ease;
}

.level-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(255, 103, 31, 0.2);
}

.level-image {
  position: relative;
  width: 100%;
  height: 350px;
  overflow: hidden;
}

.level-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.level-card:hover .level-image img {
  transform: scale(1.1) rotate(2deg);
}

.level-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent, rgba(255, 103, 31, 0.3));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.level-card:hover .level-overlay {
  opacity: 1;
}

.level-content {
  padding: 2.5rem;
}

.level-badge {
  display: inline-block;
  background: linear-gradient(135deg, #ff671f 0%, #ff7a2e 100%);
  color: #ffffff;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(255, 103, 31, 0.3);
}

.level-content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.level-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  color: #444444;
  font-size: 1rem;
}

.level-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.level-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff5eb;
  padding: 1rem;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.level-feature:hover {
  transform: translateX(10px);
  background: linear-gradient(135deg, #fff5eb 0%, #ffead6 100%);
}

.level-feature i {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, #ff671f 0%, #ff7a2e 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  color: #ffffff;
}

@media (min-width: 1024px) {
  .level-card {
    flex-direction: row;
    align-items: center;
  }

  .level-card-reverse {
    flex-direction: row-reverse;
  }

  .level-image {
    width: 50%;
    height: 450px;
  }

  .level-content {
    width: 50%;
    padding: 3rem;
  }
}

/* About Section */
.about {
  padding: 5rem 0;
  background: linear-gradient(135deg, #fffaeb 0%, #fff5d6 100%);
}

.about-content {
  max-width: 1000px;
  margin: 0 auto;
}

.mission-vision {
  margin: 4rem 0;
}

.mission-vision-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.mission-box,
.vision-box {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 25px;
  box-shadow: 0 15px 40px rgba(255, 103, 31, 0.1);
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
}

.mission-box::before,
.vision-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #ff671f, #ff7a2e);
}

.mission-box:hover,
.vision-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(255, 103, 31, 0.2);
}

.mission-icon,
.vision-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, #ff671f 0%, #ff7a2e 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 20px rgba(255, 103, 31, 0.3);
}

.mission-icon i,
.vision-icon i {
  font-size: 2rem;
  color: #ffffff;
}

.mission-box h3,
.vision-box h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.values {
  margin-top: 4rem;
}

.values-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 20px;
  display: flex;
  gap: 1.5rem;
  box-shadow: 0 10px 30px rgba(255, 103, 31, 0.1);
  transition: all 0.4s ease;
}

.value-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(255, 103, 31, 0.2);
}

.value-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(135deg, #fff5eb 0%, #ffead6 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.4s ease;
}

.value-card:hover .value-icon {
  transform: rotate(360deg);
  background: linear-gradient(135deg, #ff671f 0%, #ff7a2e 100%);
}

.value-icon i {
  font-size: 1.75rem;
  color: #ff671f;
  transition: color 0.4s ease;
}

.value-card:hover .value-icon i {
  color: #ffffff;
}

.value-text p {
  color: #444444;
  margin: 0;
  font-size: 1rem;
}

/* Admissions Section */
.admissions {
  padding: 5rem 0;
  background: #fffef5;
}

.admissions-content {
  max-width: 900px;
  margin: 0 auto;
}

.admission-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.info-card {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 25px;
  box-shadow: 0 15px 40px rgba(255, 103, 31, 0.1);
  transition: all 0.5s ease;
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent,
    rgba(255, 245, 235, 0.3),
    transparent
  );
  transform: rotate(45deg);
  transition: all 0.6s ease;
}

.info-card:hover::before {
  animation: shine 1.5s ease-in-out;
}

@keyframes shine {
  0% {
    top: -50%;
    right: -50%;
  }
  100% {
    top: 150%;
    right: 150%;
  }
}

.info-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(255, 103, 31, 0.2);
}

.info-icon {
  width: 4rem;
  height: 4rem;
  background: linear-gradient(135deg, #ff671f 0%, #ff7a2e 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 20px rgba(255, 103, 31, 0.3);
}

.info-icon i {
  font-size: 1.75rem;
  color: #ffffff;
}

.info-card h3 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

.dates-list {
  list-style: none;
}

.dates-list li {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 2px solid #fffaeb;
  transition: all 0.3s ease;
}

.dates-list li:hover {
  padding-left: 10px;
  background: #fffaeb;
  border-radius: 10px;
}

.dates-list li:last-child {
  border-bottom: none;
}

.documents-list {
  list-style: none;
}

.documents-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.documents-list li:hover {
  background: #fffaeb;
  transform: translateX(10px);
}

.documents-list i {
  color: #ff671f;
  margin-top: 0.25rem;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.admission-cta {
  text-align: center;
  margin-top: 3rem;
}

/* Blogs Section */
.blogs {
  padding: 5rem 0;
  background: linear-gradient(135deg, #fffaeb 0%, #fff5d6 100%);
}

.blogs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.blog-card {
  background: #ffffff;
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(255, 103, 31, 0.1);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  animation: fadeUp 0.8s ease-out;
}

.blog-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 60px rgba(255, 103, 31, 0.25);
}

.blog-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.15) rotate(2deg);
}

.blog-category {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, #ff671f 0%, #ff7a2e 100%);
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.blog-content {
  padding: 2rem;
}

.blog-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #555555;
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.blog-card:hover .blog-content h3 {
  color: #ff7a2e;
}

.blog-content p {
  color: #444444;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #ff671f;
  font-weight: 600;
  transition: all 0.3s ease;
}

.blog-read-more:hover {
  gap: 1rem;
  color: #ff7a2e;
}

.blog-read-more i {
  transition: transform 0.3s ease;
}

.blog-read-more:hover i {
  transform: translateX(5px);
}

.blogs-cta {
  text-align: center;
  margin-top: 3rem;
}

/* Contact Section */
.contact {
  padding: 5rem 0;
  background: linear-gradient(135deg, #fffef5 0%, #fffaeb 100%);
}

.contact-wrapper {
  max-width: 1100px;
  margin: 0 auto;
}

.contact-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
}

.contact-info-card,
.contact-form-card {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 25px;
  box-shadow: 0 15px 40px rgba(255, 103, 31, 0.1);
  transition: all 0.5s ease;
}

.contact-info-card:hover,
.contact-form-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(255, 103, 31, 0.2);
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  animation: fadeUp 0.8s ease-out;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, #ff671f 0%, #ff7a2e 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.4s ease;
}

.contact-item:hover .contact-item-icon {
  transform: rotate(360deg) scale(1.1);
}

.contact-item-icon i {
  color: #ffffff;
  font-size: 1.25rem;
}

.contact-item-text h4 {
  margin-bottom: 0.5rem;
}

.contact-item-text p {
  color: #444444;
  margin: 0;
  line-height: 1.7;
  font-size: 1rem;
}

/* Contact Form with Modern Styling */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  margin-bottom: 0.75rem;
  color: #ff671f;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  padding: 1rem 1.5rem;
  border: 2px solid #fffaeb;
  border-radius: 15px;
  font-family: inherit;
  font-size: 1rem;
  background: #fffef5;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ff671f;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 103, 31, 0.1);
  transform: translateY(-2px);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #ff671f 0%, #ff7a2e 100%);
  color: #fffef5;
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, #fffaeb 0%, #fff5d6 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  animation: pulse 2s ease-in-out infinite;
}

.footer-logo h3 {
  font-size: 1.5rem;
  color: #fffef5;
  margin: 0;
}

.footer-column p {
  font-size: 0.95rem;
  opacity: 1;
  line-height: 1.8;
  color: #ffffff;
}

.footer-column h4 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  color: #fffef5;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.footer-column ul li:hover {
  transform: translateX(5px);
}

.footer-column ul li a {
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-column ul li a:hover {
  color: #fffaeb;
}

.footer-contact {
  opacity: 1;
  line-height: 1.8;
  color: #ffffff;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.social-links a {
  width: 3rem;
  height: 3rem;
  background: rgba(255, 254, 245, 0.15);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(10px);
}

.social-links a:hover {
  background: linear-gradient(135deg, #ff671f 0%, #ff7a2e 100%);
  color: #ffffff;
  transform: translateY(-5px) rotate(360deg);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.newsletter-form {
  display: flex;
  gap: 0.5rem;
}

.newsletter-form input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid rgba(255, 254, 245, 0.3);
  border-radius: 15px;
  background: rgba(255, 254, 245, 0.067);
  color: #fffef5;
  font-family: inherit;
  backdrop-filter: blur(10px);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.8);
}

.newsletter-form input:focus {
  outline: none;
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.25);
}

.newsletter-form button {
  padding: 0.75rem 1.5rem;
  background: #ffffff;
  color: #ff671f;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.125rem;
  font-weight: 600;
}

.newsletter-form button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(255, 103, 31, 0.4);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 254, 245, 0.2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.95rem;
  opacity: 1;
  color: #ffffff;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: #fffaeb;
  transform: translateY(-2px);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(135deg, #ff671f 0%, #ff7a2e 100%);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 8px 20px rgba(255, 103, 31, 0.4);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 999;
  animation: fadeUp 0.5s ease-out;
}

.back-to-top.show {
  display: flex;
}

.back-to-top:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 12px 30px rgba(255, 103, 31, 0.5);
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  /* Hide top bar in mobile view */
  .top-bar {
    display: none !important;
  }

  /* Adjust header padding for mobile without top bar */
  .main-nav {
    padding: 0.75rem 0;
  }

  h2,
  .section-title {
    font-size: 2rem;
  }

  h3 {
    font-size: 1.5rem;
  }

  .hero {
    height: 500px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .slide {
    flex: 0 0 280px;
    height: 220px;
  }
}

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

  .btn {
    padding: 0.875rem 1.75rem;
    font-size: 0.9375rem;
  }

  .logo-text h1 {
    font-size: 1.125rem;
  }

  .logo-text p {
    font-size: 0.625rem;
  }
}

/* Loading Animation */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .back-to-top,
  .scroll-indicator {
    display: none;
  }
}

/* Loaded class for lazy loading images */
.loaded {
  opacity: 1 !important;
  transform: none !important;
}

/* Form group focused state */
.form-group.focused label {
  color: #ff671f;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #ff671f;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 103, 31, 0.1);
  transform: translateY(-2px);
}

/* Ripple effect styles */
.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  background-color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Card hover effect with mouse position */
.feature-card,
.level-card,
.blog-card,
.value-card,
.leadership-card {
  position: relative;
  overflow: hidden;
}

.feature-card::before,
.level-card::before,
.blog-card::before,
.value-card::before,
.leadership-card::before {
  content: "";
  position: absolute;
  top: var(--mouse-y, 50%);
  left: var(--mouse-x, 50%);
  width: 0;
  height: 0;
  background: radial-gradient(
    circle,
    rgba(255, 103, 31, 0.1) 0%,
    transparent 70%
  );
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition:
    width 0.6s,
    height 0.6s;
}

.feature-card:hover::before,
.level-card:hover::before,
.blog-card:hover::before,
.value-card:hover::before,
.leadership-card:hover::before {
  width: 600px;
  height: 600px;
}

/* Body loaded state */
body.loaded {
  opacity: 1 !important;
}

/* Hero text elements loaded state */
.hero-text > * {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Overlay */
#ad-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 15px;
}

/* Popup box */
.ad-content {
  position: relative;
  background: #fff;
  border-radius: 12px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Image */
.ad-content img {
  width: 100%;
  height: auto;
  display: block;
}

/* Close button (touch friendly) */
.close-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
}

/* Bigger close button on very small screens */
@media (max-width: 480px) {
  .close-btn {
    width: 44px;
    height: 44px;
    font-size: 24px;
  }
}

/* Fade-in on load */
#ad-popup {
  animation: fadeIn 0.3s ease-out;
}

/* Fade-out class */
#ad-popup.fade-out {
  animation: fadeOut 0.3s ease-in forwards;
}

/* Keyframes */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}
