﻿/* ===================================
   PORTFOLIO PAGE
=================================== */

.portfolio-banner {
    background: linear-gradient(135deg,#6C63FF,#4FD1C5);
    padding: 100px 0;
    text-align: center;
}

.portfolio-banner h1 {
    color: #fff;
    font-size: 60px;
    font-weight: 700;
    margin-bottom: 15px;
}

.portfolio-banner p {
    color: rgba(255,255,255,.95);
    font-size: 20px;
}

/* ===================================
   FILTER TABS
=================================== */

.portfolio-filter-section {
    padding: 50px 0 20px;
}

.portfolio-tabs {
    text-align: center;
}

.tab-btn {
    border: none;
    background: #f1f5f9;
    color: #334155;
    padding: 12px 28px;
    margin: 5px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}

.tab-btn:hover,
.tab-btn.active {
    background: linear-gradient(135deg,#6C63FF,#4FD1C5);
    color: #fff;
    box-shadow: 0 10px 25px rgba(108,99,255,.25);
}

/* ===================================
   PORTFOLIO SECTION
=================================== */

.portfolio-section {
    padding: 60px 0 100px;
}

.portfolio-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 35px;
    transition: .4s;
    box-shadow: 0 10px 35px rgba(0,0,0,.08);
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0,0,0,.15);
}

/* ===================================
   WEBSITE PREVIEW
=================================== */

.website-preview {
    height: 420px;
    overflow: hidden;
    position: relative;
    background: #f8fafc;
}

.website-preview img {
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    transition: transform 10s linear;
}

.portfolio-card:hover .website-preview img {
    transform: translateY(-75%);
}

/* ===================================
   CONTENT
=================================== */

.portfolio-content {
    padding: 25px;
}

.portfolio-content h4 {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
}

.portfolio-content p {
    color: #64748b;
    line-height: 1.8;
    min-height: 60px;
}

/* ===================================
   BUTTONS
=================================== */

.portfolio-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.visit-btn {
    flex: 1;
    text-align: center;
    background: linear-gradient(135deg,#6C63FF,#4FD1C5);
    color: #fff;
    padding: 12px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

.visit-btn:hover {
    color: #fff;
    transform: translateY(-2px);
}

.quote-btn {
    flex: 1;
    text-align: center;
    background: #0f172a;
    color: #fff;
    padding: 12px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s;
}

.quote-btn:hover {
    background: #1e293b;
    color: #fff;
}

/* ===================================
   COUNTER
=================================== */

.portfolio-counter {
    padding: 90px 0;
    background: #f8fafc;
}

.counter-box {
    background: #fff;
    text-align: center;
    padding: 35px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,.06);
    transition: .3s;
}

.counter-box:hover {
    transform: translateY(-5px);
}

.counter-box h2 {
    font-size: 52px;
    font-weight: 800;
    background: linear-gradient(135deg,#6C63FF,#4FD1C5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.counter-box span {
    font-size: 18px;
    color: #475569;
    font-weight: 600;
}

/* ===================================
   RESPONSIVE
=================================== */

@media(max-width:991px) {

    .portfolio-banner h1 {
        font-size: 42px;
    }

    .website-preview {
        height: 320px;
    }

    .portfolio-buttons {
        flex-direction: column;
    }
}

@media(max-width:767px) {

    .portfolio-banner {
        padding: 70px 0;
    }

    .portfolio-banner h1 {
        font-size: 34px;
    }

    .portfolio-banner p {
        font-size: 16px;
    }

    .tab-btn {
        padding: 10px 18px;
        font-size: 14px;
    }

    .website-preview {
        height: 250px;
    }

    .portfolio-content h4 {
        font-size: 20px;
    }
}
    /* ==========================
   PORTFOLIO MODAL
========================== */

.portfolio-modal {

    display:none;

    position:fixed;

    top:0;
    left:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,.85);

    z-index:99999;

    overflow:auto;

}

.modal-content-box {

    width:90%;
    max-width:1200px;

    margin:40px auto;

    text-align:center;

    position:relative;
}

.close-modal {

    position:absolute;

    right:0;
    top:-10px;

    color:#fff;

    font-size:40px;

    cursor:pointer;
}

/* Laptop */

.laptop-frame {

    background:#111827;

    padding:20px;

    border-radius:20px;

    box-shadow:
    0 25px 60px rgba(0,0,0,.5);
}

.laptop-frame iframe {

    width:100%;

    height:650px;

    border:none;

    background:#fff;

    border-radius:10px;
}

.modal-buttons {

    margin-top:25px;
}

.live-btn,
.similar-btn {

    display:inline-block;

    padding:14px 30px;

    border-radius:50px;

    text-decoration:none;

    margin:0 8px;

    font-weight:600;
}

.live-btn {

    background:
    linear-gradient(
    135deg,
    #6C63FF,
    #4FD1C5);

    color:#fff;
}

.similar-btn {

    background:#fff;

    color:#111827;
}

.logo-section{
    padding:80px 0;
    background:#f5f7fb;
}

.container{
    width:95%;
    max-width:1400px;
    margin:auto;
}

.section-header{
    text-align:center;
    margin-bottom:50px;
}

.section-header h2{
    font-size:42px;
    color:#0f172a;
    margin-bottom:15px;
}

.section-header p{
    max-width:850px;
    margin:auto;
    color:#64748b;
    line-height:1.8;
}

.category-tabs{
    text-align:center;
    margin-bottom:40px;
}

.category-btn{
    display:inline-block;
    padding:12px 25px;
    background:white;
    color:#0f172a;
    border-radius:50px;
    margin:5px;
    text-decoration:none;
    font-weight:600;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
    transition:.3s;
}

.category-btn:hover{
    background:linear-gradient(
    135deg,
    #6C63FF,
    #4FD1C5);

    color:white;
}

.logo-grid{
    display:grid;
    grid-template-columns:
    repeat(auto-fill,minmax(260px,1fr));
    gap:25px;
}

.logo-card{
    background:white;
    border-radius:18px;
    padding:25px;
    text-align:center;
    box-shadow:
    0 10px 25px rgba(0,0,0,.08);

    transition:.4s;
}

.logo-card:hover{
    transform:translateY(-8px);
}

.logo-card img{
    width:100%;
    height:140px;
    object-fit:contain;
}