/* COLORS */
/* Orange : #FF914D */

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    font-family: "Open Sans", sans-serif;
}

header {
    height: 90px;
    background-color: #f8f8f8;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.inner-width {
    max-width: 1200px;
    padding: 7px 10px;
    margin: auto;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo > img {
    width: 80px;
}

.navigation-menu a {
    margin-left: 10px;
    text-transform: uppercase;
    font-size: 15px;
    padding: 12px 20px;
    border-radius: 20px;
    transition: .3s linear;
    color:#2f3640;
}

.navigation-menu a:hover {
    background-color: #FF914D;
    color: #ffffff;
}

.menu-toggle-btn {
    display: none !important;
    color: #fff;
    line-height: 90px;
    cursor: pointer;
}


/* Intro */
.intro {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro > .container {
    padding: 20px;
    position: relative;
    width: 60%;
    /* background-color: #ccc; */

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.intro::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('assets/Abu-Dhabi-mosque.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.4;
    z-index: -1;
}

#bismillah-img {
    width: 300px;
    margin-top: -250px;
    opacity: 0.8;
}

#dicover-with-us {
    font-size: 60px;
    text-align: center;
    color: black;
    opacity: 0.6;
}


/* video */
#video-section {
    position: relative; /* Enables absolute positioning for children */
    overflow: visible;  /* Ensures the image isn't clipped */
}

.video-wrapper {
    display: flex;
    justify-content: space-between; /* You can adjust this as needed */

    max-width: 1200px;
    padding: 0 10px;
    margin: auto;
    
    margin-top: 20px;
}

.video-container {
    width: 49%; /* Adjust the width as needed */
    padding-bottom: 25%; /* Adjust to control aspect ratio, e.g., 56.25% for 16:9 */
    position: relative;
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.outside-image {
    position: absolute; /* Positions the image relative to .my-section */
    top: -300px;         /* Adjust as needed to position outside the section */
    right: 1200px;       /* Adjust as needed to position outside the section */
    z-index: -50;         /* Ensures the image is above other content */
    width: 500px;
    opacity: 0.1;
}
/* Video ends */


.youtube-button {
    display: block;
    text-align: center;
    background-color: #ff0000cf; /* YouTube's red color */
    color: white;
    font-size: 18px;
    text-decoration: none; 
    transition: background-color 0.3s;

    max-width: 800px;
    padding: 15px 10px;
    margin: auto;
    margin-top: 30px;
    margin-bottom: 40px;
    border-radius: 25px;
}

.youtube-button i {
    margin-right: 10px; /* Add some space between the icon and the text */
}

.youtube-button:hover {
    background-color: #D90000; /* Darken the color a bit on hover */
}


/* Pillars of Islam section */
.pillars-of-islam {
    padding: 20px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 30px;
    /* margin: 70px 0; */
}

.pillars-of-islam::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('assets/flat-arabic-pattern.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: -1;
}

.pillars-of-islam > .container {
    width: 80%;
    border-radius: 16px;
    margin: 60px 0;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.pillars-of-islam .container > h1 {
    font-size: 50px;
    margin-top: 35px;
    background-color: white;
    border-radius: 50px;
    padding: 12px 300px;
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.3);
}

.pillars-of-islam .container .container2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin: 60px 0;
}

.circle {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    border: 1px dashed black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: black;
    text-align: center;
    background-color: white;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);

}

.circle i {
    /* font-size: 30px; */
    opacity: 0.7;
    margin-bottom: 10px;

}

.circle p {
    font-size: 18px;
    margin-top: 10px;
}

/* Pillars of Islam ends */


/* Audio Player */
#audio-section {
    position: relative;
    height: 80vh;

    display: flex;
    /* justify-content: center; */
    align-items: center;
}

#audiowrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    margin-left: 150px;
    background-color: #f4f4f4;
    width: 40%;
    height: 500px;
    border-radius: 30px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

#audiowrapper > h1 {
    font-size: 40px;
    margin-bottom: 30px;
    margin-top: -20px;
}

#audioPlayer {
    width: 80%;
    max-width: 600px;
    margin-bottom: 10px;
}

#playingInfo {
    font-size: 16px;
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

#audioFiles {
    list-style: none;
    padding: 0;
    width: 98%;
    max-width: 600px;
    text-align: left;
}

/* highlighted audio file */
#audioFiles li.selected {
    background-color: rgba(255, 145, 77, 0.8);
    /* color: black; */
    color: white;
}

#audioFiles li {
    text-transform: uppercase;
    font-size: 15px;
    padding: 12px 40px;
    border-radius: 30px;
    transition: .3s linear;
    color:#2f3640;
    cursor: pointer;
    border: 1px solid #ccc;
    margin: 5px 0;

    display: block;
    margin-left: auto;
}

#audioFiles li:hover {
    background-color: #FF914D;
    color: #ffffff;
}

#audioFiles li:before {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 10px;
}

#audiowrapper::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('assets/holy-quran.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.9;
    z-index: -2; 
}

#audiowrapper::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: #FF914D;
    opacity: 0.3;
    z-index: -1; 
}

#audioFilesWrapper {
    overflow-y: auto;
    max-height: 200px; 
    width: 80%;
    max-width: 600px;
    text-align: center;
}

#audioFiles {
    list-style: none;
    padding: 0;
    margin: 0;
}

#audioFilesWrapper::-webkit-scrollbar {
    width: 10px; /* Adjust width as needed */
}

#audioFilesWrapper::-webkit-scrollbar-thumb {
    background:#4b4b4b71; 
    border-radius: 5px; 
}

#audioFilesWrapper::-webkit-scrollbar-thumb:hover {
    background:#FF914D; /* Color when hovered */
    opacity: 0.2;
    cursor: pointer;
}

#audioFilesWrapper::-webkit-scrollbar-button {
    display: none; /* Hide up and down buttons */
}
/* Audio player ends */



/* Contact Form */
#form-section {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
}

#form-section-2 {
    display: flex;
    justify-content: center;
    max-width: 1300px;
    margin-top:90px;
    margin-bottom:30px;
    padding: 30px 40px;

    border-radius: 30px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

#form-section-2 .form-wrapper {
    padding: 20px;
    width: 33.33%; 
}

#form-section-2 .form-wrapper h1 {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
}

#form-section-2 #about-us a img{
    margin-top: 30px;
}

.contact-form label,
.contact-form input,
.contact-form textarea {
    display: block;
    width: 100%;
    margin-bottom: 10px;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    border: 1px solid #ccc;
}

.contact-form button {
    text-transform: uppercase;
    font-size: 15px;
    padding: 12px 40px;
    border-radius: 30px;
    transition: .3s linear;
    color:#2f3640;
    cursor: pointer;

    display: block;
    margin-left: auto;
}

.contact-form button:hover {
    background-color: #FF914D;
    color: #ffffff;
}

.contact-form button i {
    margin-right: 5px;
}

#contact-info p {
    font-size: 18px;
    margin-bottom: 30px;
    margin-left: 10px;
}

#contact-info i {
    /* color: #007BFF; */
    margin-right: 3px;
}

#contact-info a {
    /* color: #007BFF; */
    margin-right: 5px;
    text-decoration: none;
}

/* Contact Form Ends */

/* Footer */
footer {
    background-color: #f4f4f4;
    padding: 10px;
    text-align: center;
}

.copyright {
    font-size: 14px;
    color: #333;
    margin-top: 10px;
    margin-bottom: 20px;
}
/* Footer ends */

/* --------- Mobile View ---------s */
@media screen and (max-width: 700px) {
    .inner-width {
        /* max-width: 500px; */
        margin: 0 20px;
    }

    #bismillah-img {
        width: 216px
    }

    #dicover-with-us {
        font-size: 35px;
        margin-top: 50px;
    }

    .menu-toggle-btn {
        display: block !important;
    }

    .navigation-menu {
        position: fixed;
        width: 100%;
        /* max-width: 500px; */
        right: 0;
        top: 90px;
        background-color: #2f3648;
        display: none;
        padding: 20px 40px;
        box-sizing: border-box;
        z-index: 10;
    }

    .navigation-menu a {
        display: block;
        margin: 10px 0;
        color: white;
    }

    .navigation-menu.active {
        display: block;
    }

    /* video */
    .video-wrapper {
        flex-direction: column;
        margin-top: 0px;
    }
    .video-container {
        width: 100%;
        padding-bottom: 56.25%;
        margin-top: 20px;
    }

    .youtube-button {
        margin: 15px 10px;
        font-size: 12px;
    }

    .youtube-button i {
        margin-right: 3px;
    }

    /* Pillars of Islam */
    .pillars-of-islam .container > h1 {
        font-size: 28px;
        margin-top: 35px;
        padding: 0 0;
        display: flex;
        justify-content: center;
        align-items: center;
        min-width: 90vw;
        min-height: 59px;
    }

    /* Audio Player */
    #audiowrapper {
        margin-left: 5%;
        width: 90%;
    }

    /* Form */
    #form-section-2 {
        flex-direction: column;
        padding: 30px 0;
        width: 90vw;
    }

    #form-section-2 .form-wrapper {
        padding: 40px 35px;
        width: 75vw; 
    }

    .contact-form label, .contact-form input, .contact-form textarea {
        width: 93%;
    }

    .contact-form button {
        margin-top: 30px;
    }

    .form-wrapper::after {
        content: "";
        display: block;
        margin: 9px 0;
        border-bottom: 1px solid #000; /* Adjust the color and thickness as needed */
        opacity: 0.1;
        margin-top: 70px;
    }
      
    /* You may want to avoid the divider after the last element */
    .form-wrapper:last-child::after {
        display: none;
    }
}