/* Correct Google Fonts Import */
@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;500;600;700&family=Poppins:wght@100;200;300;500;600;700;800;900&family=Roboto:wght@400;500;900&display=swap");

<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Oswald:wght@200;300;400;500;600;700&family=Poppins:ital,wght@0,100;0,200;0,300;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,700;1,800;1,900&family=Roboto:wght@400;500;900&display=swap" rel="stylesheet">);

/* GLOBAL FIX FOR SIDE SCROLL */
html, body {
  width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}


/* HERO FIX */
.hero {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: black;
}

/* Ensure image covers full screen correctly */
.hero img {
  position: absolute;
  top: 0;
  left: 0;
 width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}
/* Topbar (Navigation) */
.topbar {
background: linear-gradient(90deg, #010b22, #003399, #021334);
  color: white;
  padding: 12px 20px;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 50px; /* Increased navbar height */
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.logotext{
  font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
  font-size: 1rem;
  margin-left: 0px;

}
/* Bigger Logo — SAFE scaling */
/* Logo inside navbar */
.Logo {
  height: 80px;          /* Make the logo bigger */
  width: auto;
  object-fit: contain;   /* Keeps proportions perfect */
  margin-top: -8px;      /* Adjusts vertical alignment */
}


/* Hamburger fix (align center vertically) */
.menu-toggle {
  font-size: 30px;
  cursor: pointer;
  padding: 10px;
  margin-right: 20px;
}


/* Nav Links - Desktop */
.navlinks {
  display: flex;
  list-style: none;
  gap: 25px;
  margin: 0;
  padding: 0;
  margin-right: 80px;
}

.navlinks li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.3s ease;
}

/* Hover + Active */
.navlinks li a:hover {
  color: #f7d31d;
}
.navlinks li a.active {
  border-bottom: 2px solid #f7d31d;
  padding-bottom: 2px;
}

/* Hamburger Icon (hidden by default) */
.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
  color: white;
}

/* -------- RESPONSIVE -------- */
@media (max-width: 768px) {
  /* Show hamburger */
  .menu-toggle {
    display: block;
  }

  /* Hide links initially */
  .navlinks {
    position: absolute;
    top: 60px;
    right: 0;
    background-color: #031033;
    flex-direction: column;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  /* When active */
  .navlinks.open {
    min-height: 400px; /* enough for links */
    width: 100%;
    padding: 20px 0px;
    margin-right: 0;
    background-color: #030d3d;
  }

  .navlinks li {
    text-align: center;
    margin: 10px 0;
  }
}

/* HERO SECTION */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  /* ✅ Perfect centering and scaling */
  background: url("imgs/security-marchfront.jpeg") center center / cover no-repeat;
}


/* Hero Image */
.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -2;
}

/* Overlay */
.hero-overlay {
  
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 8%;
  color: white;
}

/* Headline */
.hero-overlay h1 {
 
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
}

/* Paragraph */
.hero-overlay p {
  
  max-width: 800px;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Button */
.hero-overlay button {
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 30px;
  background-color: #f7d31d;
  color: black;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-overlay button:hover {
  background-color: #fff200;
  transform: translateY(-3px);
}

/* Remove margin-top to stop the white gap */
body {
  margin: 0;
  padding: 0;
}

/* Responsive Fixes */
@media (max-width: 768px) {
  .hero {
    min-height: 90vh; /* shorter on small screens */
  }
  .hero-overlay h1 {
    font-size: 1.7rem;
  }
  .hero-overlay p {
    font-size: 1rem;
  }
}

/* STATS SECTION */
.stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  padding: 60px 20px;
  background: #f8f8f8;
  text-align: center;
}

.stat-item h2 {
  font-size: 3rem;
  font-weight: 700;
  color: #000625; /* dark blue */
  margin-bottom: 10px;
}

.stat-item p {
  font-size: 1.2rem;
  font-weight: 500;
  color: #333;
}

/* Responsive */
@media (max-width: 768px) {
  .stats {
    flex-direction: column;
    gap: 25px;
  }
  .stat-item h2 {
    font-size: 2.2rem;
  }
  .stat-item p {
    font-size: 1rem;
  }
}
/* ABOUT SECTION - Styled like Hero */
.about-section {
  position: relative;
  width: 100%;
  height: 100vh; /* full screen height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  background: url("imgs/Security March (2).jpeg") center center / cover no-repeat;
  overflow: hidden;
}

.about-overlay {
  position: relative;
  z-index: 2;
  background: rgba(0, 0, 0, 0.55); /* dark overlay */
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 8%;
}

.about-overlay h2 {
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

.about-overlay h3 {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 600;
  margin-bottom: 1rem;
}

.yellow-underline {
  display: inline-block;
  position: relative;
  padding-bottom: 5px;
}

.yellow-underline::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background-color: #f7d31d;
  border-radius: 2px;
}


.about-overlay p {
  max-width: 800px;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Button same as hero */
.about-overlay button {
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 30px;
  background-color: #f7d31d;
  color: black;
  cursor: pointer;
  transition: all 0.3s ease;
}

.about-overlay button:hover {
  background-color: #fff200;
  transform: translateY(-3px);
}

/* Responsive fix */
@media (max-width: 768px) {
  .about-section {
    height: 90vh;
  }
  .about-overlay h2 {
    font-size: 1.8rem;
  }
  .about-overlay p {
    font-size: 1rem;
  }
}


/* ABOUT PAGE EXTRA SECTIONS */
.vision-mission, .values-section {
  padding: 80px 20px;
  text-align: center;
  background: #f8f8f8;
  color: #000625;
}

.vision-mission h2 {
  font-size: 2rem;
  color: #001b66;
  margin-bottom: 10px;
}

.vision-mission p {
  max-width: 800px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
  line-height: 1.7;
}

.values-section {
  background: white;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  padding: 0 10%;
}

.value-box {
  background: #001b66;
  color: white;
  border-radius: 10px;
  padding: 30px;
  transition: transform 0.3s ease;
}

.value-box:hover {
  transform: scale(1.05);
  background: #002b99;
}


.servicespage {
  padding: 40px;
  background-color: #f7f7f7;
  text-align: center;
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.service-card {
  position: relative;
  background: #fff;
  overflow: hidden;
  border-radius: 10px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.service-card:hover {
  transform: scale(1.02);
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.card-content {
  padding: 15px;
}

.card-content h3 {
  font-size: 18px;
  color: #000625;
  margin-bottom: 10px;
}

.card-content p {
  font-size: 14px;
  color: #444;
}

.hover-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 6, 37, 0.9);
  color: #f7d31d;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  font-size: 14px;
}

.service-card:hover .hover-content {
  opacity: 1;
}

.service-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.service-card:hover img {
  transform: scale(1.05);
}



/* INFINITE GLIDING GALLERY */
.gallery-infinite {
  background-color: #f8f8f8;
  padding: 60px 0;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.gallery-infinite h2 {
  font-size: 2rem;
  color: #101010;
  margin-bottom: 40px;
  font-weight: 700;
}

/* Container for scrolling images */
.gallery-wrapper {
  display: flex;
  overflow: hidden;
  width: 100%;
  position: relative;
}

/* Each track (duplicated for seamless loop) */
.gallery-track {
  display: flex;
  animation: scrollGallery 35s linear infinite;
}

/* When hovered (pause animation) */
.gallery-wrapper:hover .gallery-track {
  animation-play-state: paused;
}

/* Image styles */
.gallery-track img {
  width: 300px;
  height: 220px;
  object-fit: cover;
  margin: 0 10px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.gallery-track img:hover {
  transform: scale(1.05);
}

/* Smooth continuous scroll animation */
@keyframes scrollGallery {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Responsive design */
@media (max-width: 768px) {
  .gallery-track img {
    width: 280px;   /* bigger images for mobile */
    height: 180px;
    margin: 0 8px;
  }

  .gallery-infinite h2 {
    font-size: 1.6rem;
    margin-bottom: 25px;
  }

  .gallery-infinite {
    padding: 40px 0;
  }
}
/* FIX Services center alignment on mobile */
@media (max-width: 768px) {
  .servicespage {
    padding: 20px 15px;
    text-align: center;
  }

  .servicespage h2 {
    text-align: center;
    margin-left: 0 !important;
  }

  .services {
    margin: 0 auto;
    justify-items: center;
  }

  .service-card {
    width: 90%; /* centers card */
    margin: 0 auto;
  }
}



/* CAREERS PAGE (Hidden by default) */
.careers-page {
  display: none;
  background: #f8f8f8;
  color: #000625;
  padding: 100px 20px;
  text-align: center;
  min-height: 100vh;
}

.careers-page.active {
  display: block;
}

.careers-page img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px;
}

.careers-content {
  max-width: 800px;
  margin: auto;
  text-align: left;
}

.careers-content h2 {
  text-align: center;
  color: #001b66;
  margin-bottom: 20px;
}

.careers-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.careers-content form {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  margin-top: 30px;
}

.careers-content form label {
  font-weight: 600;
  display: block;
  margin-top: 10px;
  color: #001b66;
}

.careers-content form input {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.careers-content form button {
  margin-top: 20px;
  background-color: #f7d31d;
  color: #001b66;
  border: none;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.careers-content form button:hover {
  background-color: #fff200;
  transform: translateY(-3px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .careers-content {
    padding: 0 10px;
  }

  .careers-page img {
    max-height: 250px;
  }
}


/* CTA SECTION */
.cta-section {
  background: #fff;
  text-align: center;
  padding: 80px 20px 60px;
}

.cta-container h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.3rem);
  color: #001b66;
  margin-bottom: 15px;
  font-weight: 700;
}

.cta-container p {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 30px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.cta-primary {
  background-color: #001b66;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.cta-primary:hover {
  background-color: #002b99;
}

.cta-secondary {
  background: transparent;
  color: #001b66;
  border: 2px solid #001b66;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.cta-secondary:hover {
  background: #001b66;
  color: white;
}

/* FOOTER SECTION */
.footer {
  background: #051438;
  color: white;
  padding: 50px 20px 20px;
  text-align: center;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}

.footer-logo img {
  max-width: 70px;
  margin-bottom: 10px;
}

.footer-logo h3 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-column h4 {
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
}

.footer-column a {
  color: #fff;
  text-decoration: none;
  margin-bottom: 6px;
  font-size: 0.95rem;
  opacity: 0.9;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: #f7d31d;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2);
  margin-top: 30px;
  padding-top: 15px;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .cta-container {
    padding: 40px 10px;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  .footer-column {
    align-items: center;
  }

  .footer-logo img {
    max-width: 80px;
  }
}
/* Popup */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.popup-content {
  background: white;
  color: black;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  text-align: left;
  box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

.popup-content h2 {
  margin-top: 0;
  color: #001b66;
}

.popup-content input,
.popup-content textarea {
  width: 100%;
  margin: 8px 0;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.popup-content button {
  background-color: #f7d31d;
  color: black;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
}

.popup-content button:hover {
  background-color: #fff200;
}

.close {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 24px;
  cursor: pointer;
}
/* POPUP BACKGROUND */
.popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

/* POPUP BOX */
.popup-content {
  position: relative;
  background: #fff;
  color: #000625;
  padding: 30px;
  border-radius: 12px;
  width: 90%;
  max-width: 480px;
  text-align: left;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  animation: fadeIn 0.3s ease-in-out;
}

/* HEADER */
.popup-content h2 {
  color: #001b66;
  margin-top: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

/* INPUTS */
.popup-content input,
.popup-content textarea {
  width: 100%;
  margin: 8px 0 15px 0;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
}


/* CTA Section */
.cta-section {
  text-align: center;
  background: #fff;
  padding: 80px 20px;
  color: #000625;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 15px;
  color: #000625;
}

.cta-section p {
  font-size: clamp(1rem, 2vw, 1.1rem);
  margin-bottom: 30px;
  color: #333;
}

/* CTA Buttons Container */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Primary Blue Button */
.btn-primary {
  background-color: #000a60;
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #001b88;
  transform: translateY(-2px);
}

/* Outline Button */
.btn-outline {
  background-color: white;
  color: #000;
  border: 1.5px solid #000;
  padding: 12px 30px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background-color: #f7d31d;
  color: black;
  border-color: #f7d31d;
  transform: translateY(-2px);
}

/* Responsive for mobile */
@media (max-width: 600px) {
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .btn-primary, .btn-outline {
    width: 90%;
  }
}


/* BUTTON */
.popup-content button {
  background-color: #f7d31d;
  color: black;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.popup-content button:hover {
  background-color: #fff200;
  transform: translateY(-2px);
}

/* CLOSE ICON */
.close {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 26px;
  cursor: pointer;
  color: #001b66;
  font-weight: bold;
}

@keyframes fadeIn {
  from {opacity: 0; transform: translateY(-20px);}
  to {opacity: 1; transform: translateY(0);}
}

/* MOBILE FIX */
@media (max-width: 600px) {
  .popup-content {
    padding: 20px;
  }
  .popup-content h2 {
    font-size: 1.3rem;
  }
}

/* Popup Base */
.form-popup {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Popup Box */
.form-content {
  background: #fff;
  color: #000625;
  border-radius: 15px;
  padding: 30px;
  width: 90%;
  max-width: 450px;
  position: relative;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

/* Form Fields */
.popup-inner {
  display: none;
  flex-direction: column;
  gap: 15px;
}

.popup-inner.active {
  display: flex;
}

.popup-inner h2 {
  text-align: center;
  color: #001b66;
  margin-bottom: 10px;
}

.popup-inner input,
.popup-inner textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
}

/* Buttons */
.btn-primary {
  background: #f7d31d;
  color: #000;
  font-weight: 600;
  border: none;
  border-radius: 25px;
  padding: 10px 20px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #fff200;
}

.btn-outline {
  background: transparent;
  border: 2px solid #f7d31d;
  color: #f7d31d;
  border-radius: 25px;
  padding: 10px 20px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-outline:hover {
  background: #f7d31d;
  color: #000;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  color: #001b66;
  cursor: pointer;
}

@media (max-width: 600px) {
  .form-content {
    width: 95%;
    padding: 20px;
  }
}

/* HAMBURGER ICON */
.menu-toggle {
  display: none;
  font-size: 30px;
  cursor: pointer;
  color: white;
  user-select: none;
}

/* MOBILE MENU */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  .navlinks {
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    background: #001b66;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  .navlinks.open {
    max-height: 300px;
  }

  .navlinks li {
    padding: 12px 0;
    text-align: center;
  }

  .navlinks li a {
    width: 100%;
    display: block;
    padding: 12px 0;
  }
}
