@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
*{
    margin: 0;
    padding: 0;
    /* box-sizing: border-box; */
}
body{
    font-family: 'Poppins', sans-serif;
}
header{
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}
.navbar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #f9f9f9;
    padding: 10px 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.logo img {
    width: 100px;
    height: auto;
}
.nav-links {
    list-style: none;
    display: flex;
    justify-content: space-around;
    align-items: center;
}
.nav-links li {
    margin: 0 15px;
}
.nav-links span {
    font-size: large;
    color: black;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}
.nav-links .links {
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}
.nav-links .links::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    top: 50%;
    background-color: rgb(182, 3, 3);
    transition: width 0.3s ease;
}
.nav-links .links:hover::after {
    width: 100%;
}
.nav-links .links:hover span {
    color: rgb(182, 3, 3);
}
.button-link{
    display: inline-flex;
    justify-self: flex-start;
    margin-left: 30px;
    text-decoration: none;
    color: white;
    background-color: black;
    padding: 12px 23px;
    font-size: small;
    transition: all 0.3s ease;
}
.button-link img{
    width: 20px;
    height: 20px;
    margin-left: 12px;
    filter: invert(1);
}
.button-link:hover{
    background-color: rgb(23, 23, 23);
    cursor: pointer;
}
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: black;
    margin: 4px 0;
    transition: 0.3s;
}
.container{
    display: flex;
    height: 70vh;
    font-family: 'Poppins', sans-serif;
}
.left img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50%;
    padding: 0 120px;
}

.right h2 {
    font-weight: 500;
    font-size: 2.5rem;
    animation: fadeIn 1s cubic-bezier(0.55, 0.09, 0.87, 0.5);
}
@keyframes fadeIn {
    0%{
        opacity: 0;
        transform: translateY(-20px);
    }
    100%{
        opacity: 1;
        transform: translateY(0);
    }
}
#timeline-h{
    font-weight: 500;
    font-size: 2.5rem;
    text-align: center;
    margin-top: 20px;
}
/* Horizontal Timeline styling */
.timeline {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    padding: 140px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: slide 1s ease-in-out;
}
@keyframes slide {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.timeline::after {
    content: '';
    position: absolute;
    height: 6px;
    background-color: purple;
    top: 50%;
    left: 0;
    right: 0;
    margin-top: -3px;
}

.timeline-container {
    padding: 10px 20px;
    position: relative;
    background-color: inherit;
    width: 250px;
    text-align: center;
}

.timeline-container.left {
    align-self: flex-start;
    transform: translateY(-50%);
}

.timeline-container.right {
    align-self: flex-end;
    transform: translateY(50%);
}

.timeline-container.right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: -20px;
    width: 0;
    z-index: 1;
    left: 50%;
    margin-left: -10px;
    border: medium solid purple;
    border-width: 10px 10px 0 10px;
    border-color: purple transparent transparent transparent;
}

.timeline-container.left::before {
    content: " ";
    height: 0;
    position: absolute;
    bottom: -20px;
    width: 0;
    z-index: 1;
    left: 50%;
    margin-left: -10px;
    border: medium solid purple;
    border-width: 0 10px 10px 10px;
    border-color: transparent transparent purple transparent;
}

.timeline-item {
    padding: 10px 20px;
    background-color: white;
    position: relative;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    font-size: 0.8rem;
    transition: transform 0.2s ease-in-out;
}
.timeline-item:hover{
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.timeline-item h3 {
    margin-top: 0;
    color: rgb(255, 111, 0);
    font-size: 0.9rem;
}

.timeline-item p {
    margin: 10px 0 0;
    color: #555;
    font-size: 0.7rem;
}
.cont{
    display: flex;
    justify-content: center;
    margin-top: 40px;
}
.mission-statement {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 300;
    margin-top: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9;
    max-width: 550px;
    margin: 20px auto;
    border-radius: 10px;
    transition: all 0.3s ease;  
}
.mission-statement:hover{
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.mission-statement img {
    animation: slide 1s ease-in-out;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

.mission-statement h2 {
    animation: slide 1s ease-in-out;
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
    text-align: center;
}

.mission-statement p {
    width: 100%;
    font-size: 1rem;
    color: #555;
    text-align: center;
    line-height: 1.6;
}
.bar-graph{
    margin-top: 20px;
    max-width: 800px;
    margin: auto;
}
.bar-graph img{
    width: 700px;
    height: 500px;
    object-fit: cover;
}
.target-network {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    max-width: 550px;
    margin: 20px auto;
    text-align: center;
    transition: all 0.3s ease;  
}
.target-network:hover{
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.target-network h2 {
    animation: slide 1s ease-in-out;
    color: rgb(3, 3, 3);
    margin-bottom: 15px;
}
#map{
    width: 300px;
    height: auto;
    border-radius: 10px;
    margin-top: 20px;
}
.partners{
    /* background-color: #f9f9f9; */
    padding: 20px;
    border-radius: 10px;
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
    margin-top: 20px;
    max-width: 1200px;
    margin: 20px auto;
    text-align: center;
    transition: all 0.3s ease;
}
/* .partners:hover{
    transform: scale(1.02);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
} */
.partners h2 {
    color: rgb(3, 3, 3);
    margin-bottom: 15px;
}
.partners p {
    color: #555;
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 20px;
}
.partners ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}
.partners ul li {
    margin: 10px;
}

.partners ul li img {
    max-width: 300px;
    max-height: 250px;
    object-fit: contain;
    /* border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
}
.founder{
    padding: 20px;
    max-width: 900px;
    margin: 50px auto;
    text-align: center;
}
.founder img{
    margin-top: 20px;
    width: 320px;
    height: 320px;
    object-fit: cover;
    object-position: -10px 0;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.before-footer{
    background-color: #e0e0e0;
    margin-top: 20px;
    display: flex;
    padding: 50px 100px 50px;
    justify-content: space-around;
}
.before-footer h3{
    font-weight: 500;
}
.before-footer .box{
    width: 250px;
    flex-wrap: wrap;
}
.before-footer .box p{
    font-size: small;
}
.before-footer a{
    color: black;
    text-decoration: none;
    font-weight: 500;
}
footer{
    background-color: rgb(195, 22, 22);
    padding: 20px;
    font-family: 'Poppins', sans-serif;
    align-items: center;
    text-align: center;
    border-top: 1px solid rgb(230, 230, 230);
}
footer p{
    font-size: 0.8rem;
    color: white;
    font-weight: 500;
}
footer a{
    color: white;
    text-decoration: none;
    font-weight: 500;
}
#box1 p, #box2 p, #box3 p{
    line-height: 1.6;
    font-weight: 600;
}
.phone-link {
    text-decoration: none;
    transition: color 0.3s ease;
}
.phone-link:visited {
    color: rgb(21, 21, 21);
}
.phone-link:hover {
    color: rgb(21, 21, 21);
    text-decoration: underline;
}

@media (max-width: 450px) {
   
    .navbar {
        flex-direction: column;
        align-items: flex-start;
        position: sticky;
        top: 0;
        z-index: 1000;
    }
    .mobile-nav{
        display: flex;
        justify-content: space-between;
        width: 100%;
        align-items: center;
    }
    .mobile-nav .logo img {
        width: 80px;
        height: auto;
    }
    .nav-links {
        flex-direction: column;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        align-items: flex-start;
    }

    .nav-links.active {
        max-height: 500px;
    }
    .nav-links ul{
        position: relative;
    }
    .nav-links li {
        width: 125px;
        text-align: left;
        margin: 6px 0;
        font-size: xx-small;
    }
    .button-link{
        margin-left: 0;
    }
    .nav-links a {
        padding: 10px;
        width: 100%;
    }

    .hamburger {
        display: flex;
    }

    .container {
        flex-direction: column;
        align-items: center;
        height: auto;
    }
    .left img, .right img {
        width: 100%;
        height: auto;
    }
    .right{
        padding: 10px 20px;
        width: 85%;
        margin: auto;
    }
    .right h2 {
        font-size: 1.2rem;
        font-weight: 600;
        text-align: center;
    }

    #timeline-h {
        font-size: 1.5rem;
    }
    .timeline {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
    }
    .timeline::after {
        display: none;
    }
    .timeline-container {
        width: 85%;
        margin-bottom: 20px;
        position: relative;
        margin: auto;
    }
    .timeline-container.right, .timeline-container.left {
        transform: translateY(0);
        transform: translateX(-10px);
    }
    .timeline-container::after {
        display: none;
    }

    .timeline-container.left::before,
    .timeline-container.right::before {
        display: none;
    }

    .timeline-item {
        width: 100%;
        padding: 10px;
        background-color: white;
        border-radius: 6px;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    .timeline-item h3 {
        font-size: 1rem;
    }

    .timeline-item p {
        font-size: 0.8rem;
    }
    .cont{
        flex-direction: column;
        gap: 12px;
    }
    .mission-statement, .target-network {
        padding: 10px;
        max-width: 70vw;
        margin: auto;
    }
    .mission-statement p {
        font-size: 0.6rem;
    }
    .mission-statement h2 {
        font-size: 1rem;
    }
    .bar-graph {
        max-width: 70vw;
        margin: 40px auto;
    }
    .bar-graph img {
        width: 110%;
        height: auto;
    }
    .partners {
        padding: 10px;
        max-width: 80vw;
        margin: 40px auto;
        flex-direction: column;
        gap: 15px;
    }
    .partners ul{
        flex-direction: column;
        gap: 10px;
    }
    .partners ul li img {
        max-width: 240px;
        max-height: 180px;
    }
    .founder {
        margin-top: 30px;
        padding: 10px;
        max-width: 80vw;
        margin: auto;
    }
    .founder img {
        width: 200px;
        height: 200px;
    }
    .before-footer {
        padding: 60px 20px;
        flex-direction: column;
        gap: 20px;
    }
    footer p {
        font-size: 0.8rem;
    }

    #box1 p, #box2 p, #box3 p {
        font-size: 0.8rem;
    }

    .phone-link {
        font-size: 0.8rem;
    }
}