@font-face{
    font-family: "Poppins-Light";
    src: url('../Fonts/Poppins-Light.ttf') format('truetype');
}


body{
    font-family: 'Poppins-Light';
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    letter-spacing: 0.5px;
}


/*nav bar styling*/
.nav-bar{
    height: 10vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    z-index: 111;
    background-color: white;
    width: 100%;
    
}
.logo{
    margin-left: 2%;
    width: 3em;
}
.center-nav{
    width: 20em;
    display: flex;
    justify-content: space-between;
    padding-left: 0;
    margin-right: 4%;
}
.nav-link{
    color: black;
    text-decoration: none;
    position: relative;
}
.nav-link h5{
    font-weight: 7;
}
.nav-link::after{
    content: "";
    position: absolute;
    background-color: brown;
    height: 2px;
    width: 0;
    left: 0;
    bottom: 15px;
    transition: 0.3s;
}
.nav-link:hover::after{
    width: 100%;
}
.nav-end{
    padding-left: 0;
    margin-right: 2%;
    width: 10em;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.login, .signup{
    text-decoration: none;
    color: black;
    font-weight: 10;
    position: relative;
}
.login h5{
    font-weight: 7;
}
.signup h5{
    font-weight: 7;
}
.login::after{
    content: "";
    position: absolute;
    background-color: #FC466B;
    height: 2px;
    width: 0;
    left: 0;
    bottom: 15px;
    transition: 0.3s;
}
.login:hover::after{
    width: 100%;
}

.signup h5{
    border-radius: 7px;
    width: 5em;
    display: flex;
    justify-content: center;
    background-color: #FC466B;
    align-items: center;
    height: 2em;
    padding-left: 1em;
    padding-right: 1em;
    padding-top: 5%;
    padding-bottom: 5%;
    color: white;
}
.signup h5:hover{
    border-radius: 0;
    background-color: #ed738b;
    transition: all ease-in-out 0.5s;
}
/*Responsive site*/
/* ===== Added Side Menu Styles ===== */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin-right: 20px;
    z-index: 1000;
}

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background-color: brown;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.side-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background-color: white;
    z-index: 999;
    transition: right 0.3s ease-in-out;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.side-menu.active {
    right: 0;
}

.side-menu-content {
    display: flex;
    flex-direction: column;
    padding: 80px 20px 20px;
    height: 100%;
}

.side-nav-link {
    color: black;
    text-decoration: none;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.side-nav-link h5 {
    font-weight: 7;
    margin: 0;
}

.side-nav-link::after {
    content: "";
    position: absolute;
    background-color: brown;
    height: 2px;
    width: 0;
    left: 0;
    bottom: 10px;
    transition: 0.3s;
}

.side-nav-link:hover::after {
    width: 100%;
}

/* Overlay when menu is open */
body.menu-open {
    overflow: hidden;
}

body.menu-open::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

/* ===== Modified Media Query ===== */
@media(max-width: 750px) {
    .nav-bar {
        font-size: 75%;
    }
}

@media(max-width: 500px) {
    .center-nav, 
    .nav-end {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-bar {
        justify-content: space-between;
    }
}


/* BANNER STYLING - Responsive */
.banner {
    position: relative;
    width: 100%;
    height: fit-content;
    padding-top: 5em;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.banner-img, .recent_post_img {
    width: 90%;
    height: 40em;
    object-fit: cover;
}

.banner-disc {
    width: 90%;
    max-width: 70em;
    padding: 20px 0;
}

.post-title {
    font-size: 2em;
    color: brown;
    text-align: left;
}

.post-date {
    font-size: 1;
    text-align: left;
    margin: 10px 0;
}

.post-content {
    font-size: 1em;
    font-weight: lighter;
    line-height: 1.6em;
}

/* Video Container */
.video-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    background: #000;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

.no-media {
    background: #f5f5f5;
    padding: 50px;
    text-align: center;
    color: #666;
    margin: 20px auto;
    width: 90%;
}

/* Social Section */
/* Social Section */
.social-section {
    margin-top: 30px;
    text-align: center;
}

.social-head {
    color: brown;
    margin-bottom: 20px;
    font-size: 1.3em;
}

.post-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 80px;
}

.action-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: transform 0.3s ease;
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-btn:hover {
    transform: scale(1.1);
}

.action-btn i {
    font-size: 30px;
}

.whatsapp-btn i {
    color: brown; /* WhatsApp brand color */
}

.like-btn i {
    color: brown; /* Facebook blue */
}

.like-btn.liked i {
    color: brown; /* Red when liked */
}

.donation-btn i {
    color: brown; /* Gold color */
}

.share-btn i {
    color: brown; /* Dark gray */
}

.social-disc {
    color: #333;
    font-size: 0.9em;
    margin-top: 5px;
}

.like-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: rgba(165, 42, 42, 0.854);
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.like-count-text {
    font-weight: bold;
}

/* Responsive Media Queries */
@media (max-width: 1200px) {
    .banner-disc {
        width: 85%;
    }
}

@media (max-width: 992px) {
    .post-title {
        font-size: 1.8em;
    }
    .post-content {
        font-size: 0.95em;
    }
}

@media (max-width: 768px) {
    .banner {
        padding-top: 4em;
    }
    .post-title {
        font-size: 1.6em;
    }
    .post-date {
        font-size: 1em;
    }
    .action-icon {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .banner {
        padding-top: 3.5em;
    }
    .banner-img, .recent_post_img {
        width: 100%;
        height: 20em;
        object-fit: cover;
    }
    .post-title {
        font-size: 1.4em;
    }
    .post-content {
        font-size: 0.9em;
        line-height: 1.5em;
    }
    .social-head {
        font-size: 1.1em;
    }
    .post-actions {
        gap: 10px;
    }
    .social-link {
        min-width: 70px;
    }
    .action-icon {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 400px) {
    .banner-img, .recent_post_img {
        width: 90%;
        height: 15em;
        object-fit: cover;
        margin-top: 6%;
    }
    .post-title {
        font-size: 1.3em;
    }
    .post-actions {
        gap: 8px;
    }
    .social-link {
        min-width: 60px;
    }
}

/* Print styles (unchanged) */
@media print {
    .nav-bar, .post-actions, .footer {
        display: none;
    }
    .banner {
        padding-top: 0;
    }
    .post-content {
        font-size: 12pt;
        line-height: 1.5;
    }
}
/*FOOTER STYLING*/
footer {
    position: relative;
    width: 100%;
    height: auto;
    background-color: brown;
    margin-top: 2%;
    color: white;
    border-radius: 10px;
    padding: 20px 0;
}

.footer {
    display: flex;
    justify-content: center;
    gap: 8%;
    flex-wrap: wrap;
    padding: 20px;
}

.side1 {
    min-width: 150px;
    margin-bottom: 20px;
}

.footer-end {
    text-align: center;
    padding: 10px;
}

.footer-link {
    text-decoration: none;
    color: white;
    display: block;
    margin: 5px 0;
}

/* Responsive Media Queries */
@media (max-width: 1030px) {
    .footer {
        gap: 6%;
    }
}

@media (max-width: 860px) {
    .footer {
        gap: 5%;
        justify-content: space-around;
    }
    
    .side1 {
        width: 40%;
        margin-bottom: 25px;
        text-align: left; /* Ensure left alignment */
    }
}

@media (max-width: 670px) {
    .footer {
        gap: 4%;
        justify-content: space-between;
        padding: 20px 30px; /* Add side padding */
    }
    
    .side1 {
        width: 45%;
    }
}

@media (max-width: 540px) {
    .footer {
        flex-direction: row; /* Keep row layout */
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-start;
        padding: 20px 25px;
        gap: 20px 0;
    }
    
    .side1 {
        width: 48%; /* Nearly half width */
        text-align: left; /* Explicit left alignment */
        margin-bottom: 20px;
    }
    
    /* Specific adjustment for contact section */
    .side1:nth-child(3) {
        width: 100%; /* Full width for contact info */
        text-align: left;
    }
}

@media (max-width: 450px) {
    .footer {
        padding: 15px 20px;
    }
    
    .side1 {
        width: 48%;
    }
    
    .side1:nth-child(3),
    .side1:nth-child(4) {
        width: 48%; /* Keep two-column layout */
    }
    
    footer {
        border-radius: 10px;
    }
}