/* ==========================================================
   CLASIZO LANDING PAGE
   PART 1
========================================================== */

:root{
    --primary:##020E37;
    --secondary:#FDB515;
    --text:#020E37;
    --light:#64748B;
    --background:#F5F8FD;
    --white:#ffffff;
    --glass:rgba(255,255,255,.55);
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Montserrat',sans-serif;
    background:var(--background);
    color:var(--text);
    overflow-x:hidden;
    position:relative;
}

/* Scrollbar */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#eef2f8;
}

::-webkit-scrollbar-thumb{
    background:var(--primary);
    border-radius:20px;
}

/* Container */

.container{
    width:min(1200px,92%);
    margin:auto;
}

/* Hero */

.hero{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    position:relative;
    padding:60px 0;
    z-index:5;
}

/* Logo */

.logo{
    display:block;
    width:220px;
    margin:0 auto 35px;
}

/* Heading */

.hero h1{
    text-align:center;
    font-size:clamp(42px,5vw,68px);
    font-weight:800;
    color:var(--primary);
    margin-bottom:18px;
    line-height:1.1;
}

.subtitle{
    text-align:center;
    max-width:700px;
    margin:auto;
    color:var(--light);
    font-size:18px;
    line-height:1.8;
}

/* Country Grid */

.countries{
    margin-top:70px;
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:35px;
}

/* Card */

.card{
    background:var(--glass);
    backdrop-filter:blur(16px);
    border-radius:28px;
    overflow:hidden;
    text-decoration:none;
    color:inherit;
    position:relative;
    transition:.45s;
    border:1px solid rgba(255,255,255,.7);
    box-shadow:
        0 15px 45px rgba(15,23,42,.08);
}

.card:hover{
    transform:translateY(-12px);
    box-shadow:
        0 30px 70px rgba(27,46,138,.18);
    border-color:rgba(27,46,138,.25);
}

/* Image */

.image{
    height:250px;
    overflow:hidden;
    position:relative;
}

.image::after{
    content:"";
    position:absolute;
    inset:0;
    background:
    linear-gradient(
        to top,
        rgba(0,0,0,.35),
        rgba(0,0,0,.05)
    );
}

.image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.7s;
}

.card:hover img{
    transform:scale(1.08);
}

/* Content */

.content{
    padding:28px;
}

.flag{
    font-size:34px;
}

.content h2{
    margin-top:14px;
    font-size:30px;
    font-weight:700;
    color:var(--primary);
}

.content p{
    margin-top:12px;
    color:var(--light);
    line-height:1.8;
    font-size:15px;
}

.explore{
    display:inline-flex;
    align-items:center;
    gap:10px;
    margin-top:24px;
    color:var(--primary);
    font-weight:700;
    transition:.35s;
}

.card:hover .explore{
    gap:18px;
}

/* Coming Soon */

.coming-soon{
    margin-top:55px;
    text-align:center;
    color:var(--light);
    font-weight:600;
    font-size:16px;
}

/* Background */

.background{
    position:fixed;
    inset:0;
    overflow:hidden;
    z-index:0;
    pointer-events:none;
}

/* World Map */

.world-map{
    position:absolute;
    width:1100px;
    max-width:90%;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
    opacity:.06;
    animation:floatMap 12s ease-in-out infinite;
}

/* Blobs */

.blob{
    position:absolute;
    border-radius:50%;
    filter:blur(90px);
}

.blob1{
    width:380px;
    height:380px;
    background:#6fa8ff;
    left:-120px;
    top:-120px;
    opacity:.28;
}

.blob2{
    width:350px;
    height:350px;
    background:#ffe39b;
    right:-100px;
    bottom:-100px;
    opacity:.35;
}

/* Animation */

@keyframes floatMap{

0%{
transform:translate(-50%,-50%);
}

50%{
transform:translate(-50%,-53%);
}

100%{
transform:translate(-50%,-50%);
}

}
/* Card Shine Effect */

.card::before{
    content:"";
    position:absolute;
    top:0;
    left:-120%;
    width:60%;
    height:100%;
    background:linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,.45),
        transparent
    );
    transition:.8s;
    z-index:2;
}

.card:hover::before{
    left:140%;
}

/* Border Glow */

.card::after{
    content:"";
    position:absolute;
    inset:0;
    border-radius:28px;
    padding:1px;
    background:linear-gradient(
        135deg,
        rgba(27,46,138,.35),
        rgba(253,181,21,.35)
    );
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite:xor;
            mask-composite:exclude;
    opacity:0;
    transition:.4s;
}

.card:hover::after{
    opacity:1;
}

/* Flag */

.flag{
    display:inline-block;
    transition:.4s;
}

.card:hover .flag{
    transform:scale(1.15) rotate(-8deg);
}

/* Title */

.card h2{
    transition:.35s;
}

.card:hover h2{
    color:#12216a;
}

/* Explore Arrow */

.explore i{
    transition:.35s;
}

.card:hover .explore i{
    transform:translateX(8px);
}

/* Logo Animation */

.logo{
    animation:fadeDown 1s ease;
}

/* Heading */

.hero h1{
    animation:fadeUp 1s .2s both;
}

.subtitle{
    animation:fadeUp 1s .35s both;
}

/* Cards */

.card{
    animation:fadeUp .8s both;
}

.card:nth-child(1){animation-delay:.45s;}
.card:nth-child(2){animation-delay:.60s;}
.card:nth-child(3){animation-delay:.75s;}
.card:nth-child(4){animation-delay:.90s;}

/* Animations */

@keyframes fadeDown{

from{
opacity:0;
transform:translateY(-40px);
}

to{
opacity:1;
transform:translateY(0);
}

}

@keyframes fadeUp{

from{
opacity:0;
transform:translateY(40px);
}

to{
opacity:1;
transform:translateY(0);
}

}

/* Floating Blobs */

.blob1{
    animation:blobOne 9s ease-in-out infinite;
}

.blob2{
    animation:blobTwo 11s ease-in-out infinite;
}

@keyframes blobOne{

0%,100%{
transform:translate(0,0);
}

50%{
transform:translate(40px,30px);
}

}

@keyframes blobTwo{

0%,100%{
transform:translate(0,0);
}

50%{
transform:translate(-30px,-35px);
}

}

/* Responsive */

@media(max-width:1100px){

.countries{
grid-template-columns:1fr;
max-width:650px;
margin-inline:auto;
margin-top:60px;
}

.hero h1{
font-size:52px;
}

}

@media(max-width:768px){

.hero{
padding:40px 0 70px;
}

.logo{
width:180px;
margin-bottom:25px;
}

.hero h1{
font-size:38px;
}

.subtitle{
font-size:16px;
padding:0 15px;
}

.image{
height:220px;
}

.content{
padding:22px;
}

.content h2{
font-size:26px;
}

.flag{
font-size:30px;
}

.coming-soon{
font-size:15px;
margin-top:35px;
}

.blob1{
width:240px;
height:240px;
}

.blob2{
width:220px;
height:220px;
}

}

@media(max-width:480px){

.container{
width:92%;
}

.hero h1{
font-size:32px;
}

.subtitle{
font-size:15px;
line-height:1.7;
}

.image{
height:190px;
}

.content h2{
font-size:24px;
}

.content p{
font-size:14px;
}

.logo{
width:160px;
}

.world-map{
width:700px;
opacity:.04;
}

}

/* Selection */

::selection{
background:#1B2E8A;
color:#fff;
}

/* ===================================
   Footer
=================================== */

.footer{
    margin-top:70px;
    padding:40px 20px;
    text-align:center;
}

.coming-soon{
    font-size:18px;
    font-weight:600;
    color:#64748B;
    margin-bottom:18px;
}

.copyright{
    font-size:15px;
    color:#64748B;
    line-height:1.8;
}

.copyright strong{
    color:#1B2E8A;
    font-weight:700;
}

.copyright a{
    color:#1B2E8A;
    font-weight:600;
    text-decoration:none;
    transition:.3s;
}

.copyright a:hover{
    color:#FDB515;
}