/*------------------------------ Root Start ------------------------------ */
@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,100..900;1,100..900&family=Cairo:wght@200..1000&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
:root{
    --base-color: #fbf4f4;         
    --base-variant: #e6edf7;      
    --text-color: #0f172a;      
    --secondary-text: #4b5563;     
    --primary-color: #1e3a8a;    
    --accent-color: #00bfff;        
    --shadow-color: #0f172a7d;   
}
.darkmode{
    --base-color: #0a192f;          
    --base-variant: #112240;     
    --text-color: #ffffff;   
    --secondary-text: #a8b2d1;    
    --primary-color: #1f6feb;       
    --accent-color: #00bfff;       
    --shadow-color: #ffffff41;   
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background-color: var(--base-color);
    color: var(--text-color);
    font-family: "Archivo", sans-serif;
    scroll-behavior: smooth;
}
.icon-style{
    background-color: var(--base-variant);
    border-radius: 50%;
    padding: 15px;
    color: var(--primary-color);
    font-size: 19px;
}
ul{
    list-style: none;
}
.header-in-pages{
    padding-top: 30px;
}
/*------------------------------ Root End ------------------------------ */
/*------------------------------ Light Dark Mode Start ------------------------------ */
#theme-switch{
    width: 50px;
    height: 50px;
    border: 0px solid rgb(255, 255, 255);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--base-variant);
    cursor: pointer;
}
#theme-switch svg{
    fill: var(--primary-color);
}
#theme-switch svg:last-child{
    display: none;
}
.darkmode #theme-switch svg:first-child{
    display: none;
}
.darkmode #theme-switch svg:last-child{
    display: block;
    fill: white;
}
/*------------------------------ Light Dark Mode End ------------------------------ */
/*------------------------------ Header Start ------------------------------ */
header{
    background-color: var(--base-color);
    box-shadow: 3px 3px 10px var(--shadow-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}
header nav{
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0px;
}
header img{
    width: 200px;
    height: 50px;
}
header ul{
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}
header ul li a{
    text-decoration: none;
    font-size: 17px;
    margin: 0px 20px;
    color: var(--text-color);
}
header ul li a:hover{
    color: var(--accent-color);
}
.active{
    color: var(--accent-color);
}
#sidebar{
    position: fixed;
    top: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.242);
    backdrop-filter: blur(10px);
    height: 100vh;
    width: 310px;
    z-index: 999;
    box-shadow: -10px 5px 10px rgba(0, 0, 0, 0.201);
    border-radius: 10px ;
    display: none;
    flex-direction: column;
}
#sidebar li{
    margin: 15px 10px;
}
#sidebar svg{
    fill: var(--text-color);
}
.navMenue svg{
    width: 50px;
    height: 50px;
    display: none;
    padding: 9px;
    border-radius: 50%;
    background-color: var(--base-variant);
    fill: var(--text-color);
}
/*------------------------------ Header End ------------------------------ */
/*------------------------------ Main Start ------------------------------ */
.line-under-head{
    margin: auto;
    width: 110px;
    height: 2px;
    margin-bottom: 30px;
    background: linear-gradient(to right, var(--text-color), var(--accent-color), var(--primary-color) );
    transition: 0.3s ease;
    border-radius: 50%;
}
.news-cover{
    min-height: 55vh;
    background-image: url("../img/news-back.png");
    background-size: cover;
    box-shadow: 0px 0px 10px var(--shadow-color);
    border-radius: 10px;
}
.news-button {
  display: inline-block;
  max-width: 200px;
  padding: 12px 24px;
  margin-top: 30px;

  background: transparent;
  color: var(--text-color);
  text-align: center;
  text-decoration: none;
  border-radius: 12px;

  box-shadow: 2px 2px 15px var(--shadow-color);
  transition: all 0.3s ease;

  cursor: pointer;
}
.news-button:hover {
  transform: translateY(-4px);
  box-shadow: 2px 2px 15px var(--shadow-color);
  background: linear-gradient(135deg, var(--accent-color), var(--base-color));
}
.right-section section{
    width: 90%;
    padding: 20px;
    border: 1px solid gray;
    border-radius: 10px 40px 10px;
    box-shadow: 0 4px 10px var(--shadow-color);
    transition: 0.4s ease;
}
.right-section section:hover{
    transform: scale(1.055);
}
#extraInfo,
#extraInfoo,
#extraInfooo {
    max-height: 0;
    opacity: 0;
    overflow: hidden;

    margin-top: 0;
    background-color: var(--base-variant);
    box-shadow: 0px 0px 7px var(--shadow-color);
    padding: 0 0px;

    border-radius: 10px 40px 10px;

    transition: 
        max-height 0.5s ease,
        opacity 0.4s ease,
        padding 0.4s ease,
        margin-top 0.4s ease;
}
#weather:hover #extraInfooo,
#AlAdhan:hover #extraInfo,
#Currency:hover #extraInfoo {

    max-height: 1000px; 
    opacity: 1;
    padding: 20px 0px;
    margin-top: 10px;
}
/*------------------------------ Main End ------------------------------ */
/*------------------------------ About Start ------------------------------ */
.about-option div div{
    border: 1px solid var(--shadow-color);
    box-shadow: 0 4px 15px var(--shadow-color);
    border-radius: 20px;
    width: 90%;
    padding: 20px;
    margin: auto;
    transition: 0.3s ease;
}
.about-option div div:hover{
    transform: translateY(-10px);
}
.section-header{
    width: 60%;
    margin: auto;
}
.section-header h5{
    text-align: center;
    margin-bottom: 20px;
}
.our-motto{
    border: 1px solid var(--shadow-color);
    box-shadow: 0 4px 15px var(--shadow-color);
    padding: 30px 0px;
    border-radius: 25px;
}
.our-motto h4{
    font-size: 27px;
}
.secsec{
    padding-bottom: 100px;
}
/*------------------------------ About End ------------------------------ */
/*------------------------------ Contact Start ------------------------------ */
.contact-info{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top:50px;
}
.con-infooo{
    display: flex;
    justify-content: center;
    align-items: center;
}
.contact-info div:first-child svg{
    background-color: var(--base-variant);
    color: var(--primary-color);
    border: 1px solid var(--base-color);
    border-radius: 50%;
    padding: 14px 15px;
    font-size: 17px;
}
.contact-info div:first-child svg:hover{
    background-color: transparent;
    color: var(--text-color);
    border: 1px solid var(--text-color);
    box-shadow: 0px 0px 15px var(--shadow-color);
    cursor: pointer;
}
/*------------------------------ Contact End ------------------------------ */
/*------------------------------ Footer Start ------------------------------ */
footer{
    margin-top: 100px;
}
#logo{
    width: 200px;
    height: 50px;
}
.footer-about{
    width: 80%;
    margin: auto;
}
.footer-icons ul{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    list-style: none;
}
.footer-icons ul li a{
    background-color: var(--base-variant);
    color: var(--primary-color);
    border: 1px solid var(--base-color);
    border-radius: 50%;
    padding: 14px 15px;
    font-size: 17px;
}
.footer-icons ul li a:hover{
    color: var(--text-color);
    background-color: transparent;
    border: 1px solid var(--text-color);
    box-shadow: 0px 0px 15px var(--shadow-color);
}
.footer-links h3{
    text-align: right;
}
.footer-links ul li a{
    text-decoration: none;
    color: var(--text-color);
    display: block;
    margin: 10px 0px;
    text-align: right;
}
.footer-linkss h3{
    text-align: left;
    margin-left: 25px;
}
.footer-linkss ul li a{
    text-decoration: none;
    color: var(--text-color);
    display: block;
    margin: 10px 0px;
    text-align: left;
}
.footer-copy ul{
    display: flex;
    gap: 40px;
}
.footer-copy ul li a{
    color: var(--shadow-color);
    text-decoration: none;
}
.footer-copy p{
    color: var(--shadow-color);
}
.copt-rights-star{
    color: var(--accent-color);
}
/*------------------------------ Footer End ------------------------------ */
/*------------------------------ Responsive Start ------------------------------ */
@media (max-width : 1000px){
    .hiddenLink{
        display: none;
    }
    .navMenue svg{
        display: block;
    }
    #theme-switch{
        display: none;
    }
    header nav{
        padding: 0px 37px;
        justify-content: space-between;
    }
    .section-header{
        width: 100%;
    }
    .header-in-pages{
        padding-top: 60px;
    }
}
@media (max-width : 500px){
    .navMenue svg{
        display: block;
    }
    #sidebar{
        width: 100%;
    }
    .header-in-pages{
        padding-top: 80px;
    }
}
/*------------------------------ Responsive End ------------------------------ */