/* Global-Content */

*{
    margin: 0;
    box-sizing: border-box;
}
body{
    overflow-x: hidden;
    line-height: 1.5;
    background: url(Images/misty-mountain-lake-sunrise.webp) right;
}

/* Color Variables */
:root {
    --dark-color: hsl(240, 28%, 14%);
    --light-color: hsl(210, 17%, 98%);
    --gold-color: hsl(46, 65%, 52%);
    --gradient-primary: linear-gradient(135deg, hsl(229, 76%, 66%) 0%, hsl(270, 37%, 46%) 100%);
    --gradient-gold: linear-gradient(135deg, hsl(46, 65%, 52%) 0%, hsl(45, 74%, 84%) 100%);
}

/*Navigation-Content*/

.navbar{
    position: fixed;
    right: 0;
    left: 0;
    background: hsl(240, 28%, 14%);
    z-index: 1000;
    box-shadow: 0 2px 20px var(--dark-color);
}
.nav-container{
    max-width: 1200px;
    margin: auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo{
    display: flex;
    align-items: center;
    gap: 1rem;
}
.logo-icon{
    height: 50px;
    width: auto;
}
.logo-text{
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--gold-color);
    text-shadow: 2px 2px 4px hsla(0, 0%, 0%, 0.5);
}
a{
    text-decoration: none;
    color: var(--light-color);
}
ul{
    list-style: none;
}
.nav-menu{
    display: flex;
    gap: 2rem;
}
.nav-menu li a{
    font-size: 1.2rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    padding: 0.7rem 2rem;
    position: relative;
}
.nav-menu li a::after{
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%);
    height: 2px;
    width: 0;
    background: var(--gold-color);
    transition: width 0.3s ease;
}
.nav-menu li a:hover::after{
    width: 80%;
}
.nav-menu li a:hover,
.nav-menu li a.active{
    color: var(--gold-color);
}
.hamburger{
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}
.hamburger span{
    width: 25px;
    height: 3px;
    background: var(--gold-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/*Header-Content*/

.hd{
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url(Images/black-gold-islamic-qiblah.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.hd-content{
    animation: fadeInDown 1s ease;
}
.hd-title{
    font-size: 3.8rem;
    margin: 3rem 0;
    color: var(--light-color);
    text-shadow: -5px 6px 10px hsl(0, 0%, 0%);
}
@keyframes fadeInDown{
    from{
        opacity: 0;
        transform: translateY(-70px);
    }
    to{
        opacity: 1;
        transform: translateY(0px);
    }
}
.scroll-down i{
    color: var(--gold-color);
    font-size: 2.2rem;
}
.scroll-down{
    position: absolute;
    bottom: 30px;
    left: 50%;
    animation: bounce 2s infinite;
}
@keyframes bounce{
    0%,
    20%,
    50%,
    80%,
    100%{
        transform: translateX(-50%) translateY(0);
    }

    40%{
        transform: translateX(-50%) translateY(-10px);
    }

    60%{
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Main-Content */

@keyframes fadeIn{
    from{
        opacity: 0;
        transform: translateY(80px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}
.fade-in{
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.active{
    opacity: 1;
    transform: translateY(0);
}

/* CTA-Content */

.info-section{
    display: grid;
    place-items: center;
    background: url(Images/white-yellow-background-with-flowers.webp);
    color: var(--light-color);
    min-height: 100vh;
    padding: 5rem 0;
}
.info-container{
    display: flex;
}
.info-sect-left{
    flex: 1;
    margin: 2rem;
    padding: 2rem;
}
.info-sect-left-inner{
    background-color: color-mix(in srgb, var(--dark-color),transparent 15%);
    border-radius: 10px;
    box-shadow: 0 10px 20px hsla(0, 0%, 0%, 0.3);
    text-align: center;
    transition: transform 0.3s ease;
    width: 80%;
}
.info-sect-left-inner:hover{
    transform: translateY(-10px);
}
.info-sect-left h2{
    font-size: 2.2rem;
    padding: 1rem;
}
.info-sect-left p{
    font-size: 1.2rem;
    padding: 2rem;
}
.btn-whatsapp{
    background-color: hsla(0, 0%, 0%, 0.40);
    color: hsl(106, 90%, 35%);
    padding: 1rem;
    font-size: 1.2rem;
    border-radius: 20px;
    cursor: pointer;
    transition-duration: 0.5s;
}
.btn-whatsapp:hover{
    background-color: hsl(106, 90%, 35%);
    color: white;
    box-shadow: 1px 1px 10px hsl(0, 63%, 60%);
    transition-duration: 0.5s;
}
.btn-whatsapp:active{
    opacity: 0.4;
}
.info-sect-right{
    flex: 1;
}
.info-sect-right-inner{
    background-color: color-mix(in srgb, var(--dark-color),transparent 15%);
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 10px 20px hsla(0, 0%, 0%, 0.3);
    text-align: center;
    transition: transform 0.3s ease;
    width: 80%;
}
.info-sect-right-inner:hover{
    transform: translateY(-10px);
}
.info-sect-right h2{
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}
.form-group > *:not(.submit-btn){
    margin-bottom: 1.5rem;
    text-align: left;
}
.form-group label{
    display: block;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--gold-color);
}
.form-group input,
.form-group select,
.form-group textarea{
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
    border: 2px solid var(--light-color);
    border-radius: 5px;
    background: transparent;
    color: var(--light-color);
    transition: border-color 0.3s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
    border-color: var(--gold-color);
    outline: none;
}
.submit-btn{
    display: inline-block;
    padding: 0.8rem 2rem;
    font-size: 1rem;
    font-weight: bold;
    color: var(--dark-color);
    background: var(--gold-color);
    text-align: center;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.submit-btn:hover{
    background: var(--light-color);
    color: var(--dark-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

/* Footer-Content */

.footer{
    background: var(--dark-color);
    padding: 4rem 0 1rem;
}
.footer h2{
    color: var(--gold-color);
    font-size: 2rem;
}
.footer hr{
    background-color: var(--gold-color);
    height: 3px;
    margin: 1rem 0;
}
.footer-item{
    display: flex; 
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    color: white;
    letter-spacing: 1px;
}
.footer-item p:hover,
.footer-item a:hover,
.footer-item i{
    cursor: pointer;
    color: var(--gold-color);
    transition: color 0.3s ease;
}
.footer-content{
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
    align-items: start;
}
.footer-right{
    display: flex;
    justify-content: space-evenly;
    gap: 80px;
}
#copy-msg{
    position: fixed;
    bottom:30px;
    right:30px;
    background: var(--gold-color);
    color: var(--dark-color);
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity .3s ease,transform .3s ease,visibility .3s ease;
    z-index: 9999;
}
#copy-msg.show{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.logo-icon.bottom{
    width: 250px;
    height: auto;
}
.footer-bottom{
    text-align: center;
}
.footer-bottom a{
    text-decoration: underline;
    margin-right:0.8rem;
}
.footer-bottom p{
    color: var(--gold-color);
    font-size: 1rem;
}




/* Home-Page Content */


/*Header-Content*/

.home-page .hd-start{
    font-size: 1.2rem;
    color: var(--gold-color);
    letter-spacing: 1.7px;
    text-shadow: 2px 2px 10px hsl(0, 0%, 0%);
}
.home-page .hd-verse{
    color: var(--light-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    line-height: 1.75;
    font-style: italic;
    text-shadow: 2px 3px 15px hsl(0, 0%, 0%);
    max-width: 1000px;
}
.home-page .hd-buttons{
    display: flex;
    justify-content: center;
}
.home-page .btn-about{
    background-color: var(--gold-color);
    color: var(--dark-color);
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.4s ease;
}
.home-page .btn-about:hover{
    transform: translateY(-2.5px);
    box-shadow: 0 4px 15px hsl(51, 79%, 29%);
}

/*Main Content*/

.home-page .mcon{
    padding: 3em 2em;
}
.home-page .mcon-head{
    text-align: center;
}
.home-page .mcon-head h2{
    font-size: 3rem;
    margin-bottom: 2rem;
    letter-spacing: 2.5px;
}
.home-page .mcon-head h2::after{
    content: '';
    position: absolute;
    height: 4px;
    bottom: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    background: var(--gradient-gold);   
    border-radius: 2px;
}
.home-page .mcon-head p{
    font-size: 1.4rem;
}
.home-page .mcon-grid{
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    max-width: 1200px;
    margin: 0 auto;
    gap: 2rem;
}
.home-page .mcon-card{
    padding: 2.5rem;
    margin-block:3rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px hsl(0, 0%, 0%);
    text-align: center;
    transition: all 0.3s ease;
    background: var(--light-color);
}
.home-page .mcon-icon{
    padding: 18px;
    margin: 0 auto 2.5rem;
    font-size: 2rem;
    background-color: var(--gold-color);
    border-radius: 50%;
    box-shadow: 2px 2px 10px;
    height: 80px;
    width: 80px;
    color: hsl(240, 28%, 14%);
}
.home-page .mcon-card.featured{
    background: var(--gradient-primary);
    color: hsl(216, 33%, 97%);
}
.home-page .mcon-card h3{
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    color: var(--dark-color);
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
.home-page .mcon-card.featured h3{
    color: hsl(210, 17%, 98%);
}
.home-page .mcon-card.featured p,
.home-page .mcon-card p{
    line-height: 1.8;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
.home-page .mcon-card::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    transform: scaleX(0);
    background: var(--gold-color);
    height: 8px;
    transition: transform 0.3s ease;
}
.home-page .mcon-card:hover::before{
    transform: scaleX(1);
}
.home-page .mcon-card.featured:hover,
.home-page .mcon-card:hover{
    transform: translateY(-10px);
}




/* About-Page & Course-Page Content */


/*Header-Content*/

.shared-page .hd-back{
    color: var(--gold-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}




/* Course-Page Content */


/*Main Content*/

.course-page .mcon{
    padding: 2em;
}
.course-page .mcon-grid{
    color: var(--dark-color);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    max-width: 1200px;
    margin: 0 auto;
    gap: 3rem;
}
.course-page .mcon-card{
    padding: 2rem;
    margin-top: 10%;
    border-radius: 15px;
    line-height: 1;
    box-shadow: 0 10px 30px black;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: var(--light-color);
}
.course-page .mcon-card.featured{
    background: var(--gradient-primary);
    color: hsl(216, 33%, 97%);
}
.course-page .mcon-icon{
    padding: 20px;
    margin: 0 auto 2.5rem;
    font-size: 2rem;
    display: inline-block;
    background-color: var(--gold-color);
    border-radius: 50%;
    box-shadow: 2px 2px 10px;
    height: 80px;
    width: 80px;
    justify-content: center;
    color: hsl(240, 28%, 14%);
}
.course-page .mcon-card h3{
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    color: var(--dark-color);
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
.course-page .mcon-card.featured h3{
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    color: hsl(0, 0%, 100%);
    font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
}
.course-page .mcon-card p{
    line-height: 1.4;
    font-size: 1rem;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}
.course-page .mcon-card::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    transform: scaleX(0);
    background: var(--gold-color);
    height: 8px;
    transition: transform 0.3s ease;
}
.course-page .mcon-card:hover::before{
    transform: scaleX(1);
}
.course-page .mcon-card:hover{
    transform: translateY(-10px);
}




/*About-Page Content*/


/*Main Content*/

.about-page .mcon{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0rem;
}
.about-page .mcon-head h2{
    font-size: 2.7rem;
    color: var(--dark-color);
    display: block;
    margin: 3rem auto;
    letter-spacing: 2.5px;
}
.about-page .mcon-head h2::after{
    content: '';
    position: absolute;
    height: 4px;
    bottom: -50px;
    left: 21%;
    transform: translateX(-50%);
    width: 100px;
    background: var(--gradient-gold);
    border-radius: 2px;
}
.about-page .mcon-item{
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    max-width: 1500px;
    color: hsl(0, 0%, 0%);
    font-size: 1.2rem;
    margin-bottom: 4rem;
}
.about-page .mcon-img{
    height: 450px;
    object-fit: contain;
    border-radius: 10px;
    margin: 0 2rem;
}
.about-page .mcon-img-left{
    order: 1;
}
.about-page .mcon-img-right{
    order: 2;
}
.about-page .mcon-para{
    width: 50%;
    line-height: 2.5rem;
    letter-spacing: 1px;
    padding: 0 2rem;
    text-align: left;
    margin: 0 4rem;
}
.about-page .mcon-para-left,
.about-page .mcon-para-right{
    order: 1;
}
.about-page .founder{
    display: flex;
    text-align: center;
}
.about-page .founder h4{
    font-size: 1.4rem;
    color: hsl(0, 0%, 0%);
    margin-top: 1rem;
}
.about-page .msg{
    font-style: italic;
    font-size: 1.3rem;
}