* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #f1edea;
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 0),
    radial-gradient(rgba(0, 0, 0, 0.6) 2px, transparent 0),
    linear-gradient(135deg, #2e1e16 0%, #0d0805 100%);
  background-size: 4px 4px, 6px 6px, 100% 100%;
  color:#f5efe6;
  font-family: 'Playfair Display', Georgia, serif;
  overflow-x: hidden;
  line-height: 1.6;
}

section {
  padding: 100px 24px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

h1, h2 {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
  color: #d4af37; 
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.welcome {
  height: 100vh;
  padding: 0;
  max-width: 100%;
  background-color: #f5efe6;
  background:url('logo png.png') center/contain no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay {
  background: rgba(13, 8, 5, 0.386);
  backdrop-filter: blur(px);
  width: 90%;
  max-width: 950px;
  padding: 50px 30px;
  border-radius: 24px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.welcome h1 {
  font-size: 2.5rem;
}

.welcome p {
  font-weight: 500;
  font-size: 1.2rem;
  color: #e5d3b3;
  margin: 0;
}

.content {
  text-align: center;
}

.content h2 {
  font-size: 2.5rem;
}

.content p {
  font-weight: 500;
  font-size: 1.25rem;
  color: #c7b8a1;
  margin-bottom: 20px;
}

.full-image img {
  width: 100%;
  border-radius: 12px;
  border: 5px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}


.split {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  text-align: left;
}

.split .text, .split .image {
  flex: 1;
  min-width: 300px;
}

.split h2 {
  font-size: 2.3rem;
}

.split p {
  font-weight: 500;
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #e5d3b3;
}

.split img {
  width: 100%;
  border-radius: 12px;
  border: 5px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.gallery {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.gallery img {
  width: 31%;
  min-width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  border: 5px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.cta {
  background: rgba(22, 15, 10, 0.8);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 16px;
  margin-top: 40px;
  margin-bottom: 40px;
  padding: 40px;
  text-align: left;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.cta h2 {
  font-size: 2rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding-bottom: 10px;
}

.cta span {
  font-weight: 700;
  color: #d4af37;
}

.cta p {
  color: #e5d3b3;
  font-size: 1.15rem;
  margin: 10px 0;
}

footer {
  background: #0d0805;
  color: #8c7b6c;
  padding: 40px 20px;
  font-size: 1.2rem;
  text-align: center;
  font-family: 'Courier New', Courier, monospace; 
  border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.scissors-border {
  position: relative;
  height: 50px;
  background: #0d0805;
  border-top: 1px dashed #d4af37;
  border-bottom: 1px dashed #d4af37;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.scissors-track {
  display: flex;
  position: absolute;
  white-space: nowrap;
  will-change: transform;
  animation: moveScissors 30s linear infinite;
}

.scissors-item {
  display: inline-block;
  font-size: 1.1rem;
  font-family: Arial, sans-serif;
  color: #d4af37;
  padding-right: 60px;
}

@keyframes moveScissors {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-33.33%, 0, 0); } 
}

@media (max-width: 768px) {
  .welcome h1 { font-size: 1.8rem; }
  .gallery img { width: 100%; height: auto; }
  section { padding: 60px 20px; }
}




.reviews-section {
  text-align: center;
}

.section-subtitle {
  color: #c7b8a1;
  font-size: 1.15rem;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}


.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.review-card {
  background: rgba(22, 15, 10, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
  border-color: #d4af37;
}

.stars {
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.review-text {
  font-style: italic;
  font-size: 1.05rem;
  color: #e5d3b3;
  margin-bottom: 15px;
  line-height: 1.6;
}

.student-name {
  font-size: 1rem;
  font-family: Arial, sans-serif;
  color: #d4af37;
  font-weight: 700;
}

.admission-section {
  padding: 60px 24px;
}

.admission-container {
  background: rgba(22, 15, 10, 0.85);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 20px;
  max-width: 650px;
  margin: 0 auto;
  padding: 50px 40px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
  position: relative;
}

.admission-container h2 {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 10px;
}

.admission-subtitle {
  color: #c7b8a1;
  font-size: 1.05rem;
  text-align: center;
  margin-bottom: 35px;
  line-height: 1.5;
}

.input-box {
  display: flex;
  flex-direction: column;
  text-align: left;
  margin-bottom: 22px;
}

.input-box label {
  color: #d4af37;
  font-family: Arial, sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.input-box label span {
  color: #ff4d4d;
}

.input-box input {
  background: #120b07;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  color: #f5efe6;
  padding: 14px 16px;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s ease;
}

.input-box input:focus {
  border-color: #d4af37;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.2);
}

.error-msg {
  color: #ff4d4d;
  font-family: Arial, sans-serif;
  font-size: 0.85rem;
  margin-top: 5px;
  display: none;
}

.submit-admission-btn {
  background: #d4af37;
  color: #0d0805;
  border: none;
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
  font-family: Arial, sans-serif;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.submit-admission-btn:hover {
  background: #f5efe6;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

.admission-success-box {
  display: none;
  background: #120b07;
  border: 2px solid #4bb543;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  margin-top: 25px;
  animation: fadeInForm 0.5s ease forwards;
}

.admission-success-box h3 {
  color: #4bb543;
  font-family: Arial, sans-serif;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.admission-success-box p {
  color: #e5d3b3;
  font-size: 1rem;
  margin: 0;
}

@keyframes fadeInForm {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

@media (max-width: 480px) {
  .admission-container { padding: 35px 20px; }
  .admission-container h2 { font-size: 1.8rem; }
}


.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: rgba(13, 8, 5, 0.85); 
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
  z-index: 9999; 
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.main-header .logo {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 500;
  font-size: 1.0rem;
  color: #d4af37;
  letter-spacing: 1.5px;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-btn {
  background: none;
  border: none;
  color: #e5d3b3;
  font-size: 1rem;
  font-family: Arial, sans-serif;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 4px;
  transition: color 0.3s ease, transform 0.3s ease;
  position: relative;
}

.nav-btn:hover {
  color: #d4af37;
}

.nav-btn::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: #d4af37;
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}

.nav-btn:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

body {
  padding-top: 80px;
}

@media (max-width: 900px) {
  .main-header {
    flex-direction: column;
    height: auto;
    padding: 15px 10px;
  }
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 15px;
    margin-top: 10px;
  }
  .nav-btn {
    font-size: 0.9rem;
  }
  body {
    padding-top: 130px;
  }
}




.curriculum-section {
  text-align: center;
}

.carousel-container {
  position: relative;
  max-width: 950px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.carousel-window {
  width: 100%;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%; /* Each slide occupies full viewport width */
  position: relative;
  background: #0d0805;
}

.carousel-slide img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}


.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #d4af37;
  font-size: 1.8rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.carousel-arrow:hover {
  background: #d4af37;
  color: #0d0805;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.left-arrow { left: -65px; }
.right-arrow { right: -65px; }

@media (max-width: 1100px) {
  .carousel-container { max-width: 85%; }
  .left-arrow { left: -45px; }
  .right-arrow { right: -45px; }
  .carousel-slide img { height: 350px; }
}


.welcome {
  min-height: 10vh;
  padding: 40px 20px;
  max-width: 100%;
  background: #dbd7d7; 
  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay {
  background: transparent;
  width: 100%;
  max-width: 950px;
  display: flex;
  flex-direction: column; 
  align-items: center;
  justify-content: space-between;
  gap: 30px; 
  text-align: center;
}

.welcome h1 {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 900;
  font-size: 2.8rem;
  color: #d4af37; 
  margin: 0;
  padding: 0;
}

.logo-wrapper {
  width: 100%;
  max-width: 400px; 
  display: flex;
  justify-content: center;
}

.hero-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
  border: none !important; 
  box-shadow: none !important;
}

.hero-logo:hover {
  transform: none !important;
}

.welcome p {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500;
  font-size: 1.2rem;
  color: #2c0254;
  line-height: 1.7;
  max-width: 850px;
  margin: 0;
  padding: 0 10px;
}

@media (max-width: 768px) {
  .welcome h1 { font-size: 1.8rem; }
  .logo-wrapper { max-width: 280px; }
  .welcome p { font-size: 1.05rem; }
}

