/* RESET */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:'Poppins',sans-serif;
background:#f5f5f5;
}

/* HEADER */

header{
background:#0c4b3c;
padding:15px 40px;
display:flex;
justify-content:space-between;
align-items:center;
flex-wrap:wrap;
}

.logo{
display:flex;
align-items:center;
color:white;
font-size:20px;
font-weight:600;
}

.logo img{
height:55px;
margin-right:10px;
}

nav{
display:flex;
flex-wrap:wrap;
}

nav a{
color:white;
text-decoration:none;
margin:10px 12px;
font-weight:500;
}

nav a:hover{
color:#f5c518;
}

.menu-toggle{
display:none;
font-size:28px;
color:white;
cursor:pointer;
}

nav{
display:flex;
}

@media(max-width:768px){

.menu-toggle{
display:block;
}

nav{
display:none;
flex-direction:column;
width:100%;
background:#0c4b3c;
}

nav.active{
display:flex;
}

nav a{
padding:12px;
border-top:1px solid rgba(255,255,255,0.2);
}

}

/* HERO */

.hero{
min-height:500px;
background:linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)),
url("security-bg.jpg");
background-size:cover;
background-position:center;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
color:white;
padding:40px;
}

.hero h1{
font-size:48px;
}

.hero p{
font-size:18px;
margin-top:10px;
}

.hero-slider{
position:relative;
height:600px;
overflow:hidden;
}

.slides{
position:relative;
height:100%;
}

.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;
}

.slide-content{
position:absolute;
top:50%;
left:50%;
transform:translate(-50%,-50%);
text-align:center;
color:white;
background:rgba(0,0,0,0.5);
padding:30px;
border-radius:8px;
}

.slide-content h1{
font-size:48px;
margin-bottom:10px;
}

.slide-content p{
font-size:18px;
margin-bottom:15px;
}

.btn{
background:#f5c518;
color:black;
padding:12px 25px;
text-decoration:none;
font-weight:600;
}

/* MOBILE */

@media(max-width:768px){

.slide-content h1{
font-size:28px;
}

.slide-content p{
font-size:16px;
}

.hero-slider{
height:400px;
}

}

/* GRID SYSTEM */

.container{
width:90%;
max-width:1200px;
margin:auto;
}

.grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;
}

/* CARDS */

.card{
background:white;
padding:25px;
border-radius:8px;
box-shadow:0 4px 10px rgba(0,0,0,0.1);
}

.card h3{
color:#0c4b3c;
margin-bottom:10px;
}

/* IMAGES */

img{
max-width:100%;
height:auto;
display:block;
}

/* FOOTER */

footer{
background:#111;
color:white;
text-align:center;
padding:25px;
margin-top:50px;
}

/* ---------- TABLET ---------- */

@media(max-width:900px){

.grid{
grid-template-columns:repeat(2,1fr);
}

.hero h1{
font-size:36px;
}

}

/* ---------- MOBILE ---------- */

@media(max-width:600px){

header{
flex-direction:column;
align-items:flex-start;
}

nav{
flex-direction:column;
width:100%;
}

nav a{
margin:8px 0;
}

.grid{
grid-template-columns:1fr;
}

.hero{
min-height:400px;
padding:20px;
}

.hero h1{
font-size:28px;
}

.hero p{
font-size:16px;
}

}
/* GO TO TOP BUTTON */

#topBtn{
display:none;
position:fixed;
bottom:30px;
right:30px;
z-index:99;
font-size:20px;
border:none;
outline:none;
background:#f5c518;
color:black;
cursor:pointer;
padding:12px 16px;
border-radius:50%;
box-shadow:0 4px 8px rgba(0,0,0,0.3);
}

#topBtn:hover{
background:#0c4b3c;
color:white;
}
.industries {
    padding: 70px 20px;
    background: #f7f7f7;
    text-align: center;
}

.section-title {
    font-size: 34px;
    margin-bottom: 40px;
    color: #1b4d3e;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.industry-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.industry-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 6px;
}

.industry-card h3 {
    margin-top: 15px;
    font-size: 18px;
    color: #333;
}

.industry-card:hover {
    transform: translateY(-5px);
}
/* Tablet */

@media (max-width: 992px) {

.industries-grid {
    grid-template-columns: repeat(2,1fr);
}

}

/* Mobile */

@media (max-width: 600px) {

.industries-grid {
    grid-template-columns: 1fr;
}

}
.industry-image{
    position: relative;
    overflow: hidden;
    border-radius:8px;
}

.industry-image img{
    width:100%;
    height:180px;
    object-fit:cover;
    transition: transform .4s ease;
}

/* Overlay */

.industry-overlay{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.35);
    display:flex;
    align-items:center;
    justify-content:center;
    opacity:0;
    transition:opacity .4s ease;
}

.industry-overlay h3{
    color:white;
    font-size:20px;
    letter-spacing:1px;
}

/* Hover Effects */

.industry-card:hover img{
    transform:scale(1.08);
}

.industry-card:hover .industry-overlay{
    opacity:1;
}
.industry-overlay h3{
    transform:translateY(20px);
    transition:all .4s ease;
}

.industry-card:hover .industry-overlay h3{
    transform:translateY(0);
}
.page-banner{
height:350px;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
background-size:cover;
background-position:center;
position:relative;
color:white;
}

/* Dark overlay */

.page-banner::before{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.45);
}

.banner-content{
position:relative;
z-index:2;
}

.banner-content h1{
font-size:42px;
margin-bottom:10px;
}
.services-banner{
background-image:url("images/security2.jpg");
}

.about-banner{
background-image:url("images/security3.jpg");
}

.contact-banner{
background-image:url("images/security1.jpg");
}