/* style.css for Dr. Bhimrao Ambedkar Foundation */
:root {
  --primary-color: #1e3a8a;
  --secondary-color: #f59e0b;
  --accent-color: #dc2626;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #f8fafc;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

/* Top Strip */
.top-strip {
  background: linear-gradient(135deg, var(--primary-color), #2563eb);
  color: white;
  padding: 8px 0;
  font-size: 14px;
}

.top-strip a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
  transition: color 0.3s;
}

.top-strip a:hover {
  color: var(--secondary-color);
}

/* Header */
.header-main {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  /*adding: 20px 0;*/
  padding-top: 20px;
}

.org-logo {
  width: 130px;
  height: 130px;
  /* background: var(--primary-color); */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 24px;
  font-weight: bold;
}

.sacred-words {
  display: flex;
  justify-content: space-between;
  margin: 15px 0;
  font-weight: 600;
}

.sacred-word {
  color: var(--accent-color);
  font-size: 18px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.org-name {
  text-align: center;
}

.org-name-en {
  font-size: 28px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.org-name-hi {
  font-family: "Devanagari Sangam MN", serif;
  font-size: 22px;
  color: var(--accent-color);
  margin-bottom: 5px;
}

.reg-number {
  font-size: 14px;
  color: var(--text-light);
}

/* Navigation */

.navbar-custom {
  background: linear-gradient(135deg, var(--primary-color), #1e40af);
  padding: 15px 0;
  margin-top: 20px;
  position: relative;
  border-bottom: 2px solid #ffe000;
}

.navbar-toggle {
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 8px 12px;
  margin-bottom: 10px;
  display: none;
  position: absolute;
  left: 0;
  top: 10px;
  z-index: 10;
}

.navbar-toggle-icon {
  display: block;
  width: 28px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  position: relative;
}
.navbar-toggle-icon::before,
.navbar-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 28px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}
.navbar-toggle-icon::before {
  top: -9px;
}
.navbar-toggle-icon::after {
  top: 9px;
}

.nav-links-wrapper {
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 768px) {
  .navbar-toggle {
    display: block;
  }
  .nav-links-wrapper {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    background: linear-gradient(135deg, var(--primary-color), #1e40af);
    border-radius: 0 0 20px 20px;
    margin-top: 10px;
  }
  .nav-links-wrapper.open {
    max-height: 500px;
    opacity: 1;
    padding-bottom: 10px;
  }
  .nav-link-custom {
    display: block;
    margin: 10px 0;
    padding: 12px 0 !important;
    width: 100%;
    border-radius: 0;
  }
}

.nav-link-custom {
  color: white !important;
  font-weight: 500;
  padding: 12px 20px !important;
  margin: 0 5px;
  border-radius: 25px;
  transition: all 0.3s;
  text-transform: uppercase;
  font-size: 14px;
}

.nav-link-custom:hover,
.nav-link-custom.active {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.donate-btn {
  background: var(--accent-color) !important;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Hero Slider */
.hero-slider {
  height: 600px;
  background: linear-gradient(135deg, var(--primary-color), #2563eb);
  display: flex;
  align-items: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.carousel-inner,
.carousel-item,
.carousel-item img {
  height: 600px;
}

.carousel-item img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-content {
  z-index: 2;
  position: relative;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
  font-size: 20px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="200" cy="200" r="100" fill="rgba(255,255,255,0.1)"/><circle cx="800" cy="300" r="150" fill="rgba(255,255,255,0.05)"/><circle cx="400" cy="700" r="80" fill="rgba(255,255,255,0.1)"/></svg>');
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--secondary-color);
  border-radius: 2px;
}

/* About Section */
.about-section {
  background: var(--bg-light);
}

.about-content {
  font-size: 16px;
  line-height: 1.8;
  text-align: justify;
}

/* Donate Button */
.donate-section {
  background: linear-gradient(135deg, var(--accent-color), #dc2626);
  color: white;
  text-align: center;
  padding: 60px 0;
}

.donate-btn-large {
  background: white;
  color: var(--accent-color);
  padding: 15px 40px;
  font-size: 20px;
  font-weight: 600;
  border: none;
  border-radius: 50px;
  transition: all 0.3s;
  text-transform: uppercase;
}

.donate-btn-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Leadership Section */
.leadership-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  margin-bottom: 30px;
}

.leadership-card:hover {
  transform: translateY(-10px);
}

.leader-avatar {
  width: 120px;
  height: 120px;
  background: var(--primary-color);
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 48px;
}

.leader-name {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.leader-title {
  color: var(--text-light);
  font-style: italic;
}

/* Services Section */
.services-section {
  background: var(--bg-light);
}

.service-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 32px;
}

.service-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* Gallery Section */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  height: 250px;
  display: flex;
  align-items: stretch;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Contact Section */
.contact-section {
  background: var(--bg-light);
}

.contact-info {
  background: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-right: 15px;
}

/* Map */
.map-container {
  height: 300px;
  background: #e5e7eb;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 18px;
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 50px 0 0;
}

.footer-section h5 {
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.footer-section p,
.footer-section a {
  color: #d1d5db;
  margin-bottom: 10px;
  text-decoration: none;
}

.footer-section a:hover {
  color: var(--secondary-color);
}

.footer-bottom {
  background: #111827;
  padding: 20px 0;
  margin-top: 40px;
  text-align: center;
  color: #9ca3af;
}

/* Responsive */
@media (max-width: 768px) {
  .top-strip {
    text-align: center;
  }
  .sacred-words {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .org-name-en {
    font-size: 24px;
  }
  .org-name-hi {
    font-size: 18px;
  }
  .hero-title {
    font-size: 32px;
  }
  .hero-subtitle {
    font-size: 16px;
  }
  .section-title {
    font-size: 28px;
  }
  .navbar-custom {
    text-align: center;
  }
  .nav-link-custom {
    display: inline-block;
    margin: 5px;
  }
  .contact-info {
    text-align: center;
  }
  .footer-section {
    text-align: center;
    margin-bottom: 30px;
  }
  /* Center logo in mobile view */
  .org-logo {
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex !important;
    justify-content: center !important;
  }
}
