:root {
    --primary-red: #E31837;
    --primary-navy: #003B5C;
    --primary-green: #3B7D22;
    --text-dark: #333333;
    --text-grey: #666666;
    --bg-light: #ffffff;
    --footer-bg: #000000;
    --font-main: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

img {
    max-width: 100%;
    display: block;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    color: #fff;
}

.btn-donate {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primary-red);
    height: 100%;
}

.btn-donate:hover {
    background-color: #c2152f;
}

/* Header */
.site-header {
    background: #000;
    color: #fff;
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    /* Assuming a top border or accent based on common designs */
}

/* Actually, the image shows a white header with black textnav? No, it looks like a black header strip. Checking image... 
   Wait, the header in the provided image (top crop) looks like:
   White Logo area on the left? No, actually it looks like a black bar with white text links.
   The LOGO is on a white box overlapping the header? 
   Let's look closely.
   The "KINSHIP UNITED" logo is in a white box in the top left.
   The nav bar is black.
   So content is inside a container, but the nav background is black.
*/

.site-header {
    background-color: #1a1a1a;
    color: #fff;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    position: relative;
}

/* Logo positioning */
.logo {
    background: #fff;
    padding: 10px 15px;
    position: absolute;
    /* Overhanging logo */
    top: 0;
    left: 15px;
    height: 90px;
    z-index: 100;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
}

.logo img {
    height: 70px;
    /* Adjust based on asset */
    width: auto;
}

/* Navigation */
.main-nav {
    margin-left: 180px;
    /* Space for logo */
    flex-grow: 1;
}

.main-nav ul {
    display: flex;
    list-style: none;
    justify-content: flex-end;
    gap: 30px;
}

.main-nav a {
    color: #ccc;
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.main-nav a:hover {
    color: #fff;
}

.btn-donate {
    margin-left: 20px;
    border-radius: 0px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
}

/* Hero Section */
.hero {
    position: relative;
}

.hero-image-container img {
    width: 100%;
    height: 70vh;
    object-fit: cover;
}

/* Mission Layout */
.mission-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    /* Sidebar, Main Content */
    gap: 40px;
    padding-top: 40px;
    padding-bottom: 40px;
}

/* Sidebar */
.mission-left {
    text-align: center;
}

.sketch-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.sketch-icons img {
    height: 40px;
    width: auto;
}

.mission-sidebar-text {
    display: flex;
    margin-left: auto;
    margin-right: auto;
    max-width: 300px;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
    font-style: italic;
    color: #000;
}

.grey-box {
    background-color: #ffffff;
    height: 40px;
    margin-bottom: 20px;
    width: 100%;
}



.sidebar-list {
    text-align: center;
}

.red-text {
    color: var(--primary-red);
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 20px;
}

.bible-verse {
    font-weight: 800;
    font-size: 14px;
    color: #000;
}

/* Center Content */
.mission-center {
    text-align: center;
}

.mission-center h1 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #000;
}

.subtitle {
    font-size: 16px;
    color: #333;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.action-buttons {
    margin-bottom: 40px;
}

.btn-impact {
    background-color: var(--primary-red);
    font-size: 16px;
    padding: 12px 40px;
}

.btn-impact:hover {
    background-color: rgb(112, 0, 0);
}

.meet-families-header {
    margin-bottom: 30px;
}

.meet-families-header h2 {
    font-size: 32px;
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 5px;
}

.green-text {
    color: var(--primary-green);
    font-size: 14px;
}

/* Card Grid */
.families-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.family-card {
    background: #fff;
    text-align: center;
}

.card-image-wrapper {
    background-color: #ddd;
    height: 180px;
    margin-bottom: 15px;
    overflow: hidden;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-location {
    font-weight: 700;
    color: var(--primary-navy);
    font-size: 15px;
    margin-bottom: 5px;
}

.card-description {
    font-size: 13px;
    color: var(--text-grey);
    margin-bottom: 15px;
}

.btn-card {
    width: 80%;
    border-radius: 5px;
    padding: 10px;
    font-size: 13px;
    font-weight: 700;
    text-transform: capitalize;
    /* Or custom based on button text */
}

.btn-primary {
    background-color: var(--primary-navy);
}

.btn-primary:hover {
    background-color: #002a42;
}

.btn-green {
    background-color: var(--primary-green);
}

.btn-green:hover {
    background-color: #2e621b;
}

.btn-red {
    background-color: var(--primary-red);
}

.btn-red:hover {
    background-color: #c2152f;
}


/* Footer */
.site-footer {
    background-color: var(--footer-bg);
    color: #fff;
    padding: 60px 0 20px;
    font-size: 12px;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 20px;
    margin-top: 0px;
    margin-bottom: 100px;
}

.footer-col {
    max-width: 360px;
}

.footer-col h3 {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.footer-col h4 {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.branding p {
    margin-bottom: 15px;
    color: #ccc;
    line-height: 1.5;
}

.footer-col.links ul {
    list-style: none;
}

.footer-col.links li {
    margin-bottom: 8px;
}

.footer-col.links a {
    color: #fff;
    font-weight: 600;
}

.footer-col.links a:hover {
    text-decoration: underline;
}

.accountability {
    text-align: left;
}

.badges {
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: repeat(3, .2fr);
    gap: 10px;
}

.badges-upper {
    display: grid;
    grid-template-columns: repeat(6, .1fr);
    justify-content: center;
    gap: 5px;
}

.badges-upper img {
    height: 40px;
    /* Adjust as needed */
    width: auto;
    object-fit: contain;
    background: #fff;
    padding: 2px;
    border-radius: 2px;
}

.badges-upper-social {
    display: grid;
    grid-template-columns: repeat(6, .15fr);
    justify-content: left;
    gap: 15px;
}

.badges-upper-social img {
    height: 40px;
    /* Adjust as needed */
    width: auto;
    object-fit: contain;
    padding: 0px;
    border-radius: 2px;
    transition: transform all 1s ease-in-out;
}

.badges-upper-social img:hover {
    transform: scale(1.3);
    transition: transform all 1s ease-in-out;
}


.badges img {
    height: 40px;
    /* Adjust as needed */
    width: auto;
    object-fit: contain;
    padding: 1px;
    border-radius: 2px;
}

.copyright {
    color: #f9f9f9;
    font-size: 15px;
}

.copyright-text {
    color: #f9f9f9;
    font-size: 10px;
}


/* Responsive */
@media (max-width: 900px) {
    .mission-container {
        grid-template-columns: 1fr;
    }

    .families-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .main-nav {
        display: none;
        width: 100%;
        margin-left: 0;
        /* Reset desktop margin */
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #1a1a1a;
        z-index: 999;
        padding: 20px 0;
        border-top: 1px solid #333;
        max-height: 80vh;
        /* Prevent vertical overflow */
        overflow-y: auto;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0;
        margin: 0;
        gap: 20px;
    }

    .main-nav li {
        width: 100%;
        text-align: center;
    }

    .main-nav a {
        display: block;
        padding: 10px;
        font-size: 14px;
        /* Larger touch target */
    }

    .logo {
        position: static;
        height: auto;
        padding: 5px;
        box-shadow: none;
    }

    .header-container {
        height: auto;
        padding: 10px;
        flex-wrap: wrap;
    }

    .mobile-menu-toggle {
        display: block;
        margin-left: auto;
    }

    .btn-donate {
        margin-left: auto;
    }
}

@media (max-width: 600px) {
    .families-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .accountability {
        text-align: left;
    }

    .badges {
        gap: 10px;
        justify-content: flex-start;
        grid-template-columns: repeat(6, .15fr);

    }

    .badges-upper-social {
        display: grid;
        grid-template-columns: repeat(6, .1fr);
        justify-content: left;
        gap: 5px;
        margin-bottom: 20px;
    }

    .badges-upper-social img {
        height: 40px;
        /* Adjust as needed */
        width: auto;
        object-fit: contain;
        padding: 5px;
        border-radius: 2px;
    }

    /* Hero Section */
    .hero {
        position: relative;
    }

    .hero-image-container img {
        width: 100%;
        height: 30vh;
        object-fit: cover;
    }

}