/*=================================================
 ZAF INTERNATIONAL LANDING PAGE
 Author : ChatGPT
=================================================*/

:root{

    --primary:#2f3294;
    --primary-dark:#1d226d;
    --primary-light:#5864d8;

    --white:#ffffff;
    --text:#5f6482;
    --heading:#2b3188;

    --bg:#f8f9fe;

    --shadow:0 20px 50px rgba(32,45,105,.10);
    --shadow-hover:0 35px 70px rgba(32,45,105,.18);

    --radius:22px;

    --transition:.45s ease;

}

/*============================
RESET
=============================*/

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;

    background:var(--bg);

    color:var(--text);

    overflow-x:hidden;

    min-height:100vh;

    position:relative;

}

/*============================
BACKGROUND
=============================*/

.page-bg{

    position:fixed;

    inset:0;

    overflow:hidden;

    z-index:-5;

}

/* Top Ribbon */

.top-wave{

    position:absolute;

    left:30px;

    top:0;

    width:40%;

    pointer-events:none;

}

/* Bottom Ribbon */

.bottom-wave{

    position:absolute;

    right:0;

    top:0;

    width:40%;

    pointer-events:none;

}

/* Decorative Light */

body::before{

    content:"";

    position:fixed;

    width:700px;

    height:700px;

    left:-280px;

    top:-280px;

    background:radial-gradient(circle,
    rgba(47,50,148,.15),
    transparent 70%);

    z-index:-4;

}

body::after{

    content:"";

    position:fixed;

    width:650px;

    height:650px;

    right:-260px;

    bottom:-260px;

    background:radial-gradient(circle,
    rgba(47,50,148,.10),
    transparent 70%);

    z-index:-4;

}

/*============================
FLOATING CIRCLES
=============================*/

.circle{

    position:absolute;

    border-radius:50%;

    animation:float 15s infinite linear;

}

.circle1{

    width:240px;

    height:240px;

    left:5%;

    top:22%;

    background:rgba(47,50,148,.06);

}

.circle2{

    width:180px;

    height:180px;

    right:8%;

    top:18%;

    background:rgba(90,110,255,.06);

    animation-duration:18s;

}

.circle3{

    width:280px;

    height:280px;

    bottom:12%;

    left:42%;

    background:rgba(47,50,148,.05);

    animation-duration:20s;

}

/*============================
MAIN WRAPPER
=============================*/

.landing-page{

    width:100%;

    max-width:1380px;

    margin:auto;

    padding:55px 20px 70px;

}

/*============================
LOGO SECTION
=============================*/

.hero{

    text-align:center;

    margin-bottom:70px;

    animation:fadeUp 1s ease;

}

.logo{

    width:170px;

    margin-bottom:20px;

    transition:.4s;

}

.logo:hover{

    transform:scale(1.05);

}

.hero h1{

    font-family:'Cormorant Garamond',serif;

    font-size:64px;

    color:var(--heading);

    font-weight:700;

    letter-spacing:3px;

    margin-bottom:10px;

}

.tagline{

    display:block;

    color:var(--primary);

    text-transform:uppercase;

    letter-spacing:6px;

    font-size:15px;

    font-weight:600;

    margin-bottom:28px;

    position:relative;

}

.tagline::before{

    content:"";

    width:80px;

    height:1px;

    background:#bfc4e8;

    display:inline-block;

    vertical-align:middle;

    margin-right:18px;

}

.tagline::after{

    content:"";

    width:80px;

    height:1px;

    background:#bfc4e8;

    display:inline-block;

    vertical-align:middle;

    margin-left:18px;

}

.hero p{

    max-width:760px;

    margin:auto;

    font-size:18px;

    line-height:34px;

    color:#6b708d;

}

/*============================
SECTION TITLE
=============================*/

.division-section{

    position:relative;

}

/*.division-section::before{

    content:"CHOOSE YOUR BUSINESS DIVISION";

    display:block;

    text-align:center;

    color:var(--primary);

    font-size:30px;

    font-family:'Cormorant Garamond',serif;

    font-weight:700;

    letter-spacing:2px;

    margin-bottom:45px;

}*/

/*==========================================
DIVISION GRID
==========================================*/

.division-grid{

    display:flex;

    justify-content:center;

    align-items:stretch;

    gap:50px;

    flex-wrap:wrap;

}


/*==========================================
CARD
==========================================*/

.division-card{

    position:relative;

    width:500px;

    min-height:560px;

    background:rgba(255,255,255,.88);

    backdrop-filter:blur(18px);

    border:1px solid rgba(47,50,148,.12);

    border-radius:26px;

    overflow:hidden;

    text-decoration:none;

    box-shadow:0 20px 55px rgba(25,35,90,.10);

    transition:.45s;

}

.division-card:hover{

    transform:translateY(-15px);

    box-shadow:0 35px 80px rgba(20,30,80,.18);

}


/*==========================================
BLUE CORNER
==========================================*/

/*.division-card::before{

    content:"";

    position:absolute;

    width:120px;

    height:120px;

    right:0;

    top:0;

    background:linear-gradient(
        135deg,
        transparent 50%,
        #2f3294 50%
    );

    z-index:5;

}*/

.division-card::after{

    content:"";

    position:absolute;

    left:-40%;

    top:0;

    width:40%;

    height:100%;

    background:rgba(255,255,255,.18);

    transform:skewX(-25deg);

    transition:1s;

}

.division-card:hover::after{

    left:140%;

}


/*==========================================
BACKGROUND IMAGE
==========================================*/

.card-background{

    position:absolute;

    inset:0;

    overflow:hidden;

}

.card-background img{

    position:absolute;

    left:50%;

    top:45%;

    transform:translate(-50%,-50%);

    width:82%;

    opacity:.52;

    transition:1s;

    pointer-events:none;

}

.division-card:hover .card-background img{

    opacity:.22;

    transform:translate(-50%,-52%) scale(1.05);

}


/*==========================================
OVERLAY
==========================================*/

.card-overlay{

    position:absolute;

    inset:0;

    background:linear-gradient(
        to bottom,
        rgba(255,255,255,.15),
        rgba(255,255,255,.90)
    );

}


/*==========================================
CONTENT
==========================================*/

.card-content{

    position:relative;

    z-index:10;

    height:100%;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    padding:60px;

    text-align:center;

}


/*==========================================
ICON
==========================================*/

.icon-box{

    width:120px;

    height:120px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    background:rgba(47,50,148,.06);

    border:1px solid rgba(47,50,148,.08);

    margin-bottom:35px;

    transition:.45s;

}

.icon-box i{

    font-size:55px;

    color:#2f3294;

}

.division-card:hover .icon-box{

    transform:scale(1.08);

    background:#2f3294;

}

.division-card:hover .icon-box i{

    color:#fff;

}


/*==========================================
HEADING
==========================================*/

.card-content h2{

    font-family:'Cormorant Garamond',serif;

    font-size:35px;

    color:#2f3294;

    margin-bottom:25px;

    letter-spacing:1px;

}


/*==========================================
DECORATIVE LINE
==========================================*/

.card-content h2::after{

    content:"";

    display:block;

    width:80px;

    height:2px;

    background:#bcc3ef;

    margin:18px auto;

}


/*==========================================
TEXT
==========================================*/

.card-content p{

    max-width:340px;

    font-size:18px;

    line-height:32px;

    color:#68708c;

    margin-bottom:40px;

}


/*==========================================
BUTTON
==========================================*/

.explore-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:15px;

    min-width:260px;

    height:62px;

    border-radius:10px;

    background:linear-gradient(
        90deg,
        #2f3294,
        #3f48d5
    );

    color:#fff;

    font-size:16px;

    font-weight:600;

    letter-spacing:1px;

    text-transform:uppercase;

    transition:.4s;

    box-shadow:0 18px 35px rgba(47,50,148,.25);

}

.explore-btn i{

    transition:.35s;

}

.division-card:hover .explore-btn{

    transform:translateY(-4px);

    box-shadow:0 25px 45px rgba(47,50,148,.35);

}

.division-card:hover .explore-btn i{

    transform:translateX(8px);

}

/*=========================================
FOOTER
=========================================*/

.footer{

    margin-top:70px;

    padding:30px 20px;

}

.footer-container{

    max-width:1400px;

    margin:auto;

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:20px;

    flex-wrap:wrap;

    border-top:1px solid rgba(47,50,148,.10);

    padding-top:30px;

}

.footer-left{

    display:flex;

    align-items:center;

    gap:15px;

}

.footer-logo{

    width:45px;

}

.footer-left span{

    color:#2f3294;

    font-weight:600;

    letter-spacing:1px;

}

.footer-center{

    color:#6c7393;

    letter-spacing:2px;

    font-size:14px;

}

.footer-right{

    color:#7d82a0;

    font-size:14px;

}

/*=========================================
BACK TO TOP
=========================================*/

#backToTop{

    position:fixed;

    right:35px;

    bottom:35px;

    width:55px;

    height:55px;

    border:none;

    border-radius:50%;

    background:#2f3294;

    color:#fff;

    cursor:pointer;

    box-shadow:0 15px 35px rgba(47,50,148,.25);

    transition:.35s;

    opacity:0;

    visibility:hidden;

    z-index:999;

}

#backToTop.show{

    opacity:1;

    visibility:visible;

}

#backToTop:hover{

    transform:translateY(-6px);

    background:#1d226d;

}

/*=========================================
PRELOADER
=========================================*/

#loader{

    position:fixed;

    inset:0;

    background:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:99999;

    transition:.6s;

}

.loader-ring{

    width:80px;

    height:80px;

    border-radius:50%;

    border:5px solid rgba(47,50,148,.12);

    border-top-color:#2f3294;

    animation:spin 1s linear infinite;

}

/*=========================================
ANIMATIONS
=========================================*/

@keyframes spin{

    to{

        transform:rotate(360deg);

    }

}

@keyframes float{

    0%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-25px);

    }

    100%{

        transform:translateY(0);

    }

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(60px);

    }

    to{

        opacity:1;

        transform:none;

    }

}

@keyframes pulse{

    0%{

        box-shadow:0 0 0 0 rgba(47,50,148,.35);

    }

    70%{

        box-shadow:0 0 0 18px rgba(47,50,148,0);

    }

    100%{

        box-shadow:0 0 0 0 rgba(47,50,148,0);

    }

}

@keyframes shine{

    0%{

        left:-100%;

    }

    100%{

        left:130%;

    }

}

/*=========================================
RESPONSIVE
=========================================*/

@media(max-width:1200px){

    .division-card{

        width:460px;

    }

}

@media(max-width:992px){

    .landing-page{

        padding:40px 20px;

    }

    .division-grid{

        flex-direction:column;

        align-items:center;

    }

    .division-card{

        width:100%;

        max-width:560px;

    }

    .hero h1{

        font-size:52px;

    }

}

@media(max-width:768px){

    .logo{

        width:130px;

    }

    .hero h1{

        font-size:42px;

    }

    .tagline{

        font-size:13px;

        letter-spacing:3px;

    }

    .hero p{

        font-size:16px;

        line-height:30px;

    }

    .card-content{

        padding:40px 30px;

    }

    .card-content h2{

        font-size:42px;

    }

    .icon-box{

        width:90px;

        height:90px;

    }

    .icon-box i{

        font-size:42px;

    }

    .explore-btn{

        min-width:220px;

        height:56px;

        font-size:15px;

    }

    .footer-container{

        justify-content:center;

        text-align:center;

    }

}

@media(max-width:576px){

    .landing-page{

        padding:30px 15px;

    }

    .hero{

        margin-bottom:45px;

    }

    .hero h1{

        font-size:34px;

    }

    .division-card{

        min-height:470px;

    }

    .card-content h2{

        font-size:36px;

    }

    .card-content p{

        font-size:15px;

        line-height:28px;

    }

    .explore-btn{

        width:100%;

    }

    .top-wave{
        display: none;
        width:70%;

    }

    .bottom-wave{
        display: none;
        width:70%;

    }

}



.explore-btn{

    position:relative;

    overflow:hidden;

}

.ripple{

    position:absolute;

    border-radius:50%;

    background:rgba(255,255,255,.45);

    transform:scale(0);

    animation:ripple .7s linear;

    pointer-events:none;

}

@keyframes ripple{

    to{

        transform:scale(4);

        opacity:0;

    }

}