body{
    justify-content: center;
    align-items: center;
    background-size: cover;

}
.bg-video{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

/* ===== شريط التنقل ===== */
.navbar{
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 14px 20px;
    background-color: rgba(0, 0, 0, 0.78);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}
.nav-link{
    color: white;
    text-decoration: none;
    font-size: 24px;
    padding: 8px 20px;
    border-radius: 8px;
    transition: all 0.25s ease;
}
.nav-link:hover{
    background-color: #4CAF50;
    color: white;
    transform: translateY(-2px);
}
.nav-link.active{
    background-color: goldenrod;
    color: black;
}

.links{
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 10px;
      display: flex;
    justify-content: center;
        margin: auto;
    align-items: center;

}
.bu{
    background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    font-size: 33px;
    border-radius: 8px;
    width: 500px;
    transition: all 0.3s ease;
  
}
img{
    width: 300px;
    height: 300px;
    align-items: center;
    justify-content: center;
    margin:0 auto;
    display: block;
}
.bu:hover {
    background-color: goldenrod;
    color: black;
    transform: translateY(-5px) scale(1.09);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.con{
    display:flex;
    justify-content: space-between;
    flex-direction: row;
    gap: 17.5px;
}
.con1{
    display:flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    gap: 17.5px;
}

.bu:active {
    transform: translateY(2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
 .x{
        background-color: #4CAF50;
    color: white;
    padding: 10px 20px;
    text-align: center;
    text-decoration: none;
    font-size: 30px;
    border-radius: 8px;
    width: 160px;
    transition: all 0.3s ease;

 }


.x:hover{
    
    background-color: goldenrod;
    color: black;
    transform: translateY(-5px) scale(1.09);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.a{
    display:flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 12px;

}

.search-wrap{
    display: flex;
    justify-content: center;
    margin: 25px auto 10px;
}
.search-box{
    width: 90%;
    max-width: 500px;
    padding: 14px 22px;
    font-size: 26px;
    text-align: center;
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    border: 2px solid #4CAF50;
    border-radius: 30px;
    outline: none;
    transition: all 0.3s ease;
}
.search-box::placeholder{
    color: #cccccc;
}
.search-box:focus{
    border-color: goldenrod;
    box-shadow: 0 0 12px rgba(218, 165, 32, 0.6);
}
.as{
    color: red;
    font-size: 170px;
    text-align: right;
    margin-top: 30px;

}
h3{
    color: rgb(200, 200, 20);
    font-size: 38px;
    text-align: right;
}
.des{
    color: greenyellow;
    font-size: 45px;
    font-style: underline;
    text-align: right;
}
.bo{
    background-color:black;
}

.text{
    color: white;
    font-size: 46px;
    text-align: center;
    margin-top: 23px;
}

.se{
    color: white;
    font-size: 60px;
    text-align: center;
}

.sec{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 18px;
}

.h{
    color:goldenrod;
    font-size: 44px;
    background-color:greenyellow;
    opacity: 0.9;
    border-radius: 11.6px;
    text-align: center;
    padding-top: 7px;
    font-family: 'Courier New', Courier, monospace;
}

.r{
    color:rgb(17, 15, 15);
    font-size: 54px;
     text-align: left;
     font-style: bold;

}

/* ===== صفحة عرض السورة (sura.html) ===== */
.sura-wrap{
    max-width: 900px;
    margin: 30px auto;
    padding: 30px 35px;
    background-color: rgba(0, 0, 0, 0.65);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.back-btn{
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 8px 18px;
    text-decoration: none;
    font-size: 22px;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.back-btn:hover{
    background-color: goldenrod;
    color: black;
}

.sura-head{
    text-align: center;
    margin: 15px 0;
}
.sura-name{
    color: goldenrod;
    font-size: 55px;
    margin: 10px 0;
}
.sura-meta{
    color: greenyellow;
    font-size: 24px;
}

.sura-audio{
    display: block;
    width: 100%;
    max-width: 500px;
    margin: 15px auto 25px;
}

.basmala{
    display: block;
    color: white;
    font-size: 55px;
    margin-bottom: 20px;
}

.ayah-num{
    display: inline-block;
    color: goldenrod;
    font-size: 32px;
    border: 2px solid goldenrod;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    margin: 0 6px;
}
