body{
    margin:0;
    font-family:Arial, sans-serif;
    background:#f4f7fb;
}

header{
    background:#0d47a1;
    color:white;
    text-align:center;
    padding:20px;
}

header h1{
    margin:0;
    font-size:36px;
}

header p{
    margin:8px 0;
}

nav{
    margin-top:15px;
}
const images=[
"images/slide1.jpg",
"images/slide2.jpg",
"images/slide3.jpg"
];

let current=0;

setInterval(function(){

current++;

if(current>=images.length){
current=0;
}

document.getElementById("slide").src=images[current];

},3000);

nav a{
    color:white;
    text-decoration:none;
    margin:10px;
    font-weight:bold;
}

nav a:hover{
    color:yellow;
}
.hero{
    text-align:center;
    padding:80px 20px;
    background:linear-gradient(135deg,#1565c0,#42a5f5);
    color:white;
}

.hero h1{
    font-size:42px;
    margin-bottom:15px;
}

.hero p{
    font-size:20px;
    margin:10px 0;
}

.btn{
    display:inline-block;
    margin-top:20px;
    padding:12px 25px;
    background:#ff9800;
    color:white;
    text-decoration:none;
    border-radius:8px;
    font-weight:bold;
}

.btn:hover{
    background:#e65100;
}
.features{
display:flex;
flex-wrap:wrap;
justify-content:center;
padding:40px 20px;
gap:20px;
}

.card{
width:280px;
background:white;
padding:20px;
border-radius:12px;
box-shadow:0 5px 15px rgba(0,0,0,.15);
text-align:center;
transition:.3s;
}

.card:hover{
transform:translateY(-8px);
}

.card h2{
color:#1565c0;
}
.about{
    background:#ffffff;
    text-align:center;
    padding:60px 20px;
}

.profile{
    width:180px;
    height:180px;
    border-radius:50%;
    border:5px solid #1565c0;
    margin:20px 0;
    object-fit:cover;
}

.about h2{
    color:#1565c0;
    margin-bottom:15px;
}

.about p{
    max-width:700px;
    margin:auto;
    line-height:1.8;
    font-size:18px;
}
footer{
background:#0d47a1;
color:white;
text-align:center;
padding:30px 20px;
margin-top:40px;
}

footer a{
color:#ffd54f;
text-decoration:none;
margin:0 10px;
}
.topbar{
display:flex;
justify-content:center;
align-items:center;
gap:15px;
padding:20px;
flex-wrap:wrap;
}

.search-box{
width:320px;
padding:12px;
border-radius:8px;
border:2px solid #1565c0;
font-size:16px;
}

.dark-btn{
padding:12px 20px;
background:#1565c0;
color:white;
border:none;
border-radius:8px;
cursor:pointer;
font-weight:bold;
}

.dark-btn:hover{
background:#0d47a1;
}

.dark-mode{
background:#121212;
color:white;
}

.dark-mode header,
.dark-mode footer{
background:#000;
}
footer a:hover{
    .slider{
width:100%;
height:400px;
overflow:hidden;
}

.slider img{
width:100%;
height:400px;
object-fit:cover;
}
text-decoration:underline;
}
