@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
body {
  font-family: Poppins; /* Change this to your desired font for the rest of the text */
  margin: 0;
  padding: 0;
  background-color: #ffffff;
}

/* Header */
header {
  background-color: #550d0b;
  color: white;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  position: flex;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  align-items: center;
  width: 100%;
}

.logo img {
  height: 80px;
  margin-right: 15px;
}

.header-text h1 {
  font-family: "Old English Text MT", serif; /* Set Old English Text MT for the header title */
  font-size: 2em;
  margin: 0;
}

.header-text p {
  font-size: 12px;
  margin: 0;
}

nav {
  margin-left: auto;
}

nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 18px;
  font-weight: bold;
  font-size: 1.15rem;
  padding: 6px 10px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  position: relative;
  outline: none;
}

nav a:hover,
nav a:focus {
  background: #FFD700;
  color: #550d0b;
}

nav a.active {
  background: #FFD700;
  color: #550d0b;
  box-shadow: 0 2px 8px #ffd70033;
}

/* --- Banner --- */
.banner {
    background-image: url('./src/sjc_bg3.jpg'); /* Changed from 'Front SJC.jpg' */
    background-size: cover;
    background-position: center;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    margin-bottom: 0;
    box-shadow: 0 4px 24px #550d0b33;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    overflow: hidden;
}

.banner::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(120deg, rgba(85,13,11,0.80) 60%, rgba(255,215,0,0.25) 100%);
    backdrop-filter: blur(3px);
    z-index: 0;
}

.banner-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 48px 24px 36px 24px;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    color: #fff;
}

.banner-content h2 {
    font-size: 2.3rem;
    font-family: "Poppins", Arial, sans-serif;
    font-weight: 700;
    margin-bottom: 10px;
    color: #FFD700;
    text-shadow: 0 2px 8px #550d0b55;
}

.banner-content p {
    font-size: 1.15rem;
    margin-bottom: 28px;
    color: #fff;
    text-shadow: 0 2px 8px #550d0b33;
}

.buttons-container {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    justify-content: center;
    position: relative;
    z-index: 1;
    margin-top: 18px;
}

.button {
    background: linear-gradient(90deg, #FFD700 60%, #ffe066 100%);
    color: #550d0b;
    font-weight: 700;
    font-size: 1.08rem;
    padding: 16px 36px;
    border: none;
    border-radius: 30px;
    box-shadow: 0 2px 12px #ffd70033;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, transform 0.15s;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 1px;
}

.button:hover {
    background: #550d0b;
    color: #FFD700;
    transform: translateY(-2px) scale(1.04);
}

/* --- Content Section --- */
.content {
    max-width: 950px;
    margin: 40px auto 40px auto;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 24px #550d0b11;
    padding: 36px 28px 28px 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.admission-section {
    flex: 1 1 350px;
    min-width: 280px;
    margin-bottom: 32px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px #ffd70022;
    padding: 28px 24px 20px 24px;
    position: relative;
    transition: box-shadow 0.2s;
}

.admission-section:hover {
    box-shadow: 0 6px 24px #550d0b22;
}

.admission-section h2 {
    font-size: 2rem;
    text-align: center;
    color: #550d0b;
    margin-bottom: 18px;
    font-family: "Poppins", Arial, sans-serif;
    letter-spacing: 1px;
}

.admission-section h3 {
    font-size: 1.18rem;
    color: #550d0b;
    margin-bottom: 14px;
    font-family: "Poppins", Arial, sans-serif;
    letter-spacing: 0.5px;
    text-align: left;
    position: relative;
    padding-left: 28px;
}

.admission-section h3::before {
    content: "★";
    position: absolute;
    left: 0;
    top: 0;
    color: #FFD700;
    font-size: 1.1em;
    line-height: 1;
}

.admission-section ul {
    margin: 0;
    padding: 0;
    list-style: none;
    color: #333;
    font-size: 1.08rem;
    line-height: 1.8;
}

.admission-section ul li {
    background: #fffbe6;
    border-left: 4px solid #FFD700;
    border-radius: 7px;
    margin-bottom: 12px;
    padding: 12px 16px 12px 18px;
    box-shadow: 0 1px 6px #ffd70011;
    position: relative;
    transition: background 0.2s, border-color 0.2s;
}

.admission-section ul li:last-child {
    margin-bottom: 0;
}

.admission-section ul li::before {
    content: "✔";
    color: #FFD700;
    font-weight: bold;
    margin-right: 10px;
    font-size: 1.1em;
    vertical-align: middle;
}

/* --- Footer --- */
.footer {
    text-align: center;
    padding: 24px 0 16px 0;
    background-color: #550d0b;
    color: #FFD700;
    font-size: 1.08rem;
    margin-top: 60px;
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    box-shadow: 0 -2px 12px #550d0b22;
    letter-spacing: 1px;
}

/* === RESPONSIVENESS FOR DESKTOP, TABLET, AND MOBILE === */

/* --- For Desktop (max-width: 1024px) --- */
@media (max-width: 1024px) {
  header {
    padding: 10px 20px;
  }

  .header-text h1 {
    font-size: 1.8em;
  }

  .header-text p {
    font-size: 11px;
  }

  nav a {
    margin: 0 10px;
    font-size: 1rem;
    padding: 6px 10px;
  }

  .banner {
    min-height: 300px;
  }

  .banner-content h2 {
    font-size: 2rem;
  }

  .banner-content p {
    font-size: 1.05rem;
  }

  .content {
    max-width: 900px;
    padding: 30px 20px;
    gap: 30px;
  }

  .admission-section h2 {
    font-size: 1.8rem;
  }

  .admission-section h3 {
    font-size: 1.1rem;
  }

  .admission-section ul li {
    font-size: 1rem;
  }

  .footer {
    font-size: 1rem;
    padding: 22px 0;
  }
}

/* --- For Tablets (max-width: 768px) --- */
@media (max-width: 768px) {
  /* Header */
  header {
    flex-direction: row;
    justify-content: space-between;
    padding: 10px 15px;
  }

  .logo img {
    height: 60px;
  }

  .header-text h1 {
    font-size: 1.5em;
  }

  .header-text p {
    font-size: 10px;
  }

  nav {
    display: none; /* Hide desktop nav */
  }

  /* Banner */
  .banner {
    min-height: 260px;
    background-position: center;
  }

  .banner-content {
    padding: 32px 20px;
  }

  .banner-content h2 {
    font-size: 1.8rem;
  }

  .banner-content p {
    font-size: 1rem;
  }

  .button {
    font-size: 1rem;
    padding: 12px 26px;
  }

  /* Content Section */
  .content {
    flex-direction: column;
    align-items: center;
    padding: 24px 18px;
    gap: 25px;
  }

  .admission-section {
    width: 95%;
    padding: 24px 18px;
  }

  .admission-section h2 {
    font-size: 1.7rem;
  }

  .admission-section h3 {
    font-size: 1.05rem;
  }

  .admission-section ul li {
    font-size: 0.95rem;
  }

  /* Footer */
  .footer {
    font-size: 0.95rem;
    padding: 20px 10px;
  }
}

/* --- For Mobile Phones (max-width: 480px) --- */
@media (max-width: 480px) {
  header {
    flex-direction: row;
    align-items: center;
    padding: 8px 10px;
  }

  .logo img {
    height: 50px;
  }

  .header-text h1 {
    font-size: 1.3em;
  }

  .header-text p {
    font-size: 9px;
  }

  /* Banner */
  .banner {
    min-height: 220px;
  }

  .banner-content {
    padding: 20px 10px;
  }

  .banner-content h2 {
    font-size: 1.4rem;
  }

  .banner-content p {
    font-size: 0.9rem;
  }

  .button {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  /* Content Section */
  .content {
    margin: 20px 10px;
    padding: 20px 14px;
  }

  .admission-section {
    width: 90%;
    padding: 20px 15px;
  }

  .admission-section h2 {
    font-size: 1.5rem;
  }

  .admission-section h3 {
    font-size: 1rem;
  }

  .admission-section ul li {
    font-size: 0.9rem;
    padding: 8px 12px;
  }

  /* Footer */
  .footer {
    font-size: 0.8rem;
    padding: 15px 8px;
  }
}

/* --- For Very Small Phones (max-width: 360px) --- */
@media (max-width: 360px) {
  .banner-content h2 {
    font-size: 1.2rem;
  }

  .button {
    font-size: 0.8rem;
    padding: 8px 16px;
  }

  .admission-section {
    width: 20%;
    padding: 5px .15px;
  }

  .admission-section h2 {
    font-size: 1.3rem;
  }

  .admission-section ul li {
    font-size: 0.85rem;
  }

  .footer {
    font-size: 0.7rem;
  }
}

/* === BURGER MENU FIX === */
.burger-menu {
  display: none; /* Hidden by default (desktop) */
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1001;
}

.burger-menu span {
  width: 28px;
  height: 3px;
  background: #FFD700; /* Golden color */
  margin: 4px 0;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Active animation (X icon) */
.burger-menu.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}
.burger-menu.active span:nth-child(2) {
  opacity: 0;
}
.burger-menu.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile nav */
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 250px;
  height: 100vh;
  background: #550d0b; /* Match header color */
  color: white;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 80px;
  transition: right 0.3s ease;
  z-index: 1000;
}

.mobile-nav.active {
  right: 0;
}

.mobile-nav a {
  color: #FFD700;
  text-decoration: none;
  padding: 15px 20px;
  font-size: 1.1em;
  width: 100%;
  transition: background 0.3s;
}

.mobile-nav a:hover {
  background: #FFD700;
  color: #550d0b;
}

/* Backdrop */
.backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
}

.backdrop.active {
  display: block;
}

/* Show burger menu only on mobile/tablet */
@media (max-width: 768px) {
  .burger-menu {
    display: flex;
  }
  .desktop-nav {
    display: none;
  }
}

