body{
margin:0;
font-family:Arial, Helvetica, sans-serif;
color:#333;
line-height:1.6;
}

/* NAVBAR */

.navbar{
display:flex;
justify-content:space-between;
align-items:center;
padding:12px 7%;
background:white;
box-shadow:0 2px 6px rgba(0,0,0,.08);
}

.logo{
display:flex;
align-items:center;
gap:14px;
font-size:20px;
font-weight:600;
}

.logo img{
width:100px;
}

.nav a{
margin-left:22px;
color:#333;
font-weight:600;
text-decoration:none;
}

/* HERO */

.hero-slider{
position:relative;
height:500px;
overflow:hidden;
}

.slide{
position:absolute;
width:100%;
height:100%;
opacity:0;
transition:opacity 1s ease-in-out;
}


.slide.active{
opacity:1;
}

.slide img{
width:100%;
height:100%;
object-fit:cover;
object-position:center;
}

/* Adjust crop per image if needed */
.slide:nth-child(2) img{
object-position:center 25%;
}

.slide:nth-child(1) img{
object-position:center 20%;
}

.slide:nth-child(4) img{
object-position:center 50%;
}

/* MOBILE NAV */

.menu-toggle{
display:none;
font-size:24px;
background:none;
border:none;
}

@media(max-width:768px){
.nav{
display:none;
flex-direction:column;
background:white;
position:absolute;
top:60px;
right:0;
width:200px;
}

.nav.show{
display:flex;
}

.menu-toggle{
display:block;
}
}

/* FADE IN */

.fade-in{
opacity:0;
transform:translateY(20px);
animation:fadeIn 1s forwards;
}

@keyframes fadeIn{
to{
opacity:1;
transform:translateY(0);
}
}

/* HOVER POLISH */

.card:hover{
transform:translateY(-5px);
transition:.3s;
}

.hero-text{
position:absolute;
bottom:40px;
left:50%;
transform:translateX(-50%);
background:rgba(0,0,0,.25);
color:white;
padding:20px 30px;
border-radius:6px;
text-align:center;
}

.hero-text h1{
margin:0;
font-size:42px;
}

.hero-text p{
margin:5px 0 0;
font-size:18px;
}

/* CONTENT */

.container{
max-width:900px;
margin:auto;
padding:30px 20px;
}

/* PRIORITY PAGE IMAGES (THIS IS YOUR FIX) */

.page-image{
width:100%;
max-width:700px;
height:350px;
object-fit:cover;
border-radius:10px;
margin:10px auto 15px auto;
display:block;
box-shadow:0 2px 8px rgba(0,0,0,.1);
}

/* CARDS */

.cards{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:22px;
margin-top:15px;
}

.logo-carousel:hover .logo-track{
animation-play-state:paused;
}

.card{
background:white;
padding:22px;
border-radius:10px;
box-shadow:0 2px 8px rgba(0,0,0,.08);
}

.card h3{
color:#2c7be5;
}

/* SOCIAL STRIP */

.social-strip{
display:flex;
justify-content:space-between;
align-items:center;
gap:20px;
border-top:1px solid #eee;
border-bottom:1px solid #eee;
padding:25px 20px;
}

.social-left h3{
margin:0;
}

.social-right{
display:flex;
align-items:center;
gap:15px;
}

.social-right img{
width:28px;
height:28px;
opacity:.8;
}

.social-right img:hover{
opacity:1;
}

.newsletter-link{
font-weight:bold;
color:#2c7be5;
text-decoration:none;
margin-left:10px;
}

/* CTA */

.cta{
background:#eef4fa;
text-align:center;
padding:40px 20px;
}

.feature-box{
display:flex;
flex-wrap:wrap;
gap:20px;
align-items:center;
background:#f7f9fc;
padding:20px;
border-radius:10px;
margin-top:15px;
}

.feature-box img{
width:280px;
height:180px;
object-fit:cover;
border-radius:8px;
}

.feature-content{
flex:1;
}

.feature-content h3{
margin-top:0;
color:#2c7be5;
}

/* DATA GRID */

.data-grid{
display:flex;
flex-direction:column;
align-items:center;
gap:25px;
margin-top:15px;
}

.data-grid img{
width:100%;
max-width:700px;
height:auto;
border-radius:8px;
box-shadow:0 2px 6px rgba(0,0,0,.1);
}

/* ACCESSIBILITY IMPROVEMENTS */

a:focus{
outline:3px solid #2c7be5;
outline-offset:2px;
}

button:focus{
outline:3px solid #2c7be5;
}

/* BETTER READABILITY */

p{
max-width:900px;
margin-bottom:15px;
}

.cta-button{
display:inline-block;
background:#28a745;
color:white;
padding:14px 28px;
border-radius:6px;
text-decoration:none;
margin-top:10px;
}

/* LOGO CAROUSEL */

.logo-carousel{
overflow:hidden;
position:relative;
width:100%;
margin-top:20px;
}

.logo-track{
display:flex;
gap:50px;
width:max-content;
animation:scrollLogos 25s linear infinite;
}

.logo-track img{
height:60px;
opacity:.9;
transition:transform .3s;
}

.logo-track img:hover{
transform:scale(1.1);
}

/* ANIMATION */

@keyframes scrollLogos{
0%{
transform:translateX(0);
}
100%{
transform:translateX(-50%);
}
}

/* PARTNERS */

.partners{
background:#f7f9fc;
text-align:center;
padding:40px 20px;
}

.partner-logos{
display:flex;
flex-wrap:wrap;
justify-content:center;
gap:35px;
margin-top:20px;
}

.partner-logos img{
height:60px;
opacity:.9;
transition:transform .3s;
}

.partner-logos img:hover{
transform:scale(1.08);
}

/* FOOTER */

.footer{
background:#1f2d3d;
color:white;
text-align:center;
padding:30px;
margin-top:25px;
}