/* assets/css/style.css */
:root {
  --primary: #ff9933; /* Saffron */
  --primary-dark: #e68a2e;
  --secondary: #138808; /* Light Green */
  --secondary-dark: #0f6c06;
  --bg-color: #fbfbfb;
  --white: #ffffff;
  --text-dark: #2c3e50;
  --text-light: #555555;
  --border-color: #e2e8f0;
  --font-heading: "Poppins", sans-serif;
  --font-body: "Mukta", sans-serif;
  --shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg:
    0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --transition: all 0.3s ease;
  --border-radius: 8px;
}

/* Base Safari */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-color);
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
}
a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--transition);
}
.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-secondary {
  background-color: var(--secondary);
  color: var(--white);
}
.btn-secondary:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}
.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

/* Header & Nav */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--white);
  box-shadow: var(--shadow);
}
.top-bar {
  background-color: var(--primary);
  color: var(--white);
  padding: 12px 0;
  font-size: 1.15rem;
  font-weight: 500;
}
.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar .contact-info span {
  margin-right: 15px;
}
.lang-toggle a {
  color: var(--white);
  opacity: 0.8;
  margin: 0 5px;
}
.lang-toggle a.active {
  opacity: 1;
  font-weight: bold;
  text-decoration: underline;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}
.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-links a {
  font-weight: 500;
  color: var(--text-dark);
}
.nav-links a:hover {
  color: var(--primary);
}
.btn-donate {
  background-color: var(--secondary);
  color: var(--white) !important;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(19, 136, 8, 0.3);
}
.btn-donate:hover {
  background-color: var(--secondary-dark);
  transform: scale(1.05);
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 5px;
}
.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-dark);
  transition: var(--transition);
}

/* Footer */
.main-footer {
  background-color: var(--text-dark);
  color: var(--white);
  padding-top: 50px;
  margin-top: 60px;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}
.footer-col h3 {
  color: var(--primary);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--secondary);
}
.footer-col p {
  margin-bottom: 10px;
  opacity: 0.8;
}
.quick-links ul li {
  margin-bottom: 10px;
}
.quick-links ul li a {
  opacity: 0.8;
}
.quick-links ul li a:hover {
  opacity: 1;
  color: var(--primary);
  padding-left: 5px;
}
.helpline-number {
  color: var(--white);
  font-size: 2rem;
  margin: 10px 0 20px 0;
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  background-color: #25d366;
  color: white;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: bold;
}
.btn-whatsapp:hover {
  background-color: #128c7e;
  color: white;
  transform: translateY(-2px);
}
.footer-bottom {
  background-color: rgba(0, 0, 0, 0.2);
  text-align: center;
  padding: 20px;
  margin-top: 20px;
  opacity: 0.8;
  font-size: 0.9rem;
}

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  transition: var(--transition);
}
.floating-whatsapp img {
  width: 35px;
  height: 35px;
}
.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
}

/* Responsive */
@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
    gap: 15px;
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    transition: clip-path 0.3s ease;
  }
  .nav-links.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  }
  .hide-mobile {
    display: none;
  }
}

/* Utility layout extensions */
.section-padding {
  padding: 60px 0;
}
.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 40px;
  color: var(--text-dark);
  position: relative;
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary);
}
.section-title span {
  color: var(--secondary);
}
.text-center {
  text-align: center;
}
.card {
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

/* Index / Page specific Styles */
.hero-section {
    background-color: var(--secondary-dark); /* fallback */
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/hero_bg.jpg');
    background-size: cover;
    background-position: center;
    color: var(--white);
    padding: 120px 20px;
}
.hero-title { font-size: 3.5rem; margin-bottom: 20px; }
.hero-subtitle { font-size: 1.3rem; margin-bottom: 40px; opacity: 0.9; max-width: 800px; margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; gap: 20px; justify-content: center; }
.btn-outline-white { background-color: transparent; border: 2px solid var(--white); color: var(--white); }
.btn-outline-white:hover { background-color: var(--white); color: var(--text-dark); }
.btn-large { padding: 15px 35px; font-size: 1.1rem; border-radius: 30px; }
.mt-3 { margin-top: 15px; }

.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: -60px; position: relative; z-index: 10; padding-bottom: 20px;}
.stat-card { padding: 40px 20px; border-top: 4px solid var(--primary); }
.stat-card h3 { font-size: 3rem; color: var(--primary); margin-bottom: 10px; font-family: var(--font-heading); }

@media (max-width: 768px) {
    .hero-title { font-size: 2.2rem; }
    .hero-actions { flex-direction: column; }
    .about-grid { grid-template-columns: 1fr !important; }
}
