/* =============================================
   BASE RESET & GLOBAL
============================================= */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
html{
scroll-behavior:smooth;
}

body {
  background: #f5f8fc;
  color: #111;
}

a {
  text-decoration: none;
}

/* =============================================
   HERO SECTION
============================================= */
.hero {
  min-height: 100vh;
  width: 100%;
  background:
    linear-gradient(to right, rgba(255,255,255,0.95), rgba(255,255,255,0.65)),
    url('../Images/security-bg.png');
  background-size: cover;
  background-position: center;
  padding: 40px 8%;
  position: relative;
  overflow: visible;
}

/* =============================================
   NAVBAR
============================================= */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  margin-bottom: 40px;
  width: 100%;
}

.logo-box {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 1 auto;

}

.logo-img {
  width: 60px;
  height: 90px;
  object-fit: contain;
}

.logo-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #003b8f;
  position: relative;
}

.logo-circle::before {
  content: '';
  position: absolute;
  width: 40px;
  height: 4px;
  background: #fff;
  top: 18px;
  left: 10px;
  box-shadow: 0 10px 0 #fff, 0 20px 0 #fff;
  border-radius: 10px;
}

.logo-text h2 {
  font-size: 34px;
  line-height: 40px;
  color: #061c54;
}

.logo-text span {
  color: #444;
  font-size: 16px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  color: #061c54;
  font-weight: 600;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #0aa6df;
}

/* =============================================
   DROPDOWN
============================================= */
.dropdown {
  position: relative;
}

.drop-btn {
  color: #061c54;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.3s;
}

.drop-btn:hover {
  color: #0aa6df;
}

.dropdown-content {
  position: absolute;
  top: 35px;
  left: 0;
  min-width: 240px;
  background: #fff;
  border-radius: 12px;
  padding: 10px 0;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s;
  z-index: 999;
}

.dropdown-content a {
  display: block;
  padding: 12px 20px;
  color: #061c54;
  font-weight: 500;
  transition: all 0.3s;
}

.dropdown-content a:hover {
  background: #f4f8ff;
  color: #08a6df;
  padding-left: 28px;
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Sub Dropdown */
.sub-dropdown {
  position: relative;
}

.sub-btn {
  display: block;
  padding: 12px 20px;
  color: #061c54;
  font-weight: 500;
  cursor: pointer;
}

.sub-dropdown-content {
  position: absolute;
  top: 0;
  right: 100%;
  min-width: 220px;
  background: #fff;
  border-radius: 12px;
  padding: 10px 0;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all 0.3s;
}

.sub-dropdown-content a {
  display: block;
  padding: 12px 20px;
  color: #061c54;
  font-weight: 500;
  transition: all 0.3s;
}

.sub-dropdown-content a:hover {
  background: #f4f8ff;
  color: #08a6df;
}

.sub-dropdown:hover .sub-dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* =============================================
   HAMBURGER TOGGLE (hidden on desktop)
============================================= */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  font-size: 34px;
  color: #08276d;
  cursor: pointer;
  z-index: 1001;
}

/* =============================================
   HERO CONTENT
============================================= */
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
}

.left h1 {
  font-size: 70px;
  line-height: 80px;
  color: #08276d;
  margin-bottom: 20px;
}

.left h1 span {
  color: #08a6df;
}

.left p {
  font-size: 22px;
  color: #333;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  background: #08276d;
  color: #fff;
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn:hover {
  background: #08a6df;
  transform: translateY(-3px);
}

.right {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  width: 180px;
  background: #fff;
  padding: 20px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.card:hover {
  transform: translateY(-10px);
}

.card img {
  width: 80px;
  margin-bottom: 15px;
}

.card h3 {
  color: #08276d;
  margin-bottom: 8px;
}

/* =============================================
   ABOUT SECTION
============================================= */
.about {
  padding: 90px 8%;
  background: #fff;
}

.section-title {
  font-size: 42px;
  color: #08276d;
  margin-bottom: 20px;
}

.about p {
  max-width: 1000px;
  line-height: 32px;
  color: #444;
  font-size: 18px;
  margin-bottom: 20px;
}

.services {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.service-box {
  background: #f4f8ff;
  padding: 30px;
  border-radius: 18px;
  border-left: 5px solid #08a6df;
  transition: all 0.3s;
}

.service-box:hover {
  transform: translateY(-8px);
  background: #08276d;
  color: #fff;
}

.service-box h3 {
  margin-bottom: 10px;
}

/* =============================================
   BRANDS SECTION
============================================= */
.brands {
  padding: 90px 8%;
  background: #eef4fb;
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
  margin-top: 50px;
}

.brand-card {
  background: #fff;
  border-radius: 18px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.brand-card:hover {
  transform: scale(1.05);
}

.brand-card img {
  width: 120px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 15px;
}

.brand-card h4 {
  color: #08276d;
  margin-bottom: 10px;
}

/* =============================================
   FOOTER
============================================= */
footer {
  background: #061c54;
  color: #fff;
  padding: 50px 8%;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

footer h3 {
  margin-bottom: 20px;
  color: #08a6df;
}

footer p {
  margin-bottom: 10px;
  line-height: 28px;
}

.footer-bottom {
  margin-top: 40px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 20px;
  color: #ccc;
}

/* =============================================
   RESPONSIVE — LAPTOP (max-width: 1200px)
============================================= */
@media (max-width: 1200px) {
  .hero {
    padding: 40px 5%;
  }

  .left h1 {
    font-size: 56px;
    line-height: 66px;
  }

  .left p {
    font-size: 20px;
  }

  .about,
  .brands,
  footer {
    padding: 80px 5%;
  }

  .section-title {
    font-size: 38px;
  }

  .logo-text h2 {
    font-size: 28px;
  }
}

/* =============================================
   RESPONSIVE — TABLET (max-width: 992px)
============================================= */
@media (max-width: 992px) {
  .hero {
    padding: 30px 5%;
    min-height: auto;
  }

  .navbar {
    flex-wrap: wrap;
    gap: 16px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    width: 100%;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .left h1 {
    font-size: 48px;
    line-height: 58px;
  }

  .left p {
    font-size: 18px;
  }

  .right {
    justify-content: center;
  }

  .card {
    width: 170px;
  }

  .section-title {
    font-size: 34px;
    text-align: center;
  }

  .about,
  .brands,
  footer {
    padding: 70px 5%;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .logo-img {
    width: 70px;
    height: 70px;
  }

  .logo-text h2 {
    font-size: 26px;
    line-height: 32px;
  }

  /* Flatten dropdowns on tablet */
  .dropdown-content {
    min-width: 200px;
  }
}

/* =============================================
   RESPONSIVE — MOBILE LANDSCAPE (max-width: 768px)
============================================= */
/* =============================================
   MOBILE (max-width:768px)
============================================= */

@media (max-width:768px){

.hero{
    padding:20px;
    min-height:auto;
}

/* ---------- NAVBAR ---------- */

.navbar{
    display:flex;
    align-items:center;
    justify-content:space-between;
    position:relative;
    z-index:9999;
}

.logo-box{
    display:flex;
    align-items:center;
    gap:10px;
    flex:1;
}

.logo-img{
    width:55px;
    height:55px;
}

.logo-text h2{
    font-size:18px;
    line-height:22px;
}

.menu-toggle{
    display:flex;
    align-items:center;
    justify-content:center;

    width:42px;
    height:42px;

    font-size:34px;
    color:#08276d;

    cursor:pointer;

    margin-left:auto;

    z-index:1002;
}

/* ---------- MOBILE MENU ---------- */

.nav-links{

    display:none;

    position:absolute;

    top:70px;

    left:0;

    width:100%;

    flex-direction:column;

    background:#fff;

    border-radius:18px;

    overflow:visible;

    box-shadow:0 15px 35px rgba(0,0,0,.12);

    z-index:1000;
}

.nav-links.active{
    display:flex;
}

.nav-links>a,
.drop-btn{

    width:100%;

    padding:3px 22px;

    border-bottom:1px solid #ececec;

    display:block;

}

/* ---------- DROPDOWN ---------- */

.dropdown{
    width:100%;
}

.dropdown-content,
.sub-dropdown-content{

    position:static;

    display:none;

    opacity:1;

    visibility:visible;

    transform:none;

    box-shadow:none;

    background:#f8f9fc;

    border-radius:0;

    padding:0;
}

.dropdown.active>.dropdown-content{
    display:block;
}

.sub-dropdown.active>.sub-dropdown-content{
    display:block;
}

.dropdown-content a,
.sub-dropdown-content a{

    padding:3px 40px;

    display:block;

}

/* ---------- HERO ---------- */

.hero-content{

    grid-template-columns:1fr;

    text-align:center;

    gap:30px;
}

.left h1{

    font-size:36px;

    line-height:46px;
}

.left p{

    font-size:16px;
}

.btn{

    width:100%;

    max-width:280px;
}

.right{

    margin-top:20px;

    justify-content:center;
}

.card{

    width:100%;

    max-width:300px;
}

.about,
.brands,
footer{

    padding:60px 5%;
}

.services,
.brand-grid,
.footer-grid{

    grid-template-columns:1fr;
}

}

/* =============================================
   RESPONSIVE — MOBILE PORTRAIT (max-width: 480px)
============================================= */
/* =============================================
   RESPONSIVE — MOBILE PORTRAIT (max-width: 480px)
============================================= */
@media (max-width: 480px) {
  .hero {
    padding: 15px;
  }

  /* Added flex-shrink to prevent the logo from squishing */
  .logo-img {
    width: 40px;
    height: 48px;
    flex-shrink: 0; 
  }

  .logo-text h2 {
    font-size: 18px;
    line-height: 22px;
  }

  .logo-text span {
    font-size: 10px;
  }

  /* Added flex-shrink to protect the hamburger on extra-small screens */
  .menu-toggle {
    width: 38px;
    height: 38px;
    font-size: 28px;
    flex-shrink: 0; 
  }

  .left h1 {
    font-size: 28px;
    line-height: 36px;
  }

  .left p {
    font-size: 14px;
  }

  .btn {
    padding: 13px 18px;
    font-size: 14px;
  }

  .card {
    padding: 16px;
  }

  .card img {
    width: 60px;
  }

  .section-title {
    font-size: 24px;
  }

  .about,
  .brands,
  footer {
    padding: 45px 15px;
  }

  .about p {
    font-size: 14px;
    line-height: 24px;
  }

  .service-box,
  .brand-card {
    padding: 18px;
  }

  footer h3 {
    font-size: 18px;
  }

  footer p {
    font-size: 13px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}.whatsapp-chat{
    position:fixed;
    bottom:25px;
    right:25px;
    width:60px;
    height:60px;
    z-index:9999;
}

.whatsapp-chat img{
    width:100%;
    border-radius:50%;
    box-shadow:0 6px 18px rgba(0,0,0,.25);
    transition:.3s;
}

.whatsapp-chat img:hover{
    transform:scale(1.1);
}