/* ===========================
   NIKKI AI
   About.css
=========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:"Poppins",sans-serif;
}

body{
    background:#0b1020;
    color:#fff;
    overflow-x:hidden;
}

/* ===========================
   Background
=========================== */

.background{
    position:fixed;
    inset:0;
    z-index:-1;
    overflow:hidden;
}

.grid{
    position:absolute;
    width:100%;
    height:100%;
    background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);

    background-size:40px 40px;
}

.glow{
    position:absolute;
    width:350px;
    height:350px;
    border-radius:50%;
    filter:blur(120px);
    opacity:.35;
}

.glow-blue{
    background:#3b82f6;
    top:-100px;
    left:-100px;
}

.glow-purple{
    background:#7c3aed;
    right:-120px;
    bottom:-120px;
}

/* ===========================
   Main Container
=========================== */

.about-container{

    width:100%;

    max-width:1200px;

    margin:auto;

    padding:40px 20px;

}

.about-card{

    background:rgba(255,255,255,.06);

    backdrop-filter:blur(20px);

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

    border-radius:25px;

    padding:40px;

}

/* ===========================
   Heading
=========================== */

.about-card h1{

    font-size:42px;

    text-align:center;

    margin-bottom:10px;

}

.about-subtitle{

    text-align:center;

    color:#9db7ff;

    margin-bottom:40px;

    font-size:18px;

}

/* ===========================
   About Sections
=========================== */

.about-section{

    margin-top:45px;

}

.about-section h2{

    font-size:28px;

    margin-bottom:18px;

    color:#4da3ff;

    display:flex;

    align-items:center;

    gap:12px;

}

.about-section p{

    color:#d6dbea;

    line-height:1.9;

    font-size:16px;

}

/* ===========================
   Feature Grid
=========================== */

.feature-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));

    gap:25px;

    margin-top:25px;

}

.feature-card{

    background:rgba(255,255,255,.05);

    backdrop-filter:blur(15px);

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

    border-radius:20px;

    padding:25px;

    text-align:center;

    transition:.35s;

}

.feature-card:hover{

    transform:translateY(-8px);

    border-color:#3b82f6;

    box-shadow:0 15px 35px rgba(59,130,246,.25);

}

.feature-card i{

    font-size:45px;

    color:#4da3ff;

    margin-bottom:18px;

}

.feature-card h3{

    margin-bottom:12px;

    font-size:22px;

}

.feature-card p{

    color:#c8d2e4;

    line-height:1.8;

}

/* ===========================
   Contact Section
=========================== */

.contact-text{

    text-align:center;

    margin-bottom:25px;

    color:#c8d2e4;

}

.contact-grid{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:20px;

    margin-top:20px;

}

.contact-card{

    background:rgba(255,255,255,.05);

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

    border-radius:18px;

    padding:22px;

    text-align:center;

    transition:.3s;

}

.contact-card:hover{

    transform:translateY(-6px);

    border-color:#3b82f6;

}

.contact-card i{

    font-size:35px;

    color:#4da3ff;

    margin-bottom:15px;

}

.contact-card h3{

    margin-bottom:10px;

}

.contact-card p{

    color:#d6dbea;

    line-height:1.7;

}

/* ===========================
   Social Links
=========================== */

.social-links{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));

    gap:20px;

    margin-top:25px;

}

.social-item{

    display:flex;

    align-items:center;

    gap:15px;

    background:rgba(255,255,255,.05);

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

    border-radius:18px;

    padding:18px;

    transition:.3s;

}

.social-item:hover{

    transform:translateY(-5px);

    border-color:#3b82f6;

    box-shadow:0 10px 30px rgba(59,130,246,.25);

}

.social-item a{

    width:55px;

    height:55px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:#3b82f6;

    color:#fff;

    font-size:24px;

    text-decoration:none;

}

.social-item span{

    color:#d6dbea;

    font-size:15px;

    word-break:break-word;

}

/* ===========================
   Footer
=========================== */

.about-footer{

    margin-top:60px;

    padding:35px 20px;

    text-align:center;

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

}

.footer-logo-img{

    width:80px;

    margin-bottom:15px;

}

.footer-logo h2{

    font-size:32px;

    margin-bottom:8px;

}

.footer-logo p{

    color:#9db7ff;

}

.footer-text{

    margin:25px 0;

    color:#c8d2e4;

    line-height:1.8;

}

.footer-buttons{

    display:flex;

    justify-content:center;

    gap:15px;

    flex-wrap:wrap;

    margin-bottom:30px;

}

.footer-btn{

    padding:12px 24px;

    border-radius:12px;

    background:#3b82f6;

    color:#fff;

    text-decoration:none;

    transition:.3s;

    font-weight:600;

}

.footer-btn:hover{

    background:#2563eb;

    transform:translateY(-3px);

}

.copyright{

    color:#8f9db7;

    font-size:14px;

}

/* ===========================
   Scrollbar
=========================== */

::-webkit-scrollbar{

    width:8px;

}

::-webkit-scrollbar-track{

    background:#0b1020;

}

::-webkit-scrollbar-thumb{

    background:#3b82f6;

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:#2563eb;

}

/* ===========================
   Animation
=========================== */

.about-card,
.feature-card,
.contact-card,
.social-item{

    animation:fadeUp .8s ease;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(20px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/* ===========================
   Responsive
=========================== */

@media(max-width:768px){

    .about-card{

        padding:25px;

    }

    .about-card h1{

        font-size:32px;

    }

    .about-section h2{

        font-size:24px;

    }

    .feature-grid,
    .contact-grid,
    .social-links{

        grid-template-columns:1fr;

    }

    .footer-buttons{

        flex-direction:column;

        align-items:center;

    }

    .footer-btn{

        width:100%;

        max-width:280px;

        text-align:center;

    }

}

@media(max-width:480px){

    .about-container{

        padding:20px 12px;

    }

    .about-card{

        padding:20px;

    }

    .about-card h1{

        font-size:28px;

    }

    .about-subtitle{

        font-size:15px;

    }

    .about-section h2{

        font-size:22px;

    }

}