@import "./header.css";

/*==================================================
                    HERO
==================================================*/

.hero{

    min-height:100vh;

    padding:140px 8% 80px;

    display:grid;

    grid-template-columns:1.1fr .9fr;

    align-items:center;

    gap:60px;

}

.hero-left{

    animation:fadeLeft .8s ease;

}

.hero-tag{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:10px 18px;

    background:#ffe5e5;

    color:var(--accent);

    border-radius:30px;

    font-size:14px;

    font-weight:600;

    margin-bottom:20px;

}

.hero-title{

    font-size:64px;

    line-height:1.15;

    font-weight:800;

    margin-bottom:20px;

}

.hero-title span{

    color:var(--accent);

}

.hero-desc{

    max-width:620px;

    color:var(--muted);

    font-size:18px;

    line-height:1.9;

    margin-bottom:35px;

}

.hero-btn{

    display:flex;

    gap:18px;

    flex-wrap:wrap;

}

.hero-btn .btn{

    min-width:180px;

    justify-content:center;

}

/*================ HERO IMAGE ================*/

.hero-right{

    position:relative;

    display:flex;

    justify-content:center;

    animation:fadeRight .8s ease;

}

.hero-right img{

    width:100%;

    max-width:560px;

    border-radius:28px;

    box-shadow:0 30px 60px rgba(0,0,0,.18);

}

/*================ FLOATING CARD ================*/

.hero-card{

    position:absolute;

    background:white;

    border-radius:18px;

    box-shadow:0 15px 40px rgba(0,0,0,.12);

    padding:18px 22px;

    display:flex;

    align-items:center;

    gap:15px;

}

.hero-card i{

    width:50px;

    height:50px;

    border-radius:50%;

    background:var(--accent);

    color:white;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:22px;

}

.hero-card h4{

    font-size:16px;

    margin-bottom:4px;

}

.hero-card p{

    font-size:13px;

    color:var(--muted);

}

.hero-card.top{

    top:30px;

    left:-40px;

}

.hero-card.bottom{

    bottom:20px;

    right:-30px;

}

/*==================================================
                AMBIENT BACKGROUND
==================================================*/

.ambient{

    position:fixed;

    width:500px;

    height:500px;

    border-radius:50%;

    filter:blur(120px);

    z-index:-1;

    opacity:.18;

}

.ambient-left{

    top:-180px;

    left:-180px;

    background:#ff595e;

}

.ambient-right{

    right:-180px;

    bottom:-180px;

    background:#ffb703;

}


/*==================================================
                    FEATURE
==================================================*/

.feature{

    padding:90px 8%;

}

.feature-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:28px;

}

.feature-card{

    background:white;

    border-radius:22px;

    padding:35px 28px;

    text-align:center;

    box-shadow:var(--shadow);

    transition:.35s;

}

.feature-card:hover{

    transform:translateY(-10px);

    box-shadow:var(--shadow-hover);

}

.feature-card i{

    width:75px;

    height:75px;

    border-radius:50%;

    background:rgba(214,40,40,.08);

    color:var(--accent);

    display:flex;

    justify-content:center;

    align-items:center;

    margin:auto;

    font-size:32px;

    margin-bottom:20px;

}

.feature-card h3{

    margin-bottom:12px;

    font-size:22px;

}

.feature-card p{

    color:var(--muted);

    line-height:1.8;

}

/*==================================================
                COMMON SECTION
==================================================*/

.section{

    padding:90px 8%;

}

.section-title{

    text-align:center;

    margin-bottom:60px;

}

.section-title span{

    color:var(--accent);

    font-weight:600;

    letter-spacing:2px;

    text-transform:uppercase;

    font-size:14px;

}

.section-title h2{

    font-size:42px;

    margin-top:15px;

    margin-bottom:18px;

}

.section-title p{

    max-width:720px;

    margin:auto;

    color:var(--muted);

    line-height:1.8;

}

/*==================================================
                    FOOTER
==================================================*/

.footer{

    background:#111;

    color:white;

    margin-top:80px;

    padding:70px 8% 25px;

}

.footer-top{

    display:grid;

    grid-template-columns:2fr 1fr 1fr 1fr;

    gap:40px;

    margin-bottom:50px;

}

.footer-logo{

    display:flex;

    align-items:center;

    gap:15px;

    margin-bottom:20px;

}

.footer-logo img{

    width:60px;

    height:60px;

    border-radius:50%;

}

.footer-logo span{

    font-size:28px;

    font-weight:700;

}

.footer p{

    color:#bbb;

    line-height:1.8;

}

.footer h4{

    margin-bottom:20px;

    color:white;

}

.footer ul{

    list-style:none;

}

.footer ul li{

    margin-bottom:12px;

}

.footer ul li a{

    color:#bbb;

    transition:.25s;

}

.footer ul li a:hover{

    color:white;

    padding-left:6px;

}

.footer-social{

    display:flex;

    gap:15px;

    margin-top:20px;

}

.footer-social a{

    width:42px;

    height:42px;

    border-radius:50%;

    background:#222;

    display:flex;

    justify-content:center;

    align-items:center;

    transition:.25s;

}

.footer-social a:hover{

    background:var(--accent);

}

.footer-bottom{

    border-top:1px solid rgba(255,255,255,.08);

    padding-top:25px;

    text-align:center;

    color:#999;

}

/*==================================================
                    ANIMATION
==================================================*/

@keyframes fadeLeft{

    from{

        opacity:0;

        transform:translateX(-60px);

    }

    to{

        opacity:1;

        transform:translateX(0);

    }

}

@keyframes fadeRight{

    from{

        opacity:0;

        transform:translateX(60px);

    }

    to{

        opacity:1;

        transform:translateX(0);

    }

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/*==================================================
                COMMON EFFECT
==================================================*/

.hover-up{

    transition:.3s;

}

.hover-up:hover{

    transform:translateY(-8px);

}

.shadow{

    box-shadow:var(--shadow);

}

.rounded{

    border-radius:var(--radius);

}