* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Plus Jakarta Sans", sans-serif;
}

body {
    background-color: #fff;
    position: absolute;
    width: 100%;
}

.nav-active a{
    color: #07A550;
}


/* section-one */
.nisab-section {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 90px 0px 0px;
}

.nisab-img {
    height: auto;
    width: 400px;
    border-radius: 12px;
}

.nisab-content {
    /* width: 1130px; */
    max-width: 85%;
    margin: 40px auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 20px;
}

.text {
    width: 540px;
}

.text h2 {
    color: #131313;
    font-size: 46px;
    font-weight: 600;
    font-family: "Plus Jakarta Sans", sans-serif;
      
}
    
.text p {
    color: #626060;
    font-size: 16px;
    line-height: 25px;
    margin-top: 15px;
    font-family: "DM Sans", serif;
}


/* section-two Nisab rates */
.container {
    max-width: 1200px;
    margin: 0px auto;
    padding: 20px;
}

.container h1 {
    font-size: 36px;
    text-align: center;
    margin-bottom: 10px;
    font-family: "Plus Jakarta Sans", sans-serif;
}

.container h4 {
    font-size: 18px;
    text-align: center;
    margin-bottom: 40px;
    font-family: "DM Sans", serif;
    color: #626060;
}

/* Content Layout */
.content {
    display: flex;
    gap: 30px;
}

/* Nisab Cards Section */
.nisab-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 40%;
}

.nisab-card {
    display: flex;
    background-color: #EBEEF1;
    border-radius: 10px;
    overflow: hidden;
    padding: 20px;
    gap: 20px;
}

.nisab-image {
    width: 40%;
    object-fit: cover;
    border-radius: 8px;
}

.nisab-details {
    padding: 10px 0px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 60%;
}

.nisab-details h2 {
    font-size: 24px;
    margin-bottom: 10px;
    font-family: "DM Sans", serif;
    font-weight: 300;
}

.nisab-details p {
    font-size: 16px;
    margin-bottom: 10px;
    font-family: "DM Sans", serif;
}

#gold-value{
    color: #07A550;
    font-size: 30px;
    font-family: "DM Sans", serif;
    font-weight: 700;
}

#gold-price{
    font-size: 16px;
    font-weight: 500;
}

#silver-value{
    color: #07A550;
    font-size: 30px;
    font-family: "DM Sans", serif;
    font-weight: 700;
}

#silver-price{
    font-size: 16px;
    font-weight: 500;
}


/* Nisab Accordion */
.nisab-accordion {
    width: 60%;
}

.nisab-question {
    margin-bottom: 20px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.nisab-question h3 {
    font-size: 18px;
    cursor: pointer;
    margin-bottom: 5px;
    font-family: "Plus Jakarta Sans", sans-serif;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.nisab-answer {
    font-size: 16px;
    display: none;
    font-family: "DM Sans", serif;
    display: none;
    overflow: hidden;
    transition: max-height 0.3s ease;
    max-height: 0;
    color: #626060;
}

.nisab-answer.active {
    max-height: 100px;
    display: block;
}

.arrow {
    font-size: 1.2em;
    transition: transform 0.3s ease;
}


/* -----------------------------------
---------Responsive view-----------
----------------------------------- */

/* ----------section-one--------- */
/* Tablet View */
@media (max-width: 1024px) {
    .nisab-content{
      flex-direction: column;
      align-items: center;
    }
    
    .nisab-img{
      /* width: 300px; */
      width: 70%;
      margin-bottom: 20px;
    }
    
    .text {
      width: 100%;
      text-align: center;
      margin-bottom: 20px;
    }
    
    .text h5 {
      font-size: 20px;
    }  
    
    .text p {
      font-size: 16px;
    }
}
    
/* Mobile View */
@media (max-width: 768px) {
    .nisab-section {
      padding: 50px 0 0;
    }
    
    .nisab-content {
      width: 90%;
      flex-direction: column;
      gap: 30px;
    }
    
    .nisab-img {
      /* width: 250px; */
      width: 70%;
      margin-bottom: 20px;
    }
    
    .text h5 {
      font-size: 18px;
    }
    
    .text p {
      font-size: 14px;
      line-height: 22px;
    }
    
}


/* Responsive Design */
@media (max-width: 999px) {
    .content {
        flex-direction: column;
    }

    .nisab-cards{
        flex-direction: row;
    }

    .nisab-cards, .nisab-accordion {
        width: 100%;
    }
}

@media (max-width: 768px) {

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

    .content {
        flex-direction: column;
    }

    .nisab-cards, .nisab-accordion {
        width: 100%;
    }

    .nisab-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .nisab-image {
        width: 100%;
        border-radius: 25px;
    }

    .nisab-details {
        padding: 20px 10px;
        width: 100%;
    }

    .donate-button {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 550px) {
    .nisab-cards{
        flex-direction: column;
    }
}