@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,200..800;1,6..72,200..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Story+Script&display=swap');

/* ========================================= */
/* 0. BASE STYLES & LAYOUT */
/* ========================================= */

:root {
    /* Define your school's primary and secondary colors here */
    --primary-color: #004d99; /* Dark Blue - Professional/Academic */
    --secondary-color: #ffcc00; /* Gold/Yellow - Energy/Excellence */
    --text-dark: #333;
    --text-light: #fff;
    --bg-light: #f9f9f9;
    --max-width: 1200px;
}

:root {
  --accent: #1ea1ff;
  --overlay-start: rgba(3, 18, 42, 0.45);
  --overlay-end: rgba(3, 18, 42, 0.25);
  --text-max-width: 1100px;
  --vh: 100vh;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  padding: 10px 20px;
  background: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0));
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}

.navbar__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.5rem;
  
}

a{
  text-decoration: none;
}

.logo img {
  height: 100px;
  width: 100px;
}

.navbar__logo {
  font-size: 5rem;
  color: #fff;
  font-family: "Bebas Neue", sans-serif;
}

.navbar__menu {
  display: flex;
  list-style: none;
  gap: 40px;
  margin: 0;
  transition: all 0.3s ease;
}

.navbar__menu a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 1rem;
  position: relative;
}

.navbar__menu a:hover {
  background-color: #fff;
  color: #000;
  padding: 12px;
  border-radius: 6px;
  transform: translateX(8px);
}

/* Hamburger Icon */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  z-index: 11;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: 0.3s;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .navbar__logo {
    font-size: 1.5rem;
    
  }
  .hamburger {
    display: flex;
  }

  .navbar__menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    padding: 20px 0;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }

  .navbar__menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .navbar__menu li {
    margin: 0;
    text-align: center;
  }

  .navbar__menu a {
    display: block;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .navbar__menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    transform: none;
    padding: 15px 20px;
  }
}

/* Ensure the container is used for consistent padding and centering */
.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    margin-bottom: 6%;
}

.content-section {
    padding: 5rem 0;
    overflow: hidden; /* Important for clean scroll-trigger animations */
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.lead-paragraph {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.page-hero {
    height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    overflow: hidden;
}

.page-hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: fill;
    background-position: center 30%;
    /* Use fixed attachment for a subtle parallax scroll effect */
    background-attachment: fixed;
    z-index: 1;
}

.page-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); /* Dark overlay for text contrast */
    z-index: 2;
}

.page-hero__content {
    position: relative;
    z-index: 3;
    padding: 0 40px;
}

.page-hero .hero__title {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-hero .hero__subtitle {
    font-size: 1.5rem;
    font-weight: 300;
}

.story-block {
    background-color: var(--bg-light);
    padding: 6rem 0;
}

.motto-box {
    margin-top: 3rem;
    padding: 2rem;
    border: 3px solid var(--secondary-color);
    border-radius: 12px;
    text-align: center;
    background-color: var(--text-light);
    /* GSAP target: data-scroll-pop will animate this */
}

.motto-box i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.motto-box p {
    font-style: italic;
    font-size: 1.1rem;
    font-weight: 600;
}


/* ========================================= */
/* 3. CURRICULUM FOCUS */
/* ========================================= */

.curriculum-focus {
    display: flex;
    min-height: 600px;
}

.curriculum-image {
    flex: 1;
    background-size: cover;
    background-position: center;
}

.curriculum-text {
    flex: 1;
    padding: 5rem 4rem;
    background-color: var(--primary-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.curriculum-text .section-title {
    text-align: left;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.curriculum-text p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.feature-list {
    margin-top: 3rem;
}

.feature-item {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
}

.feature-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-right: 15px;
    flex-shrink: 0;
}

.feature-item h4 {
    margin-top: 0;
    color: var(--text-light);
    font-size: 1.25rem;
}

.feature-item p {
    font-size: 0.95rem;
    margin-left: 3.25rem; /* Aligning paragraph text */
    margin-top: -0.5rem;
}

/* ========================================= */
/* 4. HOLISTIC GROWTH & COMMITMENT */
/* ========================================= */

.growth-commitment {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 6rem 10%;
    background: var(--text-light);
}

.commitment-card {
    flex: 1;
    max-width: 450px;
    padding: 2.5rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.commitment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.commitment-card i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.commitment-card h3 {
    color: var(--text-dark);
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

/* ========================================= */
/* 5. FACULTY SPOTLIGHT */
/* ========================================= */

.faculty-spotlight {
    background-color: var(--bg-light);
    padding-top: 5rem;
    padding-bottom: 8rem;
}

.faculty-spotlight .split-content {
    display: flex;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
    gap: 5rem;
    padding: 0 40px;
}

.faculty-spotlight .text-block {
    flex: 1;
}

.faculty-spotlight .image-gallery {
    flex: 1;
    /* Simulate an image/gallery element */
    min-height: 400px; 
    background: #ccc url('public_html/img/extracurricular_activities.jpg') center/cover;
    border-radius: 8px;
    /* GSAP target: data-scroll-slide-right will animate this */
}

/* Secondary Button Style */
.btn-secondary {
    display: inline-block;
    padding: 10px 25px;
    margin-top: 1.5rem;
    background-color: var(--secondary-color);
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #e5b800; /* Slightly darker gold on hover */
}


/* ========================================= */
/* 6. MEDIA QUERIES (Responsiveness) */
/* ========================================= */

@media (max-width: 992px) {
    .page-hero .hero__title {
        font-size: 2.5rem;
    }

    .curriculum-focus, 
    .growth-commitment, 
    .faculty-spotlight .split-content {
        flex-direction: column;
    }

    .curriculum-text {
        padding: 4rem 3rem;
    }

    .curriculum-image {
        /* On small screens, give the image a defined height */
        min-height: 300px;
    }

    .growth-commitment {
        padding: 4rem 5%;
        gap: 20px;
    }
    
    .commitment-card {
        max-width: 100%;
    }
    
    .faculty-spotlight .image-gallery {
        min-height: 300px;
        margin-top: 2rem;
    }
}