/* --- CSS VARIABLES & RESET --- */
:root {
    --primary-color: #0056b3;
    --secondary-color: #ff9800;
    --text-color: #333;
    --bg-light: #f4f7f6;
    --white: #ffffff;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
  }
  
  body {
    background-color: var(--bg-light);
    color: var(--text-color);
    line-height: 1.6;
  }
  
  /* --- HEADER & NAVIGATION --- */
  header {
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  header h1 {
    font-size: 1.5rem;
    letter-spacing: 1px;
  }
  
  nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
    align-items: center;
  }
  
  /* logo */
  /* --- LOGO SETTINGS --- */
/* --- BRAND NAME (H1) STYLING --- */
.brand-name {
    font-size: 1.5rem;
    font-weight: 700; /* फॉन्ट को बोल्ड बनाने के लिए */
    color: #ffffff;
    margin: 0;
    letter-spacing: 0.5px;
    text-transform: uppercase; /* सभी अक्षरों को Capital में दिखाने के लिए */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4); /* हल्का सा 3D शैडो इफ़ेक्ट */
    line-height: 1.2;
  }
  
  /* 'KDS' शब्द को गोल्डन हाईलाइट देने के लिए */
  .highlight-text {
    color: #ffcc00; /* गोल्डन/पीला रंग */
    font-size: 1.8rem; /* KDS को बाकी नाम से थोड़ा बड़ा दिखाने के लिए */
    font-weight: 800;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  }
  
  /* --- MOBILE RESPONSIVE FIX --- */
  @media (max-width: 768px) {
    .brand-name {
      font-size: 1rem; /* मोबाइल स्क्रीन पर फॉन्ट छोटा किया गया है */
      white-space: normal; /* नाम को 2 लाइन में एडजस्ट होने देगा */
    }
    
    .highlight-text {
      font-size: 1.2rem;
    }
  }
/* --- SOCIAL ICONS STYLING --- */
.social-icons {
  margin: 15px 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-icons a {
  color: #ddd;
  font-size: 28px;
  text-decoration: none;
  transition: transform 0.3s ease, color 0.3s ease;
}

/* Hover effect on icons */
.social-icons a:hover {
  color: var(--secondary-color); /* Turns orange on hover */
  transform: translateY(-5px); /* Moves icon slightly up */
}
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px; /* लोगो और टेक्स्ट के बीच की जगह */
  }
  
  .logo-container a {
    text-decoration: none;
    display: flex;
    align-items: center;
  }
  
  .nav-logo {
    height: 60px; /* आप अपने हिसाब से 50px या 70px कर सकते हैं */
    width: 60px;
    border-radius: 50%; /* लोगो को पूरी तरह गोल बनाने के लिए */
    object-fit: cover; /* इमेज को स्ट्रेच होने से रोकने के लिए */
    border: 2px solid #ff9800; /* लोगो के चारों ओर एक हल्की सी गोल्डन बॉर्डर (ऑप्शनल) */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
  }
  
  .nav-logo:hover {
    transform: scale(1.05); /* माउस ले जाने पर लोगो थोड़ा बड़ा होगा */
  }
  
  .logo-container h1 {
    font-size: 1.5rem;
    letter-spacing: 1px;
    color: white;
    margin: 0;
  }
  
  /* --- MOBILE RESPONSIVE FIX --- */
  @media (max-width: 768px) {
    .nav-logo {
      height: 50px; /* मोबाइल में लोगो थोड़ा छोटा दिखेगा */
      width: 50px;
    }
    
    .logo-container h1 {
      font-size: 1.1rem; /* मोबाइल में नाम का फॉन्ट छोटा किया गया है ताकि जगह बचे */
    }
  }
  nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
  }
  
  nav ul li a:hover {
    color: var(--secondary-color);
  }
  
  .nav-donate-btn {
    background-color: var(--secondary-color);
    padding: 8px 15px;
    border-radius: 5px;
  }
  
  .menu-btn {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
  }
  
  /* --- HERO SECTION --- */
  .hero {
    background: linear-gradient(rgba(0, 86, 179, 0.7), rgba(0, 0, 0, 0.8)),
      url("https://images.unsplash.com/photo-1524069290683-0457abfe42c3?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80")
        center/cover;
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
  }
  
  .hero h2 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }
  
  .hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin-bottom: 30px;
  }
  
  .btn {
    padding: 12px 30px;
    background-color: var(--secondary-color);
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 5px;
    transition: transform 0.3s;
  }
  .btn:hover {
    background-color: #e68a00;
    transform: translateY(-3px);
  }
  
  /* --- COMMON SECTIONS --- */
  .section-title {
    text-align: center;
    font-size: 2.2rem;
    margin: 50px 0 30px;
    color: var(--primary-color);
    position: relative;
  }
  
  .section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 10px auto 0;
  }
  
  .about {
    padding: 20px 5%;
    text-align: center;
    font-size: 1.1rem;
    max-width: 1000px;
    margin: auto;
  }
  
  /* --- CAUSES / CARDS --- */
  .card-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 0 5%;
    margin-bottom: 50px;
  }
  
  .card {
    background: var(--white);
    padding: 30px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 320px;
    text-align: center;
    transition: transform 0.3s;
  }
  
  .card:hover {
    transform: translateY(-10px);
  }
  
  .card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
  }
  
  /* --- GALLERY --- */
  .gallery-container {
    padding: 20px 5% 60px;
  }
  
  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
  }
  
  .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
  }
  
  .gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
  }
  
  .gallery-item:hover img {
    transform: scale(1.1);
  }
  
  .gallery-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 86, 179, 0.7);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
  }
  
  .gallery-item:hover .gallery-overlay {
    opacity: 1;
  }
  
  /* --- MODAL --- */
  .modal {
    display: none;
    position: fixed;
    z-index: 2000;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
  }
  
  .modal img {
    max-width: 90%;
    max-height: 80%;
    border: 5px solid var(--white);
    border-radius: 5px;
  }
  
  .close-btn {
    position: absolute;
    top: 20px;
    right: 40px;
    color: var(--white);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
  }
  
  /* --- DONATION PAGE CSS --- */
  .page-header {
    background-color: #004080;
    color: var(--white);
    text-align: center;
    padding: 40px 20px;
  }
  
  .donation-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 30px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  }
  
  .payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
  }
  
  .method-card {
    flex: 1;
    min-width: 300px;
    background: #f9fbff;
    border: 1px solid #cce0ff;
    border-radius: 10px;
    padding: 30px;
  }
  
  .detail-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #ccc;
  }
  
  .detail-label { font-size: 0.9rem; color: #666; }
  .detail-value { font-size: 1.1rem; color: #111; font-weight: 600; }
  
  .qr-box { text-align: center; margin: 20px 0; }
  .qr-box img { width: 180px; height: 180px; border: 2px solid var(--primary-color); border-radius: 8px; padding: 10px; background: var(--white); }
  .upi-id { text-align: center; font-size: 1.1rem; font-weight: bold; color: var(--primary-color); background: #e6f0ff; padding: 10px; border-radius: 5px; }
  
  /* --- FOOTER --- */
  footer {
    background-color: #222;
    color: #ddd;
    text-align: center;
    padding: 30px 20px;
    margin-top: 40px;
  }
  
  /* --- RESPONSIVE MEDIA QUERIES (MOBILE FIXES) --- */
  @media (max-width: 768px) {
    .menu-btn { display: block; }
    
    nav ul {
      display: none; /* By default hidden on mobile */
      flex-direction: column;
      width: 100%;
      background-color: var(--primary-color);
      position: absolute;
      top: 60px;
      left: 0;
      text-align: center;
      padding: 20px 0;
      box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
  
    nav ul.active { display: flex; } /* Toggle class adds flex */
  
    .hero h2 { font-size: 2.2rem; }
    .hero p { font-size: 1rem; }
    
    .donation-container {
      margin: 20px;
      padding: 20px;
    }
  }