/* =========================
   GLOBAL RESET
========================= */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

html{
scroll-behavior:smooth;
}

body{
font-family:'Poppins',sans-serif;
background:#ffffff;
color:#333;
line-height:1.6;
}

/* =========================
   NAVBAR
========================= */

header{
display:flex;
justify-content:space-between;
align-items:center;
padding:22px 10%;
background:#ffffff;
box-shadow:0 4px 20px rgba(0,0,0,0.05);
position:sticky;
top:0;
z-index:1000;
}

.logo{
font-size:24px;
font-weight:800;
color:#ff6a00;
letter-spacing:1px;
}

nav a{
margin-left:30px;
text-decoration:none;
color:#333;
font-weight:500;
position:relative;
transition:0.3s;
}

nav a:hover{
color:#ff6a00;
}

/* underline animation */

nav a::after{
content:"";
position:absolute;
left:0;
bottom:-6px;
width:0%;
height:2px;
background:#ff6a00;
transition:0.3s;
}

nav a:hover::after{
width:100%;
}

/* =========================
   BUTTON
========================= */

.btn{
background:#ff6a00;
color:#fff;
padding:12px 28px;
border-radius:6px;
text-decoration:none;
font-weight:600;
display:inline-block;
transition:all 0.3s ease;
box-shadow:0 8px 20px rgba(255,106,0,0.3);
}

.btn:hover{
background:#e65c00;
transform:translateY(-4px);
box-shadow:0 12px 30px rgba(255,106,0,0.4);
}

/* =========================
   HERO SECTION
========================= */

.hero{
height:100vh;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
position:relative;
padding:0 20px;
background:
linear-gradient(rgba(0,0,0,0.55),rgba(0,0,0,0.55)),
url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c');
background-size:cover;
background-position:center;
color:#fff;
}

.hero h1{
font-size:60px;
font-weight:800;
max-width:900px;
margin:0 auto 20px;
line-height:1.2;
}

.hero p{
font-size:20px;
margin-bottom:35px;
color:#f1f1f1;
}

/* =========================
   SECTIONS
========================= */

.section{
padding:120px 10%;
text-align:center;
}

.section h2{
font-size:36px;
font-weight:700;
margin-bottom:25px;
color:#ff6a00;
}

.section p{
max-width:800px;
margin:0 auto 20px;
color:#555;
font-size:17px;
}

/* alternate background */

.grey{
background:#f7f7f7;
}

/* =========================
   GRID SYSTEM
========================= */

.grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:30px;
margin-top:40px;
}

.card{
background:#ffffff;
padding:35px;
border-radius:12px;
box-shadow:0 12px 30px rgba(0,0,0,0.05);
transition:0.4s ease;
text-align:left;
}

.card h3{
margin-bottom:15px;
font-size:20px;
color:#222;
}

.card p{
color:#666;
font-size:15px;
}

.card:hover{
transform:translateY(-12px);
box-shadow:0 20px 45px rgba(0,0,0,0.1);
}

/* =========================
   PROJECT IMAGES
========================= */

.grid img{
width:100%;
border-radius:10px;
transition:0.4s;
}

.grid img:hover{
transform:scale(1.05);
}

/* =========================
   FOOTER
========================= */

footer{
background:#1e1e1e;
color:#bbb;
text-align:center;
padding:40px 10%;
font-size:14px;
}

footer p{
margin-bottom:8px;
}

/* =========================
   RESPONSIVE DESIGN
========================= */

@media (max-width: 1024px){

.hero h1{
font-size:46px;
}

.section{
padding:100px 8%;
}

}

@media (max-width: 768px){

header{
padding:18px 6%;
}

nav a{
margin-left:15px;
font-size:14px;
}

.hero{
height:auto;
padding:150px 20px 100px;
}

.hero h1{
font-size:32px;
}

.hero p{
font-size:16px;
}

.section{
padding:80px 6%;
}

.section h2{
font-size:26px;
}

}

@media (max-width: 480px){

.hero h1{
font-size:26px;
}

.hero p{
font-size:14px;
}

.btn{
padding:10px 20px;
font-size:14px;
}

}
