/* ------- GLOBAL ------- */
* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #ffffff;
  color: #222;
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 20px;
}

/* ===== HEADER / BRAND / NAV FIX ===== */
header {
  background: #ffffff;
  border-bottom: 1px solid #eee;
  padding: 6px 0;              /* reduced navbar height */
}

/* container aligns items horizontally */
.nav-container {
  display: flex;
  align-items: center;         /* vertically centers logo + nav */
  gap: 12px;
  justify-content: flex-start; /* brand at left; nav will be pushed right by margin-left:auto */
}

/* brand: logo + text together */
.brand-link {
  display: flex;
  align-items: center;
  gap: 8px;                    /* small gap between logo and title */
  text-decoration: none;
  color: inherit;
}

/* actual logo size and offset */
.logo-img {
  height: 100px;                /* adjust size here */
  width: auto;
  display: block;
  margin: 6px 0 6px 6px;       /* tiny top offset and small left spacing */
  box-shadow: none;
  border-radius: 6px;          /* optional rounded logo */
}

/* site title next to logo */
.site-title {
  font-size: 20px;
  font-weight: 700;
  color: #1b1b1b;
  line-height: 1;
  margin: 0;
}

/* push nav to the right */
.nav-links {
  margin-left: auto;
  display: flex;
  gap: 11px;
  align-items: center;
}

/* smaller nav link padding so bar stays compact */
.nav-links a {
  text-decoration: none;
  color: var(--accent-1, #1f5f9d);
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: 600;
}

/* keep hamburger hidden on desktop; shown by media queries */
.nav-toggle { display: none; background: transparent; border: 0; }

/* responsive: show mobile nav toggle and stack nav */
@media (max-width: 900px) {
  .nav-toggle { display: flex; align-items:center; justify-content:center; }
  .nav-links { display: none; position: fixed; right: 12px; top: 64px; flex-direction: column; padding: 12px; background: rgba(255,255,255,0.98); border-radius: 12px; box-shadow: 0 20px 60px rgba(2,8,23,0.12); min-width: 200px; }
  .nav-links a { display:block; padding: 10px 14px; }
}


.logo:hover {
  transform: translateY(-2px);
}



.nav-links a:hover::after {
  transform: scaleX(1);
  transform: translateY(-2px);
}

/* ------- PANEL SECTIONS ------- */

.panel {
  padding: 40px 0;
}

.panel-inner {
  display: flex;
  gap: 22px;
  align-items: center;
}

.panel-left {
  flex: 1;
}

.panel-right {
  flex: 1;
  display: flex;
  justify-content: center;
}

.panel-image {
  width: 100%;
  height: 340px;
  border-radius: 12px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Section Colors */
.panel-home { background: #FFF6E9; }
.panel-about { background: #F1FFEE; }
.panel-vision { background: #EEF6FF; }
.panel-mission { background: #FFF0F2; }
.events-section { background: #F7F8FA; }
.contact-section { background: #FDFDFD; }

/* ------- EVENTS ------- */

/* EVENT SECTION FIXED LAYOUT */
.event-wrapper {
  display: flex;
  flex-wrap: nowrap;      /* FORCE two columns */
  gap: 24px;
  align-items: flex-start;
}

.event-info {
  flex: 1;
  min-width: 300px;
}

.event-media {
  flex: 1;
  min-width: 320px;
  max-width: 420px;       /* prevent image from becoming too large */
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* FIXED IMAGE SIZE */
.event-image-box {
  width: 100%;
  height: 260px;          /* fixed height */
  object-fit: contain;
  background-repeat: no-repeat;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* FIXED VIDEO SIZE */
.event-video-box {
  width: 100%;
  height: 260px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* MOBILE VIEW FIX */
@media (max-width: 900px) {
  .event-wrapper {
    flex-direction: column;
    flex-wrap: wrap;
  }

  .event-media {
    max-width: 100%;
    width: 100%;
  }

  .event-image-box,
  .event-video-box {
    height: 220px;    /* adjust for mobile */
  }
}


/* ------- CONTACT ------- */

.contact-grid {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

input, textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
}

button {
  background: #2c6fb6;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

/* ------- PRESIDENT CARD ------- */

.president-card {
  background: #ffffff;
  padding: 20px;
  border-radius: 12px;
  max-width: 320px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  text-align: center;
}

.president-photo {
  width: 320px;
  height: 280px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px;
  margin-bottom: 12px;
}

.muted {
  color: #666;
  font-size: 14px;
}

/* ------- FOOTER ------- */

footer {
  text-align: center;
  padding: 16px;
  background: #ffffff;
  border-top: 1px solid #eee;
  margin-top: 40px;
}

/* ------- MOBILE ------- */

@media (max-width: 900px) {
  .panel-inner,
  .event-card,
  .contact-grid {
    flex-direction: column;
  }

  .panel-image,
  .event-image {
    height: 240px;
  }

  .nav-links {
    display: none;
  }
}
/* -------- GALLERY SECTION -------- */
.gallery-section {
  background: #F8FBFF;
  padding: 50px 0;
  text-align: center;
}

.gallery-section h2 {
  font-size: 28px;
  color: #1f5f9d;
  margin-bottom: 6px;
}

.gallery-section p {
  margin-bottom: 20px;
  color: #666;
}

/* -------- SLIDER -------- */
.slider {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 14px;
  position: relative;
  background: #000;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.slides {
  display: flex;
  transition: transform 0.55s cubic-bezier(.22,.9,.3,1);
}

/* Fully show image (no repeat) */
.slide {
  min-width: 100%;
  height: 380px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #000;
}

@media (max-width:900px) {
  .slide { height: 240px; }
}

/* Buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: rgba(255,255,255,0.85);
  padding: 10px 13px;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
  z-index: 20;
  color: #1f5f9d;
}

.slider-btn.prev { left: 12px; }
.slider-btn.next { right: 12px; }

/* Dots */
.slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.6);
  cursor: pointer;
}

.slider-dots button.active {
  background: #2c6fb6;
}











