/* ================= GLOBAL ================= */

:root{
  --primary:#0b2f6d;
  --primary-dark:#071c3a;
  --accent:#1e88ff;
  --light:#f4f7fb;
  --white:#ffffff;
  --text:#222;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  font-family:'Segoe UI',sans-serif;
  background:var(--light);
  color:var(--text);
  scroll-behavior:smooth;
}

/* ================= INTRO ================= */

#intro{
  position:fixed;
  width:100%;
  height:100%;
  background:linear-gradient(135deg,var(--primary-dark),var(--primary));
  color:#fff;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  z-index:9999;
  animation:fadeIn 1s ease-in-out;
}

#intro h1{
  font-size:48px;
  margin-bottom:10px;
}

#intro p{
  font-size:18px;
  opacity:0.9;
}

@keyframes fadeIn{
  from{opacity:0}
  to{opacity:1}
}

/* ================= TOP BAR ================= */

.topbar{
  background:var(--primary-dark);
  color:#fff;
  padding:8px 6%;
  display:flex;
  justify-content:space-between;
  font-size:14px;
}

.topbar .social i{
  margin-left:12px;
  cursor:pointer;
  transition:0.3s;
}

.topbar .social i:hover{
  color:var(--accent);
}

/* ================= HEADER ================= */

header{
  background:#fff;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px 6%;
  box-shadow:0 3px 15px rgba(0,0,0,0.05);
  position:sticky;
  top:0;
  z-index:999;
}

header img{
  height:60px;
}

nav a{
  margin-left:25px;
  text-decoration:none;
  color:var(--primary);
  font-weight:500;
  transition:0.3s;
}

nav a:hover{
  color:var(--accent);
}

/* ================= HERO ================= */

.hero{
  background:linear-gradient(rgba(7,28,58,0.9),rgba(11,47,109,0.9)),
  url('../images/cctv.jpg');
  background-size:cover;
  background-position:center;
  color:#fff;
  text-align:center;
  padding:120px 20px;
}

.hero h1{
  font-size:44px;
  margin-bottom:15px;
}

.hero p{
  font-size:18px;
  max-width:700px;
  margin:auto;
  margin-bottom:25px;
}

.btn{
  background:var(--accent);
  padding:12px 28px;
  border-radius:6px;
  color:#fff;
  text-decoration:none;
  font-weight:600;
  transition:0.3s;
}

.btn:hover{
  background:#0f6fe6;
}

/* ================= SECTIONS ================= */

.section{
  padding:90px 6%;
}

.section h2{
  text-align:center;
  margin-bottom:50px;
  color:var(--primary);
  font-size:32px;
}

/* Dark Section */

.section.dark{
  background:var(--primary);
  color:#fff;
}

.section.dark h2{
  color:#fff;
}

/* ================= LAYOUT ================= */

.container{
  max-width:1200px;
  margin:auto;
}

.split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px;
  align-items:center;
}

.split img{
  width:100%;
  border-radius:15px;
  box-shadow:0 20px 50px rgba(0,0,0,0.15);
}

/* ================= GRID ================= */

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:30px;
}

/* ================= CARD ================= */

.card{
  background:#fff;
  border-radius:15px;
  overflow:hidden;
  box-shadow:0 15px 40px rgba(0,0,0,0.08);
  transition:0.3s;
  text-align:center;
  padding-bottom:20px;
}

.card:hover{
  transform:translateY(-10px);
}

.card img{
  width:100%;
  height:180px;
  object-fit:cover;
}

.card h3{
  margin-top:15px;
  color:var(--primary);
}

.card p{
  padding:0 15px;
  font-size:14px;
  margin-top:8px;
}

/* ================= SCROLLING CLIENTS ================= */

.scroll{
  background:var(--primary-dark);
  color:#fff;
  padding:20px 0;
  overflow:hidden;
  white-space:nowrap;
}

.scroll span{
  display:inline-block;
  padding-left:100%;
  animation:scroll 20s linear infinite;
}

@keyframes scroll{
  0%{transform:translateX(0)}
  100%{transform:translateX(-100%)}
}

/* ================= TESTIMONIAL ================= */

.testimonial{
  background:#fff;
  padding:25px;
  border-radius:15px;
  box-shadow:0 10px 30px rgba(0,0,0,0.08);
  font-style:italic;
}

.testimonial strong{
  display:block;
  margin-top:10px;
  font-style:normal;
  color:var(--primary);
}

/* ================= BRANDS ================= */

.brands{
  background:#eef2f8;
  padding:30px 0;
  overflow:hidden;
  white-space:nowrap;
  text-align:center;
}

.brands div{
  display:inline-block;
  margin:0 40px;
  font-weight:600;
  color:var(--primary);
  animation:scroll 25s linear infinite;
}

/* ================= CONTACT ================= */

form{
  display:flex;
  flex-direction:column;
}

form input,
form textarea{
  padding:12px;
  margin-bottom:15px;
  border-radius:6px;
  border:1px solid #ccc;
  font-size:14px;
}

form button{
  background:var(--primary);
  color:#fff;
  padding:12px;
  border:none;
  border-radius:6px;
  cursor:pointer;
  transition:0.3s;
}

form button:hover{
  background:var(--accent);
}

iframe{
  width:100%;
  height:300px;
  border-radius:15px;
  border:0;
}

/* ================= FOOTER ================= */

footer{
  background:var(--primary-dark);
  color:#fff;
  padding:70px 6%;
}

.footer-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:40px;
}

footer h4{
  margin-bottom:15px;
}

footer input{
  width:100%;
  padding:8px;
  border-radius:5px;
  border:none;
}

.copyright{
  text-align:center;
  margin-top:40px;
  font-size:14px;
  opacity:0.8;
}

/* ================= WHATSAPP ================= */

.whatsapp{
  position:fixed;
  bottom:25px;
  right:25px;
  background:#25D366;
  color:#fff;
  padding:15px;
  border-radius:50%;
  font-size:22px;
  box-shadow:0 10px 25px rgba(0,0,0,0.3);
  transition:0.3s;
}

.whatsapp:hover{
  transform:scale(1.1);
}

/* ================= RESPONSIVE ================= */

@media(max-width:900px){

  .split{
    grid-template-columns:1fr;
  }

  nav{
    display:none;
  }

}