@font-face{
    font-family:'AvantGarde';
    src:url('fonts/AvantGardeDemi.otf') format('opentype');
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'AvantGarde', sans-serif;
    overflow-x:hidden;
    background:#10135a;
}

/* NAVBAR */

.navbar{
    width:100%;
    height:74px;

    background:#1c2fa3;

    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:0 28px;

    position:fixed;
    top:0;

    z-index:999;
}

.logo img{
    height:72px;
}

.nav-links{
    display:flex;
    gap:50px;

    list-style:none;
}

.nav-links a{
    color:white;
    text-decoration:none;

    font-size:12px;
}

.nav-links a.active{
    border-bottom:2px solid white;
    padding-bottom:4px;
}

.contact-btn{
    background:white;
    color:#1c2fa3;

    text-decoration:none;

    padding:10px 18px;

    border-radius:8px;

    font-size:12px;
}

/* MAIN */

.why-page{
    padding:120px 20px 60px;

    text-align:center;
    color:white;

    background:
        radial-gradient(circle at 80% 70%, rgba(160, 14, 82, 0.55), transparent 35%),
        linear-gradient(180deg, #06145f 0%, #15115f 100%);
}

.why-page h1{
    font-size:58px;
    margin-bottom:12px;
}

.subtitle{
    font-size:14px;
    margin-bottom:45px;
}

/* GRID */

.why-grid{
    max-width:1200px;

    margin:0 auto 50px;

    display:grid;
    grid-template-columns:repeat(6, 1fr);

    gap:32px;
}

.why-card{
    grid-column:span 2;
}

/* LAST ROW CENTER */

.why-card:nth-child(4){
    grid-column:2 / span 2;
}

.why-card:nth-child(5){
    grid-column:4 / span 2;
}

.why-card{
    height:360px;

    border:1px solid rgba(255,255,255,0.45);
    border-radius:8px;

    overflow:hidden;

    background:rgba(255,255,255,0.04);

    display:flex;
    flex-direction:column;
}

.card-image{
    height:230px;
    background:white;

    display:flex;
    align-items:center;
    justify-content:center;

    overflow:hidden;
}

.card-image img{
    width:100%;
    height:100%;

    object-fit:contain;
    display:block;
}

.card-bottom{
    height:130px;

    background:rgba(20,20,80,0.85);

    padding:18px 12px;

    display:flex;
    flex-direction:column;
    justify-content:center;
}

.card-bottom h3{
    font-size:20px;
    margin-bottom:10px;
}

.card-bottom p{
    font-size:12px;
    line-height:1.3;
}
/* BOX */

.density-box{
    max-width:900px;

    margin:0 auto 50px;

    padding:28px;

    border:1px solid rgba(255,255,255,0.45);
    border-radius:8px;
}

.density-box h2{
    font-size:30px;
    margin-bottom:14px;
}

.density-box p{
    font-size:12px;
    line-height:1.4;
}

/* TABLE */

.comparison-table{
    max-width:700px;
    margin:0 auto;
}

.comparison-table h2{
    margin-bottom:16px;
    font-size:28px;
}

table{
    width:100%;
    border-collapse:collapse;

    overflow:hidden;
    border-radius:8px;
}

th{
    background:white;
    color:#1c2fa3;

    padding:12px;
    font-size:14px;
}

td{
    padding:12px;
    font-size:13px;

    border:1px solid rgba(255,255,255,0.25);

    background:rgba(255,255,255,0.05);
}

/* FOOTER IMAGE */

.why-footer-image{
    position:relative;
    width:100%;

    border-top:6px solid white;
    border-bottom:6px solid white;

    overflow:hidden;

    line-height:0;
}

.why-footer-image img{
    width:100%;
    height:auto;

    display:block;

    margin-bottom:-480px;
}

.why-footer-content{
    position:absolute;
    inset:0;

    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;

    text-align:center;

    color:white;

    line-height:1.2;

    background:rgba(28,47,163,0.35);
}

.why-footer-content h2{
    font-size:40px;
    margin-bottom:22px;
}

.why-footer-content a{
    background:#d61c4e;
    color:white;

    text-decoration:none;

    padding:14px 40px;

    border-radius:999px;

    font-size:15px;
}

/* FOOTER */

footer{
    background:#1c2fa3;

    color:white;

    text-align:center;

    padding:26px;

    font-size:16px;
}

/* OUR CLIENTS LOGO SLIDER */

.our-clients-section{
    max-width:1200px;
    margin:60px auto 0;
    text-align:center;
}

.our-clients-section h2{
    font-size:32px;
    margin-bottom:28px;
    color:white;
}

.logo-slider{
    width:100%;
    overflow:hidden;
    background:white;
    border-radius:10px;
    padding:18px 0;
}

.logo-track{
    display:flex;
    width:max-content;
    animation: logoScroll 28s linear infinite;
}

.logo-slider:hover .logo-track{
    animation-play-state:paused;
}

.logo-box{
    width:210px;
    height:110px;
    flex-shrink:0;

    display:flex;
    align-items:center;
    justify-content:center;

    border-right:1px solid #cceaf3;
}

.logo-box img{
    max-width:150px;
    max-height:75px;
    object-fit:contain;
}

@keyframes logoScroll{
    from{
        transform:translateX(0);
    }
    to{
        transform:translateX(-50%);
    }
}

/* MOBILE */

@media(max-width:600px){

    .navbar{
        height:42px;
        padding:0 12px;
    }

    .logo img{
        height:34px;
    }

    .nav-links{
        gap:26px;
    }

    .nav-links a{
        font-size:6px;
    }

    .contact-btn{
        padding:5px 9px;
        font-size:6px;
    }

    .why-page{
        padding:75px 12px 30px;
    }

    .why-page h1{
        font-size:34px;
    }

    .subtitle{
        font-size:7px;
        margin-bottom:25px;
    }

    .why-grid{
        grid-template-columns:repeat(2, 1fr);
        gap:10px;
    }

    .card-image{
        height:75px;
    }

    .card-bottom{
        padding:10px 6px;
    }

    .card-bottom h3{
        font-size:8px;
    }

    .card-bottom p{
        font-size:5px;
    }

    .density-box{
        padding:16px;
        margin-bottom:30px;
    }

    .density-box h2{
        font-size:18px;
    }

    .density-box p{
        font-size:7px;
    }

    .comparison-table h2{
        font-size:18px;
    }

    th,td{
        padding:7px;
        font-size:7px;
    }

    .why-footer-content h2{
        font-size:18px;
    }

    .why-footer-content a{
        padding:8px 22px;
        font-size:8px;
    }

    footer{
        font-size:10px;
        padding:18px;
    }

    .our-clients-section{
    margin-top:35px;
    }

    .our-clients-section h2{
        font-size:20px;
        margin-bottom:18px;
    }

    .logo-slider{
        padding:12px 0;
    }

    .logo-box{
        width:135px;
        height:75px;
    }

    .logo-box img{
        max-width:100px;
        max-height:50px;
    }
}

