/* ==========================================
   PORTFOLIO PAGE
   JABB TECH HUB
========================================== */

/* =========================
   GLOBAL
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:#0b0b0b;
    color:#fff;
    line-height:1.7;
}

.container{
    width:100%;
    max-width:1200px;
    margin:auto;
}

.section-padding{
    padding:90px 8%;
}

/* =========================
   SECTION TITLE
========================= */

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title span{

    color:#d4af37;
    text-transform:uppercase;
    letter-spacing:3px;
    font-size:15px;
    font-weight:600;

}

.section-title h2{

    font-size:42px;
    margin:15px 0;
    color:#fff;

}

.section-title p{

    color:#ccc;
    max-width:720px;
    margin:auto;
    font-size:17px;

}

/* =========================
   BUTTONS
========================= */

.btn-primary{

    display:inline-block;
    background:#d4af37;
    color:#000;
    text-decoration:none;
    padding:15px 35px;
    border-radius:40px;
    font-weight:600;
    transition:.4s;

}

.btn-primary:hover{

    background:#fff;
    transform:translateY(-5px);

}

.btn-secondary{

    display:inline-block;
    border:2px solid #d4af37;
    color:#d4af37;
    text-decoration:none;
    padding:15px 35px;
    border-radius:40px;
    transition:.4s;

}

.btn-secondary:hover{

    background:#d4af37;
    color:#000;

}

/* =========================
   HERO SECTION
========================= */

.portfolio-hero{

    position:relative;
    height:100vh;

    display:flex;
    justify-content:center;
    align-items:center;

    text-align:center;

    overflow:hidden;

    background:url("../images/portfolio/portfolio-bg.jpg")
    center center/cover no-repeat;

}

.portfolio-hero .overlay{

    position:absolute;
    width:100%;
    height:100%;

    background:rgba(0,0,0,.72);

}

.hero-content{

    position:relative;
    z-index:5;

    width:90%;
    max-width:900px;

}

.hero-subtitle{

    color:#d4af37;

    letter-spacing:4px;

    text-transform:uppercase;

}

.hero-content h1{

    font-size:65px;

    margin:20px 0;

    line-height:1.2;

}

.hero-content p{

    color:#ddd;

    font-size:20px;

    margin-bottom:40px;

}

.hero-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}

/* =========================
   INTRODUCTION
========================= */

.portfolio-intro{

    background:#0b0b0b;

}

.intro-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}

.intro-card{

    background:#161616;

    padding:40px 30px;

    border-radius:18px;

    text-align:center;

    border:1px solid rgba(212,175,55,.15);

    transition:.4s;

}

.intro-card:hover{

    transform:translateY(-10px);

    border-color:#d4af37;

    box-shadow:0 15px 35px rgba(212,175,55,.18);

}

.intro-card i{

    font-size:55px;

    color:#d4af37;

    margin-bottom:20px;

}

.intro-card h3{

    margin-bottom:15px;

    font-size:24px;

}

.intro-card p{

    color:#ccc;

}

/* =========================
   PORTFOLIO STATS
========================= */

.portfolio-stats{

    background:#111;

}

.stats-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}

.stat-box{

    background:#181818;

    padding:45px 25px;

    text-align:center;

    border-radius:18px;

    border:1px solid rgba(212,175,55,.15);

    transition:.4s;

}

.stat-box:hover{

    transform:translateY(-12px);

    border-color:#d4af37;

}

.stat-box i{

    color:#d4af37;

    font-size:45px;

    margin-bottom:20px;

}

.stat-box h2{

    font-size:42px;

    margin-bottom:10px;

}

.stat-box p{

    color:#ccc;

}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:992px){

    .intro-grid{

        grid-template-columns:repeat(2,1fr);

    }

    .stats-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

@media(max-width:768px){

    .hero-content h1{

        font-size:48px;

    }

    .hero-content p{

        font-size:18px;

    }

    .intro-grid{

        grid-template-columns:1fr;

    }

}

@media(max-width:480px){

    .section-title h2{

        font-size:30px;

    }

    .hero-content h1{

        font-size:36px;

    }

    .hero-buttons{

        flex-direction:column;

    }

    .btn-primary,
    .btn-secondary{

        width:100%;
        text-align:center;

    }

    .stats-grid{

        grid-template-columns:1fr;

    }

}
/* ==========================================
   PORTFOLIO CATEGORIES
========================================== */

.portfolio-categories{
    background:#111;
}

.category-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:35px;
    margin-top:50px;
}

.category-card{
    background:#181818;
    padding:40px 30px;
    text-align:center;
    border-radius:18px;
    border:1px solid rgba(212,175,55,.15);
    transition:all .4s ease;
    position:relative;
    overflow:hidden;
}

.category-card::before{
    content:"";
    position:absolute;
    top:0;
    left:-100%;
    width:100%;
    height:4px;
    background:#d4af37;
    transition:.4s;
}

.category-card:hover::before{
    left:0;
}

.category-card:hover{
    transform:translateY(-12px);
    border-color:#d4af37;
    box-shadow:0 15px 35px rgba(212,175,55,.18);
}

.category-card i{
    font-size:55px;
    color:#d4af37;
    margin-bottom:20px;
}

.category-card h3{
    color:#fff;
    font-size:24px;
    margin-bottom:15px;
}

.category-card p{
    color:#ccc;
    line-height:1.8;
}


/* ==========================================
   PROJECT SECTIONS
========================================== */

.website-projects,
.mobile-projects,
.graphic-projects{
    background:#0b0b0b;
}

.projects-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(340px,1fr));
    gap:35px;
    margin-top:50px;
}


/* ==========================================
   PROJECT CARD
========================================== */

.project-card{
    background:#181818;
    border-radius:18px;
    overflow:hidden;
    border:1px solid rgba(212,175,55,.15);
    transition:.4s ease;
}

.project-card:hover{
    transform:translateY(-12px);
    border-color:#d4af37;
    box-shadow:0 15px 35px rgba(212,175,55,.18);
}

.project-card img{
    width:100%;
    height:250px;
    object-fit:cover;
    transition:.4s;
}

.project-card:hover img{
    transform:scale(1.08);
}

.project-content{
    padding:30px;
}

.project-category{
    display:inline-block;
    background:#d4af37;
    color:#000;
    padding:6px 15px;
    border-radius:30px;
    font-size:13px;
    font-weight:600;
    margin-bottom:15px;
}

.project-content h3{
    color:#fff;
    font-size:24px;
    margin-bottom:15px;
}

.project-content p{
    color:#ccc;
    margin-bottom:20px;
    line-height:1.8;
}


/* ==========================================
   TECHNOLOGY TAGS
========================================== */

.tech-stack{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:25px;
}

.tech-stack span{
    background:#222;
    color:#d4af37;
    border:1px solid rgba(212,175,55,.2);
    padding:8px 14px;
    border-radius:30px;
    font-size:13px;
    transition:.3s;
}

.tech-stack span:hover{
    background:#d4af37;
    color:#000;
}


/* ==========================================
   PROJECT BUTTON
========================================== */

.project-btn{
    display:inline-block;
    text-decoration:none;
    color:#d4af37;
    font-weight:600;
    transition:.3s;
}

.project-btn:hover{
    color:#fff;
}


/* ==========================================
   PROJECT RIBBON
========================================== */

.project-card{
    position:relative;
}

.project-card::after{

    content:"Featured";

    position:absolute;

    top:20px;

    right:-45px;

    background:#d4af37;

    color:#000;

    padding:8px 45px;

    font-size:12px;

    font-weight:700;

    letter-spacing:1px;

    transform:rotate(45deg);

}


/* ==========================================
   HOVER ANIMATION
========================================== */

.project-card,
.category-card{
    animation:fadeUp .8s ease;
}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}


/* ==========================================
   RESPONSIVE
========================================== */

@media(max-width:992px){

    .projects-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

@media(max-width:768px){

    .projects-grid{

        grid-template-columns:1fr;

    }

    .project-card::after{

        display:none;

    }

}

@media(max-width:480px){

    .category-grid{

        grid-template-columns:1fr;

    }

    .project-content{

        padding:22px;

    }

    .project-content h3{

        font-size:21px;

    }

}

/* ==========================================
   GRAPHIC DESIGN PORTFOLIO
========================================== */

.graphic-projects{
    background:#111;
}

.design-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
    margin-top:50px;
}

.design-card{
    background:#181818;
    border-radius:18px;
    overflow:hidden;
    text-align:center;
    border:1px solid rgba(212,175,55,.15);
    transition:all .4s ease;
}

.design-card:hover{
    transform:translateY(-10px);
    border-color:#d4af37;
    box-shadow:0 15px 35px rgba(212,175,55,.18);
}

.design-card img{
    width:100%;
    height:260px;
    object-fit:cover;
    transition:.4s;
}

.design-card:hover img{
    transform:scale(1.08);
}

.design-card h3{
    padding:20px;
    color:#fff;
    font-size:22px;
}


/* ==========================================
   ICT PROJECTS
========================================== */

.ict-projects{
    background:#0b0b0b;
}


/* ==========================================
   EXPORT PROJECTS
========================================== */

.export-projects{
    background:#111;
}


/* ==========================================
   TESTIMONIALS
========================================== */

.testimonials{
    background:#0b0b0b;
}

.testimonial-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:35px;
    margin-top:50px;
}

.testimonial-card{
    background:#181818;
    padding:35px;
    border-radius:18px;
    border:1px solid rgba(212,175,55,.15);
    transition:all .4s ease;
}

.testimonial-card:hover{
    transform:translateY(-10px);
    border-color:#d4af37;
    box-shadow:0 15px 35px rgba(212,175,55,.18);
}

.stars{
    margin-bottom:20px;
}

.stars i{
    color:#d4af37;
    margin-right:4px;
}

.testimonial-card p{
    color:#ccc;
    line-height:1.9;
    font-style:italic;
    margin-bottom:25px;
}

.testimonial-card h4{
    color:#fff;
    margin-bottom:6px;
}

.testimonial-card span{
    color:#d4af37;
    font-size:14px;
}


/* ==========================================
   SUCCESS HIGHLIGHTS
========================================== */

.success{
    background:#111;
}

.success-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:30px;
    margin-top:50px;
}

.success-card{
    background:#181818;
    text-align:center;
    padding:40px 30px;
    border-radius:18px;
    border:1px solid rgba(212,175,55,.15);
    transition:all .4s ease;
}

.success-card:hover{
    transform:translateY(-12px);
    border-color:#d4af37;
    box-shadow:0 15px 35px rgba(212,175,55,.18);
}

.success-card i{
    font-size:55px;
    color:#d4af37;
    margin-bottom:20px;
}

.success-card h3{
    color:#fff;
    font-size:24px;
    margin-bottom:15px;
}

.success-card p{
    color:#ccc;
    line-height:1.8;
}


/* ==========================================
   COMMON CARD ANIMATION
========================================== */

.design-card,
.testimonial-card,
.success-card{
    animation:fadePortfolio .8s ease both;
}

.design-card:nth-child(1){animation-delay:.1s;}
.design-card:nth-child(2){animation-delay:.2s;}
.design-card:nth-child(3){animation-delay:.3s;}
.design-card:nth-child(4){animation-delay:.4s;}
.design-card:nth-child(5){animation-delay:.5s;}
.design-card:nth-child(6){animation-delay:.6s;}

@keyframes fadePortfolio{

    from{

        opacity:0;
        transform:translateY(40px);

    }

    to{

        opacity:1;
        transform:translateY(0);

    }

}


/* ==========================================
   RESPONSIVE
========================================== */

@media(max-width:992px){

    .design-grid{

        grid-template-columns:repeat(2,1fr);

    }

}

@media(max-width:768px){

    .design-grid,
    .testimonial-grid,
    .success-grid{

        grid-template-columns:1fr;

    }

    .testimonial-card{

        padding:30px;

    }

}

@media(max-width:480px){

    .design-card img{

        height:220px;

    }

    .success-card h3{

        font-size:20px;

    }

}

/* ==========================================
   PORTFOLIO CTA
========================================== */

.portfolio-cta{
    background:linear-gradient(rgba(0,0,0,.85),rgba(0,0,0,.85)),
    url("../images/portfolio/cta-bg.jpg") center/cover no-repeat;
    padding:100px 8%;
    text-align:center;
}

.cta-content{
    max-width:850px;
    margin:auto;
}

.cta-content span{
    display:inline-block;
    color:#d4af37;
    text-transform:uppercase;
    letter-spacing:3px;
    font-weight:600;
    margin-bottom:15px;
}

.cta-content h2{
    font-size:48px;
    color:#fff;
    margin-bottom:20px;
}

.cta-content p{
    color:#ddd;
    font-size:18px;
    line-height:1.8;
    margin-bottom:35px;
}

.cta-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}


/* ==========================================
   PROJECT IMAGE OVERLAY
========================================== */

.project-card{
    overflow:hidden;
}

.project-card img{
    display:block;
}

.project-card::before{

    content:"";

    position:absolute;

    inset:0;

    background:linear-gradient(
        rgba(0,0,0,0),
        rgba(0,0,0,.55)
    );

    opacity:0;

    transition:.4s;

    z-index:1;

}

.project-card:hover::before{

    opacity:1;

}

.project-content{
    position:relative;
    z-index:2;
}


/* ==========================================
   GOLD DIVIDER
========================================== */

.website-projects::after,
.mobile-projects::after,
.graphic-projects::after,
.ict-projects::after,
.export-projects::after,
.testimonials::after{

    content:"";

    display:block;

    width:120px;

    height:3px;

    background:#d4af37;

    margin:70px auto 0;

    border-radius:20px;

}


/* ==========================================
   BACK TO TOP BUTTON
========================================== */

.back-top{

    position:fixed;

    right:30px;

    bottom:30px;

    width:55px;

    height:55px;

    border:none;

    border-radius:50%;

    background:#d4af37;

    color:#000;

    cursor:pointer;

    font-size:20px;

    transition:.4s;

    opacity:0;

    visibility:hidden;

    z-index:999;

}

.back-top.show{

    opacity:1;

    visibility:visible;

}

.back-top:hover{

    transform:translateY(-6px);

    background:#fff;

}


/* ==========================================
   SCROLLBAR
========================================== */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#111;

}

::-webkit-scrollbar-thumb{

    background:#d4af37;

    border-radius:30px;

}

::-webkit-scrollbar-thumb:hover{

    background:#f1c84b;

}


/* ==========================================
   FADE ANIMATIONS
========================================== */

@keyframes fadeInUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

@keyframes zoomIn{

    from{

        opacity:0;

        transform:scale(.9);

    }

    to{

        opacity:1;

        transform:scale(1);

    }

}

.portfolio-hero,
.portfolio-intro,
.portfolio-stats,
.portfolio-categories,
.website-projects,
.mobile-projects,
.graphic-projects,
.ict-projects,
.export-projects,
.testimonials,
.success,
.portfolio-cta{

    animation:fadeInUp .9s ease;

}


/* ==========================================
   RESPONSIVE
========================================== */

@media(max-width:992px){

    .cta-content h2{

        font-size:40px;

    }

}

@media(max-width:768px){

    .cta-content h2{

        font-size:34px;

    }

    .cta-content p{

        font-size:16px;

    }

    .cta-buttons{

        flex-direction:column;

        align-items:center;

    }

    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary{

        width:260px;

        text-align:center;

    }

}

@media(max-width:480px){

    .portfolio-cta{

        padding:80px 6%;

    }

    .cta-content h2{

        font-size:28px;

    }

    .cta-content span{

        font-size:13px;

    }

    .back-top{

        width:48px;

        height:48px;

        right:18px;

        bottom:18px;

    }

}

/* ==========================================
   IMAGE LIGHTBOX
========================================== */

#lightbox{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.92);

    display:none;

    justify-content:center;

    align-items:center;

    z-index:99999;

}

#lightbox img{

    max-width:90%;

    max-height:85%;

    border:4px solid #d4af37;

    border-radius:10px;

}

#lightbox span{

    position:absolute;

    top:25px;

    right:35px;

    color:#fff;

    font-size:45px;

    cursor:pointer;

    transition:.3s;

}

#lightbox span:hover{

    color:#d4af37;

}

/* ==========================================
   PORTFOLIO FOOTER FIX
========================================== */

.portfolio-page .footer{
    position:relative;
    width:100%;
}


.portfolio-page .footer-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:40px;
}


.portfolio-page .footer-bottom{
    text-align:center;
}
/* ==========================================
   FOOTER
========================================== */

.footer{
    background:#050505;
    padding:70px 8% 30px;
}

.footer-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:40px;
}

.footer h2,
.footer h3{
    color:#fff;
    margin-bottom:20px;
}

.footer p,
.footer li{
    color:#bdbdbd;
    line-height:1.9;
}

.footer ul{
    list-style:none;
}

.footer ul li{
    margin-bottom:12px;
}

.footer ul li a{
    color:#bdbdbd;
    text-decoration:none;
    transition:.3s;
}

.footer ul li a:hover{
    color:#d4af37;
}

.footer-contact i{
    color:#d4af37;
    margin-right:10px;
}

.footer hr{
    border:none;
    height:1px;
    background:#222;
    margin:50px 0 25px;
}

.footer-bottom{
    text-align:center;
}

.footer-bottom p{
    color:#888;
}


/* ==========================================
   SCROLLBAR
========================================== */

::-webkit-scrollbar{
    width:10px;
}

::-webkit-scrollbar-track{
    background:#111;
}

::-webkit-scrollbar-thumb{
    background:#d4af37;
    border-radius:20px;
}

::-webkit-scrollbar-thumb:hover{
    background:#f1c84b;
}


/* ==========================================
   GLOBAL ANIMATIONS
========================================== */

@keyframes fadeIn{

    from{
        opacity:0;
    }

    to{
        opacity:1;
    }

}

@keyframes zoomIn{

    from{
        opacity:0;
        transform:scale(.9);
    }

    to{
        opacity:1;
        transform:scale(1);
    }

}

.country-card,
.faq-item,
.cta-content{
    animation:zoomIn .8s ease;
}


/* ==========================================
   RESPONSIVE
========================================== */

@media(max-width:992px){

    .countries-grid{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:768px){

    .countries-grid{
        grid-template-columns:1fr;
    }

    .cta-content h2{
        font-size:36px;
    }

    .cta-content p{
        font-size:16px;
    }

    .footer-grid{
        grid-template-columns:1fr;
        text-align:center;
    }

}

@media(max-width:480px){

    .section-title h2{
        font-size:30px;
    }

    .country-card h3{
        font-size:20px;
    }

    .faq-item h3{
        font-size:18px;
    }

    .cta-content h2{
        font-size:28px;
    }

    .btn-primary,
    .btn-secondary{
        width:100%;
        text-align:center;
    }

}

/* ==========================
   BACK TO TOP BUTTON
========================== */

.back-top{

    position:fixed;

    right:30px;

    bottom:30px;

    width:50px;

    height:50px;

    border:none;

    border-radius:50%;

    background:#d4af37;

    color:#000;

    font-size:20px;

    cursor:pointer;

    opacity:0;

    visibility:hidden;

    transition:.4s;

    z-index:999;

}


.back-top.show{

    opacity:1;

    visibility:visible;

}


.back-top:hover{

    background:#fff;

    transform:translateY(-5px);

}