/* assets/css/style.css - Custom Styling for Aryavart Sanatan Gauraksha Sansthan */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Tiro+Devanagari+Hindi:ital@0;1&display=swap');

:root {
  --primary-navy: #0d1b3a;
  --secondary-navy: #152238;
  --accent-red: #c82333;
  --accent-orange: #d9381e;
  --accent-green: #0d7a40;
  --accent-darkgreen: #064e3b;
  --accent-purple: #581c87;
  --text-dark: #1e293b;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --border-color: #e2e8f0;
  --font-main: 'Outfit', sans-serif;
  --font-hindi: 'Tiro Devanagari Hindi', serif;
}

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

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

/* --- Top Header Bar --- */
.top-bar {
  background-color: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
  padding: 6px 0;
  font-size: 0.88rem;
  color: #334155;
}

.top-bar .hindi-motto {
  font-family: var(--font-hindi);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent-orange);
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #ffffff;
  font-size: 0.85rem;
  margin-right: 6px;
}
.social-links a.fb { background-color: #1877f2; }
.social-links a.insta { background-color: #e4405f; }
.social-links a.yt { background-color: #ff0000; }
.social-links a.wa { background-color: #25d366; }

.top-bar .contact-phone {
  font-weight: 700;
  color: var(--primary-navy);
}

/* --- Main Branding Header --- */
.main-header {
  background: #ffffff;
  padding: 16px 0;
  border-bottom: 1px solid #e2e8f0;
}

.header-logo-img {
  max-height: 100px;
  width: auto;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.brand-title-main {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--primary-navy);
  line-height: 1.1;
}

.brand-title-sub {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent-orange);
  letter-spacing: 0.5px;
}

.brand-tagline {
  font-size: 0.95rem;
  font-weight: 600;
  color: #475569;
}

.header-contact-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.88rem;
  color: #334155;
}

.header-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.header-contact-item i {
  color: var(--accent-orange);
  font-size: 1rem;
  width: 18px;
}

/* Action CTA Buttons */
.cta-btn-group {
  display: flex;
  gap: 12px;
}

.cta-card-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: 8px;
  color: #ffffff !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-card-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
}

.cta-card-btn.volunteer {
  background: linear-gradient(135deg, #065f46 0%, #047857 100%);
}

.cta-card-btn.donate {
  background: linear-gradient(135deg, #c2410c 0%, #ea580c 100%);
}

.cta-card-btn.join-asgs {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

.cta-card-btn i {
  font-size: 1.8rem;
}

.cta-card-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.cta-card-text .title {
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.cta-card-text .subtitle {
  font-size: 0.78rem;
  font-weight: 500;
  opacity: 0.9;
}

/* --- Main Navigation Bar --- */
.main-navbar {
  background-color: var(--primary-navy);
  padding: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.nav-link-custom {
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.84rem;
  padding: 12px 10px !important;
  letter-spacing: 0.3px;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  transition: background-color 0.2s ease;
}

.nav-link-custom:hover {
  background-color: rgba(255, 255, 255, 0.12);
}

.nav-link-custom.active-home {
  background-color: var(--accent-orange);
}

/* Special Registration Badges in Nav */
.nav-badge-btn {
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  padding: 7px 10px !important;
  border-radius: 4px;
  margin: 3px 2px;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  color: #ffffff !important;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  transition: all 0.2s ease;
}

.nav-badge-btn.red { background-color: #c82333; }
.nav-badge-btn.green { background-color: #1e7e34; }
.nav-badge-btn.purple { background-color: #6f42c1; }
.nav-badge-btn.orange { background-color: #d97706; }

.nav-badge-btn:hover {
  filter: brightness(1.2);
  transform: translateY(-1px);
  color: #ffffff !important;
}

/* --- Hero Banner Section --- */
.hero-section {
  padding: 30px 0 20px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  text-align: center;
}

.hero-headline {
  font-size: 2.2rem;
  font-weight: 800;
  color: #991b1b;
  margin-bottom: 8px;
}

.hero-categories {
  font-size: 1.1rem;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 25px;
}

.hero-categories span {
  color: #b91c1c;
  padding: 0 6px;
}

/* --- Initiative Cards Grid --- */
.initiatives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  justify-content: center;
}

.initiative-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.initiative-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}

.card-img-wrapper {
  position: relative;
  height: 210px;
  background-color: #cbd5e1;
  overflow: hidden;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.initiative-card:hover .card-img-wrapper img {
  transform: scale(1.06);
}

.card-icon-badge {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-navy);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  border: 4px solid #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
  z-index: 2;
}

.card-body-content {
  padding: 32px 20px 22px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: center;
}

.card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 10px;
  line-height: 1.35;
  text-transform: uppercase;
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-desc {
  font-size: 0.88rem;
  color: #475569;
  margin-bottom: 20px;
  flex-grow: 1;
  line-height: 1.5;
}

.card-btn-action {
  align-self: center;
  padding: 10px 24px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  background-color: var(--primary-navy);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.card-btn-action:hover {
  background-color: var(--accent-orange);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* --- Impact Counter Banner --- */
.impact-banner-header {
  background-color: var(--accent-darkgreen);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 8px 8px 0 0;
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.impact-banner-header i {
  font-size: 1.3rem;
}

.impact-banner-header .tagline {
  font-weight: 400;
  opacity: 0.9;
  font-size: 0.9rem;
}

.impact-cards-container {
  background: #f1f5f9;
  padding: 20px;
  border-radius: 0 0 8px 8px;
  border: 1px solid #cbd5e1;
  border-top: none;
}

.impact-stat-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.04);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.2s ease;
}

.impact-stat-card:hover {
  transform: translateY(-3px);
}

.impact-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #ffffff;
  flex-shrink: 0;
}

.impact-text-box {
  text-align: left;
}

.impact-number {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1;
}

.impact-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569;
}

/* --- Core Values / Pillars Section --- */
.values-section {
  margin: 35px 0;
  width: 100%;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  width: 100%;
  justify-content: center;
}

@media (max-width: 1199px) {
  .values-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

.value-card {
  background-color: var(--primary-navy);
  color: #ffffff;
  border-radius: 10px;
  padding: 18px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 100%;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.value-card:hover {
  transform: translateY(-3px);
}

.value-icon {
  font-size: 1.5rem;
  color: #f59e0b;
  flex-shrink: 0;
}

.value-title {
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  margin-bottom: 3px;
  line-height: 1.25;
}

.value-desc {
  font-size: 0.75rem;
  opacity: 0.88;
  line-height: 1.25;
}

.donate-accent-card {
  background: linear-gradient(135deg, #047857 0%, #065f46 100%);
  color: #ffffff;
  border-radius: 10px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  transition: transform 0.2s ease;
}

.donate-accent-card:hover {
  transform: translateY(-3px);
}

.donate-accent-card .text {
  font-weight: 800;
  font-size: 0.85rem;
  line-height: 1.2;
  margin-bottom: 8px;
}

.donate-accent-card .btn-donate-now {
  background-color: var(--accent-orange);
  color: #ffffff !important;
  padding: 7px 12px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  white-space: nowrap;
}

/* --- About Page Specific Layout --- */
.about-section-header {
  text-align: left;
  margin-bottom: 16px;
}

.about-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-subtitle {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 12px;
}

.about-text {
  font-size: 0.95rem;
  color: #334155;
  margin-bottom: 12px;
  line-height: 1.6;
}

/* Registration Details Card (CIN/PAN/TAN) */
.reg-details-card {
  background: #ffffff;
  border: 2px solid #1e40af;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.reg-card-header {
  background-color: #1e3a8a;
  color: #ffffff;
  padding: 10px 16px;
  font-weight: 800;
  font-size: 0.95rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.reg-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reg-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  padding: 10px 14px;
  border-radius: 6px;
}

.reg-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background-color: var(--accent-orange);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.reg-info {
  display: flex;
  flex-direction: column;
}

.reg-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
}

.reg-value {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-navy);
  font-family: monospace;
}

/* Vision & Mission Cards */
.vision-box {
  background: #eff6ff;
  border-left: 5px solid #1d4ed8;
  border-radius: 8px;
  padding: 20px;
  height: 100%;
}

.mission-box {
  background: #f0fdf4;
  border-left: 5px solid #15803d;
  border-radius: 8px;
  padding: 20px;
  height: 100%;
}

.box-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.vision-box .box-title { color: #1e40af; }
.mission-box .box-title { color: #166534; }

.mission-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
  color: #1e293b;
}

.mission-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.mission-list li i {
  color: #16a34a;
  font-size: 1rem;
  margin-top: 3px;
}

.middle-motto-bar {
  background-color: var(--primary-navy);
  color: #ffffff;
  padding: 12px;
  border-radius: 6px;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.5px;
  margin: 20px 0;
}

/* --- Footer Bar --- */
.main-footer {
  background-color: #0a1128;
  color: #cbd5e1;
  padding: 30px 0 15px 0;
  margin-top: 40px;
  font-size: 0.88rem;
}

.footer-brand {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.footer-contact-item i {
  color: var(--accent-orange);
  font-size: 1rem;
  margin-top: 3px;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
  margin-top: 20px;
  font-size: 0.8rem;
  color: #94a3b8;
}

/* --- Responsive Helpers --- */
@media (max-width: 991px) {
  .brand-title-main { font-size: 1.7rem; }
  .brand-title-sub { font-size: 1.1rem; }
  .cta-btn-group { flex-direction: column; width: 100%; }
  .header-contact-box { margin-bottom: 10px; }
  .initiatives-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
  .brand-title-main { font-size: 1.4rem; }
  .initiatives-grid { grid-template-columns: 1fr; }
  .top-bar .hindi-motto { font-size: 0.9rem; }
}
