
:root {
  --brand: #0d6efd;
  --brand-dark: #0a58ca;
  --text: #1f2937;
  --muted: #6b7280;
  --bg: #ffffff;
  --light: #f7f7f8;
  --danger: #e63946;
  --danger-dark: #d62828;
}

 {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Helvetica Neue, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

a {
  color: var(--brand);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid #eee;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap:10px;
  color: inherit;
}
.logo {
  height: 40px;
  width: auto;
}
.nav ul {
  display: flex;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  padding: 8px 10px;
  border-radius: 6px;
}
.nav a:hover {
  background: #f2f4f7;
  text-decoration: none;
}

/* Slider - Fade Animation */
.slider {
  position: relative;
  overflow: hidden;
}
.slider-track {
  position: relative;
  width: 100%;
  height: 64vh;
}
.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}
.slide.is-active {
  opacity: 1;
  z-index: 2;
}
.caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.6);
  color: white;
  padding: 10px 15px;
  border-radius: 8px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}
.slide.is-active .caption {
  opacity: 1;
}
.nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: white;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 20px;
  cursor: pointer;
  z-index: 3;
}
.nav-btn.prev {
  left: 15px;
}
.nav-btn.next {
  right: 15px;
}
.dots {
  text-align: center;
  margin-top: 10px;
}
.dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  margin: 0 5px;
  background: #ccc;
  cursor: pointer;
}
.dots button.active {
  background: #333;
}

/* Programs Section */
.section {
  padding: 56px 0;
}
.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  text-align: center;
}
.program-item {
  background: var(--light);
  padding: 20px;
  border-radius: 8px;
}
.program-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 10px;
}

/* Footer */
.footer {
  background: #f8f9fa;
  padding: 20px 0;
  text-align: center;
}
.footer-nav {
  margin-bottom: 10px;
}
.footer-nav a {
  margin: 0 10px;
  color: #333;
}
.footer-social svg {
  margin: 0 5px;
  vertical-align: middle;
}

.footer-social a {
  font-size: 22px;
  margin: 0 8px;
  transition: color 0.3s ease;
}

.footer-social a.facebook { color: #1877F2; }   /* Facebook blue */
.footer-social a.twitter { color: #000000; }    /* X black */
.footer-social a.instagram { color: #E4405F; }  /* Instagram pink */
.footer-social a.youtube { color: #FF0000; }    /* YouTube red */

.footer-social a:hover {
  opacity: 0.7;  /* simple hover effect */
}

/* Responsive */
@media (max-width: 640px) {
  .slide img {
    height: 48vh;
  }
  .caption {
    left: 16px;
    right: 16px;
    transform: none;
    max-width: unset;
  }
  .slide.is-active .caption {
    transform: none;
  }
}
/* Navbar - Responsive with Hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #333;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  .nav {
    position: absolute;
    top: 64px;
    right: 0;
    background: #fff;
    border-left: 1px solid #eee;
    border-bottom: 1px solid #eee;
    width: 220px;
    display: none;
    flex-direction: column;
    z-index: 99;
  }
  .nav ul {
    flex-direction: column;
    gap: 0;
  }
  .nav li {
    border-bottom: 1px solid #f1f1f1;
  }
  .nav a {
    display: block;
    padding: 12px;
  }
  .nav.show {
    display: flex;
  }
}
/* Banner */
.page-banner {
  position: relative;
  text-align: center;
  color: white;
}
.banner-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  filter: brightness(70%);
}
.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.banner-text h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.banner-text p {
  font-size: 1.2rem;
}

/* Program Grid (reuse styles from index) */
.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.program-item {
  text-align: center;
  padding: 1.5rem;
  border-radius: 12px;
  background: #f9f9f9;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}
.program-item:hover {
  transform: translateY(-5px);
}
.program-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
}
.program-item h3 {
  margin-bottom: 0.5rem;
  color: #0d6efd;
}
/* Team grid */
.team-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.team-member {
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.team-member:hover {
  transform: translateY(-5px);
}
.team-member img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 10px;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.7);
}
.modal-content {
  background: #fff;
  margin: 10% auto;
  padding: 2rem;
  width: 80%;
  max-width: 500px;
  border-radius: 12px;
  text-align: center;
}
.close {
  float: right;
  font-size: 24px;
  cursor: pointer;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 1.5rem auto;
}
.contact-form input,
.contact-form textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 100%;
}
.contact-form button {
  background: #0d6efd;
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}
.contact-form button:hover {
  background: #084298;
}

/* Contact details */
.contact-details {
  margin-top: 2rem;
  text-align: center;
}
.contact-details p {
  margin: 0.5rem 0;
  font-size: 1rem;
}
.contact-details i {
  color: #0d6efd;
  margin-right: 8px;
}
/* Placeholder for when no media */
.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
  color: #888;
  font-size: 16px;
  font-style: italic;
  border: 2px dashed #ddd;
}
.gallery-item video {
  width: 100%;
  height: auto;
  border-radius: 8px;
}
/* Gallery page alignment fix */
.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 0.5em;
  color: #0d6efd;
}

.section-subtitle {
  text-align: center;
  font-size: 1rem;
  margin-bottom: 2em;
  color: #555;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  background: #f8f9fa;
  border: 2px dashed #ddd;
  color: #999;
  font-style: italic;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0; top: 0;
  width: 100%; height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.8);
}

.modal-content {
  display: block;
  margin: auto;
  max-width: 80%;
  max-height: 80%;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 30px;
  right: 50px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}
.apply-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 24px;
  background: #0073e6;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 6px;
  transition: 0.3s;
}
.apply-btn:hover {
  background: #005bb5;
}

.career-section {
  margin: 40px 0;
  padding: 20px;
  background: #f9f9f9;
  border-left: 5px solid #0073e6;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.career-section h2 {
  margin-bottom: 10px;
}
/* Hero Banner */
.hero-banner {
  position: relative;
  width: 100%;
  height: 50vh; /* Adjust height (50% of screen) */
  overflow: hidden;
}

.hero-banner .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Makes image resize nicely */
  display: block;
}

.hero-banner .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4); /* dark overlay for text visibility */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
}

.hero-banner h1 {
  font-size: 2.5rem;
  margin: 0;
}

.hero-banner p {
  font-size: 1.2rem;
  margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-banner {
    height: 35vh;
  }
  .hero-banner h1 {
    font-size: 1.8rem;
  }
  .hero-banner p {
    font-size: 1rem;
  }
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-top: 30px;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.3s;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}
/* Modal (hidden by default) */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background: rgba(0,0,0,0.9);
}

/* Modal Image */
.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh; /* Ensure image fits screen */
  border-radius: 6px;
}

/* Caption */
#caption {
  margin: 15px auto;
  text-align: center;
  color: #ccc;
  font-size: 18px;
}

/* Close Button */
.close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
.close:hover {
  color: #ff4444;
}

/* Responsive */
@media (max-width: 768px) {
  .modal-content {
    max-width: 95%;
    max-height: 70vh;
  }
}
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 30px;
  transition: 0.3s;
  user-select: none;
  border-radius: 3px;
}

.next {
  right: 20px;
}

.prev {
  left: 20px;
}

.prev:hover, .next:hover {
  background: rgba(0,0,0,0.6);
}
/* styles.css */
}


.container{
max-width:1100px;
margin:0 auto;
}


h2{
font-size:28px;
margin:0 0 18px 0;
letter-spacing:0.2px;
}


.program-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:var(--gap);
align-items:stretch;
}


.program-item{
background:var(--card-bg);
padding:20px;
border-radius:var(--radius);
box-shadow:0 6px 18px rgba(15,23,42,0.06);
display:flex;
flex-direction:column;
gap:12px;
transition:transform .18s ease, box-shadow .18s ease;
}


.program-item:hover{
transform:translateY(-6px);
box-shadow:0 12px 28px rgba(10,20,40,0.08);
}


.program-icon{
width:56px;
height:56px;
flex:0 0 56px;
border-radius:10px;
padding:8px;
background:linear-gradient(180deg, rgba(13,110,253,0.06), rgba(13,110,253,0.02));
display:inline-block;
}


.program-item h3{
margin:0;
font-size:18px;
}


.program-item p{
margin:0;
color:var(--muted);
line-height:1.45;
font-size:14px;
flex:1 1 auto;
}


@media (max-width:980px){
.program-grid{grid-template-columns:repeat(2,1fr);}
}


@media (max-width:640px){
.program-grid{grid-template-columns:1fr;}
.section{padding:28px 14px}
}


.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}