@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: #000;
  --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: #F8f0c6;;
  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;
}

.site-header.scroll-up {
  transform: translateY(0);
}
.site-header.scroll-down {
  transform: translateY(-120%);
}

.side-image {
 width: 100%;
  max-width: 150px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}




.title-with-images {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: nowrap;
  text-align: center;
  margin-bottom: 0.5rem;
  white-space: nowrap; /* keeps the title in one line */
   
}



.side-image:hover {
  transform: scale(1.05);
}


.main-title-image {
  width: 750px;       /* Adjust size as needed */
  max-width: 100%;
  height: auto;
  margin: 0 10px;
}


header {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Main title (reduced to 60% of original size) */


/* Responsive behavior */
@media (max-width: 768px) {
  .title-with-images {
    flex-direction: column;
    gap: 0.6rem;
    white-space: normal;
  }

  .side-image {
    width: 50px;
    height: 50px;
  }

  .ramsa-title {
    font-size: 1.3rem; /* smaller for mobile */
  }
}



.ramsa-subtitle {
  font-size: 2.1rem;
  font-family: 'Fjalla One', sans-serif;
  color:#025589;
  text-transform: uppercase;
  margin: 0.05rem 0;
}

.ramsa-dates {
  font-weight: 600;
  color: #000;
  margin: 0.05rem 0 0.2rem 0;
  background: #4db9fcd2;
  border-radius: 8px;;
}

#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:#cc270e;
  margin: 0;
  background: #f82a2a;
}

.subheader-text00 {
  font-family: "Poppins", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color:#035080;
  margin: 0;
}

.verse-with-images {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;              /* space between images and text */
  text-align: center;
  margin: 2rem 0;
  flex-wrap: nowrap;        /* keeps all in one line */
}

.sanskrit-text {
  font-size: 2rem;
  color: #800000;
  line-height: 1.6;
  white-space: nowrap;      /* keeps both lines together */
  text-decoration: solid;
}

/* Image styles */
.side-image {
  width: 120px;
  height: 120px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.side-image.right {
  width: 1558x;
  height: 158px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.side-image.left {
  width: 1558x;
  height: 158px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}


.title-with-images .side-image.left {
  margin-right: 1rem;
}

.title-with-images .side-image.right {
  margin-left: 1rem;
}

.side-image:hover {
  transform: scale(1.1);
}

/* Responsive behavior */
@media (max-width: 768px) {
  .verse-with-images {
    flex-direction: column;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .side-image {
    width: 60px;
    height: 60px;
  }

  .sanskrit-text {
    font-size: 1.4rem;
    white-space: normal;
  }
}
.ifna{
  background: #c4bc97;
}

.subheader-text1 {
  font-family: "Poppins", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #099af4d2;
  margin: 0;
  text-align: center;
  text-transform: uppercase;

}

.subheader-text2 {
  font-family: "Poppins", sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: rgb(0, 0, 0);
  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:#800000;
  margin: 5px 0;
  width: 950px;
  overflow-wrap: break-word;
  text-align:justify;
}

.subheader text-center py-4{
    box-shadow: var(--shadow);
    background: #F8f0c6!important;

}

.subheader-logo {
  max-width: 130px;
  height: auto;
}

.ifna {
  background-color: #F8f0c6;   /* soft cream */
  padding: 20px;
}

.ifna,
.ifna * {
  background-color: #F8f0c6 !important;
}
.subheader-logo2{
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
}

.subheader-box {
  width: 970px;
  padding: 10px;
  border-radius: 10px;
  background: gold;

}

.subheader-box2 {
  
  width: 950px;
  font-family: "Poppins", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color:#035080;
  text-align: center;
}



/* ================= 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 {
  height: auto;
  overflow: visible;
}

.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;
}

.site-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1100px; /* matches typical container width */
  margin: 0 auto;
  padding: 0 10px;
}



.nav__menu li {
  display: inline-block;
}

/* ===== Navbar Scroll Arrows ===== */
.navbar-scroll-container {
  overflow-x: auto;
  scroll-behavior: smooth;
  white-space: nowrap;
  display: flex;
  align-items: center;
  scrollbar-width: none; /* hide scrollbar for Firefox */
}
.navbar-scroll-container::-webkit-scrollbar {
  display: none; /* hide scrollbar for Chrome */
}

.nav-arrow {
  background: #4db9fc;
  border: none;
  color: rgb(0, 0, 0);
  font-size: 1.3rem;
  padding: 0.4rem 0.9rem;
  border-radius: 10%;
  cursor: pointer;
  transition: background 0.3s;
  z-index: 10;
  position: absolute;
  top: 90%;
}

.nav-arrow:hover {
  background:#ed2727;
}

.left-arrow {
  position: absolute;
  left: 170px;
  top: 90%;
  transform: translateY(-50%);
}

.right-arrow {
  position: absolute;
  right: 180px;
  top: 90%;
  transform: translateY(-50%);
}

/* Adjust position so arrows don’t overlap navbar toggle */
@media (max-width: 768px) {
  .nav-arrow {
    display: none;
  }
}


.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: #259feae4;
  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: none;
  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-section1 {
  background: gold;
  padding: 0.8rem 1rem;
  margin: 0;
  box-shadow: var(--shadow);
  transition: background 0.4s ease;
  min-height: 180px;   /* adjust this value as needed */
}


.page-section {
  background:gold;
  padding: 5rem 1rem;
  margin: 0;
  box-shadow: var(--shadow);
  transition: background 0.4s ease;
}



.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: #000;
  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: #800000;
  margin-top: 2.5rem;
  margin-bottom: 1.2rem;
  letter-spacing: 0.5px;
}

#schedule .patron-heading {
  font-family: "Proza Libre", sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color:  #800000;
  margin-top: 2.5rem;
  margin-bottom: 1.2rem;
  letter-spacing: 0.5px;
}

.patron-image {
  width: 225px;       /* Change this anytime to resize */
  height: 225px;      /* Keeps them square */
  object-fit: cover;  /* Ensures the image fills the circle */
  border-radius: 50%;
  border-color: #ffac05; /* Makes the image circular */
  margin-bottom: 10px;
}

/* ===== Layout ===== */
.patron-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 3rem 5rem;
  padding: 1rem 0;
}

#schedule .patron-row {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 50px;
}


.patron-row .patron-card.left img {
  margin-top: 45px;   /* adjust value as needed */
}


/* ===== 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:  #800000 !important;
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

.chief-patron .patron-designation {
  font-size: 1rem !important;
  color: #000 !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: #099af4d2!important;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

#schedule {
  height: auto;
}
.patron-meta {
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  color: #222;
  margin: 6px 0 0 0;
  font-weight: 600;
}


.schedule-divider {
  width: 80%;
  border: 1px solid #ffac05;
  margin: 3px auto;
}



#schedule [data-aos] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
  animation: none !important;
}





.patron-designation {
  font-family: "Inter", sans-serif;
  font-size: 1rem !important;
  color: #000 !important;
  margin: 0;
  line-height: 1.5;
}

.memorial-designation {
  font-family: "Inter", sans-serif;
  font-size: 1.2rem !important;
  color: #159cf0d2 !important;
  margin: 0;
  line-height: 1.5;
}

.memorial-designation {
  display: block;
  text-align: center;
  margin-top: 6px;
}


/* ===== 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:  #800000;
  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: #ffac05;
  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: #099af4d2!important;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.committee-section .patron-designation {
  font-family: "Inter", sans-serif;
  font-size: 1.2rem !important;
  color: #000 !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;
  }
}

/* =======================================================
   UNIVERSAL MOBILE FIXES
   ======================================================= */
@media (max-width: 768px) {

  /* ======== GENERAL LAYOUT ======== */
  .container {
    padding: 0.5rem;
  }

  /* Make wide images shrink if needed */
  img {
    max-width: 100%;
    height: auto;
  }

  /* Remove fixed section widths */
  .subheader-box,
  .subheader-box2,
  .subheader-text4 {
    width: 100% !important;
  }

  /* Reduce large headings */
  .page-section h2 {
    font-size: 2.2rem !important;
  }

  /* ======== TITLE AREA ======== */
  .main-title-image {
    width: 100% !important;
    max-width: 95%;
  }

  .ramsa-subtitle {
    font-size: 1.1rem !important;
    text-align: center;
  }

  /* ======== VERSES SECTION ======== */
  .verse-with-images {
    flex-direction: column !important;
    text-align: center;
    gap: 0.7rem !important;
  }

  .sanskrit-text {
    font-size: 1.2rem !important;
    white-space: normal !important;
  }

  /* ======== NAVBAR ======== */
  .site-navbar {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: scroll;
  }

  .nav__menu a {
    padding: 6px 10px !important;
    font-size: 0.85rem !important;
  }

  /* Remove arrow buttons on small screens */
  .nav-arrow {
    display: none !important;
  }

  /* ======== PATRONS & COMMITTEES ======== */
  .patron-row,
  .committee-section .patron-row {
    flex-direction: column !important;
    gap: 1.8rem !important;
    align-items: center !important;
  }

  .patron-card,
  .committee-section .patron-card {
    flex: 0 1 100% !important;
    max-width: 95% !important;
  }

  .patron-image {
    width: 130px !important;
    height: 130px !important;
  }

  .patron-name {
    font-size: 1.3rem !important;
  }

  /* ======== SECTION PADDING ======== */
  .page-section {
    padding: 2rem 1rem !important;
  }

  .page-section1 {
    padding: 1rem !important;
    min-height: 130px !important;
  }
}
.btn-drive {
  display: inline-block;
  
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  margin-top: 1rem;
}

.btn-drive:hover {
  background: #259feae4;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
