/* ================= BASE ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: #444;
  background-color: #e5e7eb;
}



/* ================= MOBILE TOGGLE ================= */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;

  position: relative;     
  z-index: 999999;         
}


.mobile-nav-toggle span {
  width: 26px;
  height: 3px;
  background: #fff;
}


/* ================= DESKTOP NAV  ================= */
.navbar {
  position: static;
  width: auto;
  height: auto;
  background: transparent;
  visibility: visible;
  right: auto;
}

.navbar a.active {
  color: #e03a3c;      
  font-weight: 600;
}

.navbar a.active::after {
  width: 100%;         
}
/* Overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;     
  transition: 0.3s;
  z-index: 10000;
}

.nav-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;     
}

.container {
  max-width: 1240px;
  
  margin: auto;
}

.donation-title::after,
.about-title::after,
.detail-title::after,
.mahajan-title::after,
.disclaimer-title::after,
.reach-title::after,
.section-title h2::after,
.home-intro h2::after,
.utsav-header h2::after,
.karyakram-header h2::after {
  content: "";
  display: block;
  width: 120px;
  height: 3px;
  margin: 12px auto 0;
  background: linear-gradient(90deg, #ff8c00, #ffc107);
  border-radius: 3px;
}

/* ================= HEADER ================= */

.header {
  overflow: visible;   
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(30, 41, 59, 0.85); 
  backdrop-filter: blur(6px);
  z-index: 10002;      

  transition: all 0.3s ease;
}


.header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* ================= LOGO ================= */
.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-link span {
  color: inherit; 
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-left: 10px;  
}

.logo img {
  height: 48px;
}

.logo span {
  font-size: 20px;
  font-weight: 700;
   color: #e6a23c;

}

.logo span {
  white-space: nowrap;        
  display: inline-block;
}


.logo,
.logo-link {
  flex-wrap: nowrap;
}

/* ================= NAVBAR ================= */

.navbar {
  white-space: nowrap;        
}

.navbar ul {
  display: flex;
  flex-wrap: nowrap;          
  list-style: none;
  gap: 18px;                  
  align-items: center;
}

.navbar li {
  flex-shrink: 0;            
}

.navbar a {
  text-decoration: none;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  position: relative;
  transition: 0.3s;
  padding: 4px 0;             
}


/*  underline hover */
.navbar a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #e03a3c;
  transition: 0.3s;
}

.navbar a:hover {
  color: #e03a3c;
}

.navbar a:hover::after {
  width: 100%;
}


/* =================  FOOTER ================= */

.tooltip-wrapper {
  position: relative;
}

.footer-tooltip-text {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);

  background: rgba(0,0,0,0.85);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  white-space: nowrap;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 999999;
}

.tooltip-wrapper:hover .footer-tooltip-text {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-16px);
}

.footer-dark {
  background: linear-gradient(180deg, #0b0e13, #000);
  color: #cfcfcf;
 
}

/* Bottom Area */
.footer-bottom-dark {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 22px 0;
  text-align: center;
  font-size: 14px;
}

.footer-bottom-dark strong {
  color: #fff;
}

.footer-bottom-dark .credits {
  margin-top: 6px;
  font-size: 13px;
}

.footer-bottom-dark .credits a {
  color: #e03a3c;
  font-weight: 600;
  text-decoration: none;
}

.footer-bottom-dark .credits a:hover {
  text-decoration: underline;
}

/* ================= RESPONSIVE ================= */
/* Tablets */
@media (max-width: 992px) {
  .footer-bottom-dark {
    font-size: 13.5px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .footer-bottom-dark {
    padding: 20px 14px;
    font-size: 13px;
  }

  .footer-bottom-dark .credits {
    margin-top: 10px;
    display: block;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .footer-bottom-dark {
    padding: 18px 12px;
    font-size: 12.5px;
  }

  .footer-bottom-dark strong {
    display: block;          /* avoid cramped line */
    margin-top: 4px;
  }
}

/* Extra Small Devices */
@media (max-width: 360px) {
  .footer-bottom-dark {
    font-size: 12px;
  }
}

/* ================= CONTACT SECTION ================= */
.contact-section {
  padding: 100px 0 60px;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}



.section-title p {
  color: #777;
  margin-top: 8px;
}

/* Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}

/* ================= CONTACT CARDS ================= */
.contact-cards {
  display: grid;
  gap: 25px;
}

.contact-card {
  background: #fff;
  padding: 22px;
  border-radius: 10px;
  border-left: 4px solid #e03a3c;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: 0.4s;
}
.contact-row {
  display: grid;
  grid-template-columns: 200px 12px auto; /* name | : | number */
  align-items: center;
  margin-bottom: 10px;
}

/* Name */
.contact-row .label {
  font-weight: 600;
  color: #111;
}

/* Colon */
.contact-row .colon {
  text-align: center;
  font-weight: 700;
}

/* Phone value */
.contact-row .value.phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #111;
}

/* Phone icon */
.contact-row .phone-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}


.contact-card:hover {
  transform: translateY(-6px);
}

.contact-card h3,
.contact-card h4 {
  color: #e03a3c;
  margin-bottom: 10px;
}

/* ================= FORM ================= */
.contact-form-box {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.1);
}

.contact-form-box h3 {
  margin-bottom: 20px;
  color: #111;
}

.contact-form-box input {
  width: 100%;
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 2px solid #ddd;
  outline: none;
  font-size: 14px;
  transition: 0.3s;
}

/* Shiny Glow Effect */
.contact-form-box input:focus {
  border-color: #e03a3c;
  box-shadow: 0 0 10px rgba(224,58,60,0.4);
}

/* Buttons */
.form-buttons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.contact-form-box button {
  padding: 12px 30px;
  border: none;
  border-radius: 30px;
  background: #e03a3c;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.contact-form-box button:hover {
  background: #c92f31;
}
/* Textarea – same style as inputs */
.contact-form-box textarea {
  width: 100%;
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 2px solid #ddd;
  outline: none;
  font-size: 14px;
  font-family: inherit;
  resize: vertical;
  min-height: 120px;
  transition: 0.3s;
}

/* Focus glow (same as input) */
.contact-form-box textarea:focus {
  border-color: #e03a3c;
  box-shadow: 0 0 10px rgba(224,58,60,0.4);
}

.contact-form-box .reset {
  background: #6c757d;
}

.contact-form-box .reset:hover {
  background: #555;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}
/* ================= ABOUT PAGE (DEWI GRAY) ================= */

.about-section {
  padding: 120px 0 80px;
}

.about-card {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  padding: 45px;
  border-radius: 12px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.08);
}

/* Title */
.about-title {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  color: #111;
  margin-bottom: 25px;
}

/* Sloka */
.about-sloka {
  text-align: center;
  font-style: italic;
  color: #555;
  line-height: 1.8;
  margin-bottom: 35px;
}

/* ===== ANIMATED TEXT ===== */
.about-line {
  font-size: 16px;
  line-height: 1.9;
  color: #444;
  margin-bottom: 26px;

  opacity: 0;
  transform: translateX(0);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.about-line.left {
  transform: translateX(-50px);
}

.about-line.right {
  transform: translateX(50px);
}

.about-line.show {
  opacity: 1;
  transform: translateX(0);
}

/* Mobile safety */
@media (max-width: 768px) {
  .about-line.left,
  .about-line.right {
    transform: translateX(0);
  }
}

/* Mobile safety */
@media (max-width: 768px) {
  .about-line.left,
  .about-line.right {
    transform: translateX(0);
    text-align: center;
  }
}


/* Mobile safety */
@media (max-width: 768px) {
  .about-line.left,
  .about-line.right {
    transform: translateX(0);
    text-align: center;
  }
}


/* visible state */
.about-line.show {
  opacity: 1;
  transform: translateX(0);
}

/* Links */
.about-links {
  margin-top: 30px;
  list-style: none;
  padding: 0;
}

.about-links li {
  margin-bottom: 14px;
}

.about-links a {
  display: flex;
  align-items: center;
  justify-content: flex-start; 
  gap: 10px;                    
  text-decoration: none; 
}


/* Text */
.link-text {
  color: red;
  font-weight: 600;
  line-height: 1.6;
}

/* View more button */
.view-btn {
  padding: 6px 16px;
  border-radius: 20px;

  background: linear-gradient(135deg, #ff8c00, #ffae42);
  color: #fff;

  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;

  transition: all 0.3s ease;
}

.about-links a:hover .view-btn {
  transform: translateX(4px);
  background: linear-gradient(135deg, #ffae42, #ff8c00);
  text-decoration: none; 
}

/* Mobile */
@media (max-width: 768px) {
  .about-links a {
    flex-direction: column;
    align-items: flex-start;
  }

  .view-btn {
    margin-top: 6px;
  }
}


/* ================= DETAIL PAGE ================= */

.detail-section {
  padding: 120px 0 80px;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 20px;
}

.breadcrumb a {
  color: #e03a3c;
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb span {
  margin: 0 6px;
}

/* Card */
.detail-card {
  max-width: 900px;
  margin: 0 auto;
  background: #ffffff;
  padding: 45px;
  border-radius: 12px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.08);
}

/* Titles */
.detail-title {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 10px;
}

.detail-subtitle {
  text-align: center;
  font-size: 18px;
  color: #555;
  margin-bottom: 35px;
}

/* Animated text */
.detail-line {
  font-size: 16px;
  line-height: 1.9;
  color: #444;
  margin-bottom: 26px;
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.detail-line.left {
  transform: translateX(-60px);
}

.detail-line.right {
  transform: translateX(60px);
}

.detail-line.show {
  opacity: 1;
  transform: translateX(0);
}

/* Back link */
.back-link {
  margin-top: 40px;
  text-align: center;
}

.back-link a {
  color: #e03a3c;
  font-weight: 600;
  text-decoration: none;
}

.back-link a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  .detail-card {
    padding: 25px;
  }

  .detail-line.left,
  .detail-line.right {
    transform: translateX(0);
  }
}


/* ================= DETAIL PAGE ================= */

.detail-section {
  padding: 120px 0 80px;
}

.breadcrumb {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 20px;
}

.breadcrumb a {
  color: #e03a3c;
  text-decoration: none;
  font-weight: 500;
}

.breadcrumb span {
  margin: 0 6px;
}

.detail-card {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  padding: 45px;
  border-radius: 12px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.08);
}

.detail-title {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 8px;
}

.detail-subtitle {
  text-align: center;
  font-size: 18px;
  color: #555;
  margin-bottom: 35px;
}

/* Animated paragraphs */
.detail-line {
  font-size: 16px;
  line-height: 1.9;
  color: #444;
  margin-bottom: 26px;
  opacity: 0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.detail-line.left {
  transform: translateX(-60px);
}

.detail-line.right {
  transform: translateX(60px);
}

.detail-line.show {
  opacity: 1;
  transform: translateX(0);
}
/* ================= STICKY BACK LINK (NOT BOTTOM) ================= */
.back-link {
  position: sticky;      
  top: 110px;            
  margin-top: 45px;
  text-align: center;
  z-index: 50;
}


/* Button style */
.back-link a {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 12px 26px;
  border-radius: 30px;

  background: #fff;
  color: #ff8c00;

  font-weight: 700;
  font-size: 14px;
  text-decoration: none;

  border: 1.5px solid rgba(255, 140, 0, 0.7);

  box-shadow:
    0 0 8px rgba(255, 140, 0, 0.35),
    0 10px 24px rgba(0,0,0,0.08);

  transition: all 0.3s ease;
}

/* Hover effect */
.back-link a:hover {
  background: linear-gradient(135deg, #ffb347, #ffd194); 
  color: #fff;

  transform: translateY(-2px);

  box-shadow:
    0 0 8px rgba(255, 179, 71, 0.45),
    0 12px 26px rgba(0,0,0,0.10);
}


/* Responsive */
@media (max-width: 768px) {
  .detail-card {
    padding: 25px;
  }

  .detail-line.left,
  .detail-line.right {
    transform: translateX(0);
  }
}


/* ================= UTSAV PATRIKA PAGE ================= */

.utsav-page { 
  padding: 120px 0 80px;
}

.utsav-header {
  text-align: center;
  margin-bottom: 30px;
}

.utsav-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: #111;
}

.utsav-header p {
  font-size: 22px;
  font-weight: 700;
  color: black;
  margin-top: 30px;
}

.utsav-intro,
.utsav-note {
  max-width: 900px;
  margin: 0 auto 30px;
  text-align: center;
  font-size: 16px;
  color: #444;
  line-height: 1.8;
}

/* Gallery */
.utsav-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px;
  max-width: 1100px;
  margin: 40px auto;
}

.utsav-card {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.4s ease;
  text-align: center;
}
.utsav-card a {
  display: block;
}
.utsav-card:hover {
  transform: translateY(-8px);
}

.utsav-card img {
  width: 100%;
  border-radius: 8px;
  cursor: zoom-in;
}

.utsav-card h4 {
  margin-top: 14px;
  font-size: 15px;
  color: #333;
}

/* Responsive */
@media (max-width: 768px) {
  .utsav-gallery {
    grid-template-columns: 1fr;
  }
}


/* ================= KARYAKRAM PATRIKA PAGE ================= */

.karyakram-page {
  padding: 120px 0 80px;
}

.karyakram-header {
  text-align: center;
  margin-bottom: 30px;
}

.karyakram-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: #111;
}

.karyakram-header p {
  font-size: 22px;
  font-weight: 700;
  color: black;
  margin-top: 30px;
}

.karyakram-intro,
.karyakram-note {
  max-width: 950px;
  margin: 0 auto 30px;
  text-align: center;
  font-size: 16px;
  color: #444;
  line-height: 1.8;
}

/* Gallery */
.karyakram-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  max-width: 1200px;
  margin: 40px auto;
}

.karyakram-card {
  background: #fff;
  border-radius: 12px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.4s ease;
  text-align: center;
}

.karyakram-card:hover {
  transform: translateY(-8px);
}

.karyakram-card img {
  width: 100%;
  border-radius: 8px;
  cursor: zoom-in;
}

.karyakram-card h4 {
  margin-top: 14px;
  font-size: 15px;
  color: #333;
}
.karyakram-card a {
  display: block;
}


/* Responsive */
@media (max-width: 992px) {
  .karyakram-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .karyakram-gallery {
    grid-template-columns: 1fr;
  }
}

/* ================= DONATION PAGE ================= */

.donation-section {
  padding: 140px 0 90px;
  overflow: hidden;
}

.donation-wrapper {
  display: grid;
  grid-template-columns: auto auto;
  gap: 90px;
  align-items: center;        /* vertical centering */
  justify-content: center;    /* horizontal balance */
  padding: 60px;              /* breathing space inside box */
}
.donation-info {
  display: flex;
  flex-direction: column;
  justify-content: center;   /* vertical centering */
}


/* LEFT */
.donation-title {
  font-size: 36px;
  font-weight: 200;
  text-align: center;
  color: black;
  margin-bottom: 20px;
}

.deposit-text {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 15px;
  color: #222;
}
/* BANK DETAILS */
.bank-details {
  margin-top: 10px;
}

.bank-row {
  display: grid;
  grid-template-columns: 150px 12px auto; /* 🔑 label | : | value */
  align-items: center;
  margin-bottom: 14px;
}

.bank-row .label {
  font-weight: 700;
  color: #111;
  text-align: left;
}

.bank-row .colon {
  text-align: center;
  font-weight: 700;
}

.bank-row .value {
  color: #111;
  padding-left: 8px;   
}
/* Phone value with icon */
.bank-row .value.phone {
  display: flex;
  align-items: center;
  gap: 8px;               /* space between icon & number */
}

/* Phone icon size */
.phone-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
}


/* RIGHT IMAGE */
.donation-image img {
  width: 100%;
  max-width: 380px;
  display: block;
  margin-left: auto;
  
}

/* FLOAT ANIMATION */
@keyframes floatPiggy {
  0% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0); }
}

/* REVEAL EFFECTS */
.reveal-left {
  opacity: 0;
  transform: translateX(-20px);
  transition: 0.8s ease;
}

.reveal-right {
  opacity: 0;
  transform: translateX(20px);
  transition: 0.8s ease;
}

.reveal-left.show,
.reveal-right.show {
  opacity: 1;
  transform: translateX(0);
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .donation-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .donation-image img {
    margin: 30px auto 0;
  }

  .bank-details span {
    min-width: auto;
  }
}

@media (max-width: 480px) {
  .donation-title {
    font-size: 28px;
  }

 .bank-row {
    grid-template-columns: 110px 10px auto;
    font-size: 15px;
  }
}

/* ================= HOME SECTION ================= */

.home-section {
  padding: 120px 0 80px;
}

/* ================= HOME INTRO TEXT ANIMATION ================= */

.home-intro {
  max-width: 900px;
  margin: 0 auto 50px;
  text-align: center;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.9s ease;
}

/* When revealed */
.home-intro.show {
  opacity: 1;
  transform: translateY(0);
}

/* Heading animation */
.home-intro h2 {
  font-size: 28px;
  font-weight: 700;
  color: #111;
  margin-bottom: 15px;
  position: relative;
}

/* Soft underline glow */
.home-intro h2::after {
  content: "";
  display: block;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff8c00, #ffc107);
  margin: 10px auto 0;
  border-radius: 2px;
  transition: width 1s ease;
}

.home-intro.show h2::after {
  width: 120px;
}

/* Paragraph animation */
.home-intro p {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease;
}

/* Stagger paragraphs */
.home-intro.show p:nth-of-type(1) {
  transition-delay: 0.2s;
  opacity: 1;
  transform: translateY(0);
}

.home-intro.show p:nth-of-type(2) {
  transition-delay: 0.4s;
  opacity: 1;
  transform: translateY(0);
}

.home-intro-image {
  display: block;
  margin: 40px auto 0;

  width: 90% !important;        /* 🔑 wider */
  max-width: 1100px;            /* 🔑 bigger desktop */

  height: auto;
  max-height: 700px;            /* 🔑 taller */

  object-fit: contain;
  background: #000;

  border-radius: 18px;
  border: 3px solid rgba(255, 140, 0, 0.85);
  box-shadow: 0 0 30px rgba(255, 140, 0, 0.65);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

/* 🔑 Smooth hover without breaking layout */
.home-intro-image:hover {
  transform: scale(1.03);       /* 🔑 gentle zoom */
  box-shadow: 0 0 40px rgba(255, 140, 0, 0.85);
}

/*   Gallery   */
.home-gallery {
  display: grid;
  grid-template-columns: repeat(2, 260px); 
  gap: 20px;                                
  justify-content: center;                  
  align-items: center;                      
}


.home-gallery img {
  width: 260px;                            
  height: 390px;                          
  object-fit: cover;                      
  border-radius: 16px;
  cursor: pointer;
  border: 4px solid transparent;
  background: #fff;
  display: block;                          
  transition: transform 0.35s ease,
              box-shadow 0.35s ease,
              border-color 0.35s ease;
}

/* HOVER EFFECT */
.home-gallery img:hover {
  transform: scale(1.04);
  border-color: #ff8c00;
  box-shadow: 0 0 22px rgba(255, 140, 0, 0.85);
}
/* ================= HOW TO REACH SECTION ================= */

.reach-section {
  background: #f2f4f7; /* same as index */
  padding: 70px 20px 90px;
  display: flex;
  justify-content: center;
}

/* Card */
.reach-card {
  max-width: 900px;
  width: 100%;
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 45px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.08);
  text-align: center;

  /* animation base */
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.9s ease;
}

/* reveal state */
.reach-section.show .reach-card {
  opacity: 1;
  transform: translateY(0);
}

/* Title */
.reach-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 25px;
  color: #111;
  position: relative;
}

/* Divider animation */
.reach-title::after {
  content: "";
  display: block;
  width: 0;
  height: 3px;
  margin: 12px auto 0;
  background: linear-gradient(90deg, #ff8c00, #ffc107);
  border-radius: 3px;
  transition: width 1s ease;
}

.reach-section.show .reach-title::after {
  width: 140px;
}


/* stagger text */
.reach-section.show .reach-text:nth-child(2) {
  transition-delay: 0.2s;
  opacity: 1;
  transform: translateY(0);
}

.reach-section.show .reach-text:nth-child(3) {
  transition-delay: 0.35s;
  opacity: 1;
  transform: translateY(0);
}

.reach-section.show .reach-text:nth-child(4) {
  transition-delay: 0.5s;
  opacity: 1;
  transform: translateY(0);
}

.reach-row {
  display: grid;
  grid-template-columns: 230px 12px 1fr;
  align-items: start;
  column-gap: 10px;
  margin-bottom: 14px;

  text-align: left;         
}

/* Place name */
.reach-row .label {
  font-weight: 600;
  color: #111;
  text-align: left;         
}

/* Colon */
.reach-row .colon {
  font-weight: 700;
  text-align: center;        
}

/* Details (AFTER COLON) */
.reach-row .value {
  text-align: left;          
  color: #444;
  line-height: 1.9;
}

/* Highlighted numbers */
.reach-row .value span {
  color: #ff8c00;
  font-weight: 600;
}



/* ================= IMAGE MODAL / CAROUSEL ================= */
.image-modal .close-btn {
  position: fixed;
  top: 100px;
  right: 30px;

  font-size: 42px;
  color: #ff8c00;
  cursor: pointer;

  z-index: 200001;
}

.header.modal-open {
  opacity: 0;
  pointer-events: none;
}


.image-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: none;
  justify-content: center;
  align-items: center;

  z-index: 200000;   
}


.modal-img {
  width: 500px;
  height: 700px;  
  min-width: 500px;
  max-width: 700px;
  background: #000;
  object-fit: cover;     
  border-radius: 12px;
  border: 6px solid #ff8c00;
  box-shadow: 0 0 40px rgba(255,140,0,0.9);
}

/* Mobile adjustment */
@media (max-width: 768px) {
  .modal-img {
    height: 300px;
  }
}

.image-modal .nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  font-size: 60px;
  color: #ff8c00;
  cursor: pointer;

  z-index: 20000;
}



.image-modal .prev { left: 20px; }
.image-modal .next { right: 20px; }




/* Responsive */
@media (max-width: 768px) {
  .reach-card {
    padding: 30px 25px;
  }

  .reach-title {
    font-size: 24px;
  }
}

/* ================= RESPONSIVE ================= */

@media (max-width: 992px) {
  .home-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .home-gallery {
    grid-template-columns: 1fr;
  }
}

/* ================= MODAL ================= */

.image-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 80px 20px 40px;  /* 🔑 space for top */
  box-sizing: border-box;
}

.image-modal.active {
  display: flex;
}

.modal-img {
  width: auto;
  height: auto;

  max-width: 85vw;     /* desktop & mobile */
  max-height: 80vh;

  object-fit: contain;
  border-radius: 16px;
  border: 5px solid #ff8c00;

  box-shadow: 0 0 40px rgba(255,140,0,0.9);
}

.image-modal .nav {
  font-size: 42px;   /* smaller for mobile */
}

@media (max-width: 576px) {
  .close-btn {
    font-size: 30px;
  }

  .image-modal .prev { left: 10px; }
  .image-modal .next { right: 10px; }
}
.close-btn {
  top: 16px;
  right: 18px;
  font-size: 36px;
}



/* CONTROLS */
.close-btn {
  position: absolute;
  top: 25px;
  right: 35px;
  font-size: 42px;
  color: #ff8c00;
  cursor: pointer;
}

.nav {
  position: absolute;
  top: 50%;
  font-size: 60px;
  color: #ff8c00;
  cursor: pointer;
  user-select: none;
  transform: translateY(-50%);
}

.prev { left: 40px; }
.next { right: 40px; }

/* ================= MAHAJAN PAGE ================= */

.mahajan-section {
  padding: 130px 0 90px;
  display: flex;
  justify-content: center;
}

.mahajan-card {
  max-width: 700px;
  width: 100%;
  background: #ffffff;
  border-radius: 16px;
  padding: 40px 45px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.08);

  /* animation base */
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.9s ease;
}

.mahajan-card.show {
  opacity: 1;
  transform: translateY(0);
}

/* Title */
.mahajan-title {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  color: #111;
  margin-bottom: 30px;
  position: relative;
}



.mahajan-card.show .mahajan-title::after {
  width: 120px;
}

/* List */
.mahajan-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mahajan-list li {
  margin-bottom: 18px;
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.7s ease;
}

/* stagger animation */
.mahajan-card.show .mahajan-list li:nth-child(1) { transition-delay: 0.2s; opacity: 1; transform: translateX(0); }
.mahajan-card.show .mahajan-list li:nth-child(2) { transition-delay: 0.35s; opacity: 1; transform: translateX(0); }
.mahajan-card.show .mahajan-list li:nth-child(3) { transition-delay: 0.5s; opacity: 1; transform: translateX(0); }
.mahajan-card.show .mahajan-list li:nth-child(4) { transition-delay: 0.65s; opacity: 1; transform: translateX(0); }
.mahajan-card.show .mahajan-list li:nth-child(5) { transition-delay: 0.8s; opacity: 1; transform: translateX(0); }

/* Links */
.mahajan-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;

  padding: 14px 18px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  color: #e03a3c;
  background: #f9fafb;
  text-decoration: none;

  /* ✅ simple border */
  border: 1.5px solid #ff8c00;

  transition: background 0.25s ease, transform 0.25s ease;
}

.mahajan-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.link-hint {
  font-size: 13px;
  color: #ff8c00;
  font-weight: 500;
  white-space: nowrap;
}


/* Hover effect */
.mahajan-list a:hover {
  background: #fff;
  color: #ff8c00;
  transform: translateX(8px);
  box-shadow: 0 10px 25px rgba(255,140,0,0.25);
}

/* Responsive */
@media (max-width: 768px) {
  .mahajan-card {
    padding: 30px 25px;
  }

  .mahajan-title {
    font-size: 26px;
  }

  .mahajan-list a {
    font-size: 15px;
  }
}

/* ================= DISCLAIMER PAGE ================= */

.disclaimer-section {
  padding: 130px 0 90px;
}

.disclaimer-card {
  max-width: 1000px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 16px;
  padding: 45px 50px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.08);

  /* animation base */
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.9s ease;
}

.disclaimer-card.show {
  opacity: 1;
  transform: translateY(0);
}

/* Title */
.disclaimer-title {
  text-align: center;
  font-size: 30px;
  font-weight: 700;
  color: #111;
  margin-bottom: 25px;
  position: relative;
}


.disclaimer-card.show .disclaimer-title::after {
  width: 120px;
}

/* Intro */
.disclaimer-intro,
.disclaimer-note {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  margin-bottom: 15px;
}

/* List */
.disclaimer-list {
  margin-top: 25px;
  padding-left: 20px;
}

.disclaimer-list li {
  margin-bottom: 18px;
  font-size: 15.5px;
  line-height: 1.75;
  color: #333;
}

.disclaimer-list strong {
  color: #111;
}

/* Responsive */
@media (max-width: 768px) {
  .disclaimer-card {
    padding: 30px 25px;
  }

  .disclaimer-title {
    font-size: 26px;
  }
}

/* ================= GLOBAL CLEAN SHINY BORDER ================= */

/* All main content cards / boxes */
.about-card,
.detail-card,
.disclaimer-card,
.reach-card,
.mahajan-card,
.contact-form-box,
.contact-card,
.donation-wrapper,
.donation-image img {
  position: relative;
  border: 2px solid rgba(255, 140, 0, 0.55);

  /* soft golden glow */
  box-shadow:
    0 0 0 1px rgba(255, 140, 0, 0.35),
    0 0 18px rgba(255, 140, 0, 0.35),
    0 12px 35px rgba(0,0,0,0.08);

  transition:
    box-shadow 0.35s ease,
    transform 0.35s ease,
    border-color 0.35s ease;
}

/* Hover enhancement (desktop only) */
.about-card:hover,
.detail-card:hover,
.disclaimer-card:hover,
.reach-card:hover,
.mahajan-card:hover,
.contact-form-box:hover,
.contact-card:hover,
.donation-wrapper:hover,
.donation-image img:hover {
  border-color: rgba(255, 140, 0, 0.85);

  box-shadow:
    0 0 0 1px rgba(255, 140, 0, 0.55),
    0 0 28px rgba(255, 140, 0, 0.55),
    0 18px 45px rgba(0,0,0,0.12);

  transform: translateY(-3px);
}

/* ================= GLOBAL CLEAN SHINY BORDER (THIN) ================= */

.about-card,
.detail-card,
.disclaimer-card,
.reach-card,
.mahajan-card,
.contact-form-box,
.contact-card,
.donation-wrapper,
.donation-image img {
  position: relative;

  /* 🔑 ultra-thin border */
  border: 1px solid rgba(255, 140, 0, 0.45);

  /* ✨ subtle premium glow */
  box-shadow:
    0 0 6px rgba(255, 140, 0, 0.35),
    0 10px 28px rgba(0,0,0,0.08);

  transition:
    box-shadow 0.35s ease,
    transform 0.35s ease,
    border-color 0.35s ease;
}

/* Hover enhancement */
.about-card:hover,
.detail-card:hover,
.disclaimer-card:hover,
.reach-card:hover,
.mahajan-card:hover,
.contact-form-box:hover,
.contact-card:hover,
.donation-wrapper:hover,
.donation-image img:hover {
  border-color: rgba(255, 140, 0, 0.8);

  box-shadow:
    0 0 14px rgba(255, 140, 0, 0.55),
    0 18px 40px rgba(0,0,0,0.12);

  transform: translateY(-2px);
}


/* Hide mobile-only items by default (desktop) */
.mobile-only {
  display: none;
}
.home-intro-image {
  display: block;
  margin: 35px auto 0;
  width: 100%;
  max-width: 600px;
  border-radius: 16px;

  border: 3px solid rgba(255,140,0,0.8);
  box-shadow: 0 0 25px rgba(255,140,0,0.6);
}

@media (max-width: 576px) {
  .home-intro-image {
    max-width: 320px;
  }
}

/* ================= MOBILE HAMBURGER NAV ================= */


@media (max-width: 992px) {
  .mobile-only {
    display: block;
  }

.logo {
    margin-left: 0;     /* 🔑 bring logo back into view */
  }

  .logo span {
    font-size: 16px;    /* optional: better fit on small screens */
  }

  .logo img {
    height: 40px;       /* optional: scale logo */
  }
  /* Hamburger */
  .mobile-nav-toggle {
    display: flex;
    position: relative;
    z-index: 10010;
    cursor: pointer;
  }

  /* Navbar (hidden state) */
  .navbar {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 260px;
    height: calc(100vh - 80px);
    background: #111;
    padding-top: 20px;
    transition: right 0.35s ease;

    z-index: 10006;
    visibility: hidden;
  }

  /* Navbar (visible) */
  .navbar.active {
    right: 0;
    visibility: visible;
  }

  /* Overlay */
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 10000;
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  .navbar ul {
    display: flex;
    flex-direction: column;   /* 🔑 vertical list */
    align-items: stretch;
    gap: 0;
  }

  .navbar li {
    width: 100%;
  }

  .navbar a {
    display: block;
    width: 100%;
    padding: 16px 22px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }

  /* optional: remove underline animation on mobile */
  .navbar a::after {
    display: none;
  }
  
}


@media (max-width: 1200px) {
  .container {
    max-width: 1100px;
  }

  .logo span {
    font-size: 18px;
  }

  .navbar ul {
    gap: 14px;
  }
}
@media (max-width: 768px) {

  .header-wrapper {
    padding: 0 12px;
  }

  .logo span {
    font-size: 15px;
  }

  .logo img {
    height: 36px;
  }

  .navbar {
    width: 240px;
  }
  .donation-title,
  .about-title,
  .detail-title,
  .mahajan-title,
  .disclaimer-title,
  .reach-title,
  .section-title h2,
  .home-intro h2,
  .utsav-header h2,
  .karyakram-header h2 {
    font-size: 26px;
  }
}
@media (max-width: 576px) {

  .logo span {
    font-size: 14px;
    line-height: 1.2;
  }

  .logo {
    gap: 10px;
  }

  .navbar {
    width: 220px;
  }

  .navbar a {
    font-size: 14px;
    padding: 14px 18px;
  }
}
@media (max-width: 360px) {

  .logo span {
    font-size: 13px;
  }

  .logo img {
    height: 32px;
  }

  .mobile-nav-toggle span {
    width: 22px;
  }
}
@media (max-width: 768px) {
  .logo span {
    font-size: 15px;
  }
  .home-gallery {
    grid-template-columns: 1fr;      /* single column */
    justify-items: center;           /* 🔑 center images horizontally */
  }

  .home-gallery img {
    margin: 0 auto;                  /* extra safety */
  }
}
@media (max-width: 576px) {
  .image-modal .nav {
    font-size: 34px;
  }
 
  .image-modal .prev { left: 12px; }
  .image-modal .next { right: 12px; }
  .home-intro-image {
    max-width: 320px;
  }	
  .home-gallery img {
    width: 240px;     /* slightly smaller */
    height: 360px;
  }
    .reach-row {
    grid-template-columns: 140px 10px 1fr;
    font-size: 14px;
  }
}

.alert {
  padding: 14px 18px;
  margin: 20px auto;
  max-width: 900px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
}

.alert.success {
  background: #e8fff1;
  color: #0f5132;
  border-left: 5px solid #1fa971;
}

.alert.error {
  background: #fff0f0;
  color: #842029;
  border-left: 5px solid #dc3545;
}
}

@media (max-width: 480px) {
  .logo span {
    font-size: 14px;
  }
}



