/*=========================
    GOOGLE FONT
=========================*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root{

--primary:#05508e;
--secondary:#031b3b;
--accent:#0ea5e9;
--white:#ffffff;
--dark:#0f172a;
--text:#64748b;
--bg:#f7f9fc;

}

*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Inter',sans-serif;
}

html{
scroll-behavior:smooth;
}

body{
background:var(--bg);
color:var(--dark);
overflow-x:hidden;
}

img{
width:100%;
display:block;
}

.container{
width:90%;
max-width:1320px;
margin:auto;
}

/*=========================
NAVBAR
=========================*/

.navbar{

position:fixed;
top:0;
left:0;
width:100%;
padding:18px 0;
z-index:999;
background:rgba(3,27,59,.85);
backdrop-filter:blur(15px);

}

.navbar .container{

display:flex;
justify-content:space-between;
align-items:center;

}

.logo img{

height:55px;

}

.menu{

display:flex;
gap:35px;
list-style:none;

}

.menu a{

text-decoration:none;
font-size:15px;
font-weight:600;
color:#fff;
transition:.35s;

}

.menu a:hover,
.menu .active{

color:#4fc3ff;

}

.btn{

display:inline-flex;
align-items:center;
justify-content:center;

padding:14px 28px;

background:linear-gradient(135deg,#0ea5e9,#05508e);

border-radius:40px;

text-decoration:none;

color:#fff;

font-weight:600;

transition:.4s;

}

.btn:hover{

transform:translateY(-4px);

box-shadow:0 15px 35px rgba(5,80,142,.35);

}

/*=========================
HERO
=========================*/

.portfolio-hero{

padding:180px 0 120px;

background:
linear-gradient(rgba(3,27,59,.88),rgba(5,80,142,.90)),
url("../images/portfolio-bg.jpg") center/cover;

text-align:center;

color:#fff;

position:relative;

overflow:hidden;

}

.portfolio-hero::before{

content:"";

position:absolute;

width:420px;
height:420px;

background:rgba(255,255,255,.08);

border-radius:50%;

top:-150px;
right:-120px;

filter:blur(30px);

}

.portfolio-hero span{

display:inline-block;

padding:8px 22px;

background:rgba(255,255,255,.15);

border-radius:30px;

font-size:13px;

letter-spacing:2px;

margin-bottom:22px;

}

.portfolio-hero h1{

font-size:60px;

font-weight:800;

max-width:850px;

margin:auto;

line-height:1.15;

}

.portfolio-hero p{

max-width:760px;

margin:25px auto 0;

font-size:18px;

line-height:32px;

color:#dbeafe;

}

/*=========================
STATS
=========================*/

.portfolio-stats{

margin-top:-60px;

position:relative;

z-index:10;

}

.portfolio-stats .container{

display:grid;

grid-template-columns:repeat(4,1fr);

gap:25px;

}

.stat-box{

background:#fff;

padding:35px;

border-radius:22px;

text-align:center;

box-shadow:0 18px 45px rgba(0,0,0,.08);

transition:.4s;

}

.stat-box:hover{

transform:translateY(-8px);

}

.stat-box h2{

font-size:45px;

color:var(--primary);

margin-bottom:10px;

}

.stat-box p{

color:var(--text);

}

/*=========================
SECTION
=========================*/

.projects{

padding:100px 0;

}

.section-title{

text-align:center;

margin-bottom:60px;

}

.section-title h2{

font-size:42px;

margin-bottom:15px;

color:var(--secondary);

}

.section-title p{

max-width:650px;

margin:auto;

color:var(--text);

line-height:30px;

}

/*=========================
GRID
=========================*/

.project-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

gap:35px;

}

/*=========================
CARD
=========================*/

.project-card{

background:#fff;

border-radius:24px;

overflow:hidden;

box-shadow:0 20px 40px rgba(0,0,0,.06);

transition:.45s;

position:relative;

}

.project-card:hover{

transform:translateY(-12px);

box-shadow:0 25px 55px rgba(5,80,142,.18);

}

.project-image{

height:230px;

overflow:hidden;

position:relative;

}

.project-image img{

height:100%;

object-fit:cover;

transition:.6s;

}

.project-card:hover img{

transform:scale(1.12);

}

.project-image::after{

content:"";

position:absolute;

inset:0;

background:linear-gradient(to top,
rgba(0,0,0,.55),
transparent);

opacity:0;

transition:.4s;

}

.project-card:hover .project-image::after{

opacity:1;

}

.project-content{

padding:28px;

}

.location{

font-size:13px;

color:#0ea5e9;

font-weight:700;

display:inline-flex;

gap:6px;

margin-bottom:15px;

}

.project-content h3{

font-size:24px;

margin-bottom:15px;

color:#031b3b;

}

.project-content p{

font-size:15px;

line-height:28px;

color:#64748b;

margin-bottom:25px;

}

.tech{

display:flex;

flex-wrap:wrap;

gap:10px;

margin-bottom:25px;

}

.tech span{

padding:8px 16px;

background:#eef6ff;

color:#05508e;

border-radius:30px;

font-size:13px;

font-weight:600;

transition:.35s;

}

.project-card:hover .tech span{

background:#05508e;

color:#fff;

}

.project-content a{

display:inline-flex;

align-items:center;

gap:8px;

font-weight:700;

text-decoration:none;

color:#05508e;

transition:.3s;

}

.project-content a:hover{

gap:14px;

}

/*=========================
CTA
=========================*/

.portfolio-cta{

padding:110px 0;

background:linear-gradient(135deg,#031b3b,#05508e);

text-align:center;

color:#fff;

}

.portfolio-cta h2{

font-size:46px;

margin-bottom:18px;

}

.portfolio-cta p{

max-width:700px;

margin:auto;

line-height:32px;

margin-bottom:35px;

color:#dbeafe;

}

/*=========================
FOOTER
=========================*/

footer{

padding:30px 0;

background:#02152d;

color:#b6c6da;

text-align:center;

}

/*=========================
RESPONSIVE
=========================*/

@media(max-width:992px){

.menu{

display:none;

}

.portfolio-hero h1{

font-size:42px;

}

.portfolio-stats .container{

grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:768px){

.portfolio-hero{

padding:140px 0 80px;

}

.portfolio-hero h1{

font-size:34px;

}

.portfolio-hero p{

font-size:15px;

line-height:28px;

}

.portfolio-stats .container{

grid-template-columns:1fr;

}

.project-grid{

grid-template-columns:1fr;

}

.section-title h2{

font-size:32px;

}

.portfolio-cta h2{

font-size:32px;

}

}