/* ===================================================
   RESET AND GLOBAL SETTINGS
=================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  font-family: 'Merriweather', Tahoma, Geneva, Verdana, serif, sans-serif;
  background-color: #ffffff;
  color: #000000;
}

h1, h2, h3, .nav-menu a, .hero-slide-title {
  font-family: 'Poppins', sans-serif;
}

/* ===================================================
   HEADER STYLES
=================================================== */
/* Keep your existing .site-header, but add this if needed */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 20px; /* Reduced vertical padding */
}

/* Logo sizing */
.site-logo img {
  max-height: 50px; /* Reduce logo height */
  height: auto;
  width: auto;
}

/* Menu spacing */
.main-navigation ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 20px;
}

.main-navigation ul li a {
  padding: 6px 10px;
  font-size: 16px;
  line-height: 1.2;
  color: white;
  text-decoration: none;
}
/* ===================================================
   HEADER STYLES
=================================================== */
header {
  background-color: #007A3D;
  color: white;
  padding: 40px 20px;
  text-align: center;
}

header h1 {
  margin: 0;
  font-size: 2.5em;
}

header p {
  margin-top: 10px;
  font-size: 1.2em;
  font-style: italic;
}

.site-header {
  background-color: #007A3D;
  color: white;
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.logo img {
  height: 50px;
  width: auto;
}

/* ===================================================
   NAVIGATION
=================================================== */
nav {
  background-color: #007A3D;
  padding: 10px 0;
  text-align: center;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

nav ul li {
  margin: 0 15px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 12px;
  transition: background-color 0.3s;
}

nav ul li a:hover {
  background-color: #005e2e;
  border-radius: 5px;
}

.main-nav {
  flex-grow: 1;
  text-align: right;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  position: relative;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  padding: 10px 5px;
  display: inline-block;
}

/* ---------------------------- */
/* Dropdown Menu Styles         */
/* ---------------------------- */
.nav-menu .dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background: white;
  color: black;
  top: 100%;
  left: 0;
  min-width: 150px;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.dropdown-menu li a {
  color: black;
  padding: 10px;
  display: block;
}

.dropdown-menu li a:hover {
  background: #eee;
}

/* ---------------------- */
/* Hamburger Menu Styles  */
/* ---------------------- */
.hamburger {
  display: none;
  font-size: 2em;
  cursor: pointer;
  color: white;
}

@media (max-width: 768px) {
  .nav-menu {
    flex-direction: column;
    display: none;
    background-color: #007A3D;
    width: 100%;
    text-align: left;
    padding: 10px 0;
  }

  .nav-menu.show {
    display: flex;
  }

  .hamburger {
    display: block;
    cursor: pointer;
    font-size: 2em;
    color: white;
  }
}

/* ===================================================
   BANNER
=================================================== */
.banner {
  background-color: #FDC12C;
  color: #000;
  text-align: center;
  padding: 20px;
  font-weight: bold;
  font-size: 1.3em;
}

/* ===================================================
   HERO SECTION AND SLIDER
=================================================== */
.hero-banner {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

.hero-banner img {
  width: 100%;
  height: auto;
  object-fit: cover;
}


.hero-slider {
  position: relative;
  width: 100%;
  height: 70vh;
  max-height: 90vh;
  overflow: hidden;
  background-color: #f5f5f5;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 70vh;
  max-height: 90vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
  z-index: 0;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

/* .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
} */

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.3);
}

/* ===================================================
   CALL TO ACTION (CTA) BUTTONS
=================================================== */
.cta-button {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #007bff;
  color: white;
  padding: 12px 20px;
  font-size: 1em;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  max-width: 90%;
  text-align: center;
}

.cta-button:hover {
  background-color: #0056b3;
}

@media (max-width: 768px) {
  .cta-button {
    font-size: 0.9em;
    padding: 10px 16px;
  }
}

@media (max-width: 480px) {
  .cta-button {
    font-size: 0.8em;
    padding: 8px 12px;
  }
}

/* Alternate CTA */
.secondary-cta {
  background-color: #E60000;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
  margin-top: 20px;
}

.secondary-cta:hover {
  background-color: #c10000;
}

/* ===================================================
   CONTENT SECTION
=================================================== */
.content {
  padding: 30px 20px;
  max-width: 800px;
  margin: auto;
  text-align: center;
}

.content p {
  margin: 10px 0;
  font-size: 1.1em;
}

/* ===================================================
   CTA SECTION CARDS
=================================================== */
.cta-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  padding: 3rem 1rem;
  background-color: #f9f9f9;
  position: relative;
  z-index: 2;
}

.cta-card {
  background-color: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

.cta-card:hover {
  transform: translateY(-5px);
}

.cta-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.cta-card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
}

.cta-link {
  text-decoration: none;
  color: #fff;
  background-color: #0073e6;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.3s;
}

.cta-link:hover {
  background-color: #005bb5;
}

/* ===================================================
   FLYER DOWNLOAD SECTION
=================================================== */
.flyer-download {
  background-color: #f5f5f5;
  text-align: center;
  padding: 20px 10px;
  font-size: 1.2em;
  font-weight: bold;
  position: relative;
  z-index: 2;
}

.flyer-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.flyer-btn {
  background-color: #007A3D;
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1em;
  transition: background-color 0.3s;
  flex: 1 1 auto;
  max-width: 200px;
  text-align: center;
}

.flyer-btn:hover {
  background-color: #005e2e;
}

@media (max-width: 480px) {
  .flyer-btn {
    padding: 10px 14px;
    font-size: 0.9em;
  }
}

/* ================================
   FOOTER STYLING (Gold Theme)
================================= */
footer {
  background-color: #FFD700; /* Gold */
  color: #222;
  padding: 40px 20px 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

/* Footer Sections */
.footer-section {
  flex: 1 1 300px;
  margin: 10px;
  min-width: 250px;
}

.footer-section h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  color: #111;
}

/* Quick Links (Vertical, Left-Aligned) */
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links ul li {
  margin-bottom: 8px;
}

.footer-links ul li a {
  color: #222;
  text-decoration: none;
  display: inline-block;
}

.footer-links ul li a:hover {
  text-decoration: underline;
  color: #000;
}

/* Contact Info (Centered Text) */
.footer-contact {
  text-align: center;
}

.footer-contact p {
  margin-bottom: 8px;
}

/* Social Media (Right-Aligned, Small Icons) */
.footer-socials {
  text-align: right;
}

.footer-socials .social-icons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 10px;
}

.footer-socials .social-icons img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  transition: transform 0.2s ease;
}

.footer-socials .social-icons a:hover img {
  transform: scale(1.1);
}

/* Copyright Section */
footer .copyright {
  text-align: center;
  width: 100%;
  margin-top: 30px;
  font-size: 12px;
  color: #444;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-socials {
    text-align: center;
  }

  .footer-socials .social-icons {
    justify-content: center;
  }

  .footer-section {
    margin-bottom: 30px;
  }
}
/* === About Us Page Styling === */

.about-us {
padding: 2rem 1rem;
max-width: 1200px;
margin: 0 auto;
font-family: 'Segoe UI', sans-serif;
}

.about-us h2 {
font-size: 2rem;
margin-top: 2rem;
color: #1e3a8a;
}

.about-us p {
font-size: 1rem;
line-height: 1.6;
margin-bottom: 1.2rem;
color: #333;
}

/* Hero Image Banner */
.hero-image {
width: 100%;
height: 350px;
object-fit: cover;
border-radius: 12px;
margin-bottom: 2rem;
}

/* Section with one big image (like History) */
.section-image-large {
width: 100%;
height: 300px;
object-fit: cover;
border-radius: 10px;
margin-top: 1rem;
}

/* Grid for Core Values or Achievements */
.image-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 1rem;
margin-top: 1.5rem;
}

.image-grid img {
width: 100%;
height: 180px;
object-fit: cover;
border-radius: 10px;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-grid img:hover {
transform: scale(1.03);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Optional: Section Container for Visual Grouping */
.about-section {
margin-bottom: 3rem;
border-bottom: 1px solid #e2e8f0;
padding-bottom: 2rem;
}

/* Responsive Tweak */
@media (max-width: 768px) {
.hero-image,
.section-image-large {
height: 200px;
}

.about-us h2 {
font-size: 1.5rem;
}

.about-us p {
font-size: 0.95rem;
}
}
/* =======================
Admissions Page Styles
======================== */

main.container {
max-width: 960px;
margin: 0 auto;
padding: 2rem 1rem;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
color: #222;
}

.intro {
text-align: center;
margin-bottom: 2rem;
}

.intro h2 {
font-size: 2.2rem;
color: #1c4e80;
margin-bottom: 0.5rem;
}

.intro p {
font-size: 1.1rem;
color: #555;
}

.section {
margin-bottom: 2rem;
padding: 1.5rem;
border-left: 4px solid #1c4e80;
background-color: #f9f9f9;
border-radius: 6px;
}

.section h3 {
font-size: 1.5rem;
color: #1c4e80;
margin-bottom: 1rem;
}

.section ul {
list-style: disc;
padding-left: 1.5rem;
}

.section li {
margin-bottom: 0.7rem;
line-height: 1.6;
}

.section p {
font-size: 1rem;
color: #333;
line-height: 1.6;
}

.responsive-table {
overflow-x: auto;
}

table {
width: 100%;
border-collapse: collapse;
margin-top: 1rem;
font-size: 0.95rem;
}

table th,
table td {
border: 1px solid #ccc;
padding: 0.8rem;
text-align: left;
}

table thead {
background-color: #1c4e80;
color: #fff;
}

.contact {
background-color: #e3f0fc;
padding: 1.5rem;
border-left: 4px solid #0073e6;
}

.contact p {
margin-bottom: 1rem;
}

@media (max-width: 600px) {
.section {
padding: 1rem;
}

.intro h2 {
font-size: 1.6rem;
}

.section h3 {
font-size: 1.25rem;
}
}
/* === Academic Programs Page Styles === */

.container {
  width: 90%;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 1rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
}

h2, h3, h4 {
  color: #0a3d62;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.2rem;
  margin-top: 1rem;
}

.section {
  background: #f8f9fa;
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.intro {
  text-align: center;
  padding-bottom: 2rem;
}

ul, ol {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

ul li, ol li {
  margin-bottom: 0.5rem;
}

.image-wrapper {
  margin: 1.5rem 0;
  text-align: center;
}

.main-image,
.content-image {
  width: 100%;
  max-width: 700px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .section {
    padding: 1.5rem;
  }
}


/* Staff Section==================
.staff-section {
padding: 50px 20px;
background-color: #f9f9f9;
text-align: center;
}

.section-title {
font-size: 2.5rem;
margin-bottom: 40px;
color: #007A3D;
}

.staff-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 30px;
}

.staff-card {
background-color: #fff;
padding: 20px;
border-radius: 10px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
width: 250px;
transition: transform 0.3s ease;
}

.staff-card:hover {
transform: translateY(-5px);
}

.staff-card img {
width: 100%;
height: auto;
border-radius: 50%;
margin-bottom: 15px;
}

.staff-card h3 {
font-size: 1.2rem;
margin-bottom: 5px;
}

.position {
font-style: italic;
color: #777;
}

.bio {
font-size: 0.95rem;
color: #555;
}
/* ====== */
/* =============== */
.staff-section {
  padding: 40px 20px;
  text-align: center;
  background-color: #f9f9f9;
}

.staff-section h2 {
  font-size: 2em;
  margin-bottom: 30px;
  color: #007A3D;
}

.staff-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.staff-member {
  width: 280px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  transition: transform 0.3s ease;
}

.staff-member:hover {
  transform: translateY(-10px);
}

.staff-member img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  aspect-ratio: 1/1;
  margin-bottom: 15px;
  box-shadow: 0 0 10px rgba(0, 122, 61, 0.3);
}

.staff-member h3 {
  font-size: 1.2em;
  margin-bottom: 8px;
  color: #333;
}

.staff-member .position {
  font-style: italic;
  color: #007A3D;
  font-weight: 500;
  font-size: 1em;
  margin-bottom: 12px; /* Adds space between position and bio */
}

.staff-member .bio {
  font-size: 0.95em;
  color: #555;
  line-height: 1.6;
}

.staff-position {
  font-style: italic;
  color: #555;
  font-size: 0.95em;
}

/* Responsive */
@media (max-width: 600px) {
  .staff-member {
    width: 90%;
  }
}

/* Gallery Section==== */
.gallery-section {
padding: 40px 20px;
background: #f9f9f9;
text-align: center;
}

.gallery-section h2 {
margin-bottom: 30px;
font-size: 24px;
color: #007A3D;
font-weight: 600;
}

.gallery-grid {
display: flex;
flex-wrap: wrap;
gap: 15px;
justify-content: center;
}

.gallery-item {
flex: 1 1 calc(25% - 30px);
max-width: calc(25% - 30px);
box-sizing: border-box;
overflow: hidden;
border-radius: 8px;
transition: transform 0.3s ease-in-out;
}

.gallery-item img {
width: 100%;
height: auto;
display: block;
transition: transform 0.4s ease;
border-radius: 8px;
}

.gallery-item:hover img {
transform: scale(1.05);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media screen and (max-width: 1024px) {
.gallery-item {
flex: 1 1 calc(33.333% - 30px);
max-width: calc(33.333% - 30px);
}
}

@media screen and (max-width: 768px) {
.gallery-item {
flex: 1 1 calc(50% - 30px);
max-width: calc(50% - 30px);
}
}

@media screen and (max-width: 480px) {
.gallery-item {
flex: 1 1 100%;
max-width: 100%;
}
}

/* Contact Page Styles */
.contact-page {
  padding: 40px 20px;
  background: #f5f5f5;
  font-family: 'Segoe UI', sans-serif;
}

.contact-page .container {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-page h2 {
  text-align: center;
  color: #007A3D;
  font-size: 32px;
  margin-bottom: 10px;
}

.contact-page .intro {
  text-align: center;
  font-size: 16px;
  margin-bottom: 40px;
  color: #555;
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: space-between;
}

.contact-info-box, .contact-form-box {
  flex: 1 1 45%;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.contact-info li {
  list-style: none;
  margin-bottom: 20px;
  color: #333;
  line-height: 1.6;
}

.social-links a {
  color: #007A3D;
  text-decoration: none;
  margin: 0 5px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form button {
  background: #007A3D;
  color: #fff;
  padding: 12px 25px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-form button:hover {
  background: #005c2b;
}

.map-container {
  margin-top: 40px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

/* Responsive */
@media screen and (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
  }
}
