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

body{
line-height:1.6;
color:#333;
}


.btn{
background:#007BFF;
color:white;
padding:12px 28px;
text-decoration:none;
border-radius:4px;
font-weight:bold;
}

.btn:hover{
background:#0056b3;
}

/* SECTION */

section{
padding:70px 10%;
background: #FFF;
}

.section-title{
text-align:center;
font-size:32px;
margin-bottom:40px;
color:#0a2a66;
}


/* SERVICES */
.service-container{
    width: 100%;
    padding:20px;
    margin: auto;
    background-color: #FFF;
}

.services{
display:grid;
grid-template-columns:repeat(3,minmax(200px,1fr));
gap:30px;
background: #FFF;
}

.service{
background:#f5f9ff;
padding:30px;
border-radius:6px;
text-align:center;
}

.service i{
font-size:40px;
color:#007BFF;
margin-bottom:15px;
}

.projects{
padding:80px 8%;
background:#fff;
    padding: 80px 20px;
}

.projects-title{
text-align:center;
font-size:34px;
color:#0a2a66;
margin-bottom:10px;
}

.projects-subtitle{
text-align:center;
margin-bottom:50px;
color:#555;
}

.projects-container{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
gap:30px;
background: #FFF!important;
}
.header-row{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.project-card{
background:white;
border-radius:10px;
overflow:hidden;
box-shadow:0 10px 25px rgba(0,0,0,0.1);
transition:0.4s;
}

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

.project-card img{
width:100%;
height:220px;
object-fit:cover;
}

.project-info{
padding:20px;
}

.project-info h3{
color:#0a2a66;
margin-bottom:10px;
}

.project-info p{
font-size:14px;
line-height:1.6;
color:#555;
}

/* HERO */
.hero{
position:relative;
height:100vh;
overflow:hidden;
}

/* SLIDES */
.slide{
position:absolute;
inset:0;
opacity:0;
transition:opacity 1s ease;
background-size:cover;
background-position:center;
transform:scale(1.1);
}

.slide.active{
opacity:1;
transform:scale(1);
transition:opacity 1s ease, transform 6s ease;
}

/* TEXT LEFT CORNER */
.hero-text{
position:absolute;
bottom:80px;
left:60px;
max-width:900px;
background:rgba(0,0,0,0.45);
padding:30px;
border-radius:12px;
color:white;

opacity:0;
transform:translateY(40px);
}

/* FADE TEXT AFTER DELAY */
.slide.active .hero-text{
animation:fadeUp 1s ease forwards;
animation-delay:1s;
}

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

.hero-text p{
font-size:18px;
line-height:1.5;
}

/* ANIMATION */
@keyframes fadeUp{
from{
opacity:0;
transform:translateY(40px);
}
to{
opacity:1;
transform:translateY(0);
}
}

/* NAV BUTTONS */
.slide-nav{
position:absolute;
top:50%;
left:0;
right:0;
display:flex;
justify-content:space-between;
transform:translateY(-50%);
padding:0 20px;
}

.nav-btn{
background:rgba(0,0,0,0.5);
border:none;
color:white;
font-size:28px;
width:50px;
height:50px;
border-radius:50%;
cursor:pointer;
}

.nav-btn:hover{
background:rgba(0,0,0,0.8);
}

/* MOBILE */
@media(max-width:768px){
    .hero{
        height: 60vh;
    }
.hero-text{
left:20px;
right:20px;
bottom:40px;
padding:20px;
}

.hero-text h1{
font-size:16px;
}

.hero-text p{
font-size:12px;
}
.slide{
    background-size: cover;
    background-repeat: no-repeat;

}
.services{
    grid-template-columns: 1fr; /* Changes to a single column layout */
}
 /* If any items had specific spanning on desktop, reset them for mobile */
  .service {
    grid-column: auto !important;
    grid-row: auto !important;
  }

}

.testimonials{
padding:80px 8%;
background:#f5f9ff;
text-align:center;
overflow:hidden;
}

.testimonial-title{
font-size:32px;
color:#0a2a66;
margin-bottom:50px;
}

.testimonial-wrapper{
overflow:hidden;
}

.testimonial-track{
display:flex;
gap:25px;
animation:scroll 25s linear infinite;
}

.testimonial-card{
min-width:300px;
background:white;
padding:30px;
border-radius:8px;
box-shadow:0 10px 25px rgba(0,0,0,0.1);
text-align:left;
}

.testimonial-card p{
font-size:16px;
line-height:1.6;
margin-bottom:20px;
}

.testimonial-card h4{
color:#0a2a66;
margin-bottom:5px;
}

.testimonial-card span{
font-size:14px;
color:#777;
}

/* Auto sliding animation */

@keyframes scroll{
0%{
transform:translateX(0);
}
100%{
transform:translateX(-50%);
}
}

/* Responsive */

@media(max-width:900px){

.testimonial-card{
min-width:260px;
}

}

@media(max-width:600px){

.testimonial-card{
min-width:90%;
}

}



.footer{
background:#0b2c6b;
color:#fff;
padding-top:60px;
}

.footer-container{
width:90%;
margin:auto;
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:40px;
}

.footer-logo{
font-size:24px;
margin-bottom:15px;
}

.footer-col h3{
margin-bottom:15px;
font-size:18px;
}

.footer-col p{
font-size:14px;
line-height:1.7;
}

.footer-col ul{
list-style:none;
padding:0;
}

.footer-col ul li{
margin-bottom:10px;
font-size:14px;
}

.footer-col ul li a{
text-decoration:none;
color:#ddd;
}

.footer-col ul li a:hover{
color:#4da3ff;
}

.social-links{
margin-top:15px;
}

.social-links a{
display:inline-block;
height:35px;
width:35px;
line-height:35px;
text-align:center;
background:#1e4ea1;
color:white;
margin-right:10px;
border-radius:50%;
}

.social-links a:hover{
background:#4da3ff;
}

.footer-bottom{
border-top:1px solid rgba(255,255,255,0.2);
margin-top:40px;
padding:15px;
text-align:center;
font-size:14px;
}
