
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
   margin: 0;
   padding: 0;
   font-family: "Google Sans", sans-serif;
   caret-color: transparent;
   scroll-behavior: smooth;
  
}

.active{
    background-color: lightgreen;
    padding: 5px 30px;
}

.header{
    height: 150px;
    background-color: red;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;

}

.left-section{
    width: 300px;
    background-color: white;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #000;
}

.logo{
    width: 70px;
    border-radius: 50%;
    margin-left: 20px;
    margin-right: 20px;
    display: none;
}

.brand{
    display: flex;
    flex-direction: column;
    justify-content: start;
    gap: 5px;
}

.brand-name{
    font-size: 30px;
    color: purple;
    font-weight: bold;
    margin-bottom: 5px;
}

.brand-slogan{
    font-size: 20px;
    font-weight: bold;
    color: purple;
    margin-bottom: 5px;
}

.brand-tagline{
   font-size: 15px;
   color: purple;
   font-weight: 100;
}



.middle-section{
    flex: 1;
    background-color: white;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-left: 1px solid #000;
    border-right: 1px solid #000;
    border-bottom: 1px solid #000;
}

.middle-section .navbar-menu{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    list-style: none;
    width: 100%;
    padding: 0;
    margin: 0;

}

.navbar-menu li a{
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    color: purple;
    transition: 1s;
}

.navbar-menu li a:hover{
    background-color: purple;
    color: white;
    padding: 5px 30px;
    border-radius: 50px;
    font-weight: 100;
}



.navbar-menu li{
    position: relative;
}

.dropdown-menu{
    width: 300px;
    position: absolute;
    top: 100%;
    left: 0;
    list-style: none;
    background: lightgreen;
    min-width: 260px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    padding: 10px 0;
    margin-top: 2px;
    display: none;
    z-index: 1000;
}

.dropdown-menu li{
    width: 100%;
    padding-left: 5px;
    padding-right: 5px;
}

.dropdown-menu li a{
    display: block;
    margin-top: 20px;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: 1s;
    padding-left: 10px;
    font-weight: bold;
}

.dropdown-menu li a:hover{
    background: purple;
    color: white;
}

.dropdown:hover .dropdown-menu{
    display: block;
}




.right-section{
    background-color: white;
    width: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    border-bottom: 1px solid #000;
}

.heart-icon img{
    width: 35px;
}

.heart-icon{
    position: absolute;
    right: 50px;
    margin-top: 6px;
}

.donate-button{
    background-color: purple;
    color: white;
    padding: 10px 30px;
    border-radius: 50px;
    margin-left: 30px;
    padding-right: 80px;
    border: none;
    position: relative;
    transition: 1s;
    cursor: pointer;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
}

.donate-button:hover{
    background-color: lightgreen;
}




.stories-page{
    width: 90%;
    max-width: 1200px;
    margin: 30px auto;
}


.story-post{
    display: flex;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #ddd;
}

.story-image{
    width: 40%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.story-image img{
    width: 450px;
    height: 320px;
    object-fit: cover;
    border-radius: 15px;
    transition: 0.3s;
    cursor: pointer;
}



.story-image img:hover{
    transform: scale(1.03);
}

.story-content{
    width: 60%;
}


.story-date{
    display: inline-block;
    background: purple;
    color: white;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 16px;
    margin-bottom: 18px;
}

.story-content h2{
    font-size: 20px;
    color: white;
    margin-bottom: 20px;
    background-color: purple;
    padding: 10px;
}

.story-content p{
    font-size: 16px;
    color: #000;
    line-height: 1.9;
    margin-bottom: 18px;
    text-align: justify;
}




.story-image .potrait{
    width: 350px;
    height: 400px;
}


.footer{
    background-color: purple;
    color: white;
    padding-top: 50px;
}

.footer-container{
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo{
    width: 180px;
    margin-bottom: 15px;
}

.footer-text{
    font-size: 16px;
    line-height: 1.7;
    color: white;
    text-align: start;
}

.footer-column h4{
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-column ul{
    list-style: none;
}

.footer-column ul li{
    margin-bottom: 10px;
}

.footer-column ul li a{
    color: white;
    font-size: 16px;
    text-decoration: none;
    transition: 0.3s;
}

.footer-column ul li a:hover{
    color: lightgreen;
}

.footer-column p{
    color: white;
    margin-bottom: 10px;
    font-size: 16px;
    text-align: start;
}

.social-icons{
    display: flex;
    gap: 12px;
}

.social-icons img{
    width: 32px;
    height: 32px;
    border-radius: 16px;
    background:white;
    padding: 6px;
    transition: 0.3s;
}

.social-icons img:hover{
    background: transparent;
}

.footer-bottom{
    border-top: 1px solid white;
    margin-top: 40px;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: white;
}



.mobile-menu{
    display: none;
}

.bar {
display: block;
width: 20px;
height: 2px;
background-color: purple;
margin: 5px 0;
}

.navbar-toggle {
background: none;
border: none;
cursor: pointer;
text-align: center;
display: none;
}



@media screen and (max-width: 768px){

    .header{
        width: 100%;
    }
  
 .left-section{
        width: 200px;
        padding-left: 10px;
        padding-right: 10px;
        flex-shrink: 0;
        border: none;
    }


    .brand-name{
    font-size: 26px;
    margin-bottom: 10px;
}

.brand-slogan{
    font-size: 16px;
    margin-bottom: 10px;
    
}

.brand-tagline{
   font-size: 12px;

}

   
 .middle-section{
        border: none;
        flex: 1;
        flex-shrink: 0;
        justify-content: center;
        align-items: center;
        position: relative;
        border: none;
    }

    .middle-section .navbar-menu{
        display: none;
    }


    .right-section{
        width: 150px;
        flex-shrink: 0;
        border: none;
    }


    .donate-button{
        width: auto;
        padding: 10px 18px;
        margin-left: 0;
        font-size: 16px;
    }

.heart-icon{
    display: none;
}


    .navbar-toggle{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .mobile-menu{
        position:fixed;
        top:155px;
        left:50%;
        transform:translateX(100%);
        width:60%;
        background: lightgreen;
        display:flex;
        flex-direction:column;
        align-items:center;
        opacity:0;
        visibility:hidden;
        pointer-events:none;
        transition: 1.5s ease;
        z-index:999;
    }

    .mobile-menu.show{
        transform:translateX(-50%);
        opacity:1;
        visibility:visible;
        pointer-events:auto;
    }

    .mobile-menu ul{
        list-style:none;
        width:100%;
        padding:0;
        margin:0;
        text-align:center;
    }

    .mobile-menu ul li{
        margin:20px 0;
    }

    .mobile-menu ul li a{
        text-decoration:none;
        color:purple;
        font-size:16px;
        font-weight: bold;
        transition: 1s;
    }

    .mobile-menu ul li a:hover{
        background:purple;
        color:white;
        padding:5px 30px;
    }



    .mobile-dropdown-menu{
    display: none;
    list-style: none;
    padding-top: 10px;
    margin-top: 10px;
}

.mobile-dropdown-menu.show{
    display: block;
}

.mobile-dropdown-menu li{
    margin: 10px 0;
}

.mobile-dropdown-menu li a{
    display: block;
    color: purple;
    text-decoration: none;
    font-size: 14px;
    padding: 5px 0;
}



.stories-page{
        width:100%;
        margin:30px auto;
        padding:0;
        background-color: white;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

.story-post{
    width: 90%;
        display:flex;
        flex-direction:column;
        align-items: center;
        gap:20px;
        margin-bottom:40px;
        padding-bottom:30px;
        border-bottom:1px solid #ddd;
        background-color: white;

    }

    .story-image{
        width:90%;
        justify-content:center;
    }

     .story-image img,
    .story-image .potrait{
        width:100%;
        max-width:100%;
        height:auto;
    }

     .story-content{
        width:90%;
    }

    .story-content h2{
        font-size:22px;
        line-height:1.4;
    }

    .story-content p{
        font-size:16px;
        line-height:1.8;
        text-align: justify;
    }

    .story-date{
        font-size:14px;
        padding:8px 15px;
    }



.footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 25px;
}

.footer-column p,
.footer-text {
    text-align: center;
}

.footer-logo {
    margin: 0 auto;
}

.social-icons {
    justify-content: center;
}

.footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
}


}





@media (min-width:769px) and (max-width:1090px){

      .middle-section{
        justify-content:center;
        align-items:center;
        position:relative;
    }

    .middle-section .navbar-menu{
        display:none;
    }



  .navbar-toggle{
        display:flex;
        flex-direction:column;
        justify-content:center;
        align-items:center;
    }

    .mobile-menu{
        position:fixed;
        top:155px;
        left:50%;
        transform:translateX(100%);
        width:60%;
        background: lightgreen;
        display:flex;
        flex-direction:column;
        align-items:center;
        opacity:0;
        visibility:hidden;
        pointer-events:none;
        transition: 1.5s ease;
        z-index:999;
    }

    .mobile-menu.show{
        transform:translateX(-50%);
        opacity:1;
        visibility:visible;
        pointer-events:auto;
    }

    .mobile-menu ul{
        list-style:none;
        width:100%;
        padding:0;
        margin:0;
        text-align:center;
    }

    .mobile-menu ul li{
        margin:20px 0;
    }

    .mobile-menu ul li a{
        text-decoration:none;
        color:purple;
        font-size:16px;
        font-weight: bold;
        transition: 1s;
    }

    .mobile-menu ul li a:hover{
        background:purple;
        color:white;
        padding:5px 30px;
    }





    .mobile-dropdown-menu{
    display: none;
    list-style: none;
    padding-top: 10px;
    margin-top: 10px;
}

.mobile-dropdown-menu.show{
    display: block;
}

.mobile-dropdown-menu li{
    margin: 10px 0;
}

.mobile-dropdown-menu li a{
    display: block;
    color: purple;
    text-decoration: none;
    font-size: 14px;
    padding: 5px 0;
}



.stories-page{
    width: 95%;
    margin: 40px auto;
}

.story-post{
    display: flex;
    gap: 25px;
    align-items: flex-start;
    margin-bottom: 45px;
    padding-bottom: 30px;
}

.story-image{
    width: 45%;
}

.story-image img,
.story-image .potrait{
    width: 100%;
    height: auto;
    max-width: 100%;
}

.story-content{
    width: 55%;
}

.story-content h2{
    font-size: 22px;
    line-height: 1.4;
}

.story-content p{
    font-size: 16px;
    line-height: 1.8;
    text-align: justify;
}

.story-date{
    font-size: 15px;
    padding: 8px 15px;
}


}


