/* =========================================================
   M.A. WARIS SHAIKH
   EXECUTIVE CYBER SECURITY PORTFOLIO
   style.css
========================================================= */

/* GOOGLE FONT */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* =========================================================
   RESET
========================================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    scroll-behavior:smooth;
}

html{
    overflow-x:hidden;
}

body{
    font-family:'Poppins',sans-serif;
    background:#050816;
    color:#ffffff;
    overflow-x:hidden;
    line-height:1.7;
}

/* =========================================================
   SCROLLBAR
========================================================= */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#0b1023;
}

::-webkit-scrollbar-thumb{
    background:#00e5ff;
    border-radius:20px;
}

/* =========================================================
   MATRIX CANVAS
========================================================= */

#matrixCanvas{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:-3;
    opacity:.12;
}

#particles-js{
    position:fixed;
    width:100%;
    height:100%;
    top:0;
    left:0;
    z-index:-2;
}

/* =========================================================
   NAVBAR
========================================================= */

header{
    position:fixed;
    width:100%;
    top:0;
    z-index:999;
    backdrop-filter:blur(15px);
    background:rgba(10,15,35,.7);
    border-bottom:1px solid rgba(255,255,255,.08);
}

.navbar{
    max-width:1400px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 50px;
}

.logo span{
    font-size:1.4rem;
    font-weight:700;
    color:#00e5ff;
}

.nav-links{
    list-style:none;
    display:flex;
    gap:30px;
}

.nav-links a{
    text-decoration:none;
    color:#ffffff;
    transition:.3s;
}

.nav-links a:hover{
    color:#00e5ff;
}

.btn-nav{
    text-decoration:none;
    background:#00e5ff;
    color:#000;
    padding:12px 22px;
    border-radius:30px;
    font-weight:600;
    transition:.3s;
}

.btn-nav:hover{
    transform:translateY(-3px);
}

/* =========================================================
   HERO
========================================================= */

.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    padding:120px 8%;
}

.hero-content{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
    align-items:center;
}

.hero-tag{
    display:inline-block;
    background:rgba(0,229,255,.12);
    border:1px solid rgba(0,229,255,.3);
    color:#00e5ff;
    padding:10px 18px;
    border-radius:50px;
    margin-bottom:20px;
}

.hero-text h1{
    font-size:4rem;
    line-height:1.1;
    margin-bottom:15px;
}

.hero-text h2{
    color:#00e5ff;
    font-size:1.5rem;
    margin-bottom:25px;
}

.hero-text p{
    color:#c7c7c7;
    margin-bottom:35px;
}

.hero-buttons{
    display:flex;
    gap:20px;
    margin-bottom:35px;
}

.btn-primary,
.btn-secondary{
    text-decoration:none;
    padding:14px 28px;
    border-radius:40px;
    transition:.3s;
}

.btn-primary{
    background:#00e5ff;
    color:#000;
    font-weight:700;
}

.btn-secondary{
    border:1px solid #00e5ff;
    color:#00e5ff;
}

.btn-primary:hover,
.btn-secondary:hover{
    transform:translateY(-5px);
}

.hero-image{
    text-align:center;
}

.hero-image img{
    width:420px;
    max-width:100%;
    border-radius:50%;
    border:4px solid #00e5ff;
    box-shadow:
    0 0 30px #00e5ff,
    0 0 80px rgba(0,229,255,.3);
    animation:float 5s ease-in-out infinite;
}

/* =========================================================
   FLOAT ANIMATION
========================================================= */

@keyframes float{
    0%{
        transform:translateY(0px);
    }

    50%{
        transform:translateY(-15px);
    }

    100%{
        transform:translateY(0px);
    }
}

/* =========================================================
   SOCIAL
========================================================= */

.social-icons{
    display:flex;
    gap:18px;
}

.social-icons a{
    width:50px;
    height:50px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    border:1px solid rgba(255,255,255,.1);
    color:#00e5ff;
    font-size:20px;
    transition:.3s;
}

.social-icons a:hover{
    background:#00e5ff;
    color:#000;
}

/* =========================================================
   SECTION TITLE
========================================================= */

.section-title{
    text-align:center;
    margin-bottom:70px;
}

.section-title h2{
    font-size:3rem;
    color:#00e5ff;
}

.section-title p{
    color:#b9b9b9;
}

/* =========================================================
   STATS
========================================================= */

.stats-section{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
    padding:50px 8%;
}

.stat-card{
    background:rgba(255,255,255,.05);
    backdrop-filter:blur(20px);
    border:1px solid rgba(255,255,255,.08);
    text-align:center;
    padding:35px;
    border-radius:20px;
}

.stat-card h2{
    color:#00e5ff;
    font-size:3rem;
}

/* =========================================================
   ABOUT
========================================================= */

.about{
    padding:120px 8%;
}

.about-container{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
    align-items:center;
}

.about-image img{
    width:100%;
    border-radius:25px;
    border:1px solid rgba(255,255,255,.1);
}

.about-content h3{
    font-size:2rem;
    margin-bottom:20px;
}

.about-content p{
    color:#c7c7c7;
    margin-bottom:20px;
}

/* =========================================================
   SKILLS GRID
========================================================= */

.skills-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:15px;
    margin-top:30px;
}

.skill-box{
    background:rgba(0,229,255,.08);
    border:1px solid rgba(0,229,255,.15);
    padding:15px;
    text-align:center;
    border-radius:12px;
    transition:.3s;
}

.skill-box:hover{
    transform:translateY(-5px);
    background:#00e5ff;
    color:#000;
}

/* =========================================================
   EXPERIENCE TIMELINE
========================================================= */

#experience{
    padding:120px 8%;
}

.timeline{
    max-width:1200px;
    margin:auto;
    position:relative;
}

.timeline::before{
    content:'';
    position:absolute;
    width:3px;
    background:#00e5ff;
    top:0;
    bottom:0;
    left:50%;
}

.timeline-item{
    width:50%;
    padding:20px 40px;
    position:relative;
}

.timeline-item.left{
    left:0;
}

.timeline-item.right{
    left:50%;
}

.timeline-content{
    background:rgba(255,255,255,.05);
    backdrop-filter:blur(15px);
    padding:25px;
    border-radius:20px;
    border:1px solid rgba(255,255,255,.08);
}

/* =========================================================
   CERTIFICATIONS
========================================================= */

#certifications{
    padding:120px 8%;
}

.cert-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.cert-card{
    background:rgba(255,255,255,.05);
    padding:30px;
    border-radius:20px;
    text-align:center;
    transition:.3s;
}

.cert-card:hover{
    transform:translateY(-10px);
}

.cert-card i{
    font-size:45px;
    color:#00e5ff;
    margin-bottom:20px;
}

/* =========================================================
   PROJECTS
========================================================= */

#projects{
    padding:120px 8%;
}

.project-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.project-card{
    background:rgba(255,255,255,.05);
    border-radius:25px;
    overflow:hidden;
    transition:.3s;
}

.project-card:hover{
    transform:translateY(-10px);
}

.project-card img{
    width:100%;
}

.project-content{
    padding:25px;
}

/* =========================================================
   GALLERY
========================================================= */

#gallery{
    padding:120px 8%;
}

.gallery-grid{
    column-count:3;
    column-gap:20px;
}

.gallery-grid img{
    width:100%;
    margin-bottom:20px;
    border-radius:20px;
    transition:.3s;
}

.gallery-grid img:hover{
    transform:scale(1.03);
}

/* =========================================================
   AI ASSISTANT SECTION
========================================================= */

#ai-assistant{
    padding:120px 8%;
}

.ai-box{
    max-width:900px;
    margin:auto;
    text-align:center;
    background:rgba(255,255,255,.05);
    border:1px solid rgba(0,229,255,.15);
    backdrop-filter:blur(20px);
    padding:60px;
    border-radius:25px;
}

.ai-box h3{
    color:#00e5ff;
    margin-bottom:20px;
    font-size:2rem;
}

/* =========================================================
   CONTACT
========================================================= */

#contact{
    padding:120px 8%;
}

.contact-box{
    max-width:800px;
    margin:auto;
    text-align:center;
    background:rgba(255,255,255,.05);
    padding:50px;
    border-radius:20px;
}

.contact-box p{
    margin-bottom:15px;
}

/* =========================================================
   FOOTER
========================================================= */

footer{
    text-align:center;
    padding:40px;
    border-top:1px solid rgba(255,255,255,.08);
    color:#b9b9b9;
}

/* =========================================================
   GLOW EFFECTS
========================================================= */

.glow{
    box-shadow:
    0 0 10px #00e5ff,
    0 0 20px #00e5ff,
    0 0 40px #00e5ff;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:1200px){

    .hero-content,
    .about-container{
        grid-template-columns:1fr;
    }

    .project-grid{
        grid-template-columns:1fr 1fr;
    }

    .cert-grid{
        grid-template-columns:1fr 1fr;
    }

    .skills-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .stats-section{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:768px){

    .navbar{
        flex-direction:column;
        gap:20px;
    }

    .nav-links{
        flex-wrap:wrap;
        justify-content:center;
    }

    .hero-text h1{
        font-size:2.5rem;
    }

    .project-grid,
    .cert-grid,
    .stats-section{
        grid-template-columns:1fr;
    }

    .skills-grid{
        grid-template-columns:1fr;
    }

    .gallery-grid{
        column-count:1;
    }

    .timeline::before{
        left:20px;
    }

    .timeline-item{
        width:100%;
        left:0 !important;
        padding-left:60px;
    }
}
.logo{
    display:flex;
    align-items:center;
    gap:12px;
}

.profile-logo{
    width:90px;
    height:90px;
    border-radius:50%;
    object-fit:cover:100%;
    border:1px solid #00c6ff;
    box-shadow:0 0 15px rgba(0,198,255,.4);
}
.social-icons{
    display:flex;
    gap:15px;
    margin-top:25px;
}

.social-icons a{
    width:50px;
    height:50px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:50%;
    background:rgba(255,255,255,.08);
    color:#ffffff;
    text-decoration:none;
    font-size:20px;
    transition:.3s ease;
}

.social-icons a:hover{
    background:#00c6ff;
    color:#000;
    transform:translateY(-5px);
    box-shadow:0 10px 25px rgba(0,198,255,.35);
}
.footer-social{
    display:flex;
    justify-content:center;
    gap:15px;
    margin-bottom:15px;
}

.footer-social a{
    color:#ffffff;
    font-size:20px;
    transition:.3s;
}

.footer-social a:hover{
    color:#00c6ff;
}