*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:'Segoe UI',sans-serif;
background:#f4f6f9;
color:#1e293b;
}

/* NAVBAR */

.navbar{
display:flex;
justify-content:space-between;
align-items:center;
padding:20px 80px;
background:#0f172a;
color:white;
position:sticky;
top:0;
z-index:1000;
}

.logo{
font-size:30px;
font-weight:800;
letter-spacing:1px;
color:white;
}

.navbar nav a{
color:white;
text-decoration:none;
margin-left:25px;
font-size:15px;
transition:0.3s;
}

.navbar nav a:hover{
color:#14b8a6;
}


/* HERO */

.hero{
height:90vh;

background:
linear-gradient(rgba(15,23,42,0.75),rgba(15,23,42,0.75)),
url("https://images.unsplash.com/photo-1552664730-d307ca884978");

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

display:flex;
align-items:center;
justify-content:center;
text-align:center;
color:white;
padding:20px;
}

.hero h1{
font-size:52px;
margin-bottom:20px;
}

.hero p{
font-size:18px;
margin-bottom:25px;
}

.btn-primary{
background:#14b8a6;
padding:12px 30px;
border-radius:6px;
color:white;
text-decoration:none;
display:inline-block;
margin-top:15px;
transition:0.3s;
}

.btn-primary:hover{
background:#0d9488;
}


/* SERVICES */

.services{
padding:120px 20px 80px 20px;   /* increased top spacing */
text-align:center;
background:white;
}

.services h2{
font-size:36px;
margin-bottom:50px;
}

/* GRID */

.service-grid{
display:flex;
gap:30px;
max-width:1100px;
margin:auto;
margin-top:30px;   /* extra spacing to prevent overlap */
}

/* CARD */

.service-card{
flex:1;
background:#f8fafc;
padding:40px;
border-radius:10px;
box-shadow:0 10px 20px rgba(0,0,0,0.08);
transition:all 0.3s ease;

display:flex;
flex-direction:column;
justify-content:space-between;
min-height:230px;
}

.service-card h3{
margin-bottom:10px;
}

.service-card p{
margin-bottom:10px;
}

/* HOVER EFFECT */

.service-card:hover{
transform:translateY(-8px);
box-shadow:0 20px 30px rgba(0,0,0,0.12);
}


/* PAGE */

.page{
padding:120px 20px 80px 20px;
max-width:900px;
margin:auto;
}

.page h1{
margin-bottom:30px;
font-size:36px;
}

.contact-box{
background:#f8fafc;
padding:30px;
border-radius:8px;
margin-top:30px;
box-shadow:0 5px 15px rgba(0,0,0,0.08);
}


/* QUOTE */

blockquote{
margin-top:30px;
padding:20px;
background:#f1f5f9;
border-left:5px solid #14b8a6;
font-style:italic;
}


/* FORM */

.form-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:20px;
margin-top:20px;
}

input,textarea{
padding:10px;
border:1px solid #ddd;
border-radius:6px;
}

textarea{
width:100%;
margin-top:20px;
}

.resume-upload{
text-align:center;
margin:30px 0;
}

.form-submit{
text-align:center;
}


/* FOOTER */

footer{
background:#020617;
color:white;
text-align:center;
padding:20px;
margin-top:40px;
}


/* MOBILE */

@media(max-width:900px){

.navbar{
padding:20px;
flex-direction:column;
gap:10px;
}

.service-grid{
flex-direction:column;
}

.form-grid{
grid-template-columns:1fr;
}

.hero h1{
font-size:34px;
}

.hero p{
font-size:16px;
}

}