@font-face {
    font-family: "SolaimanLipi";
    src: url("../../fonts/SolaimanLipi.ttf") format("truetype");}

*{
    margin: 0;
    padding: 0;

}
body{
    box-sizing: border-box;
    font-family: "Ubuntu","SolaimanLipi",sans-serif;
    font-size: 16px;
    line-height: 1.3;
    font-feature-settings: "tnum","tnum";
    font-variant: tabular-nums;
}

  /* Remove overflow issues on parent elements */
  body, .container {
    overflow-x: hidden;
}


/* Global Color */
:root {
    --primary-color: rgb(0, 142, 72);
    --background-color: #F5F5F5;
    --text-color: green;
    --link-color:#008e48;
    --navbar-dark:#033b1e;
    --navbar-item-text:white;
    --description-text:#545454;
    --ourwork-bg1: linear-gradient(45deg, rgb(51, 153, 102), rgb(0, 153, 153));
    --ourwork-bg2: linear-gradient(45deg, rgb(0, 153, 204), rgb(0, 153, 153));
}


/* Navbar */
.nav-item a {
    color: var(--navbar-item-text);
    padding: 10px 15px;
}

.nav-item.active-border {
    border-bottom: 2px solid green;
  }

.aboutdropdown ul{
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0s 0.5s;
}

.aboutdropdown:hover ul{
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease-in-out, visibility 0s 0s;
  }

.btn-custom {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    font-size: 20px;
}
.btn-custom:hover {
    background-color: var(--primary-color);
}



/* global Time line design */
.timeline {
    position: relative;
    padding-left: 25px;
}

.timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    min-height: 40px;
    flex-wrap: nowrap;
}

.timeline-item::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 12px;
    bottom: 0;
    width: 2px;
    background: #e8e8e8;
}

.timeline-item:last-child::after {
    display: none;
}

.timeline-icon {
    position: relative;
    border:2px solid #52c41a;
    border-radius: 50%;
    z-index: 1;
    font-size: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Image gallery */
.hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.295);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.3s;
}
.position-relative:hover .hover-overlay {
    opacity: 1;
}


/* about page */
.menu-item {
    padding: 10px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: background 0.3s ease-in-out;
    position: relative;
}
.menu-item.active {
    color: green;
    font-weight: bold;
}
.border-indicator {
    position: absolute;
    top: 0;
    right:-14px;
    width: 3px;
    height: 40px;
    background-color: green;
    transition: top 0.4s ease-in-out;
}


.content { display: none; }
.content.show { display: block !important;}

/* input field */
::placeholder {
    color: #C5C6D6 !important;
}

select.form-select {
    color: #C5C6D6 !important;
}

select.form-select option {
    color: #000 !important;
}

select.form-select:focus,
input.form-control:focus {
    color: #000 !important;
}

    /* নিয়মিত অনুদান */
    .hidden { display: none; }
    .payment-option {
        cursor: pointer;
        border: 2px solid #ddd;
        padding: 10px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .payment-option img { width: 80px; }
    .payment-option.active {
        border-color: rgb(0, 142, 72);
        background-color: #d4edda;
    }

    .toggle-container {
        display: flex;
        justify-content: center;
        border: 1px solid rgb(0, 142, 72);
        border-radius: 12px;
        overflow: hidden;
    }
    .togglebtn {
        background-color: white;
        color: black;
        border: none;
        flex: 1;
        padding: 10px;
        text-align: center;
        cursor: pointer;
    }
    .togglebtn.active {
        background-color: rgb(228, 255, 242);
        color: rgb(0, 142, 72);
        border: 1px solid rgb(0, 142, 72);
        border-radius: 12px ;
    }

    /* সংবাদ + আজীবন ও দাতা সদস্য+চলমান প্রকল্প*/
    .currentproject p,.lifetime p,.lifetime span,.news p, .news h6{
        font-size: 16px;
        font-weight: 400;
        line-height: normal;
        color: #545454;
        text-align: justify;
    }

    .lifetime label{
        color: #535353;
    }

    .news  h1{
        font-size: 24px;
    }

    /* ভিডিও */
    .video{
        font-size: 14px;;
    }

    /* আমাদের কার্যক্রম */
   .about p, .content p{
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
    color: #545454;
    text-align: justify;
    }

   .about h4, .content h4{
        color: #008e48;
        font-size: 23px;
    }

    /* news details Text Styles */
.news-title {
    font-size: clamp(24px, 4vw, 40px);
    color:#545454;
}

.news-date {
    font-size: 14px;
    color:#545454;
}

.news-text {
    font-size: 16px;
    color:#545454;
    margin-top: 1em;
    margin-bottom: 1em;
    line-height: 1.6;
    text-align: justify;
}

.newsread:hover{
    border-bottom:1px solid green;
}

/* board or trust */

.owner{
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: 0.5s ease-in-out;
    background: linear-gradient(135deg, rgba(138, 231, 161, 0.788) 0%, rgba(255, 255, 255, 1) 30%, rgba(255, 255, 255, 1) 75%, rgba(138, 231, 161, 0.788) 100%);

}

.owner:hover{
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
      transform: translateY(-15px);
}
.owscoial{
    color: green;
    background-color: white;
    text-decoration: none;
    border-radius: 3px;
    transition: 0.5s ease-in-out;
}

.owscoial:hover{
    background-color:green;
    color:white;
}

.readmoreicon{
    background-color: green;
    color: white;
}

.readmoreicon:hover{
    background-color: white;
    color: green ;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15);
    transition: 0.5s ease-in-out;
}
.readmoreicon i {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0s 0.5s;
  }

  .readmoreicon:hover i {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease-in-out, visibility 0s 0s;
  }


 /* Responsive Design */
 @media (min-width: 320px) and (max-width: 425px) {
        .logo img {
            width:50px;
        }
        .btn-custom {
            font-size: 12px;
            padding: 4px 10px;
        }
    }


    @media (max-width: 425px) {
        .menu-item {
            padding: 10px;
            cursor: pointer;
            font-weight: 500;
            transition: background 0.3s ease-in-out;
            white-space: nowrap;
            min-width: max-content;
            position: relative;
        }

    }










