/* Home page and navigation refinements */
.main-header { position: relative; z-index: 1000; }
.main-header .navbar-shell { max-width: 1400px; }
.main-header .navbar { padding: 10px 0; }
.main-header .site-logo { width: 58px; height: 58px; object-fit: contain; flex: 0 0 58px; }
.main-header .brand-name { font-size: 15px; line-height: 1.05; font-weight: 800; letter-spacing: .4px; margin-left: 9px; white-space: nowrap; }
.main-header .brand-name small { font-size: 10px; letter-spacing: .7px; }
.main-header .navbar-nav { gap: 4px; }
.main-header .nav-link { font-size: 12px; font-weight: 700; letter-spacing: .35px; padding: 10px 9px !important; white-space: nowrap; }
.main-header .donate-btn { font-size: 12px; font-weight: 800; padding: 10px 15px; white-space: nowrap; }
.main-header .dropdown-menu { border: 0; border-radius: 10px; box-shadow: 0 12px 30px rgba(0,0,0,.18); padding: 8px; }
.main-header .dropdown-item { font-size: 12px; font-weight: 700; border-radius: 7px; padding: 9px 12px; }

.home-page .hero-section { position: relative; min-height: 570px; display: flex; align-items: center; overflow: hidden; background: linear-gradient(90deg, rgba(7,13,45,.92), rgba(11,28,82,.72)), url('../images/hero-1.jpg') center/cover no-repeat; }
.home-page .hero-section::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 75% 50%, rgba(255,193,7,.13), transparent 34%); pointer-events: none; }
.home-page .hero-section .container { position: relative; z-index: 2; }
.home-page .hero-content { max-width: 820px; padding: 65px 0; }
.home-page .hero-content h5 { color: #ffc107; font-size: 16px; font-weight: 800; letter-spacing: 2px; margin-bottom: 15px; }
.home-page .hero-content h1 { color: #fff; font-size: clamp(38px, 5vw, 68px); line-height: 1.04; font-weight: 800; margin-bottom: 20px; max-width: 780px; }
.home-page .hero-content p { color: rgba(255,255,255,.9); font-size: 18px; line-height: 1.65; max-width: 720px; margin-bottom: 28px; }
.home-page .hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.home-page .hero-buttons .btn { border-radius: 7px; padding: 12px 18px; font-weight: 800; }
.home-page .prayer-btn { background: #173f9d; color: #fff; border: 1px solid rgba(255,255,255,.2); }

.home-page .content-section { overflow: hidden; }
.home-page .prayer-gallery-section { padding-top: 0; }
.home-page .prayer-card { border-radius: 14px; height: 100%; }
.home-page .prayer-card h2, .home-page .gallery-home-card h2 { font-weight: 800; }
.home-page .input-group-custom { margin-bottom: 12px; }
.home-page .prayer-card textarea { min-height: 125px; resize: vertical; }
.home-page .submit-prayer { width: 100%; }
.home-page .gallery-home-card { position: relative; min-height: 100%; overflow: hidden; border-radius: 14px; background: linear-gradient(135deg, rgba(9,20,68,.96), rgba(18,57,145,.88)), url('../images/gallery-1.jpg') center/cover no-repeat; display: flex; align-items: center; }
.home-page .gallery-home-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(5,12,44,.85), rgba(20,53,137,.62)); }
.home-page .gallery-home-content { position: relative; z-index: 2; color: #fff; padding: 42px; }
.home-page .gallery-home-content > span { color: #ffc107; font-size: 13px; font-weight: 800; letter-spacing: 1.6px; }
.home-page .gallery-home-content h2 { font-size: clamp(30px, 3vw, 44px); margin: 10px 0 15px; }
.home-page .gallery-home-content p { color: rgba(255,255,255,.9); line-height: 1.65; margin-bottom: 25px; }
.home-page .gallery-home-content .light-button { display: inline-flex; align-items: center; gap: 8px; }

@media (max-width: 1199.98px) {
  .main-header .nav-link { padding-left: 6px !important; padding-right: 6px !important; font-size: 11px; }
  .main-header .brand-name { font-size: 13px; }
  .main-header .brand-name small { font-size: 9px; }
}

@media (max-width: 991.98px) {
  .main-header .navbar-shell { padding-left: 18px; padding-right: 18px; }
  .main-header .navbar-collapse { background: rgba(8,14,38,.98); margin-top: 12px; padding: 12px; border-radius: 12px; }
  .main-header .navbar-nav { gap: 0; }
  .main-header .nav-link { padding: 11px 12px !important; }
  .home-page .hero-section { min-height: 520px; }
  .home-page .hero-content { padding: 55px 18px; }
  .home-page .hero-content p { font-size: 16px; }
  .home-page .gallery-home-card { min-height: 360px; }
}

@media (max-width: 575.98px) {
  .main-header .site-logo { width: 48px; height: 48px; flex-basis: 48px; }
  .main-header .brand-name { font-size: 11px; }
  .main-header .brand-name small { font-size: 8px; }
  .home-page .hero-section { min-height: 500px; }
  .home-page .hero-content h1 { font-size: 38px; }
  .home-page .hero-content p { font-size: 15px; }
  .home-page .hero-buttons .btn { width: 100%; }
  .home-page .gallery-home-content { padding: 32px 26px; }
}
