/* Import a cleaner font for modern look */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

:root {
    /* APV Colors */
    --color-primary-blue: #007bff; /* Main Blue */
    --color-secondary-black: #212529; /* Black/Dark text */
    --color-accent-red: #dc3545; /* Small Red highlight */
    
    /* General Colors */
    --color-white: #ffffff;
    --color-light-gray: #f8f9fa;
    --color-dark-gray: #6c757d;
    --color-medium-gray: #e9ecef;
}

/* === BASE STYLES === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/*
 * STICKY FOOTER LAYOUT
 * Pushes the footer to the bottom of the viewport on short pages.
 */


main {
    /* 3. This element expands to fill all available vertical space, 
       pushing the <footer> down below it. */
    flex-grow: 1;
    /* Optional: Add some padding to the main content area */
    /* padding-bottom: 20px; */ 
}
/* --- STICKY FOOTER LAYOUT (in style.css) --- */



body {
    font-family: 'Poppins', sans-serif;
    color: var(--color-secondary-black);
    line-height: 1.6;
    background-color: var(--color-white);
     display: flex;
    flex-direction: column; 
    
    /* 2. Ensures the body takes up at least the full screen height */
    min-height: 100vh;
    margin: 0; /* Important: removes default browser margins */
}

a {
    text-decoration: none;
    color: var(--color-secondary-black);
}

ul {
    list-style: none;
}

/* Headings */
h1, h2, h3 {
    margin-bottom: 0.5rem;
    font-weight: 700;
}

/* Button Styling */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    transition: background-color 0.3s, opacity 0.3s, border 0.3s;
    border: 2px solid transparent;
}

.primary-btn {
    background-color: var(--color-accent-red); 
    color: var(--color-white);
}

.primary-btn:hover {
    background-color: #c82333; /* Darker red */
}

.secondary-btn {
    background-color: transparent;
    border: 2px solid var(--color-white);
    color: var(--color-white);
}

.secondary-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* === LOGO STYLING FOR IMAGE === */
.site-logo {
    max-height: 60px; /* Logo size for desktop */
    height: auto;
    width: auto;
    display: block; 
}

.logo-placeholder a {
    line-height: 1;
}

/* === NAVBAR STYLING === */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background-color: var(--color-white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;}
    /* === HAMBURGER BUTTON STYLING (New) === */
.hamburger-menu {
    display: none; /* Hidden by default on large screens */
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--color-primary-blue);
    padding: 0.5rem;
    z-index: 1001; /* Above everything else */
}

/* State when the menu is active */
.nav-links.active {
    display: flex; /* Show the menu */

}

/* Nav Links */
.nav-links ul {
    display: flex;
    gap: 2rem;
}

.nav-links ul li a {
    font-weight: 600;
    padding: 0.5rem 0;
    transition: color 0.3s, border-bottom 0.3s;
    border-bottom: 2px solid transparent;
}

.nav-links ul li a:hover,
.nav-links ul li a.active {
    color: var(--color-primary-blue);
    border-bottom: 2px solid var(--color-primary-blue);
}

/* Dropdown Styling */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--color-white);
    min-width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 10;
    top: 100%; 
    border-top: 3px solid var(--color-primary-blue);
}

.dropdown-content a {
    color: var(--color-secondary-black);
    padding: 12px 16px;
    display: block;
    font-weight: 400;
}

.dropdown-content a:hover {
    background-color: var(--color-light-gray);
    color: var(--color-primary-blue);
    border-bottom: none; 
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* === HOME PAGE HERO SECTION === */
.hero-section {
    position: relative;
    height: 90vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* !!! IMPORTANT: UPDATE THIS URL/PATH FOR YOUR HOME IMAGE !!! */
    background: url('../images/hero.jpg') no-repeat center center/cover; 
    
    /* Overlay to match the image and ensure readability */
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.6); 
    color: var(--color-white);
}

.hero-content {
    max-width: 800px;
    padding: 1rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-text {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* === INNER PAGE HERO STYLES (With Images) === */
.inner-hero {
    position: relative;
    padding: 6rem 5%;
    text-align: center;
    background-color: var(--color-light-gray); 
    color: var(--color-secondary-black); 
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* The class added in HTML to enable image background */
.inner-hero.has-bg-img {
    color: var(--color-white); 
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
    /* background-image: url(contact.jpg); */
}

.inner-hero h1 {
    font-size: 3rem;
    color: inherit; 
    margin-bottom: 0.5rem;
}

.inner-hero p {
    color: inherit; 
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
}

/* --- Page Specific Hero Images (UPDATED WITH PLACEHOLDER URLS) --- */

.about-hero {
    background-image: url('../images/about.jpg'); /* REPLACE with your URL/path */
}

.activity-main-hero {
    background-image: url('../images/business.png'); /* REPLACE with your URL/path */
}

.contact-hero {
    background-image: url('images/contact_hero.jpg'); /* REPLACE with your URL/path */
}

.page-content {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- About Us: Mission/Vision Cards --- */
.mission-vision-section {
    padding: 4rem 5%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-top: 5px solid var(--color-accent-red);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.card h3 {
    color: var(--color-primary-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card i { 
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-primary-blue);
}


/* --- Activities (Education) Alternating Grid --- */
.activity-grid {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 30px;
    background-color: var(--color-light-gray);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.activity-item:nth-child(even) {
    /* Reverse layout for alternating design */
    flex-direction: row-reverse;
    background-color: var(--color-medium-gray); 
}

.activity-img-placeholder {
    min-width: 40%;
    height: 350px;
    background-color: var(--color-dark-gray);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color-white);
    font-weight: 600;
}

.activity-text-content {
    padding: 2rem;
}

.activity-text-content h3 {
    color: var(--color-accent-red);
    margin-bottom: 0.75rem;
    font-size: 1.8rem;
}

/* --- List Styling for Activity Content --- */
.activity-text-content ul {
    margin: 1rem 0 1rem 1.5rem;
    list-style: disc;
}

.activity-text-content ul li {
    margin-bottom: 0.5rem;
}


/* --- Woman Empowerment Specific Styling (Single Block Focus) --- */
.single-activity-block {
    max-width: 900px; /* Limits the width of the content block */
    margin: 0 auto; /* Centers the block horizontally */
    display: block; 
    background-color: var(--color-white);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow for a card effect */
    border-radius: 10px;
    overflow: hidden; 
}

.single-activity-block .activity-text-content h3 {
    border-bottom: 2px solid var(--color-light-gray); 
    padding-bottom: 10px;
    margin-bottom: 1rem;
    font-size: 2rem;
}

/* --- Contact Page: Form and Info --- */
.contact-grid {
    padding: 4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h2, .contact-form h2 {
    color: var(--color-primary-blue);
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.info-item i { 
    font-size: 1.5rem;
    color: var(--color-accent-red);
    margin-right: 15px;
    margin-top: 5px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, .contact-form textarea {
    padding: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    background-color: var(--color-primary-blue);
    color: var(--color-white);
    padding: 1rem;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #0056b3;
}


/* === FOOTER STYLING === */
/* * FOOTER STYLING AND CENTERING
 */

/* * FOOTER STYLING AND CENTERING
 */

.footer {
    /* Optional: Set basic styling for the entire footer area */
    background-color: #222; /* Dark background */
    color: #fff; /* Light text color */
    padding-top: 20px;
    width: 100%;
}

.footer-container {
    /* Use Grid to arrange the 3 main sections horizontally */
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Creates three equal columns */
    gap: 30px;
    max-width: 1200px; /* Limits the max width of the content */
    margin: 0 auto; /* Centers the footer-container */
    padding: 0 20px;
}

.footer-section h3 {
    margin-bottom: 10px;
    font-size: 1.1em;
    color: rgb(0, 119, 255); /* Example accent color */
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
}

.social-media a {
    font-size: 1.5em;
    margin-right: 15px;
    color: #fff;
    /* Optional: Makes the social icons display on one line */
    display: inline-block; 
}


/* --- THE SOLUTION FOR CENTERING THE COPYRIGHT TEXT --- */
/* In your style.css file */

.footer-bottom {
    /* 1. This rule centers the text and all other inline content */
    text-align: center; 
    
    /* 2. Optional: Styling for appearance */
    padding: 15px 20px;
    margin-top: 20px; 
    border-top: 1px solid #444; 
}

.footer-bottom p {
    /* Ensure the paragraph itself has no side margins that would offset the center */
    margin: 0; 
    font-size: 0.85em;
}

/* === RESPONSIVENESS (Mobile First) === */
@media (max-width: 992px) {
    /* Activity Grid Adjustment */
    .activity-item {
        flex-direction: column;
    }
    .activity-item:nth-child(even) {
        flex-direction: column; 
    }
    .activity-img-placeholder {
        width: 100%;
        height: 250px;
        min-width: unset;
    }
    .activity-text-content {
        padding: 1.5rem;
    }

    /* Contact Grid Adjustment */
    .contact-grid {
        grid-template-columns: 1fr;
    }
}
/* === HAMBURGER BUTTON STYLING (New) === */
.hamburger-menu {
    display: none; /* Hidden by default on large screens */
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--color-primary-blue);
    padding: 0.5rem;
    z-index: 1001; /* Above everything else */
}

/* State when the menu is active */
.nav-links.active {
    display: flex; /* Show the menu */
}
@media (max-width: 768px) {
    /* Logo Size */
    .site-logo {
        max-height: 50px; 
    }
    
    /* Navbar Collapse for Mobile (Updated for Hamburger Menu) */
    .navbar {
        /* Keep logo and hamburger on the same row */
        flex-direction: row; 
        align-items: center;
        /* Space out logo and hamburger */
        justify-content: space-between; 
        /* Adjusted padding for better fit */
        padding: 1rem 5%; 
    }

    /* Display the hamburger icon on mobile */
    .hamburger-menu {
        display: block; 
    }

    /* Hide the full menu links by default on mobile */
    .nav-links {
        display: none; 
        position: absolute;
        top: 80px; /* Position below the navbar */
        left: 0;
        width: 100%;
        background-color: var(--color-white); 
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
        flex-direction: column;
        align-items: center;
        z-index: 999;
    }

    /* Ensure dropdowns work as intended in mobile view */
    .dropdown:hover .dropdown-content,
    .dropdown-content {
        position: static; 
        box-shadow: none;
        border-top: none;
        background-color: var(--color-light-gray);
        min-width: unset;
        padding-left: 1rem;
    }
    
    .dropdown-content a {
        padding-left: 20px; 
    }

    /* Hero Section Adjustment */
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .hero-cta {
        flex-direction: column;
    }
}
/* === FOOTER LOGO STYLING === */
/* ======================================= */
/* CONTACT PAGE MODERN LAYOUT */
/* ======================================= */

.contact-details-modern {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 5%;
    text-align: center;
}

.contact-details-modern h2 {
    font-size: 2rem;
    color: var(--color-primary-blue);
    margin-bottom: 0.5rem;
}

.contact-intro-text {
    max-width: 700px;
    margin: 0 auto 3rem auto;
    color: var(--color-dark-gray);
    font-size: 1.1em;
}

/* Card Container (Grid for 3 columns) */
.contact-cards-container {
    display: grid;
    /* Responsive columns: min 300px wide, 1fr for expansion */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 4rem;
}

/* Individual Contact Card Styling */
.contact-card {
    background-color: var(--color-light-gray); 
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border-bottom: 5px solid var(--color-accent-red); /* Highlight */
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.contact-icon {
    font-size: 2.5rem;
    color: var(--color-primary-blue);
    margin-bottom: 15px;
}

.contact-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--color-dark-gray);
    margin-bottom: 5px;
}

.contact-link, .map-link {
    display: inline-block;
    color: var(--color-accent-red);
    font-weight: 600;
    margin-top: 10px;
    transition: opacity 0.3s;
}

.contact-link:hover, .map-link:hover {
    opacity: 0.8;
}

/* Social Media Button Styling */
.social-follow-section h2 {
    margin-bottom: 1.5rem;
}

.social-media-modern {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Allows buttons to wrap on small screens */
    gap: 15px;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: 600;
    color: var(--color-white);
    transition: background-color 0.3s, transform 0.2s;
    text-transform: uppercase;
    font-size: 0.9em;
}

.social-btn i {
    margin-right: 8px;
    font-size: 1.1em;
}

/* Specific Social Colors */
.social-btn.facebook {
    background-color: #3b5998;
}
.social-btn.twitter {
    background-color: #1DA1F2;
}
.social-btn.instagram {
    /* Instagram Gradient */
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}
.social-btn.linkedin {
    background-color: #0077b5;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.15);
}
