/* =========================================
   CYBER PORTFOLIO
   Version 3.0
   Author: Abdullahi Ogungbade
========================================= */

/* Google Font */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* =========================================
   VARIABLES
========================================= */

:root{

    --bg:#08111f;

    --dark:#08111f;

    --card:#101b2d;

    --card-bg:#101b2d;

    --footer-bg:#050b15;

    --primary:#00e5ff;

    --white:#ffffff;

    --light:#ffffff;

    --gray:#b8c2d4;

    --text:#ffffff;

    --text-secondary:#b8c2d4;

}

/* =========================================
   RESET
========================================= */

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;

    background:var(--bg);

    color:var(--white);

}

img{

    max-width:100%;

    display:block;

}

a{

    text-decoration:none;

}

ul{

    list-style:none;

}

/* ============================================================
   CONTAINER
============================================================= */

.container{

    width:90%;

    max-width:1200px;

    margin:auto;

}

/* ============================================================
   NAVIGATION
============================================================= */

nav{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    background:rgba(8,17,31,.75);

    backdrop-filter:blur(12px);

    -webkit-backdrop-filter:blur(12px);

    z-index:1000;

    box-shadow:0 4px 20px rgba(0,0,0,.15);

}

nav .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    min-height:70px;

}

/* ============================================================
   LOGO
============================================================= */

.logo img{

    width:70px;

    height:auto;

    display:block;

    object-fit:contain;

    vertical-align:middle;

}

.logo a{

    display:flex;

    align-items:center;

    height:100%;

}

/* ============================================================
   NAVIGATION LINKS
============================================================= */

.nav-links{

    display:flex;

    align-items:center;

    gap:35px;

}

.nav-links a{

    position:relative;

    color:var(--white);

    font-size:1rem;

    font-weight:500;

    transition:color .3s ease;

}

.nav-links a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-6px;

    width:0;

    height:2px;

    background:var(--primary);

    transition:width .3s ease;

}

.nav-links a.active{

    color: var(--primary);

    font-weight: 600;

}

.nav-links a:hover,
.nav-links a.active{

    color:var(--primary);

}

.nav-links a:hover::after,
.nav-links a.active::after{

    width:100%;

}

.menu-toggle{

    display:none;

    font-size:2rem;

    color:var(--white);

    background:transparent;

    border:none;

    padding:0;

    cursor:pointer;

    line-height:1;

}

/* ============================================================
   HERO SECTION
============================================================= */

.hero{

    padding-top:80px;

    min-height:100vh;

    display:flex;

    align-items:center;

}

.hero-container{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:60px;

}

.hero-content{

    flex:1;

}

.hero-content h1{

    font-size:3rem;

    line-height:1.2;

    color:var(--white);

}

.hero-content h1 span{

    color:var(--primary);

}

.hero-content h2{

    margin:20px 0;

    font-size:1.6rem;

    color:var(--gray);

}

.hero-content p{

    max-width:550px;

    line-height:1.8;

    color:var(--gray);

    margin-bottom:30px;

}

/* ==========================================
   HERO BUTTONS
========================================== */

.hero-buttons{

    display:flex;

    gap:20px;

}

.btn{

    display:inline-block;

    padding:14px 32px;

    background:var(--primary);

    color:var(--bg);

    border:none;

    border-radius:10px;

    font-weight:600;

    cursor:pointer;

    transition:
        background-color .3s ease,
        color .3s ease,
        transform .3s ease,
        box-shadow .3s ease;

}

.btn:hover{

    background:#00f0ff;

    transform:translateY(-4px);

    box-shadow:0 12px 25px rgba(0,229,255,.30);

}

.btn:active{

    transform:translateY(-1px);

}

.btn-outline{

    background:transparent;

    border:2px solid var(--primary);

    color:var(--primary);

}

.btn-outline:hover{

    background:var(--primary);

    color:var(--bg);

    box-shadow:0 12px 25px rgba(0,229,255,.30);

}

/* ==========================================
   HERO IMAGE
========================================== */

.hero-image{

    flex:1;

    display:flex;

    justify-content:center;

}

.hero-image img{

    width:350px;

    max-width:100%;

    border-radius:20px;

    border:4px solid var(--primary);

    box-shadow:0 0 35px rgba(0, 229, 255, 0.25);

}

/* ============================================================
   About Section
============================================================= */

.about{
    padding:100px 0;
}

.about-container{
    max-width:750px;
    margin:0 auto;
}

.about-content h2{
    text-align:center;
    font-size:1.3rem;
    color:var(--text-secondary);
    margin-bottom:15px;
}

.about-content p{
    margin-bottom:20px;
    line-height:1.7;
    color:var(--text-secondary);
}

.about-content .btn{
    margin-top:20px;
    display:inline-block;
}

/* ==========================================================
   Technical Skills Section
========================================================== */

.skills{
    padding:100px 0;
    text-align: center;
}

.skills-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(280px, 1fr));
    gap:30px;
    margin-top:20px;
}

.skill-card{
    background:var(--card-bg);
    padding:30px;
    border-radius:15px;
    transition:0.3s ease;
    border:1px solid rgba(255,255,255,0.08);
}

.skill-card:hover{
    transform:translateY(-8px);
    border-color:var(--primary);
    box-shadow:0 10px 25px rgba(0,0,0,.3);
}

.skill-icon{
    width:60px;
    height:60px;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:50%;
    background:rgba(0,212,255,.12);
    color:var(--primary);
    font-size:2rem;
    margin-bottom:20px;
    transition:all 0.3s ease;
}

.skill-card:hover .skill-icon{
    background:var(--primary);
    color:#08111f;
    transform:scale(1.1);
}

.skill-card h3{
    margin-bottom:15px;
    color:var(--text);
}

.skill-card p{
    color:var(--text-secondary);
    line-height:1.7;
}

/* ===============================
   Skills Subtitle
================================== */

.skills-subtitle{
    font-size:1.8rem;
    margin-bottom:25px;
    color:var(--primary);
}

.soft-skills-title{
    margin-top:50px;
}

/* ===============================
   Soft Skills
================================== */

.soft-skills{
    display:flex;
    flex-wrap:wrap;
    gap:20px;
    margin-top:30px;
}

.soft-skills span{
    background:rgba(0,212,255,.08);
    border:1px solid rgba(0,212,255,.2);
    padding:12px 20px;
    border-radius:30px;
    color:var(--text);
    transition:.3s ease;
}

.soft-skills span:hover{
    background:var(--primary);
    color:#000;
    transform:translateY(-3px);
}

/*====================================================
Projects
=====================================================*/

.projects{

    padding:100px 0;

    text-align:center;

    background:var(--dark);

}

.projects-text{

    max-width:750px;

    margin:20px auto 60px;

    text-align:center;

    color:var(--gray);

    line-height:1.8;

}

.projects-grid{

    display:flex;

    justify-content:center;

}

.project-card{

    max-width:700px;

    background:var(--card);

    padding:45px;

    border-radius:15px;

    border:1px solid rgba(0,212,255,.15);

    text-align:center;

    transition:.3s ease;

}

.project-card:hover{

    transform:translateY(-8px);

    border-color:var(--primary);

    box-shadow:0 12px 35px rgba(0,212,255,.15);

}

.project-icon{

    width:80px;

    height:80px;

    margin:0 auto 25px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    background:rgba(0,212,255,.12);

    color:var(--primary);

    font-size:2rem;

}

.project-card h3{

    margin-bottom:20px;

}

.project-card p{

    color:var(--gray);

    line-height:1.8;

    margin-bottom:30px;

}

.project-tags{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:12px;

    margin-bottom:35px;

}

.project-tags span{

    padding:8px 16px;

    border-radius:25px;

    background:rgba(0,212,255,.12);

    color:var(--primary);

    font-size:.9rem;

}

.project-card .btn:disabled{

    opacity:.8;

    cursor:not-allowed;

}

/* =====================================================
   Certifications
===================================================== */

.certifications{
    padding:100px 0;
    background:var(--dark);
    text-align: center;
}

.section-description{

    max-width: 800px;

    margin: 15px auto 50px;

    font-size: 1.1rem;

    line-height: 1.7;

    color: var(--text-light);

    text-align: center;

}

.certifications-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
    margin-top:60px;
}

.certificate-card{

    background:var(--card);

    padding:35px 30px;

    border-radius:15px;

    border:1px solid rgba(0,212,255,.15);

    transition:.3s ease;

    text-align:center;

}

.certificate-card:hover{

    transform:translateY(-8px);

    border-color:var(--primary);

    box-shadow:0 12px 35px rgba(0,212,255,.15);

}

.certificate-icon{

    width:70px;

    height:70px;

    margin:0 auto 20px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:rgba(0,212,255,.12);

    color:var(--primary);

    font-size:2rem;

}

.certificate-card h3{

    font-size:1.3rem;

    margin-bottom:10px;

}

.certificate-card p{

    color:var(--gray);

    margin-bottom:25px;

}

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

.contact{

    padding:100px 0;

    background:var(--dark);

}

.contact .section-title{

    text-align:center;

}

.contact-text{

    max-width:700px;

    margin:20px auto 60px;

    text-align:center;

    color:var(--gray);

    line-height:1.8;

}

.contact-container{

    display:grid;

    grid-template-columns:1fr 1.2fr;

    gap:50px;

    align-items:start;

}

.contact-info{

    background:var(--card);

    padding:40px;

    border-radius:15px;

    border:1px solid rgba(0,212,255,.15);

}

.contact-info h3{

    margin-bottom:20px;

    font-size:1.7rem;

}

.contact-info p{

    color:var(--gray);

    margin-bottom:30px;

    line-height:1.8;

}

.contact-item{

    display:flex;

    align-items:center;

    gap:15px;

    margin-bottom:25px;

}

.contact-item i{

    color:var(--primary);

    font-size:1.3rem;

    width:25px;

}

.contact-form{

    background:var(--card);

    padding:40px;

    border-radius:15px;

    border:1px solid rgba(0,212,255,.15);

}

/* ==========================================
   Contact Form Labels
========================================== */

.form-group label{

    display:block;

    margin-bottom:8px;

    font-size:0.95rem;

    font-weight:500;

    color:var(--white);

}

.form-group{

    margin-bottom:20px;

}

.form-group input,
.form-group textarea{

    width:100%;

    padding:16px 20px;

    background:var(--bg);

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

    border-radius:10px;

    color:var(--white);

    font-size:1rem;

    outline:none;

    transition:.3s ease;

}

.form-group input:focus,
.form-group textarea:focus{

    border-color:var(--primary);

    box-shadow:0 0 10px rgba(0,212,255,.25);

}

.form-group input::placeholder,
.form-group textarea::placeholder{

    color:#8f98a8;

}

.form-group textarea{

    resize:none;

}

.contact-form .btn{

    width:100%;

    padding:16px;

}

.contact-item a{

    color:var(--light);

    text-decoration:none;

    transition:.3s ease;

}

.contact-item a:hover{

    color:var(--primary);

}

.contact-item{

    transition:.3s ease;

}

.contact-item:hover{

    transform:translateX(5px);

}

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

.footer{

    background:var(--footer-bg);

    padding:60px 0 30px;

    text-align:center;

}

.footer-logo img{

    width:70px;

    height:auto;

    margin:0 auto 20px;

    display:block;

}

.footer-description{

    max-width:650px;

    margin:0 auto 30px;

    color:var(--gray);

    line-height:1.8;

}

.footer-socials{

    display:flex;

    justify-content:center;

    gap:20px;

    margin-bottom:40px;

}

.footer-socials a{

    width:50px;

    height:50px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:50%;

    background:rgba(0,212,255,.12);

    color:var(--primary);

    transition:.3s ease;

    text-decoration:none;

}

.footer-socials a:hover{

    background:var(--primary);

    color:#08111f;

    transform:translateY(-5px);

}

.footer-bottom{

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

    padding-top:25px;

    color:var(--gray);

    font-size:.95rem;

}

/* ==========================================
   Scroll Reveal Animation
========================================== */

.reveal {

    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.9s ease, transform 0.9s ease;

}

.reveal.show{

    opacity: 1;
    transform: translateY(0);

}

/*===================================================================
Thank You Page
===================================================================*/

.thank-you{

    min-height:100vh;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    padding:100px 20px;

    background:var(--bg);

}

.thank-you-content{

    max-width:550px;

    background:var(--card);

    padding:50px;

    border-radius:20px;

    border:1px solid rgba(0,212,255,.15);

    box-shadow:0 12px 35px rgba(0,212,255,.12);

}

.thank-you-content i{

    font-size:4rem;

    color:var(--primary);

    margin-bottom:25px;

}

.thank-you-content h1{

    font-size:2.5rem;

    margin-bottom:20px;

}

.thank-you-content p{

    color:var(--gray);

    line-height:1.8;

    margin-bottom:35px;

}

/* ===========================================================
   RESPONSIVE DESIGN
=========================================================== */

@media (max-width:768px){

.menu-toggle{

    display:block;

    font-size:2rem;

    color:var(--white);

    background:transparent;

    border:none;

    padding:0;

    cursor:pointer;

    line-height:1;

}

.project-card{

    padding:30px 20px;

}

  /* ======================
       Navigation
    ====================== */

.nav-links{
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--bg);
    padding: 20px 0;
    z-index: 999;
    box-shadow: 0 10px 20px rgba(0,0,0,.3);
}

.nav-links.active{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

nav{

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;

}

  /* ======================
       Hero Section
    ====================== */

.hero-content{

    text-align:center;

    align-items:center;

}

.hero-container{

    flex-direction:column;
    text-align:center;

}

.hero-content h1{

    font-size:2.5rem;

}

.hero-content h2{

    font-size:1.5rem;

}

.hero-content p{

    max-width:100%;

    margin:0 auto 30px;

}

.hero-image{

    margin-top:40px;

}

.hero-buttons{

    flex-direction:column;

    align-items:center;

    gap:15px;

}

/* ======================
   About Section
====================== */

.about-content{

    text-align:center;

}

.about-content .btn{

    display:block;

    width:fit-content;

    margin:30px auto 0;

}

  /* ======================
       Skills Section
    ====================== */

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

.contact-container{

    grid-template-columns:1fr;

    gap:30px;

}

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

    .footer{

        text-align:center;

    }

}

/* ===========================================================
   Accessibility - Keyboard Focus
=========================================================== */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {

    outline: 3px solid var(--primary);
    outline-offset: 4px;
    border-radius: 8px;

}