@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;
    background-color: black;
    max-width: 100%;
    overflow-x: hidden;
}
html {
  scroll-behavior: smooth;
}


/*nav bar styling*/
.nav-bar{
    height: 10vh;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    z-index: 111;
    background-color: black;
    color: white;
    width: 100%;
}
.logo{
    margin-left: 2%;
    color: #8B6940;
}
.center-nav{
    width: 20em;
    display: flex;
    justify-content: space-between;
    padding-left: 0;
    margin-right: 4%;
}
.nav-link{
    color: white;
    text-decoration: none;
    position: relative;
}
.nav-link h5{
    font-weight: 7;
}
.nav-link::after{
    content: "";
    position: absolute;
    background-color: #8B6940;
    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: white;
    font-weight: 10;
    position: relative;
}
.login h5{
    font-weight: 7;
}
.signup h5{
    font-weight: 7;
}
.login::after{
    content: "";
    position: absolute;
    background-color: #8B6940;
    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: #8B6940;
    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: #D7BFA6;
    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: #8B6940;
    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: #8B6940;
    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: white;
    text-decoration: none;
    padding: 15px 0;
    position: relative;
}

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

.side-nav-link::after {
    content: "";
    position: absolute;
    background-color: #D7BFA6;
    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 BODY*/
.banner_bdy{
    position: relative;
    height: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 2rem;
    padding-top: 5%;
}
.banner {
    background-size: cover;
    background-position: center center; /* Ensures face stays centered */
    background-repeat: no-repeat;
    width: 100%;
    height: 100vh; /* Full screen height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
    text-align: center;
}

.banner_disc_change_color{
    color: #D7BFA6;
}
.banner-disc{
    position: relative;
    height: fit-content;
    text-align: center;
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.banner-disc-header{
    font-weight: lighter;
    color: white;
}
.post-head-title{
    color: white;
    font-size: 4em;
    letter-spacing: 0.5rem;
    
}
.banner-change{
    color: white;
}
.banner-disc-more{
    font-size: 20px;
    font-weight: lighter;
}
.banner-btn{
    color: white;
    padding-left: 4%;
    padding-right: 4%;
    padding-top: 1%;
    padding-bottom: 1%;
    border-radius: 25px;
    text-decoration: none;
    border: solid #9D9D9D;
}
.post-head-content{
    color: white;
    width: 35em;
    margin-top: -1em;
}
.view-more{
    text-decoration: none;
}
.view-more h5{
    width: 9em;
    display: flex;
    justify-content: center;
    background-color: #8B6940;
    align-items: center;
    height: 3em;
    padding-left: 0.5em;
    padding-right: 0.5em;
    padding-top: 2%;
    padding-bottom: 2%;
    color: white;
}
.view-more h5:hover{
    border-radius: 0;
    background-color: #D7BFA6;
    transition: all ease-in-out 0.5s;
}

/* === Responsive Banner Tweaks === */
@media (max-width: 1024px) {
    .banner {
        height: 90vh;
        padding: 2rem 1rem;
    }

    .banner-disc {
        width: 80%;
    }

    .post-head-title {
        font-size: 2.8rem;
        letter-spacing: 0.2rem;
    }

    .view-more h5 {
        width: 7em;
        font-size: 0.9rem;
        height: 2.5em;
    }
}

@media (max-width: 600px) {
    .banner {
        height: 80vh;
    }

    .post-head-title {
        font-size: 2.2rem;
    }

    .view-more h5 {
        font-size: 0.8rem;
        padding: 0.5em 1em;
    }
}



/* ABOUT US SECTION */
#about-us {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 4rem 1rem;
    background-color: black;
    position: relative;
    color: white;
}

/* IMAGE */
.about-img-wrapper {
  flex: 1;
  max-width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.about-img {
  width: 100%;
  height: auto;
  max-width: 350px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease;
}



/* TEXT CONTENT */
.about-disc {
    max-width: 600px;
    width: 100%;
    padding-right: 5%;
}

/* HEADING AND UNDERLINE */
.about_head {
    text-align: left;
    position: relative;
    margin-bottom: 2rem;
}
.about-head {
    font-size: 2rem;
    letter-spacing: 0.2rem;
    margin-bottom: 0.3rem;
}
.form_head_img {
    width: 120px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -15px;
}

/* GROUP LINE IMAGE */
.groupline {
    width: 80px;
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.1;
    z-index: -1;
}

/* PARAGRAPH TEXT */
.about-more {
    font-weight: 300;
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

/* BUTTON */
.about-btn {
    text-decoration: none;
}
.about-btn h5 {
    background-color: #8B6940;
    color: white;
    padding: 0.6em 1.5em;
    display: inline-block;
    font-size: 1rem;
    transition: all 0.3s ease-in-out;
}
.about-btn h5:hover {
    background-color: #D7BFA6;
    border-radius: 0;
}

/* ========== MEDIA QUERIES ========== */
@media (max-width: 968px) {
    .about-head {
        font-size: 1.6rem;
    }
    #about-dis

    .form_head_img {
        width: 90px;
        bottom: -12px;
    }

    .about-more {
        font-size: 0.95rem;
    }

    .about-btn h5 {
        font-size: 1rem;
    }
    #about-us{
        display: flex;
        flex-direction: column;
        padding-left: 5%;
    }
    .about_head {
    text-align: left;
    position: relative;
    margin-bottom: 2rem;
}
}

@media (max-width: 500px) {
    #about-us {
        padding: 2rem 1rem;
        gap: 1.5rem;
    }

    .about-head {
        font-size: 1.3rem;
    }

    .form_head_img {
        width: 80px;
        bottom: -10px;
    }

    .about-more {
        font-size: 0.9rem;
    }

    .about-btn h5 {
        font-size: 1rem;
        padding: 0.5em 1.2em;
    }
}
@media (max-width: 500px) {
  .about-img-wrapper {
    padding: 0.5rem;
  }

  .about-img {
    width: 335px;
  }
}


@media (max-width: 400px) {
    .about-head {
        font-size: 1.15rem;
    }

    .about-more {
        font-size: 0.85rem;
    }
    .form_head_img {
        width: 90px;
        bottom: -10px;
    }

    .about-btn h5 {
        font-size: 1rem;
        padding: 0.4em 1em;
    }
}

@media (max-width: 375px) {
  .about-img {
    width: 15em;
    height: 20em;
  }
}



/*VIEW POSTS SECTION*/
#view-posts{
    margin-top: 5%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 9%;
}


/* =================== POSTS SECTION - PROFESSIONAL AND FULLY RESPONSIVE =================== */

#posts {
    margin-top: 5%;
    padding: 2rem 1rem;
    position: relative;
    background-color: #0D0D0D;
    color: white;
}

.posts-disc {
    max-width: 1200px;
    margin: auto;
    padding: 0 1rem;
}

.post_head {
    text-align: center;
    position: relative;
    margin-bottom: 2rem;
}

.post_head h2 {
    font-size: 2.5rem;
    letter-spacing: 0.2rem;
    font-weight: bold;
}

.post_head::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%) skew(-12deg);
    width: 150px;
    height: 6px;
    background: #D7BFA6;
    z-index: -1;
    border-radius: 10px;
}

.post-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.5rem;
}

.recent-post {
    background-color: #1C1C1C;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(255,255,255,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recent-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(215, 191, 166, 0.2);
}

.recent_post_img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.recent-post:hover .recent_post_img {
    transform: scale(1.03);
}

.recent-post-texts {
    padding: 1rem;
}

.recent-post-head {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.recent-post-content {
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 300;
}

.recent_post_head_link {
    text-decoration: none;
    color: #D7BFA6;
    transition: color 0.3s ease;
}

.recent_post_head_link:hover {
    color: #D7BFA6;
}

/* Responsive typography and spacing */
@media (max-width: 768px) {
    .post_head h2 {
        font-size: 2rem;
    }

    .recent-post-content {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .post_head h2 {
        font-size: 1.5rem;
    }

    .recent_post_img {
        height: 170px;
    }

    .recent-post-texts {
        padding: 0.8rem;
    }

    .recent-post-head {
        font-size: 1rem;
    }

    .recent-post-content {
        font-size: 0.85rem;
    }
}

@media (max-width: 360px) {
    .recent_post_img {
        height: 150px;
    }

    .recent-post-content,
    .recent-post-head {
        font-size: 0.8rem;
    }
}


/* DONATION SECTION */
.donation_section {
    width: 90%;
    max-width: 1200px;
    margin: 3% auto;
    padding: 3rem 1rem;
    height: auto;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    text-align: center;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.donation-disc {
    color: white;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    max-width: 700px;
    padding: 2rem;
    background-color: rgba(0, 0, 0, 0.5); /* optional overlay for better readability */
    border-radius: 12px;
}

.donation-words {
    font-size: 2.5rem;
    letter-spacing: 2px;
    font-weight: 700;
    line-height: 1.3;
}

.donation-link {
    color: white;
    text-decoration: none;
    background-color: #8B6940;
    padding: 0.8em 2em;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.donation-link:hover {
    background-color: #D7BFA6;
    color: #000;
    border-radius: 0;
}

/* RESPONSIVENESS */
@media (max-width: 768px) {
    .donation-words {
        font-size: 2rem;
    }

    .donation-link {
        font-size: 1rem;
        padding: 0.7em 1.5em;
    }

    .donation-disc {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .donation-words {
        font-size: 1.5rem;
    }

    .donation-link {
        font-size: 0.95rem;
        padding: 0.6em 1.2em;
    }

    .donation-disc {
        gap: 1rem;
        padding: 1rem;
    }
}

/*contact style starts*/




    #links{
      width: 100%;
      height: fit-content;
      position: relative;
      padding-top: 3%;
      color: white;
    }
    .About-subj{
      text-align: center;
      letter-spacing: 0.2rem;
    }
    .About-change{
      color: #8B6940;
    }
    .link-box{
      display: flex;
      flex-direction: row;
      justify-content: center;
      margin-top: 5%;
    }
    .link1{
      display: flex;
      flex-direction: column;
      width: 50px;
      height: 50px;
      color: #8B6940;
      font-size: 40px;
      margin-left: 3%;
      margin-right: 3%;
    }
    .link-disc{
      font-size: 10px;
      color: white;
    }
    .link-disc a{
      text-decoration: none;
      color: white;
    }
    .copyright{
        color: white;
        text-align: center;
        color: #8B6940;
    }
    
    @media(max-width:950px){
      #links{
        height: 200px;
      }
    }
    @media(max-width: 1025px){
      #links{
        height: 300px;
      }
    }
    @media(max-width:450px){
      .link-box{
        margin-top: 10%;
      }
    }
    


    /*contact style ends*/