@import url('https://fonts.googleapis.com/css2?family=Fjalla+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Proza+Libre:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Audiowide&display=swap');
:root {
  --bg: #070a12;
  --text-dark: #111;
  --primary: #0077cc;
  --primary-light: #22d3ee;
  --white: #2694e8;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Proza Libre", sans-serif;
  color: var(--text-dark);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 1rem;
}

/* ================= HEADER ================= */
.site-header {
  background: linear-gradient(135deg, #006aab, #00d9ff);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  box-shadow: var(--shadow);
  transition: transform 0.4s ease-in-out;
  padding-bottom: 0.2rem; /* tighter */
}

.site-header.scroll-up {
  transform: translateY(0);
}
.site-header.scroll-down {
  transform: translateY(-120%);
}

.title-with-images {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem; /* slightly closer */
  flex-wrap: wrap;
  margin-bottom: 0.15rem; /* tighter */
}

.side-image {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
}

.ramsa-title {
  font-size: 4.5rem; /* slightly smaller */
  font-family: 'Audiowide', sans-serif;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 1px;
  margin-bottom: 0.1rem;
}

.ramsa-subtitle {
  font-size: 1.7rem;
  font-family: 'Fjalla One', sans-serif;
  color: #000;
  text-transform: uppercase;
  margin: 0.05rem 0;
}

.ramsa-dates {
  font-weight: 600;
  color: #333;
  margin: 0.05rem 0 0.2rem 0;
}

#home{
  background: #fff;
}

/* ================= SUBHEADER ================= */
.subheader {
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 0; /* tighter */
  box-shadow: var(--shadow);
}

.subheader-text {
  font-family: "Poppins", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  margin: 0;
}

.subheader-text2 {
  font-family: "Poppins", sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: whitesmoke;
  margin: 0;
}

.subheader-text3 {
  font-family: "Poppins", sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: black;
  margin: 0;
}

.subheader-text4 {
  font-family: "Poppins", sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: rgb(252, 250, 250);
  margin: 5px 0;
  width: 950px;
  overflow-wrap: break-word;
  text-align:justify;
}

.subheader text-center py-4{
    box-shadow: var(--shadow);

}

.subheader-logo {
  max-width: 110px;
  height: auto;
}
.subheader-logo2{
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
}

.subheader-box {
  width: 970px;
  padding: 10px;
  border: 2px solid #4ec6ee;
  border-radius: 10px;
  background: #2ca4ff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

/* ================= NAVBAR ================= */
.site-navbar {
  margin-top: 0.1rem; /* closer to subheader */
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  display: flex;
  align-items: center;
}

.site-navbar::-webkit-scrollbar {
  display: none;
}
.site-navbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.nav__menu {
  display: flex;
  flex-direction: row;
  gap: 8px; /* tighter buttons */
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav__menu li {
  display: inline-block;
}

.nav__menu a,
.nav__menu .btn-brochure {
  text-decoration: none;
  background-color: #000;
  color: #fff;
  font-weight: 500;
  padding: 7px 16px; /* slightly smaller */
  border-radius: 6px;
  transition: all 0.3s ease;
  display: inline-block;
  font-family: "Poppins", sans-serif;
  white-space: nowrap;
}

.nav__menu a:hover,
.nav__menu .btn-brochure:hover {
  background-color: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* ================= MODAL, SECTIONS, FOOTER ================= */
/* Keep same as previous version */

/* ================= MODAL ================= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 200;
}

.modal-content {
  background: #000;
  padding: 2rem;
  border-radius: 12px;
  max-width: 850px;
  width: 90%;
  position: relative;
  box-shadow: #2ca4ff;
  animation: fadeIn 0.3s ease-in-out;
}

.close-modal {
  position: absolute;
  top: 12px;
  right: 15px;
  font-size: 1.8rem;
  background: none;
  border: none;
  cursor: pointer;
  color: #555;
  font-weight: 700;
  transition: color 0.2s ease;
}

.close-modal:hover {
  color: var(--primary);
}

.modal-content h3 {
  text-align: center;
  font-family: "Poppins", sans-serif;
  color: var(--primary);
  margin-bottom: 1rem;
}

.brochure-frame {
  width: 100%;
  height: 500px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

/* ================= PAGE SECTIONS ================= */
.page-section {
  background: var(--white);
  padding: 5rem 1rem;
  margin: 0;
  box-shadow: var(--shadow);
  transition: background 0.4s ease;
}

.page-section:hover {
  background: #2694e8;
}

.page-section h2 {
  font-family:'Fjalla One', sans-serif;
  font-size: 6rem;
  margin-bottom: 1rem;
  color:#000;
  text-transform: uppercase;
}


.page-section p {
  max-width: 700px;
  margin: 0 auto;
  color: #333;
  font-size: 1.05rem;
}

/* ================= FOOTER ================= */
.site-footer {
  background: #0b1220;
  color: #ccc;
  padding: 1.5rem 0;
  text-align: center;
}

.site-footer p {
  margin: 0.4rem 0;
}

.back-to-top {
  display: inline-block;
  margin-top: 0.5rem;
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 50%;
  text-decoration: none;
  transition: background 0.3s ease;
}

.back-to-top:hover {
  background: var(--primary-light);
}

/* ================= ANIMATIONS ================= */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .nav__menu {
    flex-wrap: nowrap;
  }

  .nav__toggle {
    display: flex;
    position: absolute;
    right: 1.5rem;
    top: 1.2rem;
  }

  .ramsa-title {
    font-size: 2rem;
  }

  .side-image {
    width: 40px;
    height: 40px;
  }

  .ramsa-subtitle,
  .ramsa-dates {
    font-size: 0.85rem;
    margin: 0.05rem 0;
  }

  .nav__menu a,
  .nav__menu .btn-brochure {
    padding: 6px 14px;
    font-size: 0.9rem;
  }

  .subheader-text {
    font-size: 1rem;
  }

  .subheader-logo {
    max-width: 120px;
  }
}
/* ================= PATRONS SECTION ================= */
.patrons-section {
  margin-top: 2rem;
  text-align: center;
}

/* ===== Headings (no change) ===== */
.patron-heading {
  font-family: "Proza Libre", sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #000;
  margin-top: 2.5rem;
  margin-bottom: 1.2rem;
  letter-spacing: 0.5px;
}

/* ===== Layout ===== */
.patron-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 3rem 5rem;
  padding: 1rem 0;
}

/* ===== Patron Cards ===== */
.patron-card {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  color: #fff;
  text-align: center;
  flex: 0 1 calc(45% - 2rem);
  white-space: normal;
  min-width: 300px;
  max-width: 420px;
}

/* ===== CHIEF PATRONS — enlarged text ===== */
.chief-patron .patron-name {
  font-size: 1.7rem !important; /* force big size */
  font-weight: 800;
  color: #000 !important;
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

.chief-patron .patron-designation {
  font-size: 1rem !important;
  color: #333 !important;
  line-height: 1.5;
}

/* ===== REGULAR PATRONS — enlarged text ===== */
.patron-name {
  font-family: "Poppins", sans-serif;
  font-size: 1.7rem !important;
  font-weight: 700;
  color: #fff !important;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.patron-designation {
  font-family: "Inter", sans-serif;
  font-size: 1rem !important;
  color: #222 !important;
  margin: 0;
  line-height: 1.5;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .patron-card {
    flex: 0 1 80%;
  }

  .chief-patron .patron-name {
    font-size: 2rem !important;
  }

  .chief-patron .patron-designation {
    font-size: 1rem !important;
  }

  .patron-name {
    font-size: 2rem !important;
  }

  .patron-designation {
    font-size: 1rem !important;
  }
}
/* ================= ORGANIZING COMMITTEE ================= */
.committee-section {
  margin-top: 2.5rem;
}

.committee-heading {
  font-family: "Proza Libre", sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: #000;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  
}

/* Use the same patron layout for uniformity */
.committee-section .patron-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 3rem 5rem;
  padding: 1rem 0;
}

.committee-section .patron-card {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  color: #000;
  text-align: center;
  flex: 0 1 calc(45% - 2rem);
  min-width: 300px;
  max-width: 420px;
}

.committee-section .patron-name {
  font-family: "Poppins", sans-serif;
  font-size: 1.8rem !important;
  font-weight: 800;
  color: #fff !important;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.committee-section .patron-designation {
  font-family: "Inter", sans-serif;
  font-size: 1.2rem !important;
  color: #333 !important;
  margin: 0;
  line-height: 1.5;
}

/* Responsive behavior */
@media (max-width: 992px) {
  .committee-section .patron-card {
    flex: 0 1 80%;
  }

  .committee-section .patron-name {
    font-size: 2rem !important;
  }

  .committee-section .patron-designation {
    font-size: 1rem !important;
  }
}
