/* Security Hero - Fixed Background */
.security-hero {
  background-image: url('../img/security.jpg');
  min-height: 100vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  padding-bottom: 8em;
  margin-bottom: 0;
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* Dark overlay for readability */
.security-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.security-hero > .container {
  position: relative;
  z-index: 1;
}

/* ============================================ */
/* RESPONSIVE BACKGROUND FIXES */
/* ============================================ */

/* Tablets & Mobile - disable fixed attachment */
@media (max-width: 992px) {
  .security-hero {
    background-attachment: scroll;
    background-size: cover;
    background-position: center;
    min-height: auto;
    padding-bottom: 5em;
  }
}

/* ==========================
   FOOTER 
   ========================== */
footer.footer-btm {
  background: url(../img/footer-bg.jpg) 100%;
  background-size: cover;
  background-position: center;
  padding: 3em 4em;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
  max-width: 1366px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2em;
}

/* ===== LOGO - LEFT ALIGNED ===== */
.footer-logo-wrapper {
  flex-shrink: 0;
  padding-top: 0.5em;
}

.footer-logo {
  display: block;
}

.ft-logo {
  height: 45px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.ft-logo:hover {
  opacity: 1;
}

/* ===== 4 DIVS IN THE MIDDLE ===== */
.footer-links-wrapper {
  display: flex;
  justify-content: flex-end;
  gap: 4em;
  flex-wrap: wrap;
}

.footer-col {
  min-width: 120px;
}

.footer-col-title {
  color: rgba(255, 255, 255, 0.5);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5mm;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col-text {
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  line-height: 1.8;
  letter-spacing: 0.3px;
}

.footer-email {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-email:hover {
  color: #de9171;
}

/* ===== MENU LIST ===== */
.footer-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu-list li {
  margin-bottom: 6px;
}

.footer-menu-list li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8mm;
  transition: color 0.3s ease;
  display: inline-block;
  padding: 2px 0;
}

.footer-menu-list li a:hover {
  color: #de9171;
}

/* ===== DROPDOWN IN MENU ===== */
.footer-menu-list .footer-dropdown {
  position: relative;
  display: block;
}

.footer-menu-list .footer-dropbtn {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.7);
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.8mm;
  background: none;
  border: none;
  padding: 2px 0;
  transition: color 0.3s ease;
}

.footer-menu-list .footer-dropbtn:hover {
  color: #de9171;
}

.footer-menu-list .footer-caret {
  display: inline-block;
  font-size: 8px;
  transition: transform 0.3s ease;
  color: rgba(255, 255, 255, 0.4);
}

.footer-menu-list .footer-dropdown:hover .footer-caret,
.footer-menu-list .footer-dropdown.active .footer-caret {
  transform: rotate(180deg);
  color: #de9171;
}

/* Dropdown Content */
.footer-menu-list .footer-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 8px 0;
  z-index: 9999;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  min-width: 140px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  margin-top: 2px;
}

.footer-menu-list .footer-dropdown-content li {
  margin: 0;
  padding: 0;
}

.footer-menu-list .footer-dropdown-content a {
  display: block;
  padding: 8px 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  letter-spacing: 0.6mm;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border-left: 2px solid transparent;
}

.footer-menu-list .footer-dropdown-content a:hover {
  color: #de9171;
  background: rgba(255, 255, 255, 0.05);
  border-left-color: #de9171;
}

/* Show dropdown on hover (desktop) */
.footer-menu-list .footer-dropdown:hover .footer-dropdown-content {
  display: block;
}

/* Show dropdown when active (mobile/click) */
.footer-menu-list .footer-dropdown.active .footer-dropdown-content {
  display: block !important;
}

/* ===== BACKDROP OVERLAY ===== */
.footer-dropdown-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
}

.footer-dropdown-overlay.active {
  display: block;
}

@media (max-width: 1024px) {
  .footer-links-wrapper {
    gap: 2.5em;
  }
  
  .footer-col {
    min-width: 100px;
  }
}

/* Mobile phones */
@media (max-width: 768px) {
  .security-hero {
    background-attachment: scroll;
    background-size: cover;
    background-position: center;
    min-height: auto;
    padding-bottom: 4em;
  }

  /* ===== FOOTER MOBILE ===== */
  footer.footer-btm {
    padding: 2em 1.5em;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 1.5em;
  }

  .footer-logo-wrapper {
    padding-top: 0;
  }

  .ft-logo {
    height: 35px;
  }

  .footer-links-wrapper {
    justify-content: center;
    gap: 2em 3em;
    width: 100%;
  }

  .footer-col {
    min-width: 120px;
    flex: 0 0 auto;
    text-align: center;
  }

  .footer-col-title {
    font-size: 10px;
    letter-spacing: 1.2mm;
  }

  .footer-col-text {
    font-size: 11px;
  }

  .footer-menu-list li a {
    font-size: 11px;
    letter-spacing: 0.6mm;
  }

  .footer-menu-list .footer-dropbtn {
    font-size: 11px;
    letter-spacing: 0.6mm;
  }

  /* Dropdown on mobile - centered */
  .footer-menu-list .footer-dropdown-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 200px;
    max-width: 85vw;
    z-index: 99999;
    border-radius: 12px;
    padding: 10px 0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }

  .footer-menu-list .footer-dropdown-content li {
    display: block;
    width: 100%;
    text-align: center;
  }

  .footer-menu-list .footer-dropdown-content a {
    padding: 12px 24px;
    font-size: 14px;
    text-align: center;
    border-left: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
  }

  .footer-menu-list .footer-dropdown-content a:last-child {
    border-bottom: none;
  }

  .footer-menu-list .footer-dropdown-content a:hover {
    border-left: none;
    background: rgba(255, 255, 255, 0.08);
    color: #de9171;
  }

  .footer-menu-list .footer-dropdown.active .footer-dropdown-content {
    display: block !important;
  }

  .footer-menu-list .footer-dropdown.active .footer-caret {
    transform: rotate(180deg);
  }
}

/* Small mobile phones */
@media (max-width: 480px) {
  .security-hero {
    background-size: cover;
    background-position: center;
    min-height: auto;
    padding-bottom: 3em;
  }
}

/* Landscape mobile phones */
@media (max-height: 600px) and (orientation: landscape) {
  .security-hero {
    background-attachment: scroll;
    background-size: cover;
    background-position: center;
    min-height: auto;
    padding-bottom: 2em;
  }
}