/* ===========================================
   PORTFOLIO PAGE STYLES
   Loaded on: portfolio.html

   NEW FILE: portfolio.css and portfolio.html were both uploaded
   empty. Built below, reusing the same hero / grid / card / cta
   patterns already established on the about and services pages
   so the whole site stays visually consistent.
=========================================== */

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

.portfolio-hero{

    position:relative;

    min-height:70vh;

    display:flex;

    align-items:center;

    overflow:hidden;

    background:
        linear-gradient(
            rgba(8,23,50,0.78),
            rgba(8,23,50,0.82)
        ),
        url("../assets/hero/portfolio-hero.png");

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

}

.portfolio-hero .section-tag{

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

    color:var(--secondary);

}

.portfolio-hero h1{

    font-size:3.6rem;

    line-height:1.15;

    margin:20px 0 25px;

    color:#ffffff;

}

.portfolio-hero p{

    font-size:1.15rem;

    line-height:2;

    color:rgba(255,255,255,.90);

    max-width:650px;

}

/* ===========================================
   PORTFOLIO FILTER TABS
=========================================== */

.portfolio-filters{

    display:flex;

    flex-wrap:wrap;

    justify-content:center;

    gap:14px;

    margin:0 0 60px;

}

.filter-btn{

    padding:12px 26px;

    border-radius:50px;

    background:#fff;

    color:var(--primary);

    font-weight:600;

    font-size:.9rem;

    border:1px solid rgba(10,46,111,.15);

    transition:all .3s ease;

}

.filter-btn:hover,
.filter-btn.active{

    background:var(--primary);

    color:#fff;

    border-color:var(--primary);

}

/* ===========================================
   PORTFOLIO GRID
=========================================== */

.portfolio-section{

    padding:120px 0;

    background:#F8FAFC;

}

.portfolio-grid{

    display:grid;

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

    gap:35px;

}

.portfolio-card{

    background:#ffffff;

    border-radius:22px;

    overflow:hidden;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

    transition:all .35s ease;

}

.portfolio-card:hover{

    transform:translateY(-10px);

    box-shadow:0 25px 55px rgba(10,46,111,.15);

}

.portfolio-thumb{

    width:100%;

    aspect-ratio:4/3;

    background:linear-gradient(135deg,var(--primary),#123C8C);

    display:flex;

    align-items:center;

    justify-content:center;

    color:rgba(255,255,255,.85);

    font-weight:700;

    font-size:1.1rem;

    letter-spacing:1px;

    text-align:center;

    padding:20px;

}

.portfolio-thumb{
    overflow:hidden;
}

.portfolio-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    border-radius: 20px;
}

.portfolio-body{

    padding:30px;

}

.portfolio-tag{

    display:inline-block;

    color:var(--secondary);

    font-weight:700;

    font-size:.8rem;

    letter-spacing:1.5px;

    text-transform:uppercase;

    margin-bottom:12px;

}

.portfolio-card h3{

    color:var(--dark);

    font-size:1.4rem;

    margin-bottom:12px;

}

.portfolio-card p{

    color:var(--text);

    line-height:1.8;

    margin-bottom:0;

}

/* ===========================================
   PORTFOLIO CTA
   Reuses the same dark-gradient CTA pattern as home/services,
   with the same contrast-safe paragraph colour.
=========================================== */

.portfolio-cta{

    padding:120px 0;

    background:linear-gradient(135deg,var(--primary),#0044cc);

    color:#ffffff;

    text-align:center;

}

.portfolio-cta h2{

    font-size:2.6rem;

    margin-bottom:20px;

    color:#ffffff;

}

.portfolio-cta p{

    color:#CFD9F7;

    max-width:650px;

    margin:0 auto 35px;

    font-size:1.1rem;

    line-height:1.8;

}
