/* Reset and base styles */

:root {
    /* e3 brand colors*/
    --brand-primary-brown: #bd500d;
    --brand-primary-yellow:#ffbb38;
    --brand-primary-orange: #ff8a00;
    --brand-primary-green:#bfbb7d;
    --brand-secondary-yellowgreen: #e8e0b5;
    --brand-tertiary-yellowgreen:#f2f1dd;
    --brand-bg: #ffffff;
    --brand-text: #222222;

  /* a2z brand colors 
  --brand-primary-green: #a0b499;
  --brand-secondary-green: #c1d3bb;
  --brand-tertiary-green: #f7f9f6;
  --brand-red: #bc2200;
  --brand-orange: #f2620c;
  --brand-yellow: #ffc120; */

    --text-base: 1rem;        /* 16px */
    --text-sm: 0.9rem;
    --text-lg: 1.2rem;

    --h1-size: 3rem;
    --h2-size: 2.25rem;
    --h3-size: 1.5rem;

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

body {
    font-family: Arial, sans-serif;
    font-size: var(--text-base);
    line-height: var(--line-height);
    color: var(--brand-text);
    scroll-behavior: smooth;
    padding-bottom: 70px;
}

h1, h2, h3 {
    font-family: "Laila", serif;
}

/* h2 {
    font-size: 3rem !important;
    color: var(--brand-primary-brown);
} */

h1 {
    font-size: var(--h1-size);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h2 {
    font-size: var(--h2-size);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

h3 {
    font-size: var(--h3-size);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

p {
    font-size: var(--text-base);
    margin-bottom: 1rem;
    max-width: 65ch;
}

li {
    font-size: var(--text-base);
    line-height: 1.5;
}

/* Navbar styles */
nav {
    position: fixed;
    width: 100%;
    background-color: var(--brand-primary-brown);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2rem;
}

.logo {
    font-size: 1.8rem;
    color: #ffffff;
    font-family: "Laila", serif;
    letter-spacing: 1px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links li {
    /* margin-left: 2rem; */
    position: relative;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--brand-primary-yellow);
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: var(--brand-primary-yellow);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/*top navbar*/
#top-navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;

    background: rgba(189, 80, 13, 0.9); /* your brown */
    backdrop-filter: blur(8px);

    transition: all 0.3s ease;
}

#top-navbar.scrolled {
    padding: 0.5rem 0;
    background: rgba(189, 80, 13, 0.95);
}

/* Bottom navbar */
#bottom-navbar {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 80px;

    background-color: white;
    box-shadow: 0 -2px 5px rgba(44, 41, 41, 0.638);
    z-index: 1000;
    /* padding-left: 40%; */

    display: flex;
    justify-content: center;
    align-items: center;
}

/* #nav-container {
} */


/* Sections */
section {
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
}



/* Container */

.container,
.hero-content {
    max-width: 1500px;
    margin: 0 auto;
    padding: 10px 10px;
}

#about .container,
#impact .container,
#partners .container,
.hero-content {
    display: flex;
    /* align-items: center; */
    justify-content: center;
    gap: 3rem;
}


.container li {
    list-style: square;
    text-align: left;
}

.container .info {
    flex: 0 1 500px;
    text-align: left;
    /* width: 500px; */
}

.container .image {
    flex: 0 1 500px;
    display: flex;
    margin-top: 0.5rem;  
}

/* #impact .container .image {
    margin-top: 5rem;
} */

.container .image img {
    width: 100%;
    max-width: 450px;
    height: auto;
    display: block;
}

.container h2{
    font-size: 2.5rem;
    max-width: 600px;
    margin: 20px;
    color: var(--brand-primary-brown)
}

.info {
    flex: 1;
    max-width: 500px;
}

.info p {
    margin-bottom: 1rem;
}

.info ul {
    margin-top: 1rem;
}


/*Hero Section*/

#hero {
    padding-top: 7rem;
    background: linear-gradient(135deg, #e9e4c6 10%,#bfbb7d 100%);
    color: rgb(14, 10, 10);
    text-align: center;
    padding-left: 45px;
    padding-right: 25px;
    /* padding-top: 10px; */
}

.check {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    margin-top: -10px;
}

.parentList,
.childList {
    display: flex;
    align-items: flex-start;
    text-align: left;
    gap: 0.75rem;
    list-style: none;
    margin-bottom: 1rem;
}

#childListItems{
    padding-top: 15px;
}

/* i {
    padding-right: -5px;
} */

#infoChecklist {
    width: 100%;
    max-width: 800px;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* #logo-wrapper {
    width: 50px;
    height: 50px;
    margin-right: 0.75rem;
} */

.cta-button {
    display: inline-block;
    background-color: var(--brand-primary-brown);
    border: 2px solid #ffc120;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #78c7fbd8;
}


/*column checklist*/
.row {
    display: grid;
    grid-template-columns: 50px 120px 1fr;
    gap: .5rem;
    align-items: start;
    text-align: left;
    margin-bottom: 1.5rem;
    margin-left: 1rem;
}

.column {
    float: none;   /* important */
}

/* .left {
    margin-top: -10px;
} */

.middle {
    font-style: italic;
    font-size: large;
}

.right p {
    margin-bottom: 0;
}

    /* .row:after {
    content: "";
    display: table;
    clear: both;
    } */

/* Container */
/* .container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
} */

section:nth-child(even) {
    background-color: var(--brand-tertiary-yellowgreen);
}

/* Team members */
.team-members {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 1400px;
    margin: 0 auto;
    justify-items: center;
}


.member {
    background-color: white;
    padding: 1rem;
    border-radius: 5px;
    /* box-shadow: 0 2px 5px rgba(0,0,0,0.1); */
    text-align: center;
    width: 100%;
}

.staffImg {
    width: 100%;
    max-width: 220px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/*6cs Image */
#EquityMindsetImage {
    /* width: 100%;
    max-width: 600px; */
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
}

/* Partnerships */

.partner-row,
.partner-row_reverse {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-left: 18%;
}

.partner-row {
    flex-direction: row;
}

/* .partner-row_reverse {
    flex-direction: row-reverse;
} */

.partner-row .image,
.partner-row_reverse .image {
    flex: 0 0 35%;
}

#partners h2{
    font-size: 2.5rem;
    max-width: 600px;
    margin: 20px;
    color: var(--brand-primary-brown)
}

#partners a {
    color: var(--brand-primary-orange);
    text-decoration: none;
    font-weight: 500;
}

/* Contact Form */
form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input, textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

button {
    padding: 0.75rem;
    background-color: #78c7fbd8;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #78c7fbd8;
}

#contact h2{
    margin-left: 41%;
}

/* Footer */
footer {
    background-color: var(--brand-primary-orange);
    color: white;

    display: flex;
    justify-content: center;
    text-align: center;

    padding-left: 30%;
    padding-bottom: 2px;
}

/* footer p {
    margin-left: 27%;
} */

/* Responsive */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        padding: 1rem;
    }

    .nav-links {
        margin-top: 1rem;
    }

    .nav-links li {
        margin-left: 1rem;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

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

    .hero-content {
        /* position: relative; */
        flex-direction: column;
        text-align: center;
    }

    #logo-wrapper {
        width: 400px;
        max-width: 100%;

        padding-left: 25%;
    }

    #logo-wrapper img {
        width: 100%;
        height: auto;
        display: block;
    }

    #infoChecklist {
        padding-top: 2rem;
    }

    #EquityMindsetImage{   
        width: 100%;
        max-width: 400px;
    }

    .partner-row,
    .partner-row_reverse {
        flex-direction: column;
        align-items: center;
    }

    .partner-row .image,
    .partner-row_reverse .image {
        flex: none;
        width: 100%;
        max-width: 450px;
    }

    .partner-row .info,
    .partner-row_reverse .info {
        width: 100%;
    }

    #contact h2{
        margin-left: 0%;
    }
    footer {
        padding-left: 5%;
    }

    .container {
        flex-direction: column;
        text-align: center;
    }

    .container .info {
        text-align: left;
    }
}

/*super small screens*/

@media (max-width: 480px) { 
    .team-members { 
        grid-template-columns: 1fr; 
    } 
}


/* code graveyard */

/* a2z colors : Red #bc2200 orange #f2620c yellow #ffc120 
dark green #a0b499*/