
:root {
  --bg: #f4f7fb;
  --primary: #0f2345;
  --accent: #d4af37;
  --text: #14213d;
  --muted: #64748b;
  --card: rgba(255,255,255,0.84);
  --shadow: 0 18px 45px rgba(17, 30, 54, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #f8fbff 0%, #eef3ff 100%);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 6%;
  background: rgba(8, 28, 58, 0.9);
  backdrop-filter: blur(16px);
  z-index: 1000;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}
.logo { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 700; }
.logo span { font-size: 0.98rem; }
.logo img { width: 50px; height: 50px; object-fit: cover; border-radius: 50%; border: 2px solid var(--accent); }
.nav-links { display: flex; gap: 20px; list-style: none; align-items: center; }
.navbar a { color: #fff; font-weight: 500; position: relative; transition: 0.3s; }
.menu-toggle { display: none; }
.navbar a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: 0.3s;
}
.navbar a:hover::after, .navbar a.active::after { width: 100%; }

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 30px;
  padding: 120px 6% 70px;
  background: linear-gradient(120deg, rgba(7, 20, 45, 0.95), rgba(18, 40, 80, 0.88)), url('images/guard-1.svg') center/cover;
  position: relative;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  opacity: 0.16;
  filter: blur(20px);
}
.hero::before { width: 260px; height: 260px; background: var(--accent); top: -60px; right: -40px; }
.hero::after { width: 220px; height: 220px; background: #fff; bottom: -60px; left: -40px; }
.hero-content, .hero-visual { position: relative; z-index: 2; }
.hero-content { max-width: 650px; }
.badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  color: #fff;
  font-size: 0.95rem;
  border: 1px solid rgba(255,255,255,0.2);
}
.hero h1 { font-size: clamp(2.5rem, 5vw, 4.2rem); line-height: 1.1; margin: 20px 0; color: #fff; }
.hero h1 span { color: var(--accent); }
.hero p { color: rgba(255,255,255,0.9); font-size: 1.05rem; max-width: 600px; }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.btn, .btn2 {
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.btn {
  background: linear-gradient(135deg, var(--accent), #f3d46b);
  color: #081c3a;
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.25);
}
.btn2 { background: transparent; border: 1px solid rgba(255,255,255,0.3); color: #fff; }
.btn:hover, .btn2:hover { transform: translateY(-3px); box-shadow: 0 14px 25px rgba(0,0,0,0.2); }
.hero-highlights { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-highlights span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.16);
}
.image-card {
  background: rgba(255,255,255,0.12);
  padding: 18px;
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  backdrop-filter: blur(14px);
}
.image-card img { width: 100%; height: 420px; object-fit: cover; border-radius: 20px; }

.section { padding: 90px 6%; }
.section-heading { display: flex; flex-direction: column; align-items: center; text-align: center; margin-bottom: 36px; }
.section-heading h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 10px; color: var(--primary); }
.section-heading p { max-width: 700px; color: var(--muted); }
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 28px; align-items: center; }
.about-card, .contact-card, .tabs-shell {
  background: var(--card);
  padding: 30px;
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}
.about-card h3 { margin-bottom: 10px; color: var(--primary); }
.about-card p { color: var(--muted); }
.about-list { list-style: none; display: grid; gap: 10px; margin-top: 18px; }
.about-list li {
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8faff;
  color: var(--text);
}
.about-image img { width: 100%; height: 360px; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.card {
  background: var(--card);
  padding: 24px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 100%;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(12, 22, 50, 0.14); }
.card .icon { font-size: 1.7rem; margin-bottom: 12px; }
.card h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--primary); }
.card p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.tabs-shell { padding: 24px; }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.tab {
  border: none;
  padding: 12px 16px;
  border-radius: 999px;
  background: #edf2ff;
  color: var(--primary);
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}
.tab.active {
  background: linear-gradient(135deg, var(--primary), #1d4a94);
  color: #fff;
}
.tab-panel { display: none; animation: fade 0.35s ease; }
.tab-panel.active { display: block; }
.tab-panel h3 { margin-bottom: 8px; color: var(--primary); }
.tab-panel p { color: var(--muted); }
.panel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 16px; }
.panel-item { padding: 16px; border-radius: 16px; background: linear-gradient(135deg, #f9fbff, #edf5ff); border: 1px solid rgba(12,22,50,0.06); }
.panel-item h4 { margin-bottom: 6px; color: var(--primary); }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 40px 6%;
  margin: 0 6% 30px;
  background: linear-gradient(135deg, #081c3a, #0f2d57);
  color: #fff;
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.stats .stat { text-align: center; padding: 16px; }
.stats h3 { font-size: 2rem; color: var(--accent); margin-bottom: 6px; }
.stats p { color: rgba(255,255,255,0.8); }
.testimonial-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.testimonial {
  background: var(--card);
  padding: 22px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
  position: relative;
}
.testimonial::before {
  content: '“';
  font-size: 2.5rem;
  color: var(--accent);
  position: absolute;
  top: 8px;
  right: 16px;
}
.testimonial strong { display: block; margin-top: 10px; color: var(--primary); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
form { display: grid; gap: 14px; }
input, textarea {
  padding: 14px 15px;
  border: 1px solid #d9e2f0;
  border-radius: 12px;
  font: inherit;
  resize: vertical;
  background: #fff;
}
button {
  padding: 14px 18px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), #1a5cb9);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
button:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(0,0,0,0.15); }
.contact-card ul { list-style: none; display: grid; gap: 12px; margin-top: 16px; }
.contact-card li { padding: 10px 0; border-bottom: 1px solid #e7ecf7; }
.whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: #25d366;
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.3);
  z-index: 1000;
  animation: float 2.8s ease-in-out infinite;
}
footer {
  padding: 24px 6% 40px;
  text-align: center;
  color: var(--muted);
}
.modal {
  position: fixed;
  inset: 0;
  background: rgba(7, 20, 45, 0.72);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 2000;
}
.modal.active {
  display: flex;
}
.modal-content {
  width: min(100%, 430px);
  background: #fff;
  border-radius: 24px;
  padding: 30px 24px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.24);
}
.modal-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  background: #e8f7ee;
  color: #14854f;
  font-size: 1.8rem;
  font-weight: 700;
}
.modal h3 {
  color: var(--primary);
  margin-bottom: 10px;
}
.modal p {
  color: var(--muted);
  margin-bottom: 18px;
}
.modal-btn {
  margin-top: 6px;
}
.reveal { opacity: 0; transform: translateY(50px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.active { opacity: 1; transform: none; }

@keyframes fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

@media (max-width: 900px) {
  .hero, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 110px; }
}

@media (max-width: 700px) {
  body.menu-open { overflow: hidden; }
  .navbar {
    padding: 12px 5%;
    gap: 10px;
    position: relative;
    flex-wrap: wrap;
  }
  .logo {
    flex: 1;
    min-width: 0;
  }
  .logo img {
    width: 42px;
    height: 42px;
  }
  .logo span {
    font-size: 0.9rem;
    line-height: 1.2;
  }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
  }
  .menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 999px;
    transition: 0.3s ease;
  }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(8, 28, 58, 0.98);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
    margin-top: 6px;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
  }
  .nav-links a:hover, .nav-links a.active {
    background: rgba(212, 175, 55, 0.16);
  }
  .hero {
    padding: 140px 5% 60px;
    gap: 24px;
  }
  .hero-content { text-align: left; }
  .buttons { flex-direction: column; }
  .buttons .btn, .buttons .btn2 {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
  .hero-highlights { flex-direction: column; align-items: flex-start; }
  .service-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; margin: 0 5% 24px; padding: 24px 5%; }
  .section { padding: 72px 5%; }
  .about-card, .contact-card, .tabs-shell, .card, .testimonial {
    padding: 22px;
  }
  .contact-grid { grid-template-columns: 1fr; gap: 18px; }
  .image-card img { height: 300px; }
  .modal-content { padding: 24px 18px; }
}
