/*Font*/
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Merienda:wght@300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
:root{
    --nav-color: #fcfdfe;
    --BG-color: #f1f5f9;
    --footer-color: #014f77;
    --secondary-color: #014f77;
    --tertiary-color: #e27902;
}
body{
    margin: 0;
    padding: 0;
    background-color: var(--BG-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}
nav{
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(15px);
    display: flex;
    justify-content: end;
    align-items: center;
    padding: 10px;
    box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.3);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    flex-wrap: wrap;
}
.nav-container{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-right: 100px;
    gap: 140px;
}
.nav-container h2{
    font-size: 30px;
    color: var(--secondary-color);
    font-weight: 900;
    font-family: 'Merienda', cursive;
    transition: transform 0.3s ease;
}
.nav-logo img {
    width: 85px;
    height: auto;
    transition: transform 0.3s ease;
}
.nav-logo img:hover{
    transform: scale(1.1);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 50px;
}
.nav-links a{
    text-decoration: none;
    color: var(--secondary-color);
    font-size: 25px;
    font-weight: 600;
    transition: color 0.3s ease;
    transition: transform 0.3s ease;
}
.nav-links a:hover{
    color: var(--tertiary-color);
    text-decoration: underline 3px solid var(--tertiary-color);
    text-underline-offset: 5px;
    transform: scale(1.1);
}
.nav-links i{
    font-size: 30px;
}
.nav-links span{
    text-decoration: underline 3px solid var(--tertiary-color);
    text-underline-offset: 5px;
}
.hero-container{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 170px;
}
.hero-container img{
    width: 75%;
    height: 550px;
    object-fit: cover;
    border-radius: 25px;
    filter: brightness(0.6);
    margin-bottom: 50px;
}
.overlay-text{
    position: absolute;
    top: 52%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
}
.overlay-text h1{
    font-size: 100px;
    color: var(--nav-color);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.9);
}
.overlay-text a{
    text-decoration: none;
    color: var(--nav-color);
    font-size: 26px;
    font-weight: 600;
    background-color: var(--secondary-color);
    padding: 15px 25px;
    border-radius: 8px;
    margin: 0 auto;
    transition: background-color 0.3s ease;
}
.overlay-text a:hover{
    background-color: black !important;
}
.title{
    font-size: 42px;
    color: var(--secondary-color);
    font-weight: 600;
    text-align: center;
}
.verses-card{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    margin-bottom: 100px;
    background-color: var(--nav-color);
    width: 40%;
    height: auto;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    flex-wrap: wrap;
}
.verse-text{
    font-size: 35px;
    color: var(--secondary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.verse-text span{
    font-size: 20px;
    font-weight: 400;
    color: var(--tertiary-color);
    margin-top: 10px;
    display: block;
}
.discover-container{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    gap: 20px;
    margin-bottom: 100px;
    flex-wrap: wrap;
}
.discover-card{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 21%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    padding: 10px;
    transition: transform 0.3s ease;
    flex-wrap: wrap;
}
.discover-card:hover{
    transform: scale(1.06);

}
.discover-card img{
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 10px;
}
.discover-card h3{
    font-size: 25px;
    color: var(--secondary-color);
    font-weight: 600;
}
.discover-card a{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    width: 100%;
    height: 100%;
}
footer{
    background-color: var(--footer-color);
    color: var(--nav-color);
    padding: 10px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: auto;
    width: 100%;
}
footer p{
    font-size: 16px;
    font-weight: 400;
    font-family: 'Roboto Condensed', sans-serif;
}
/*----------------------------------*/
.bible-main-container{
    display: flex;
    align-items: end;
    flex-direction: column;
    width: 90%;
    height: auto;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    padding: 20px;
    margin: 0 auto;
    margin-top: 200px;
    margin-bottom: 100px;
    background-color: var(--nav-color);
    flex-wrap: wrap;
}
.bible-main-container h2{
    font-size: 42px;
    color: var(--secondary-color);
    font-weight: 600;
    margin: 0;
    margin-bottom: 15px;
    margin-right: 10px;
}
.bible-main-container hr{
    width: 100%;
    height: 1px;
    background-color:#ff8800;
    margin: 0;
}
.select-bible-container{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 20px;
    flex-wrap: wrap;
}
.select-bible-container label{
    margin-left: 10px;
    font-size: 20px;
    color: var(--secondary-color);
    font-weight: 600;
}
.select-bible-container select{
    width: auto;
    min-width: 200px;
    height: 40px;
    border: 2px solid var(--secondary-color);
    border-radius: 6px;
    outline: none;
    font-size: 20px;
    color: var(--tertiary-color);
    font-weight: 600;
    padding: 0 15px;
    background-color: var(--nav-color);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: right;
    direction: rtl;
    margin-left: 10px;
    -webkit-padding-start: calc(15px + 5px);
    padding-inline-start: calc(15px + 5px);
}
.select-bible-container select:hover{
    border-color: var(--tertiary-color);
}
.select-bible-container select option{
    background-color: var(--nav-color);
    color: var(--secondary-color);
    font-size: 18px;
    text-align: right;
    direction: rtl;
}
.verse-display-container{
    display: flex;
    justify-content: end;
    align-items: start;
    text-align: start;
    width: 98%;
    background-color: #e9edf3;
    border-radius: 6px;
    padding: 20px;
    margin-top: 10px;
    flex-wrap: wrap;
}
.verse-display-container p{
    width: 98%;
    font-size: 26px;
    color: var(--secondary-color);
    font-weight: 600;
    text-align: right;
    direction: rtl;
    margin-top: 0;
    line-height: 1.5;
}
.verses{
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}
.verses li{
    margin-bottom: 10px;
    text-align: right;
    direction: rtl;
}
.verses li strong{
    color: var(--tertiary-color);
    margin-left: 5px;
}
/*------------asrar--------------------*/
.asrar-container{
    display: flex;
    justify-content: center;
    width: 77%;
    height: auto;
    padding: 20px;
    margin: 0 auto;
    margin-bottom: 100px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    gap: 20px;
}
.asrar-container img{
    width: 600px;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
}
.asrar-content{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    align-self: flex-start;
    width: 60%;
    margin: 0;
}
.asrar-content h3{
    font-size: 30px;
    color: var(--secondary-color);
    font-weight: 600;
    margin: 0;
}
.asrar-content span{
    font-size: 24px;
    color: var(--tertiary-color);
    font-weight: 600;
    margin-left: 10px;
}
.asrar-content p{
    text-align: right;
    font-size: 22px;
    color: black;
    font-weight: 500;
    margin-top: 10px;
    font-family: 'Rubik', sans-serif;
    line-height: 1.5;
}
/*-----------------------agpeya--------------------*/
.agpeya-main-container{
    display: flex;
    justify-content: center;
    align-items: start;
    width: 98%;
    height: auto;
    margin: 0 auto;
    margin-top: 150px;
    margin-bottom: 50px;
    gap: 30px;
}
.agpeya-container-prayers-name{
    display: flex;
    justify-content: start;
    align-items: end;
    flex-direction: column;
    width: 20%;
    height: auto;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    padding: 20px;
    background-color: var(--nav-color);
}
.agpeya-container-prayers-text{
    display: flex;
    justify-content: start;
    align-items: end;
    flex-direction: column;
    width: 70%;
    height: auto;
    min-height: 400px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    padding: 30px;
    background-color: var(--nav-color);
}
.agpeya-container-prayers-text select{
    width: auto;
    min-width: 150px;
    max-width: 270px;
    height: 40px;
    border: 2px solid var(--secondary-color);
    border-radius: 6px;
    outline: none;
    font-size: 20px;
    color: var(--tertiary-color);
    font-weight: 600;
    padding: 0 15px;
    background-color: var(--nav-color);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: right;
    direction: rtl;
    margin-bottom: 20px;
    -webkit-padding-start: calc(15px + 5px);
    padding-inline-start: calc(15px + 5px);
}
.agpeya-container-prayers-text select:hover{
    border-color: var(--tertiary-color);
}
.agpeya-container-prayers-text select option{
    background-color: var(--nav-color);
    color: var(--secondary-color);
    font-size: 18px;
    text-align: right;
    direction: rtl;
}
.agpeya-container-prayers-text p{
    text-align: right;
    font-family: 'Rubik', sans-serif;
    font-size: 20px;
    color: var(--secondary-color);
    margin: 0;
}
.agpeya-container-prayers-name h2{
    font-family: 'Rubik', sans-serif;
    font-size: 20px;
    color: var(--secondary-color);
    font-weight: 600;
    margin: 0;
}
.agpeya-container-prayers-name hr{
    width: 100%;
    height: 1px;
    background-color: var(--tertiary-color);
    margin: 0;
    margin-top: 10px;
}
.agpeya-container-prayers-name-btns{
    display: flex;
    justify-content: center;
    align-items: end;
    flex-direction: column;
    width: 100%;
    height: auto;
    gap: 0px;
    margin-top: 10px;
}
.agpeya-container-prayers-name-btns button{
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    background-color: var(--nav-color);
    border: none;
    padding: 10px 10px;
    width: 100%;
    border-radius: 6px;
    outline: none;
    font-size: 20px;
    color: var(--secondary-color);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}
.agpeya-container-prayers-name-btns button:hover{
    background-color: #d7e0e9;
}
.agpeya-container-prayers-name-btns button:focus{
    background-color: rgb(0, 0, 25);
    color: var(--nav-color);
}
.agpeya-container-prayers-name-btns button.active {
    background-color: rgb(0, 0, 25);
    color: var(--nav-color);
}
/*--------------------------------media queries--------------------------------*/
/* Large Desktop (1200px and up) */
@media screen and (min-width: 1200px) {
    .discover-card {
        width: 21%;
    }
    .verses-card {
        width: 40%;
    }
    .asrar-container {
        width: 77%;
    }
}

/* Desktop and Small Laptop (992px to 1199px) */
@media screen and (max-width: 1199px) {
    .nav-container {
        gap: 60px;
        margin-right: 30px;
    }
    .nav-links {
        gap: 25px;
    }
    .nav-links a {
        font-size: 22px;
    }
    .nav-container h2 {
        font-size: 26px;
    }
    .nav-logo img {
        width: 75px;
    }
    .discover-card {
        width: 28%;
    }
    .verses-card {
        width: 50%;
    }
    .asrar-container {
        width: 85%;
    }
    .overlay-text h1 {
        font-size: 80px;
    }
}

/* Tablet and Small Desktop (768px to 991px) */
@media screen and (max-width: 991px) {
    nav {
        padding: 12px;
        justify-content: center;
    }
    .nav-container {
        gap: 30px;
        margin-right: 0;
        justify-content: center;
    }
    .nav-links {
        gap: 20px;
    }
    .nav-links a {
        font-size: 20px;
    }
    .nav-container h2 {
        font-size: 24px;
    }
    .nav-logo img {
        width: 65px;
    }
    .discover-card {
        width: 40%;
    }
    .verses-card {
        width: 70%;
    }
    .hero-container img {
        width: 85%;
        height: 450px;
    }
    .overlay-text h1 {
        font-size: 60px;
    }
    .asrar-container {
        width: 90%;
        flex-direction: column;
        align-items: center;
    }
    .asrar-content {
        width: 90%;
    }
    .asrar-container img {
        width: 90%;
    }
    
    /* Bible Section */
    .bible-main-container {
        width: 95%;
        margin-top: 150px;
    }
    .select-bible-container {
        gap: 15px;
    }
    .select-bible-container select {
        min-width: 150px;
    }
    
    /* Agpeya Section */
    .agpeya-main-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    .agpeya-container-prayers-name {
        width: 90%;
    }
    .agpeya-container-prayers-text {
        width: 90%;
    }
}

/* Mobile Landscape (576px to 767px) */
@media screen and (max-width: 767px) {
    nav {
        padding: 10px;
    }
    .nav-container {
        flex-direction: column;
        gap: 15px;
        margin-right: 0;
    }
    .nav-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .nav-links a {
        font-size: 18px;
    }
    .nav-container h2 {
        font-size: 22px;
    }
    .nav-logo img {
        width: 60px;
    }
    .discover-card {
        width: 80%;
    }
    .verses-card {
        width: 85%;
    }
    .hero-container {
        margin-top: 200px;
    }
    .hero-container img {
        width: 90%;
        height: 350px;
    }
    .overlay-text h1 {
        font-size: 40px;
    }
    .overlay-text a {
        font-size: 20px;
        padding: 12px 20px;
    }
    .title {
        font-size: 32px;
    }
    .verse-text {
        font-size: 28px;
    }
    
    /* Bible Section */
    .bible-main-container {
        margin-top: 220px;
    }
    .bible-main-container h2 {
        font-size: 32px;
    }
    .select-bible-container select {
        width: 100%;
        min-width: unset;
    }
    .verse-display-container p {
        font-size: 22px;
    }
    
    /* Asrar Section */
    .asrar-content h3 {
        font-size: 26px;
    }
    .asrar-content span {
        font-size: 20px;
    }
    .asrar-content p {
        font-size: 18px;
    }
}

/* Mobile Portrait (up to 575px) */
@media screen and (max-width: 575px) {
    nav {
        padding: 5px;
        height: auto;
    }
    .nav-container {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: row;
        margin-right: 0;
        gap: 0px;
        padding: 5px;
    }
    .nav-links {
        gap: 0px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav-links a {
        font-size: 14px;
        padding: 5px;
        margin: 0px 5px;
        margin-right: 25px;
    }
    .nav-container h2 {
        display: none;
    }
    .nav-logo img {
        width: 40px;
        height: 40px;
        padding: 0;
    }
    .nav-links i{
        font-size: 15px;
    }
    .discover-card {
        width: 90%;
    }
    .verses-card {
        width: 90%;
        padding: 15px;
    }
    .hero-container {
        margin-top: 100px;
    }
    .hero-container img {
        width: 85%;
        height: 250px;
    }
    .overlay-text{
        top: 30%;
    }
    .overlay-text a {
        font-size: 12px;
        padding: 10px 15px;
        margin: 0;
    }
    .title {
        font-size: 28px;
    }
    .verses-card{
        width: 70%;
    }
    .verse-text {
        font-size: 24px;
    }
    .verse-text span {
        font-size: 16px;
    }
    .discover-container{
        display: flex;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
        gap: 5px;
        margin-bottom: 50px;
    }
    .discover-card{
        width: 43%;
        text-align: center;
    }
    .discover-card img{
        width: 100%;
        min-height: 200px;
        max-height: 200px;
        object-fit: cover;
    }
    .footer{
        font-size: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
    /* Bible Section */
    .bible-main-container {
        width: 95%;
        padding: 15px;
        margin-top: 150px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }
    .bible-main-container h2 {
        font-size: 24px;
    }
    .select-bible-container label {
        font-size: 16px;
    }
    .select-bible-container{
        gap: 5px;
    }
    .select-bible-container select {
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        font-size: 16px;
        height: 35px;
        max-width: 30px;
    }
    .verse-display-container {
        padding: 15px;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        width: 90%;
        min-height: 100px;
        gap: 0px;
    }
    .verse-display-container p {
        font-size: 18px;
    }
    .select-bible-container select{
        width: 15%;
    }
    /* Agpeya Section */
    .agpeya-container-prayers-text {
        padding: 15px;
    }
    .agpeya-container-prayers-text select {
        font-size: 16px;
        height: 35px;
    }
    .agpeya-container-prayers-text p {
        font-size: 16px;
    }
    .agpeya-container-prayers-name-btns button {
        font-size: 16px;
        padding: 8px;
    }
    .asrar-container{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 10px;
        width: 80%;
    }
    .asrar-container img{
        width: 100%;
    }
    .asrar-content{ 
        width: 100%;
    }
    .asrar-content h3{
        font-size: 24px;
    }
    .asrar-content span{
        font-size: 18px;
    }
    .title{
        margin-top: 0px;
    }
}
