/* ==============================================================================
   International Human Rights & Peace Development Association
   अंतर्राष्ट्रीय मानव अधिकार शांति विकास संघ
   Custom Styling & Design Tokens
   ============================================================================== */

:root {
  --navy-dark: #0a192f;
  --navy-medium: #112240;
  --navy-light: #1f3a60;
  --gold-primary: #d4af37;
  --gold-light: #f3cf65;
  --gold-dark: #aa841d;
  --orange-accent: #f59e0b;
  --emerald-accent: #10b981;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --border-subtle: rgba(212, 175, 55, 0.2);
  --shadow-soft: 0 10px 30px rgba(10, 25, 47, 0.08);
  --shadow-hover: 0 20px 40px rgba(10, 25, 47, 0.16);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden !important;
  max-width: 100vw;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-light);
  overflow-x: hidden !important;
  max-width: 100vw;
  width: 100%;
  position: relative;
  line-height: 1.65;
}

.container, .container-fluid {
  max-width: 100%;
  overflow-x: hidden;
}

/* Prevent AOS horizontal translation causing mobile scrollbar overflow */
@media (max-width: 991px) {
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--navy-dark);
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Sub-page Header Banner with Background Image */
.page-header-banner {
  background: linear-gradient(135deg, rgba(10, 25, 47, 0.88) 0%, rgba(17, 34, 64, 0.85) 50%, rgba(10, 25, 47, 0.92) 100%), url('../img/hero-1.jpg') center/cover no-repeat;
  border-bottom: 3px solid var(--gold-primary);
  padding: 65px 0;
  position: relative;
  overflow: hidden;
  color: #ffffff;
  text-align: center;
}

.page-header-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* ==============================================================================
   TOPBAR
   ============================================================================== */
.topbar {
  background-color: var(--navy-dark);
  color: #cbd5e1;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}

.topbar a {
  color: #e2e8f0;
  text-decoration: none;
  transition: var(--transition);
}

.topbar a:hover {
  color: var(--gold-light);
}

.badge-govt-reg {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

/* ==============================================================================
   NAVBAR
   ============================================================================== */
.navbar-main {
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding: 12px 0;
  transition: var(--transition);
}

.navbar-brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-primary);
  box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

.brand-title-en {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1.2;
  letter-spacing: -0.2px;
}

.brand-title-hi {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold-dark);
  display: block;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy-dark) !important;
  padding: 8px 16px !important;
  border-radius: 8px;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-dark) !important;
  background-color: rgba(212, 175, 55, 0.08);
}

.btn-cta-gold {
  background: linear-gradient(135deg, var(--gold-primary), #e6b800);
  color: var(--navy-dark) !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 22px;
  border-radius: 50px;
  border: none;
  box-shadow: 0 6px 15px rgba(212, 175, 55, 0.35);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-cta-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(212, 175, 55, 0.5);
  color: #000 !important;
}

.btn-cta-navy {
  background: var(--navy-dark);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 22px;
  border-radius: 50px;
  border: 1px solid var(--gold-primary);
  box-shadow: 0 6px 15px rgba(10, 25, 47, 0.25);
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-cta-navy:hover {
  background: var(--navy-medium);
  color: var(--gold-light) !important;
  transform: translateY(-2px);
}

/* ==============================================================================
   HERO CAROUSEL & SLIDER
   ============================================================================== */
.hero-slider-section {
  position: relative;
  background: var(--navy-dark);
}

.hero-slide-item {
  min-height: 85vh;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-slide-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, rgba(10, 25, 47, 0.88) 0%, rgba(17, 34, 64, 0.82) 50%, rgba(10, 25, 47, 0.92) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.2);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-title .text-gold {
  color: var(--gold-light);
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.hero-desc {
  font-size: 1.15rem;
  color: #e2e8f0;
  margin-bottom: 30px;
  max-width: 750px;
}

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  background: rgba(10, 25, 47, 0.75);
  border: 1.5px solid var(--gold-primary);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.85;
  transition: var(--transition);
  z-index: 10;
}

.carousel-control-prev {
  left: 25px;
}

.carousel-control-next {
  right: 25px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: var(--gold-primary);
  opacity: 1;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 20px;
  height: 20px;
}

@media (max-width: 768px) {
  .carousel-control-prev,
  .carousel-control-next {
    width: 40px;
    height: 40px;
  }
  .carousel-control-prev {
    left: 10px;
  }
  .carousel-control-next {
    right: 10px;
  }
}

/* ==============================================================================
   STATS BAR & ACCREDITATION BANNER
   ============================================================================== */
.stats-banner {
  background: linear-gradient(135deg, #0a192f, #112240);
  border-top: 3px solid var(--gold-primary);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  color: #ffffff;
  padding: 35px 0;
  position: relative;
  z-index: 5;
}

.stat-box {
  text-align: center;
  padding: 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-box:last-child {
  border-right: none;
}

.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 0.9rem;
  color: #cbd5e1;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==============================================================================
   SECTION HEADERS
   ============================================================================== */
.section-subtitle {
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-dark);
  display: inline-block;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto;
}

/* ==============================================================================
   ABOUT SECTION & BADGES
   ============================================================================== */
.about-img-box {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  border: 3px solid rgba(212, 175, 55, 0.3);
}

.about-badge-floating {
  position: absolute;
  bottom: 25px;
  right: 25px;
  background: rgba(10, 25, 47, 0.92);
  backdrop-filter: blur(10px);
  border: 2px solid var(--gold-primary);
  color: #fff;
  padding: 15px 22px;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.badge-legal-pill {
  background: #f1f5f9;
  border-left: 4px solid var(--gold-primary);
  padding: 12px 18px;
  border-radius: 8px;
  margin-bottom: 14px;
}

/* ==============================================================================
   PROGRAMS / INITIATIVES / CAUSES (CARD GRID)
   ============================================================================== */
.initiative-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 1px solid #e2e8f0;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.initiative-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold-primary);
}

.initiative-img-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.initiative-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.initiative-card:hover .initiative-img-wrap img {
  transform: scale(1.08);
}

.initiative-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: rgba(10, 25, 47, 0.85);
  backdrop-filter: blur(6px);
  color: var(--gold-light);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 30px;
  border: 1px solid var(--gold-primary);
}

.initiative-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.initiative-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 10px;
}

.initiative-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.initiative-footer {
  border-top: 1px solid #f1f5f9;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==============================================================================
   WHY CHOOSE US / LEGAL ACCREDITATIONS
   ============================================================================== */
.feature-box {
  background: #ffffff;
  padding: 30px 24px;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  height: 100%;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold-primary);
}

.feature-icon-circle {
  width: 65px;
  height: 65px;
  border-radius: 16px;
  background: rgba(212, 175, 55, 0.12);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin-bottom: 20px;
  border: 1px solid var(--border-subtle);
}

/* ==============================================================================
   GALLERY & CERTIFICATES MODAL
   ============================================================================== */
.gallery-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.gallery-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-card:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 25, 47, 0.9) 0%, rgba(10, 25, 47, 0.2) 100%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
  opacity: 1;
}

/* ==============================================================================
   FOOTER & ATTRIBUTION BAR
   ============================================================================== */
.footer-main {
  background: var(--navy-dark);
  color: #cbd5e1;
  padding-top: 60px;
  border-top: 4px solid var(--gold-primary);
}

.footer-heading {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gold-primary);
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--gold-light);
  transform: translateX(4px);
}

.footer-bottom-bar {
  background: #060e1b;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  font-size: 0.88rem;
  color: #94a3b8;
}

.humans-it-link {
  color: var(--gold-light);
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
}

.humans-it-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* ==============================================================================
   FLOATING ACTION BUTTONS
   ============================================================================== */
.floating-actions-wrap {
  position: fixed;
  bottom: 25px;
  right: 25px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.fab-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  transition: var(--transition);
}

.fab-whatsapp {
  background: #25d366;
}

.fab-whatsapp:hover {
  background: #20ba59;
  transform: scale(1.1);
  color: #fff;
}

.fab-call {
  background: #0284c7;
}

.fab-call:hover {
  background: #0369a1;
  transform: scale(1.1);
  color: #fff;
}

.fab-top {
  background: var(--navy-medium);
  border: 1px solid var(--gold-primary);
  color: var(--gold-light);
  opacity: 0;
  visibility: hidden;
}

.fab-top.show {
  opacity: 1;
  visibility: visible;
}

.fab-top:hover {
  background: var(--gold-primary);
  color: var(--navy-dark);
  transform: scale(1.1);
}

/* ==============================================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================================== */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .stat-box {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .stat-box:last-child {
    border-bottom: none;
  }
  .navbar-collapse {
    background: #ffffff;
    padding: 15px;
    border-radius: 12px;
    margin-top: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
}

@media (max-width: 576px) {
  .navbar-main {
    padding: 8px 0;
  }
  .navbar-brand-wrapper {
    max-width: calc(100% - 55px);
    gap: 8px;
  }
  .brand-logo-img {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
  }
  .brand-title-en {
    font-size: 0.78rem;
    line-height: 1.15;
    white-space: normal;
  }
  .brand-title-hi {
    font-size: 0.65rem;
    line-height: 1.15;
  }
  .hero-slide-item {
    min-height: 70vh;
    padding: 30px 0;
  }
  .hero-badge {
    font-size: 0.7rem;
    padding: 4px 10px;
    margin-bottom: 12px;
  }
  .hero-title {
    font-size: 1.65rem !important;
    line-height: 1.25;
    margin-bottom: 12px;
  }
  .hero-desc {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }
  .btn-cta-gold, .btn-cta-navy {
    font-size: 0.82rem;
    padding: 8px 16px;
    width: 100%;
    justify-content: center;
  }
  .stat-box {
    padding: 8px 4px;
  }
  .stat-number {
    font-size: 1.6rem;
  }
  .stat-label {
    font-size: 0.7rem;
  }
  .section-title {
    font-size: 1.7rem;
  }
  .page-header-banner {
    padding: 45px 0;
  }
  .page-header-banner .hero-title {
    font-size: 1.75rem !important;
  }
  .floating-actions-wrap {
    bottom: 15px;
    right: 15px;
    gap: 8px;
  }
  .fab-btn {
    width: 46px;
    height: 46px;
    font-size: 18px;
  }
}

