/*==========================================================
    NSIKAK CHRISTOPHER EYO PORTFOLIO
    Premium Portfolio Website
    Version 1.0
==========================================================*/

/*==========================================================
    GOOGLE FONTS
==========================================================*/

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


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

:root{

    --primary:#D4AF37;
    --primary-light:#FFD95A;

    --background:#050505;

    --card:#101010;

    --card-2:#181818;

    --white:#ffffff;

    --text:#f5f5f5;

    --gray:#bdbdbd;

    --border:rgba(255,255,255,.08);

    --shadow:0 20px 45px rgba(0,0,0,.45);

    --radius:20px;

    --transition:.35s ease;

}


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

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    background:var(--background);

    color:var(--text);

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

    overflow-x:hidden;

    line-height:1.7;

}


/*==========================================================
    SCROLLBAR
==========================================================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#111;

}

::-webkit-scrollbar-thumb{

    background:var(--primary);

    border-radius:50px;

}


/*==========================================================
    SELECTION
==========================================================*/

::selection{

    background:var(--primary);

    color:#000;

}


/*==========================================================
    IMAGES
==========================================================*/

img{

    width:100%;

    display:block;

}


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

a{

    text-decoration:none;

    color:inherit;

}


/*==========================================================
    LISTS
==========================================================*/

ul{

    list-style:none;

}


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

button{

    border:none;

    cursor:pointer;

    background:none;

    font-family:inherit;

}


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

.container{

    width:min(1180px,92%);

    margin:auto;

}


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

section{

    padding:110px 0;

}


/*==========================================================
    SECTION TITLE
==========================================================*/

.section-title{

    text-align:center;

    margin-bottom:70px;

}

.section-title span{

    color:var(--primary);

    text-transform:uppercase;

    letter-spacing:2px;

    font-size:.9rem;

    font-weight:700;

}

.section-title h2{

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

    font-size:3rem;

    margin:12px 0;

}

.section-title p{

    max-width:760px;

    margin:auto;

    color:var(--gray);

}


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

.btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:12px;

    padding:16px 34px;

    border-radius:50px;

    font-weight:700;

    transition:var(--transition);

}

.btn-primary{

    background:var(--primary);

    color:#000;

}

.btn-primary:hover{

    transform:translateY(-5px);

    box-shadow:0 15px 35px rgba(212,175,55,.35);

}

.btn-outline{

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

    color:var(--primary);

}

.btn-outline:hover{

    background:var(--primary);

    color:#000;

}


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

.logo{

    display:flex;

    align-items:center;

    gap:15px;

}

.logo-circle{

    width:58px;

    height:58px;

    border-radius:50%;

    background:linear-gradient(135deg,#D4AF37,#FFD95A);

    display:flex;

    align-items:center;

    justify-content:center;

    color:#000;

    font-size:1.5rem;

    font-weight:900;

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

}

.logo-text h2{

    font-size:1.4rem;

}

.logo-text span{

    color:var(--gray);

    font-size:.9rem;

}


/*==========================================================
    LOADER
==========================================================*/

#loader{

    position:fixed;

    inset:0;

    background:#050505;

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:99999;

}

.loader-content{

    text-align:center;

}

.loader-logo{

    font-size:5rem;

    font-weight:900;

    color:var(--primary);

    letter-spacing:8px;

    margin-bottom:20px;

}

.loader-content h2{

    margin-bottom:12px;

}

.loader-content p{

    color:var(--gray);

    margin-bottom:30px;

}

.loader-bar{

    width:300px;

    height:5px;

    background:#222;

    border-radius:100px;

    overflow:hidden;

}

.loader-bar span{

    display:block;

    width:100%;

    height:100%;

    background:linear-gradient(90deg,#D4AF37,#FFD95A,#D4AF37);

}
/*==========================================================
    SCROLL PROGRESS BAR
==========================================================*/

#scroll-progress{

    position:fixed;

    top:0;

    left:0;

    width:0%;

    height:4px;

    background:var(--primary);

    z-index:10000;

}


/*==========================================================
    HEADER
==========================================================*/

#header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:999;

    transition:.35s;

    background:rgba(5,5,5,.75);

    backdrop-filter:blur(18px);

    border-bottom:1px solid transparent;

}

#header.scrolled{

    background:rgba(5,5,5,.96);

    border-bottom:1px solid var(--border);

}


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

.navbar{

    height:90px;

    display:flex;

    align-items:center;

    justify-content:space-between;

}

.nav-menu{

    display:flex;

    align-items:center;

    gap:38px;

}

.nav-menu a{

    color:var(--white);

    font-weight:600;

    transition:.3s;

    position:relative;

}

.nav-menu a:hover{

    color:var(--primary);

}

.nav-menu a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:var(--primary);

    transition:.3s;

}

.nav-menu a:hover::after{

    width:100%;

}

.hire-btn{

    padding:13px 28px;

    background:var(--primary);

    color:#000;

    border-radius:50px;

    font-weight:700;

    transition:.35s;

}

.hire-btn:hover{

    transform:translateY(-3px);

    box-shadow:0 15px 30px rgba(212,175,55,.30);

}


/*==========================================================
    MOBILE MENU BUTTON
==========================================================*/

#menu-toggle{

    display:none;

    color:var(--white);

    font-size:1.6rem;

}


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

.hero{

    padding-top:170px;

    min-height:100vh;

    display:flex;

    align-items:center;

}

.hero-grid{

    display:grid;

    grid-template-columns:1.15fr .85fr;

    gap:80px;

    align-items:center;

}

.hero-badge{

    display:inline-flex;

    align-items:center;

    gap:10px;

    padding:12px 22px;

    background:rgba(212,175,55,.12);

    color:var(--primary);

    border:1px solid rgba(212,175,55,.35);

    border-radius:50px;

    margin-bottom:30px;

    font-weight:600;

}

.hero-content h3{

    color:var(--gray);

    font-size:1.4rem;

    margin-bottom:10px;

}

.hero-content h1{

    font-size:4rem;

    line-height:1.15;

    margin-bottom:12px;

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

}

.hero-content h1 span{

    color:var(--primary);

}

.hero-content h2{

    font-size:2rem;

    color:var(--primary);

    margin-bottom:25px;

}

.hero-content p{

    color:var(--gray);

    margin-bottom:40px;

    max-width:640px;

}

.hero-buttons{

    display:flex;

    gap:20px;

    flex-wrap:wrap;

    margin-bottom:40px;

}


/*==========================================================
    HERO SOCIAL
==========================================================*/

.hero-social{

    display:flex;

    gap:18px;

}

.hero-social a{

    width:52px;

    height:52px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    border:1px solid var(--border);

    background:var(--card);

    transition:.35s;

}

.hero-social a:hover{

    background:var(--primary);

    color:#000;

    transform:translateY(-6px);

}


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

.hero-image{

    position:relative;

}

.image-border{

    padding:12px;

    border-radius:30px;

    background:linear-gradient(135deg,#D4AF37,#FFD95A);

}

.image-border img{

    border-radius:22px;

    display:block;

}


/*==========================================================
    FLOATING CARDS
==========================================================*/

.floating-card{

    position:absolute;

    display:flex;

    align-items:center;

    gap:15px;

    background:rgba(20,20,20,.92);

    border:1px solid var(--border);

    padding:16px 22px;

    border-radius:18px;

    box-shadow:var(--shadow);

    animation:floatCard 4s ease-in-out infinite;

}

.floating-card i{

    color:var(--primary);

    font-size:1.6rem;

}

.floating-card h4{

    font-size:1rem;

    margin-bottom:3px;

}

.floating-card p{

    color:var(--gray);

    font-size:.85rem;

}

.card-one{

    top:8%;

    left:-45px;

}

.card-two{

    right:-40px;

    top:45%;

}

.card-three{

    bottom:20px;

    left:-20px;

}
/*==========================================================
    STATS
==========================================================*/

.stats{

    padding:60px 0;

}

.stats-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

}

.stat-card{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:var(--radius);

    padding:35px;

    text-align:center;

    transition:var(--transition);

}

.stat-card:hover{

    transform:translateY(-10px);

    border-color:var(--primary);

    box-shadow:var(--shadow);

}

.stat-card h2{

    font-size:3rem;

    color:var(--primary);

    margin-bottom:10px;

}

.stat-card p{

    color:var(--gray);

}


/*==========================================================
    ABOUT
==========================================================*/

.about-grid{

    display:grid;

    grid-template-columns:420px 1fr;

    gap:70px;

    align-items:center;

}

.about-photo{

    border-radius:25px;

    overflow:hidden;

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

    box-shadow:var(--shadow);

}

.about-content h3{

    font-size:2rem;

    margin-bottom:25px;

}

.about-content p{

    color:var(--gray);

    margin-bottom:20px;

}


/*==========================================================
    INFO GRID
==========================================================*/

.info-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:20px;

    margin-top:35px;

}

.info-card{

    display:flex;

    align-items:center;

    gap:18px;

    background:var(--card);

    padding:22px;

    border-radius:18px;

    border:1px solid var(--border);

    transition:var(--transition);

}

.info-card:hover{

    border-color:var(--primary);

    transform:translateY(-6px);

}

.info-card i{

    width:55px;

    height:55px;

    display:flex;

    justify-content:center;

    align-items:center;

    background:rgba(212,175,55,.15);

    color:var(--primary);

    border-radius:50%;

    font-size:1.2rem;

}

.info-card h4{

    margin-bottom:5px;

}

.info-card p{

    color:var(--gray);

    margin:0;

    font-size:.95rem;

}


/*==========================================================
    SKILLS
==========================================================*/

.skills-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

}

.skills-column{

    background:var(--card);

    padding:40px;

    border-radius:25px;

    border:1px solid var(--border);

}

.skills-column h3{

    margin-bottom:35px;

    color:var(--primary);

}

.skill-item{

    display:flex;

    justify-content:space-between;

    margin-bottom:10px;

    font-weight:600;

}

.progress{

    height:10px;

    background:#1b1b1b;

    border-radius:50px;

    margin-bottom:28px;

    overflow:hidden;

}

.progress-bar{

    height:100%;

    background:linear-gradient(90deg,#D4AF37,#FFD95A);

    border-radius:50px;

}

.skill-tags{

    display:flex;

    flex-wrap:wrap;

    gap:15px;

}

.skill-tags span{

    padding:12px 18px;

    background:rgba(212,175,55,.12);

    color:var(--primary);

    border-radius:50px;

    border:1px solid rgba(212,175,55,.25);

    transition:.3s;

}

.skill-tags span:hover{

    background:var(--primary);

    color:#000;

}


/*==========================================================
    SERVICES
==========================================================*/

.services-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.service-card{

    background:var(--card);

    padding:40px 30px;

    border-radius:22px;

    border:1px solid var(--border);

    transition:.35s;

    text-align:center;

}

.service-card:hover{

    transform:translateY(-12px);

    border-color:var(--primary);

    box-shadow:var(--shadow);

}

.service-icon{

    width:80px;

    height:80px;

    margin:0 auto 25px;

    border-radius:50%;

    background:rgba(212,175,55,.15);

    display:flex;

    justify-content:center;

    align-items:center;

}

.service-icon i{

    color:var(--primary);

    font-size:2rem;

}

.service-card h3{

    margin-bottom:18px;

}

.service-card p{

    color:var(--gray);

}


/*==========================================================
    PROJECTS
==========================================================*/

.projects-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:35px;

}

.project-card{

    overflow:hidden;

    border-radius:24px;

    background:var(--card);

    border:1px solid var(--border);

    transition:.4s;

}

.project-card:hover{

    transform:translateY(-10px);

    border-color:var(--primary);

    box-shadow:var(--shadow);

}

.project-image{

    overflow:hidden;

}

.project-image img{

    height:260px;

    object-fit:cover;

    transition:.5s;

}

.project-card:hover img{

    transform:scale(1.08);

}

.project-content{

    padding:30px;

}

.project-content h3{

    margin-bottom:15px;

}

.project-content p{

    color:var(--gray);

    margin-bottom:22px;

}

.project-tags{

    display:flex;

    flex-wrap:wrap;

    gap:10px;

    margin-bottom:25px;

}

.project-tags span{

    padding:8px 16px;

    background:rgba(212,175,55,.12);

    color:var(--primary);

    border-radius:50px;

    font-size:.85rem;

}

.project-buttons{

    display:flex;

    gap:15px;

}

.project-buttons a{

    flex:1;

    text-align:center;

    padding:13px;

    border-radius:50px;

    background:var(--primary);

    color:#000;

    font-weight:700;

    transition:.3s;

}

.project-buttons a:last-child{

    background:transparent;

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

    color:var(--primary);

}

.project-buttons a:hover{

    transform:translateY(-4px);

}
/*==========================================================
    EXPERIENCE TIMELINE
==========================================================*/

.timeline{

    position:relative;

    max-width:900px;

    margin:0 auto;

}

.timeline::before{

    content:"";

    position:absolute;

    left:25px;

    top:0;

    width:3px;

    height:100%;

    background:linear-gradient(var(--primary),transparent);

}

.timeline-item{

    position:relative;

    padding-left:80px;

    margin-bottom:60px;

}

.timeline-dot{

    position:absolute;

    left:13px;

    top:10px;

    width:26px;

    height:26px;

    border-radius:50%;

    background:var(--primary);

    border:5px solid var(--background);

    box-shadow:0 0 0 5px rgba(212,175,55,.18);

}

.timeline-content{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:22px;

    padding:35px;

    transition:var(--transition);

}

.timeline-content:hover{

    transform:translateY(-8px);

    border-color:var(--primary);

    box-shadow:var(--shadow);

}

.timeline-date{

    display:inline-block;

    margin-bottom:18px;

    padding:8px 18px;

    border-radius:50px;

    background:rgba(212,175,55,.12);

    color:var(--primary);

    font-weight:700;

}

.timeline-content h3{

    margin-bottom:6px;

}

.timeline-content h4{

    color:var(--gray);

    margin-bottom:20px;

    font-weight:500;

}

.timeline-content p{

    color:var(--gray);

    margin-bottom:20px;

}

.timeline-content ul{

    padding-left:18px;

}

.timeline-content ul li{

    margin-bottom:10px;

    color:var(--gray);

}


/*==========================================================
    EDUCATION
==========================================================*/

.education-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.education-card{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:22px;

    padding:40px 30px;

    text-align:center;

    transition:var(--transition);

}

.education-card:hover{

    transform:translateY(-10px);

    border-color:var(--primary);

    box-shadow:var(--shadow);

}

.education-icon{

    width:85px;

    height:85px;

    margin:0 auto 25px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:rgba(212,175,55,.15);

}

.education-icon i{

    font-size:2rem;

    color:var(--primary);

}

.education-card h3{

    margin-bottom:10px;

}

.education-card h4{

    color:var(--primary);

    margin-bottom:15px;

}

.education-card p{

    color:var(--gray);

    margin-bottom:20px;

}

.education-card span{

    font-weight:700;

}


/*==========================================================
    CERTIFICATES
==========================================================*/

.certificate-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:30px;

}

.certificate-card{

    overflow:hidden;

    background:var(--card);

    border-radius:22px;

    border:1px solid var(--border);

    transition:.35s;

}

.certificate-card:hover{

    transform:translateY(-10px);

    border-color:var(--primary);

    box-shadow:var(--shadow);

}

.certificate-card img{

    height:230px;

    object-fit:cover;

}

.certificate-info{

    padding:25px;

}

.certificate-info h3{

    margin-bottom:10px;

}

.certificate-info p{

    color:var(--gray);

    margin-bottom:20px;

}

.view-certificate{

    width:100%;

    padding:14px;

    border-radius:50px;

    background:var(--primary);

    color:#000;

    font-weight:700;

    transition:.3s;

}

.view-certificate:hover{

    transform:translateY(-3px);

}


/*==========================================================
    RESUME
==========================================================*/

.resume-box{

    background:linear-gradient(135deg,#111,#1d1d1d);

    border:1px solid var(--border);

    border-radius:30px;

    padding:70px;

    text-align:center;

}

.resume-box h2{

    font-size:2.3rem;

    margin-bottom:20px;

}

.resume-box p{

    color:var(--gray);

    max-width:720px;

    margin:0 auto 35px;

}


/*==========================================================
    HIRE ME
==========================================================*/

.hire-box{

    text-align:center;

    background:linear-gradient(135deg,#D4AF37,#FFD95A);

    color:#000;

    border-radius:30px;

    padding:80px 60px;

}

.hire-box span{

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:2px;

}

.hire-box h2{

    font-size:3rem;

    margin:20px 0;

}

.hire-box p{

    max-width:700px;

    margin:0 auto 35px;

}

.hire-box .btn{

    background:#000;

    color:#fff;

}


/*==========================================================
    CONTACT
==========================================================*/

.contact-grid{

    display:grid;

    grid-template-columns:380px 1fr;

    gap:45px;

}

.contact-card{

    display:flex;

    align-items:center;

    gap:20px;

    margin-bottom:22px;

    padding:22px;

    border-radius:20px;

    background:var(--card);

    border:1px solid var(--border);

}

.contact-card i{

    width:60px;

    height:60px;

    border-radius:50%;

    display:flex;

    align-items:center;

    justify-content:center;

    background:rgba(212,175,55,.15);

    color:var(--primary);

    font-size:1.4rem;

}

.contact-card p,
.contact-card a{

    color:var(--gray);

}

.contact-form{

    background:var(--card);

    border:1px solid var(--border);

    border-radius:24px;

    padding:40px;

}

.contact-form input,
.contact-form textarea{

    width:100%;

    margin-bottom:20px;

    padding:18px;

    border-radius:14px;

    border:1px solid var(--border);

    background:#151515;

    color:#fff;

    font-size:1rem;

    outline:none;

    transition:.3s;

}

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

    border-color:var(--primary);

}

.contact-form textarea{

    resize:vertical;

}


/*==========================================================
    FOOTER
==========================================================*/

footer{

    background:#080808;

    padding:60px 0;

    border-top:1px solid var(--border);

}

.footer-content{

    text-align:center;

}

.footer-logo{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:20px;

    margin-bottom:30px;

}

.footer-social{

    display:flex;

    justify-content:center;

    gap:18px;

    margin:35px 0;

}

.footer-social a{

    width:52px;

    height:52px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:50%;

    background:var(--card);

    transition:.3s;

}

.footer-social a:hover{

    background:var(--primary);

    color:#000;

}

.copyright{

    color:var(--gray);

}


/*==========================================================
    BACK TO TOP
==========================================================*/

#backToTop{

    position:fixed;

    right:25px;

    bottom:25px;

    width:55px;

    height:55px;

    border-radius:50%;

    background:var(--primary);

    color:#000;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:1.2rem;

    cursor:pointer;

    opacity:0;

    visibility:hidden;

    transition:.35s;

    z-index:999;

}

#backToTop.show{

    opacity:1;

    visibility:visible;

}


/*==========================================================
    CERTIFICATE MODAL
==========================================================*/

.certificate-modal{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.92);

    display:none;

    justify-content:center;

    align-items:center;

    z-index:10000;

    padding:30px;

}

.certificate-modal img{

    max-width:90%;

    max-height:90vh;

    border-radius:18px;

    box-shadow:var(--shadow);

}

.close-modal{

    position:absolute;

    top:30px;

    right:40px;

    font-size:3rem;

    color:#fff;

    cursor:pointer;

}
/*==========================================================
    ANIMATIONS
==========================================================*/

@keyframes floatCard{

    0%,100%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-15px);

    }

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(60px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

@keyframes pulse{

    0%,100%{

        transform:scale(1);

    }

    50%{

        transform:scale(1.08);

    }

}

@keyframes shimmer{

    0%{

        transform:translateX(-100%);

    }

    100%{

        transform:translateX(100%);

    }

}

@keyframes loading{

    0%{

        transform:translateX(-100%);

    }

    100%{

        transform:translateX(100%);

    }

}


/*==========================================================
    REVEAL ANIMATION
==========================================================*/

.reveal{

    opacity:0;

    transform:translateY(60px);

    transition:all .8s ease;

}

.reveal.active{

    opacity:1;

    transform:translateY(0);

}


/*==========================================================
    HOVER IMPROVEMENTS
==========================================================*/

.project-card,
.service-card,
.stat-card,
.education-card,
.certificate-card,
.info-card,
.timeline-content{

    will-change:transform;

}


/*==========================================================
    IMAGE FIX
==========================================================*/

img{

    max-width:100%;

    height:auto;

}


/*==========================================================
    MOBILE
==========================================================*/

@media(max-width:992px){

.hero-grid{

grid-template-columns:1fr;

text-align:center;

}

.hero-content{

order:2;

}

.hero-image{

order:1;

max-width:480px;

margin:auto;

}

.hero-buttons{

justify-content:center;

}

.hero-social{

justify-content:center;

}

.about-grid{

grid-template-columns:1fr;

}

.skills-grid{

grid-template-columns:1fr;

}

.services-grid{

grid-template-columns:repeat(2,1fr);

}

.projects-grid{

grid-template-columns:1fr;

}

.education-grid{

grid-template-columns:1fr;

}

.certificate-grid{

grid-template-columns:repeat(2,1fr);

}

.contact-grid{

grid-template-columns:1fr;

}

.stats-grid{

grid-template-columns:repeat(2,1fr);

}

.info-grid{

grid-template-columns:1fr;

}

}


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

@media(max-width:900px){

#menu-toggle{

display:block;

cursor:pointer;

z-index:2000;

}

.nav-menu{

position:fixed;

top:0;

right:-100%;

width:320px;

height:100vh;

background:#080808;

display:flex;

flex-direction:column;

justify-content:center;

align-items:center;

gap:35px;

transition:.45s ease;

box-shadow:-10px 0 40px rgba(0,0,0,.45);

}

.nav-menu.active{

right:0;

}

.nav-menu a{

font-size:1.15rem;

}

.hire-btn{

display:none;

}

.floating-card{

display:none;

}

}


/*==========================================================
    SMALL DEVICES
==========================================================*/

@media(max-width:768px){

section{

padding:80px 0;

}

.section-title h2{

font-size:2.2rem;

}

.hero{

padding-top:140px;

}

.hero-content h1{

font-size:2.8rem;

}

.hero-content h2{

font-size:1.4rem;

}

.resume-box{

padding:45px 25px;

}

.hire-box{

padding:55px 25px;

}

.hire-box h2{

font-size:2rem;

}

.timeline{

padding-left:10px;

}

.timeline::before{

left:16px;

}

.timeline-dot{

left:4px;

}

.timeline-item{

padding-left:55px;

}

.footer-logo{

flex-direction:column;

}

}


/*==========================================================
    PHONES
==========================================================*/

@media(max-width:576px){

.container{

width:94%;

}

.hero-content h1{

font-size:2.2rem;

}

.hero-buttons{

flex-direction:column;

}

.btn{

width:100%;

}

.stats-grid{

grid-template-columns:1fr;

}

.services-grid{

grid-template-columns:1fr;

}

.certificate-grid{

grid-template-columns:1fr;

}

.project-buttons{

flex-direction:column;

}

.logo-text{

display:none;

}

.contact-form{

padding:25px;

}

.contact-card{

flex-direction:column;

text-align:center;

}

}


/*==========================================================
    LARGE SCREENS
==========================================================*/

@media(min-width:1600px){

.container{

max-width:1450px;

}

.hero-content h1{

font-size:5rem;

}

.section-title h2{

font-size:3.6rem;

}

}

/*==========================================================
CERTIFICATE MODAL
==========================================================*/

.certificate-modal{

position:fixed;

top:0;

left:0;

width:100%;

height:100vh;

background:rgba(0,0,0,.95);

display:none;

justify-content:center;

align-items:center;

z-index:999999;

opacity:0;

transition:.35s;

}

.certificate-modal.show{

opacity:1;

}

#certificatePreview{

max-width:90%;

max-height:90vh;

border-radius:14px;

box-shadow:0 25px 60px rgba(0,0,0,.5);

animation:zoomIn .4s;

}

.close-modal{

position:absolute;

top:35px;

right:45px;

font-size:48px;

color:white;

cursor:pointer;

transition:.3s;

}

.close-modal:hover{

color:#D4AF37;

transform:rotate(180deg);

}

@keyframes zoomIn{

from{

transform:scale(.75);

opacity:0;

}

to{

transform:scale(1);

opacity:1;

}

}
/*==========================================================
    PREMIUM SCROLLBAR
==========================================================*/

::-webkit-scrollbar{

width:10px;

}

::-webkit-scrollbar-track{

background:#050505;

}

::-webkit-scrollbar-thumb{

background:linear-gradient(#D4AF37,#FFD700);

border-radius:30px;

}

::-webkit-scrollbar-thumb:hover{

background:#FFD700;

}


/*==========================================================
    TEXT SELECTION
==========================================================*/

::selection{

background:#D4AF37;

color:#050505;

}


/*==========================================================
    SMOOTH SCROLL
==========================================================*/

html{

scroll-behavior:smooth;

}


/*==========================================================
    IMAGE HOVER
==========================================================*/

.project-image img,
.about-photo img,
.image-border img,
.certificate-card img{

transition:.5s;

}

.project-card:hover img,
.about-photo:hover img,
.image-border:hover img{

transform:scale(1.06);

}


/*==========================================================
    LINK ANIMATION
==========================================================*/

a{

transition:.3s;

text-decoration:none;

}


/*==========================================================
    BUTTON IMPROVEMENT
==========================================================*/

.btn{

transition:.35s ease;

}

.btn:hover{

transform:translateY(-4px);

box-shadow:0 15px 35px rgba(212,175,55,.35);

}


/*==========================================================
    CARD IMPROVEMENT
==========================================================*/

.project-card,
.service-card,
.education-card,
.certificate-card,
.stat-card,
.timeline-content,
.info-card{

transition:.35s ease;

}

.project-card:hover,
.service-card:hover,
.education-card:hover,
.certificate-card:hover,
.stat-card:hover,
.timeline-content:hover,
.info-card:hover{

transform:translateY(-8px);

}


/*==========================================================
    INPUT EFFECT
==========================================================*/

input,
textarea{

transition:.3s;

}

input:focus,
textarea:focus{

transform:translateY(-2px);

}


/*==========================================================
    FOOTER
==========================================================*/

footer{

overflow:hidden;

}