/* RESET */
*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:"Roboto",sans-serif;
}

body{
color:#333;
background:#fafafa;
line-height:1.6;
}

/* NAVBAR */
header{
position:relative;
}

nav{
background:#fff;
box-shadow:0 2px 8px rgba(0,0,0,.08);
position:relative;
z-index:999;
}

nav ul{
display:flex;
justify-content:center;
align-items:center;
gap:28px;
padding:18px;
list-style:none;
}

nav a{
text-decoration:none;
color:#555;
font-size:17px;
transition:.3s;
}

nav a:hover{
color:#1976d2;
}

.logo a{
font-size:22px;
font-weight:bold;
}

.logo span{
color:#000;
}

/* MOBILE MENU BUTTON */
.menu-btn{
display:none;
position:absolute;
top:14px;
left:14px;
font-size:28px;
background:#fff;
border:none;
cursor:pointer;
z-index:1001;
padding:6px 12px;
border-radius:6px;
box-shadow:0 2px 8px rgba(0,0,0,.2);
}

/* SEARCH */
.search-box input{
padding:8px 12px;
border-radius:20px;
border:1px solid #ccc;
outline:none;
font-size:14px;
transition:.3s;
}

.search-box input:focus{
border-color:#1976d2;
box-shadow:0 0 5px rgba(25,118,210,.3);
}

/* HERO */
.hero{
height:520px;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
background-size:cover;
background-position:center;
color:white;
position:relative;
}

.hero::before{
content:"";
position:absolute;
inset:0;
background:rgba(0,0,0,.45);
}

.hero-content{
position:relative;
z-index:1;
max-width:600px;
padding:20px;
}

.hero h1{
font-size:42px;
margin-bottom:15px;
}

.hero p{
margin-bottom:25px;
font-size:18px;
}

.btn{
display:inline-block;
padding:14px 28px;
background:#383636;
color:white;
text-decoration:none;
border-radius:6px;
transition:.3s;
}

.btn:hover{
background:#1976d2;
}

/* SECTIONS */
.section{
padding:70px 20px;
text-align:center;
}

.gray{
background:#f1f1f1;
}

.section h2{
margin-bottom:40px;
font-size:30px;
}

/* GRID CARDS */
.grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
}

.card{
background:white;
padding:25px;
border-radius:12px;
box-shadow:0 4px 15px rgba(0,0,0,.1);
transition:.3s;
}

.card:hover{
transform:translateY(-5px);
}

.card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 15px;
    background: #f5f5f5;
    padding: 10px;
}

.card h3{
margin-bottom:10px;
}

.card p{
color:#666;
margin-bottom:15px;
}

.card a{
display:inline-block;
padding:10px 20px;
background:#383636;
color:white;
text-decoration:none;
border-radius:6px;
font-size:14px;
transition:.3s;
}

.card a:hover{
background:#1976d2;
}

/* FEATURED */
.featured{
padding:70px 20px;
text-align:center;
background:#f3f3f3;
}

.subtitle{
margin-bottom:40px;
color:#666;
}

.featured-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:25px;
}

.featured-card{
background:white;
padding:25px;
border-radius:12px;
box-shadow:0 4px 15px rgba(0,0,0,.1);
transition:.3s;
}

.featured-card:hover{
transform:translateY(-5px);
}

.featured-card img{

    width: 100%;
    height: 150px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 15px;
    background: #f5f5f5;
    padding: 10px;
}


.featured-card span{
display:block;
font-size:13px;
color:#888;
margin-bottom:10px;
}

.featured-card a{
display:inline-block;
padding:10px 20px;
background:#383636;
color:white;
text-decoration:none;
border-radius:6px;
font-size:14px;
}

.featured-card a:hover{
background:#1976d2;
}

/* FOOTER */
footer{
text-align:center;
padding:30px;
border-top:1px solid #ddd;
margin-top:60px;
background:#fff;
}
/* HERO BACKGROUND IMAGE (SECOND PIC) */
.hero{
height:520px;
display:flex;
align-items:center;
justify-content:center;
text-align:center;

background-image:url("../images/abdout_us2.jpg"); /* your background image */
background-size:cover;
background-position:center;
background-repeat:no-repeat;
position:relative;
color:white;
}

/* DARK OVERLAY */
.hero::before{
content:"";
position:absolute;
inset:0;
background:rgba(0,0,0,0.5);
}

/* CONTENT ABOVE BACKGROUND */
.hero-overlay{
position:relative;
z-index:1;
max-width:600px;
padding:20px;
}

/* MAIN IMAGE ON TOP */
.hero-main-img{
width:200px;
margin-bottom:20px;
}

/* TEXT */
.hero h1{
font-size:40px;
margin-bottom:15px;
}

.hero p{
margin-bottom:25px;
font-size
:18px;
}

/* CENTER SECTION TITLES */
.cards h2,
.featured h2, h3, span{
text-align:center;
margin-left:auto;
margin-right:auto;
}
.cards h2,
.featured h2{
text-align:center;
margin-left:auto;
margin-right:auto;
margin: 30px 0px;
}
/* MOBILE */
@media(max-width:768px){

.menu-btn{
display:block;
}

/* NAV CLOSED */
nav{
position:fixed;
top:0;
left:-100%;
width:100%;
height:100vh;
background:white;
transition:left .35s ease;
z-index:999;
}

nav.active{
left:0;
}

nav ul{
flex-direction:column;
align-items:flex-start;
padding:100px 30px;
gap:25px;
}

nav a{
font-size:22px;
}

/* HERO */
.hero{
height:auto;
padding:120px 20px;
}

.hero h1{
font-size:32px;
}

.hero p{
font-size:17px;
}

/* SEARCH FULL WIDTH */
.search-box{
width:100%;
}

.search-box input{
width:100%;
font-size:18px;
}

}
.hero{
height:auto;
padding:120px 20px;
}

.hero-main-img{
width:150px;
}

.hero h1{
font-size:30px;
}

.cards h2,
.featured h2, h3, span{
text-align:center;
margin-left:auto;
margin-right:auto;
}