/*==================================================
  AZHAR ALI CENTER
  Splash Page
==================================================*/

:root{
    --primary:#086afe;
    --primary-dark:#0556c9;
    --primary-light:#6eb8ff;
    --white:#ffffff;
    --text:#21334b;
    --glass:rgba(255,255,255,.17);
    --glass-border:rgba(255,255,255,.28);
    --shadow:0 15px 50px rgba(0,0,0,.18);
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins','Noto Kufi Arabic',sans-serif;
    overflow-x:hidden;
    color:#fff;
    background:#fff;
    min-height:100vh;
}

/*************************
BACKGROUND
**************************/

.background{
    position:fixed;
    inset:0;
    z-index:-10;
    overflow:hidden;
}

.building{
    position:absolute;
    inset:0;
    background:url("https://azhar-ali.com/go/wp-content/uploads/2013/10/20131009_1619481.jpg") center center/cover no-repeat;
    transform:scale(1.08);
    animation:zoomBackground 35s ease-in-out infinite alternate;
}

.building::before{
    content:"";
    position:absolute;
    left:0;
    top:-180px;
    width:100%;
    height:320px;
    background:url("https://azhar-ali.com/go/wp-content/uploads/2013/10/20131009_1619481.jpg") top center/cover no-repeat;
    filter:blur(35px);
    opacity:.9;
    transform:scale(1.15);
    mask-image:linear-gradient(to bottom, black 45%, transparent);
    -webkit-mask-image:linear-gradient(to bottom, black 45%, transparent);
}

.overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(135deg, rgba(8,106,254,.82), rgba(4,52,125,.82));
    z-index:2;
}

.pattern{
    position:absolute;
    inset:0;
    opacity:.06;
    z-index:3;
    background-image:radial-gradient(circle at center,#fff 2px,transparent 2px);
    background-size:40px 40px;
}

.circle{
    position:absolute;
    border-radius:50%;
    filter:blur(90px);
    z-index:2;
}

.circle1{
    width:350px;
    height:350px;
    background:#6db8ff;
    top:-120px;
    left:-120px;
}

.circle2{
    width:400px;
    height:400px;
    background:#1e8bff;
    bottom:-150px;
    right:-150px;
}

.circle3{
    width:220px;
    height:220px;
    background:#ffffff;
    opacity:.15;
    left:50%;
    top:60%;
    transform:translateX(-50%);
}

/*************************
HEADER
**************************/

.hero{
    padding-top:60px;
    text-align:center;
    animation:fadeDown 1.2s;
}

.logo-box{
    width:130px;
    height:130px;
    margin:auto;
    border-radius:50%;
    background:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 20px 45px rgba(0,0,0,.18);
}

.logo{
    width:82px;
}

.hero h1{
    margin-top:28px;
    font-size:40px;
    font-weight:700;
    letter-spacing:3px;
}

.hero h2{
    margin-top:14px;
    font-size:22px;
    font-family:'Noto Kufi Arabic';
    font-weight:600;
}

.hero p{
    margin-top:18px;
    font-size:15px;
    opacity:.9;
    letter-spacing:1px;
}

/*************************
CARDS
**************************/

.container{
    width:min(1200px,92%);
    margin:70px auto;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(360px,1fr));
    gap:35px;
}

.portal{
    position:relative;
    overflow:hidden;
    text-decoration:none;
    color:#fff;
    border-radius:28px;
    padding:45px;
    backdrop-filter:blur(22px);
    background:var(--glass);
    border:1px solid var(--glass-border);
    box-shadow:var(--shadow);
    transition:.45s;
}

.portal::before{
    content:"";
    position:absolute;
    width:240px;
    height:240px;
    border-radius:50%;
    background:rgba(255,255,255,.08);
    top:-100px;
    right:-100px;
}

.portal:hover{
    transform:translateY(-10px);
    box-shadow:0 30px 60px rgba(0,0,0,.28);
}

.portal:hover .btn{
    background:#fff;
    color:var(--primary);
}

.icon{
    font-size:55px;
}

.portal h3{
    margin-top:22px;
    font-size:34px;
}

.subtitle{
    display:block;
    margin-top:8px;
    opacity:.85;
    font-size:15px;
}

.portal ul{
    list-style:none;
    margin-top:35px;
}

.portal li{
    margin-bottom:16px;
    padding-left:18px;
    position:relative;
    font-size:17px;
}

.portal li::before{
    content:"";
    position:absolute;
    left:0;
    top:10px;
    width:7px;
    height:7px;
    border-radius:50%;
    background:#fff;
}

.btn{
    margin-top:35px;
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:15px 28px;
    border-radius:40px;
    border:2px solid #fff;
    transition:.35s;
    font-weight:600;
}

.btn span{
    transition:.35s;
}

.portal:hover span{
    transform:translateX(6px);
}

.arabic{

    direction: rtl;
    text-align: right;
    font-family: "Noto Kufi Arabic", sans-serif;

}

.arabic ul{

    padding:0;
    margin-top:35px;

}

.arabic li{

    padding-left:0;
    padding-right:22px;

}

.arabic li::before{

    left:auto;
    right:0;

}
/*==============================
FOOTER
==============================*/

.footer{
    padding:55px 20px 35px;
    text-align:center;
    border-top:1px solid rgba(255,255,255,.18);
    background:rgba(255,255,255,.08);
    backdrop-filter:blur(18px);
}

.footer-logo{
    width:75px;
    height:75px;
    margin:0 auto 18px;
    border-radius:50%;
    background:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    box-shadow:0 10px 25px rgba(0,0,0,.18);
}

.footer-logo img{
    width:48px;
}

.footer h3{
    font-size:22px;
    letter-spacing:2px;
    color:#fff;
    margin-bottom:12px;
}

.footer-ar{
    font-family:"Noto Kufi Arabic",sans-serif;
    font-size:15px;
    margin-bottom:8px;
    opacity:.95;
}

.footer-en{
    font-size:14px;
    opacity:.8;
    margin-bottom:28px;
}

.footer-copy{
    display:flex;
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    gap:12px;
    font-size:14px;
    color:rgba(255,255,255,.85);
}

.footer-copy .divider{
    opacity:.35;
}

.footer-copy span{
    transition:.3s;
}

.footer-copy span:hover{
    color:#fff;
}

/*=========================================
  Large Laptop
=========================================*/

@media (max-width:1400px){
    .container{
        width:min(1100px,94%);
        gap:30px;
    }
}

/*=========================================
  Laptop
=========================================*/

@media (max-width:1200px){
    .hero h1{
        font-size:34px;
    }
    .hero h2{
        font-size:20px;
    }
    .container{
        width:95%;
        gap:25px;
    }
    .portal{
        padding:35px;
    }
}

/*=========================================
  Tablet Landscape
=========================================*/

@media (max-width:992px){
    .hero{
        padding-top:45px;
    }
    .container{
        grid-template-columns:1fr;
        max-width:650px;
        gap:30px;
    }
    .portal{
        padding:35px;
    }
    .quick-links{
        margin-top:20px;
    }
}

/*=========================================
  Tablet Portrait & Mobile
=========================================*/

@media (max-width:768px){
    .hero{
        padding-top:35px;
    }
    .logo-box{
        width:100px;
        height:100px;
    }
    .logo{
        width:60px;
    }
    .hero h1{
        font-size:26px;
        letter-spacing:1px;
    }
    .hero h2{
        font-size:18px;
        line-height:1.8;
        padding:0 15px;
    }
    .hero p{
        font-size:14px;
        padding:0 20px;
    }
    .container{
        width:92%;
        margin:45px auto;
    }
    .portal{
        padding:28px;
    }
    .portal h3{
        font-size:28px;
    }
    .portal li{
        font-size:15px;
    }
    .btn{
        width:100%;
        justify-content:center;
    }
    .links{
        flex-direction:column;
        gap:12px;
    }
    .links a{
        width:100%;
        max-width:320px;
    }
    .footer{
        padding:45px 20px 30px;
    }
    .footer h3{
        font-size:18px;
    }
    .footer-ar{
        font-size:14px;
        line-height:1.9;
    }
    .footer-en{
        font-size:13px;
    }
    .footer-copy{
        flex-direction:column;
        gap:8px;
    }
    .footer-copy .divider{
        display:none;
    }
}

/*=========================================
  Mobile
=========================================*/

@media (max-width:576px){
    body{
        overflow-x:hidden;
    }
    .hero{
        padding-top:25px;
    }
    .logo-box{
        width:85px;
        height:85px;
    }
    .logo{
        width:52px;
    }
    .hero h1{
        font-size:20px;
    }
    .hero h2{
        font-size:15px;
        line-height:1.9;
    }
    .hero p{
        font-size:13px;
    }
    .container{
        width:94%;
        margin:35px auto;
    }
    .portal{
        border-radius:22px;
        padding:22px;
    }
    .icon{
        font-size:42px;
    }
    .portal h3{
        font-size:24px;
    }
    .portal li{
        font-size:14px;
        margin-bottom:14px;
    }
    .btn{
        padding:14px;
        font-size:15px;
    }
    .quick-links{
        width:94%;
    }
    footer{
        padding:30px 15px;
    }
}

/*=========================================
  Small Mobile
=========================================*/

@media (max-width:390px){
    .hero h1{
        font-size:18px;
    }
    .hero h2{
        font-size:14px;
    }
    .portal{
        padding:18px;
    }
    .portal h3{
        font-size:22px;
    }
    .portal li{
        font-size:13px;
    }
    .btn{
        font-size:14px;
    }
}