/* =========================
        GLOBAL STYLE
========================= */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body{
    background: #050816;
    color: #fff;
}

/* =========================
            HEADER
========================= */

.header{
    width: 100%;
    min-height: 100vh;

    background-image:
    linear-gradient(rgba(5,8,22,0.88), rgba(5,8,22,0.88)),
    url(img/com_bac.png);

    background-position: center;
    background-size: cover;

    display: flex;
    justify-content: center;
    align-items: center;

    text-align: center;

    padding: 80px 8%;
}

.header-content img{
    width: 220px;
    margin-bottom: 30px;

    filter:
    drop-shadow(0 0 15px rgba(0,170,255,0.4));

    animation: floatLogo 4s ease-in-out infinite;
}

.header-content h1{
    font-size: 65px;
    margin-bottom: 20px;

    text-shadow:
    0 0 15px rgba(0,170,255,0.5);
}

.header-content p{
    color: #b8d2ff;
    font-size: 17px;
    line-height: 1.9;
    max-width: 800px;

    margin: auto auto 35px;
}

/* FLOAT */

@keyframes floatLogo{

    0%{
        transform: translateY(0px);
    }

    50%{
        transform: translateY(-10px);
    }

    100%{
        transform: translateY(0px);
    }

}

/* BUTTON */

.hero-btn{
    display: inline-block;

    text-decoration: none;

    color: #fff;

    border: 1px solid #00aaff;

    padding: 14px 35px;

    border-radius: 35px;

    transition: 0.5s ease;

    box-shadow:
    0 0 12px rgba(0,170,255,0.25);
}

.hero-btn:hover{

    background: #00aaff;

    transform: translateY(-5px);

    box-shadow:
    0 0 15px #00aaff,
    0 0 35px #00aaff;
}

/* =========================
            FEATURES
========================= */

.features{
    width: 100%;
    padding: 100px 8%;
}

.title{
    text-align: center;
    margin-bottom: 70px;
}

.title h1{
    font-size: 50px;
    margin-bottom: 15px;
}

.title p{
    color: #8ab4ff;
}

/* GRID */

.features-container{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
    gap: 35px;
}

/* CARD */

.feature-card{
    background: rgba(12,18,38,0.95);

    border: 1px solid rgba(0,170,255,0.15);

    border-radius: 22px;

    padding: 40px 30px;

    transition: 0.5s ease;

    position: relative;

    overflow: hidden;

    box-shadow:
    0 0 15px rgba(0,170,255,0.08);
}

/* HOVER */

.feature-card:hover{

    transform: translateY(-12px);

    border-color: #00aaff;

    box-shadow:
    0 0 15px rgba(0,170,255,0.5),
    0 0 35px rgba(0,170,255,0.25),
    0 0 55px rgba(0,170,255,0.15);
}

/* SHINE */

.feature-card::before{
    content: '';

    position: absolute;

    top: 0;
    left: -120%;

    width: 60%;
    height: 100%;

    background: rgba(255,255,255,0.08);

    transform: skewX(-25deg);

    transition: 0.8s;
}

.feature-card:hover::before{
    left: 130%;
}

/* ICON */

.feature-card i{
    font-size: 40px;
    color: #00aaff;

    margin-bottom: 20px;
}

/* TEXT */

.feature-card h2{
    font-size: 26px;
    margin-bottom: 15px;
}

.feature-card p{
    color: #c7d8ff;
    line-height: 1.8;
    font-size: 15px;
}

/* =========================
            CTA
========================= */

.cta{
    width: 90%;

    margin: 0 auto 100px;

    padding: 80px 40px;

    text-align: center;

    background-image:
    linear-gradient(rgba(5,8,22,0.85), rgba(5,8,22,0.85)),
    url(img/combac.png);

    background-position: center;
    background-size: cover;

    border-radius: 20px;

    border: 1px solid rgba(0,170,255,0.2);
}

.cta h1{
    font-size: 42px;
    margin-bottom: 35px;
}

/* =========================
            FOOTER
========================= */

.footer{
    width: 100%;
    padding: 40px 20px;

    text-align: center;

    border-top: 1px solid rgba(0,170,255,0.15);
}

.footer p{
    color: #8ab4ff;
    font-size: 16px;
    margin-bottom: 10px;
}

.copy{
    font-size: 14px;
}

/* =========================
        MOBILE DESIGN
========================= */

@media(max-width:768px){

    .header-content img{
        width: 170px;
    }

    .header-content h1{
        font-size: 42px;
    }

    .header-content p{
        font-size: 14px;
    }

    .features{
        padding: 80px 6%;
    }

    .title h1{
        font-size: 38px;
    }

    .feature-card h2{
        font-size: 22px;
    }

    .cta{
        width: 90%;
        padding: 60px 20px;
    }

    .cta h1{
        font-size: 28px;
        line-height: 1.5;
    }

    .hero-btn{
        padding: 12px 28px;
        font-size: 14px;
    }

}
/* ================= NAVBAR ================= */

nav{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 18px 6%;

    position: absolute;
    top: 0;
    left: 0;

    z-index: 1000;
}

/* ================= LOGO ================= */

nav img{
    width: 180px;
    display: block;
}

/* ================= NAV LINKS ================= */

.nav-links{
    flex: 1;
    text-align: right;
}

.nav-links ul{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 35px;
}

.nav-links ul li{
    list-style: none;
    position: relative;
}

.nav-links ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: 0.3s;
}

/* HOVER */

.nav-links ul li a:hover{
    color: #00bfff;
}

/* UNDERLINE */

.nav-links ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #00bfff;
    display: block;
    margin: auto;
    transition: 0.4s;
}

.nav-links ul li:hover::after{
    width: 100%;
}

/* ================= HERO SECTION ================= */

.text-box{
    width: 90%;
    color: #fff;

    position: absolute;
    top: 55%;
    left: 50%;

    transform: translate(-50%, -50%);
    text-align: center;
}

/* TITLE */

.text-box h1{
    font-size: 65px;
    font-weight: 700;
    line-height: 1.2;
}

/* GLOW TEXT */

.glow{
    display: block;
    color: #00bfff;

    text-shadow:
    0 0 5px #00bfff,
    0 0 10px #00bfff,
    0 0 20px #0077ff,
    0 0 40px #0077ff;

    animation:
    float 3s ease-in-out infinite,
    neonGlow 2s ease-in-out infinite alternate;
}

/* FLOAT ANIMATION */

@keyframes float{

    0%{
        transform: translateY(0);
    }

    50%{
        transform: translateY(-10px);
    }

    100%{
        transform: translateY(0);
    }
}

/* GLOW ANIMATION */

@keyframes neonGlow{

    from{
        text-shadow:
        0 0 5px #00bfff,
        0 0 10px #00bfff,
        0 0 20px #0077ff,
        0 0 40px #0077ff;
    }

    to{
        text-shadow:
        0 0 10px #00bfff,
        0 0 20px #00bfff,
        0 0 40px #0077ff,
        0 0 80px #00111f;
    }
}

/* PARAGRAPH */

.text-box p{
    font-size: 18px;
    color: #dcdcdc;
    margin-top: 25px;
    margin-bottom: 35px;
    line-height: 1.8;
}

/* BUTTON */

.hero-btn{
    display: inline-block;
    text-decoration: none;

    color: #fff;
    border: 1px solid #00bfff;

    padding: 14px 34px;
    font-size: 16px;

    border-radius: 8px;
    transition: 0.4s;
}

/* BUTTON HOVER */

.hero-btn:hover{
    background: #00bfff;

    box-shadow:
    0 0 10px #00bfff,
    0 0 20px #0077ff,
    0 0 40px #0077ff;
}

/* ================= ICON FIX ================= */

/* HIDE ICONS ON DESKTOP */

nav .fa-bars,
nav .fa-times{
    display: none !important;
}

/* ================= MOBILE ================= */

@media screen and (max-width:700px){

    /* LOGO */

    nav img{
        width: 140px;
    }

    /* HERO TEXT */

    .text-box h1{
        font-size: 30px;
    }

    .text-box p{
        font-size: 14px;
        line-height: 1.6;
    }

    /* MOBILE MENU */

    .nav-links{
        position: fixed;

        background: #00111f;

        height: 100vh;
        width: 220px;

        top: 0;
        right: -220px;

        text-align: left;

        z-index: 2000;

        transition: 0.5s;
    }

    .nav-links ul{
        display: block;
        padding: 60px 30px;
    }

    .nav-links ul li{
        display: block;
        margin: 25px 0;
    }

    /* SHOW MENU ICON ONLY MOBILE */

    nav .fa-bars{
        display: block !important;
        color: #fff;
        font-size: 24px;
        cursor: pointer;
    }

    /* SHOW XMARK ONLY MOBILE */

    .nav-links .fa-times{
        display: block !important;
        color: #fff;
        font-size: 24px;
        cursor: pointer;

        position: absolute;
        top: 25px;
        left: 25px;
    }

    /* MENU ICON */

    nav .fa-bars{
        margin-left: 20px;
    }
}