*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
}

html{
scroll-behavior:smooth;
}

body{
background:#eef8ff;
color:#333;
}

/* NAVBAR */

nav{

position:fixed;
top:0;
left:0;
width:100%;
background:#0084d6;
padding:18px 8%;
display:flex;
justify-content:space-between;
align-items:center;
z-index:999;
box-shadow:0 5px 20px rgba(0,0,0,.15);

}

.logo{

font-size:28px;
font-weight:700;
color:white;

}

.logo span{
color:#ffd43b;
}

nav ul{

display:flex;
gap:40px;
list-style:none;

}

nav ul li a{

text-decoration:none;
color:white;
font-weight:500;
transition:.3s;

}

nav ul li a:hover{

color:#ffd43b;

}

/* HERO */

.hero{

height:100vh;
display:grid;
grid-template-columns:1fr 1fr;
align-items:center;
padding:120px 8%;
background:linear-gradient(130deg,#0088d8 55%,#b8e5ff 100%);
position:relative;
overflow:hidden;

}

.hero::before{

content:'';
position:absolute;
right:-150px;
bottom:-120px;
width:600px;
height:600px;
background:#f2b705;
transform:rotate(35deg);

}

.hero::after{

content:'';
position:absolute;
right:-300px;
top:-200px;
width:500px;
height:500px;
background:#d62828;
transform:rotate(35deg);

opacity:.85;

}

.hero-text{

position:relative;
z-index:10;

}

.hero-text h1{

font-size:58px;
color:white;
line-height:1.1;

}

.hero-text h2{

margin-top:15px;
color:#ffe66d;

}

.hero-text p{

margin:25px 0;
color:white;
line-height:1.8;

}

.buttons{

display:flex;
gap:20px;

}

.btn{

padding:14px 30px;
border-radius:40px;
text-decoration:none;
font-weight:600;
transition:.3s;

}

.red{

background:#d62828;
color:white;

}

.yellow{

background:#ffd43b;
color:#333;

}

.btn:hover{

transform:translateY(-4px);

}

.hero-image{

position:relative;
z-index:10;
text-align:center;

}

.hero-image img{

width:90%;
border-radius:20px;
box-shadow:0 20px 40px rgba(0,0,0,.3);

}

/* SECTION */

section{

padding:90px 8%;

}

.title{

text-align:center;
margin-bottom:60px;

}

.title h2{

font-size:42px;
color:#007ad1;

}

.title p{

margin-top:10px;

}

/* PRODUCT CARDS */

.products{

display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:30px;

}

.card{

background:white;
border-radius:18px;
overflow:hidden;
box-shadow:0 10px 30px rgba(0,0,0,.1);
transition:.3s;

}

.card:hover{

transform:translateY(-10px);

}

.card-image{

height:220px;
background:linear-gradient(135deg,#0d95ea,#8fd6ff);
display:flex;
justify-content:center;
align-items:center;
color:white;
font-size:22px;
font-weight:600;

}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-body{

padding:25px;

}

.card-body h3{

color:#d62828;
margin-bottom:10px;

}

.card-body p{

color:#555;
line-height:1.7;

}

/* WHY */

.features{

display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:25px;

}

.feature{

background:white;
padding:35px;
border-top:6px solid #f2b705;
border-radius:15px;
box-shadow:0 10px 25px rgba(0,0,0,.08);
text-align:center;

}

.feature h3{

margin:20px 0;
color:#007ad1;

}

/* ABOUT */

.about{

display:grid;
grid-template-columns:1fr 1fr;
gap:50px;
align-items:center;

}

.placeholder{

height:300px;
background:linear-gradient(135deg,#0d95ea,#95d9ff);
border-radius:20px;

}

.placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}

.about p{

line-height:2;

}

/* CONTACT */

.contact{

background:#007ad1;
color:white;
text-align:center;

}

.contact h2{

font-size:40px;
margin-bottom:20px;

}

.contact p{

margin:10px 0;

}

/* FOOTER */

footer{

background:#004e84;
color:white;
text-align:center;
padding:20px;

}

.hero-image{
    position:relative;
    z-index:10;
    display:flex;
    justify-content:flex-end;   /* Pushes logo to the right */
    align-items:center;
    padding-right:40px;         /* Extra space from the edge */
}

.logo-container{
    width:260px;
    height:260px;
    border-radius:50%;
    overflow:hidden;
    display:flex;
    justify-content:center;
    align-items:center;


}

.logo-container img{
    width:460px;
    height:460px;
    object-fit:cover;
    object-position:center;

}

/* MOBILE */

@media(max-width:900px){

.hero{

grid-template-columns:1fr;
text-align:center;
height:auto;
padding-top:160px;

}

.hero-tagline{
    margin-top:12px;
    color:#616ad2;
    font-size:24px;
    font-weight:500;
}

.hero h1{

font-size:42px;

}

.about{

grid-template-columns:1fr;

}

nav{

flex-direction:column;
gap:15px;

}

}
