/* css/style.css - General Styles for All Pages */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f4f4f4;
}

.main-nav {
    background: #007bff;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo a {
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-links li a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.nav-links li a:hover, .nav-links li a.active {
    color: #ffd700;
}

/* Hero Section */
.hero {
    padding: 5rem 2rem 6rem;
    text-align: center;
    background: linear-gradient(135deg, #e0f7fa, #ffffff);
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 60px; /* To avoid overlap with fixed navbar */
}

.hero-text {
    padding: 2rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-text h2 {
    font-size: 2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.hero-tagline {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-style: italic;
}

.btn-group {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

/* Info Cards Section */
.info-section {
    padding: 4rem 2rem;
    background: #fff;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    justify-content: center;
}

.card {
    background: linear-gradient(45deg, #f5f5f5, #ffffff);
    padding: 2rem;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

.card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #007bff;
}

.card p {
    font-size: 1.1rem;
    color: #666;
}

/* CTA Sections */
.cta-container {
    padding: 4rem 2rem;
    background: #f9f9f9;
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    gap: 2rem;
    flex-wrap: wrap;
}

.cta {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    text-align: center;
    flex: 1;
    min-width: 300px;
    transition: 0.3s;
}

.cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #007bff;
}

.cta p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1.5rem;
}

/* Additional Sections (Unchanged) */
.about-hero {
    background-color: #ffeb3b;
    color: #fff;
}

.sjaf-hero {
    background-color: #9c27b0;
    color: #fff;
}

.btn {
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 10px;
    transition: 0.3s;
    font-weight: 600;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.btn-explore {
    background: #00bcd4;
    color: #fff;
}

.btn-explore:hover {
    background: #00acc1;
}

.btn-donate {
    background: #4caf50;
    color: #fff;
}

.btn-donate:hover {
    background: #45a049;
}

.btn-join {
    background: #9c27b0;
    color: #fff;
}

.btn-join:hover {
    background: #8e24aa;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.about-section {
    padding: 4rem 2rem;
    background: #fff;
    text-align: center;
}

.about-section .section-title {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 2rem;
    font-weight: 700;
}

.about-content {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

.team-section {
    padding: 4rem 2rem;
    background: #fff;
}

.section-title {
    font-size: 2.5rem;
    color: #007bff;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
}

.team-block {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    justify-content: center;
}

.team-card {
    background: linear-gradient(45deg, #f5f5f5, #ffffff);
    padding: 2rem;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: 0.3s;
}

.team-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.team-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.team-card p {
    font-size: 1.1rem;
    color: #666;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

.series-section {
    padding: 4rem 2rem;
    background: #fff;
}

.series-block {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.series-card {
    background: linear-gradient(45deg, #f5f5f5, #ffffff);
    padding: 2rem;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: 0.3s;
    text-decoration: none;
    color: #333;
    display: block;
}

.series-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

.volunteer-section {
    padding: 4rem 2rem;
    background: #fff;
}

.volunteer-block {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.volunteer-card {
    background: linear-gradient(45deg, #f5f5f5, #ffffff);
    padding: 2rem;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: 0.3s;
    text-decoration: none;
    color: #333;
    display: block;
}

.volunteer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

.volunteer-form-section {
    padding: 4rem 2rem;
    background: #fff;
}

.volunteer-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.volunteer-form input,
.volunteer-form select,
.volunteer-form textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.volunteer-form button {
    margin-top: 1rem;
}

.donate-section {
    padding: 4rem 2rem;
    background: #fff;
    text-align: center;
}

.donate-content {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.donate-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.donate-card {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: 0.3s;
    text-align: center;
}

.donate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

.qr-code {
    width: 150px;
    height: 150px;
    margin: 1rem auto;
}

.donate-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 300px;
    margin: 0 auto;
}

.donate-form input {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.blogs-section {
    padding: 4rem 2rem;
    background: #fff;
}

.blog-block {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.blog-card {
    background: linear-gradient(45deg, #f5f5f5, #ffffff);
    padding: 2rem;
    text-align: center;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: 0.3s;
}

.blog-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

.why-join-section {
    padding: 4rem 2rem;
    background: #fff;
}

.join-list {
    list-style: none;
    display: grid;
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: #f9f9f9;
    border-radius: 10px;
}

.join-list li {
    font-size: 1.2rem;
    color: #333;
    padding: 0.5rem;
}

.join-form-section {
    padding: 4rem 2rem;
    background: #fff;
}

.join-form {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.join-form label {
    font-size: 1.1rem;
    color: #333;
}

.join-form input,
.join-form select,
.join-form textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.join-form button {
    margin-top: 1rem;
}

.link-section {
    padding: 2rem;
    text-align: center;
    background: #f4f4f4;
}

.link-section .btn {
    margin: 0 1rem;
}

footer {
    background: #f4f4f4;
    color: #333;
    padding: 1.5rem 0;
    margin-top: 2rem;
    border-top: 2px solid #ddd;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer-grid h4 {
    margin-bottom: 0.8rem;
    font-weight: 600;
}

.footer-grid a {
    color: #666;
    text-decoration: none;
    display: block;
    margin-bottom: 0.3rem;
}

.footer-grid a:hover {
    color: #007bff;
}

.social-icons-container {
    text-align: center;
    margin-top: 1.5rem;
}

.whatsapp-icon {
    margin-bottom: 1.5rem;
}

.whatsapp-icon a {
    color: #25d366;
    font-size: 2.5rem;
    transition: 0.3s;
}

.whatsapp-icon a:hover {
    color: #1da851;
}

.other-social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.other-social-icons .fab.fa-facebook-f { color: #3b5998; }
.other-social-icons .fab.fa-x-twitter { color: #1da1f2; }
.other-social-icons .fab.fa-instagram { color: #e1306c; }
.other-social-icons .fab.fa-linkedin-in { color: #0077b5; }
.other-social-icons .fab.fa-youtube { color: #ff0000; }
.other-social-icons .fab.fa-whatsapp { color: #25d366; }

.other-social-icons a:hover {
    opacity: 0.8;
}

/* Enhanced Media Queries for Cross-Device Compatibility (Style Unchanged) */
@media (max-width: 320px) { /* Small Mobile */
    .hero {
        padding: 2rem 0.5rem 3rem;
        min-height: 350px;
        margin-top: 50px;
    }
    .hero-text h1 { font-size: 2rem; }
    .hero-text h2 { font-size: 1.2rem; }
    .btn-group { flex-direction: column; gap: 0.8rem; }
    .info-section, .series-block, .volunteer-block, .blog-block, .donate-options {
        grid-template-columns: 1fr;
    }
    .cta-container { flex-direction: column; gap: 1rem; }
    .cta { min-width: 100%; padding: 1rem; }
    .about-content, .donate-content { max-width: 100%; }
}

@media (max-width: 480px) { /* Medium Mobile */
    .hero {
        padding: 2.5rem 1rem 3.5rem;
        min-height: 400px;
        margin-top: 50px;
    }
    .hero-text h1 { font-size: 2.2rem; }
    .hero-text h2 { font-size: 1.4rem; }
    .btn-group { flex-direction: column; gap: 1rem; }
    .info-section, .series-block, .volunteer-block, .blog-block, .donate-options {
        grid-template-columns: 1fr;
    }
    .cta-container { flex-direction: column; gap: 1.5rem; }
    .cta { min-width: 100%; padding: 1.2rem; }
    .about-content, .donate-content { max-width: 100%; }
}

@media (max-width: 768px) { /* Tablets */
    .main-nav {
        flex-direction: column;
        padding: 1rem;
    }
    .nav-links {
        display: none;
        width: 100%;
        text-align: center;
        margin-top: 1rem;
    }
    .nav-links.active {
        display: flex;
        flex-direction: column;
    }
    .hero {
        padding: 3rem 1rem 4rem;
        min-height: 400px;
        margin-top: 50px;
    }
    .hero-text h1 { font-size: 2.5rem; }
    .hero-text h2 { font-size: 1.5rem; }
    .info-section, .series-block, .volunteer-block, .blog-block, .donate-options {
        grid-template-columns: 1fr;
    }
    .about-content, .donate-content { max-width: 100%; }
    .cta-container {
        flex-direction: column;
        gap: 2rem;
    }
    .cta {
        padding: 1.5rem;
        min-width: 100%;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .social-icons-container {
        flex-direction: column;
        align-items: center;
    }
    .whatsapp-icon { margin-bottom: 1rem; }
    .other-social-icons { gap: 1.5rem; }
    .link-section .btn { margin: 0.5rem 0; }
}

@media (max-width: 1024px) { /* Large Tablets/Desktops */
    .hero {
        padding: 4rem 1.5rem 5rem;
        min-height: 450px;
        margin-top: 60px;
    }
    .hero-text h1 { font-size: 3.5rem; }
    .hero-text h2 { font-size: 1.8rem; }
    .info-section, .series-block, .volunteer-block, .blog-block, .donate-options {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .cta-container { gap: 1.5rem; }
    .cta { min-width: 280px; }
}
/* Additional Styles for Hamburger Menu (No Change to Existing Styles) */
.nav-toggle {
    display: none; /* Hidden by default on desktop */
  }
  
  .hamburger {
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    padding: 0.5rem;
  }
  
  .nav-links {
    display: flex; /* Default flex behavior from existing CSS */
  }
  
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px; /* Matches navbar height */
    left: 0;
    width: 200px;
    background: #007bff; /* Matches navbar background */
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
 /* Layout Adjustment for Mobile Only (Logo on Left, Hamburger on Right) */
@media (max-width: 768px) {
    .main-nav {
      display: flex; /* Ensure flex is set */
      flex-direction: row; /* Explicitly set to horizontal */
      justify-content: space-between; /* Logo on left, hamburger on right */
      align-items: center; /* Vertically center items */
      width: 100%; /* Full width */
      padding: 1rem; /* Adjust padding for mobile */
    }
    .logo {
      order: 1; /* Logo on left */
      display: none; /* Hidden on mobile */
    }
    .nav-toggle {
      order: 2; /* Hamburger on right */
    }
    .nav-links {
      display: none; /* Ensure links are hidden by default */
    }
    .nav-links.active {
      display: flex; /* Show links when active */
    }
  }