/* ================================================================
   Security.css  |  assets/css/Security.css
================================================================ */
.logo {
  height: 50px;
  width: auto;
  object-fit: contain;
  display: block;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Inter", sans-serif;
  color: #222;
  background: #fff;
}
.container {
  max-width: 1100px;
  margin: auto;
  padding: 0 20px;
}

/* HEADER */
.security-header {
  background: #021633;
  padding: 18px 0;
}
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
nav a {
  color: #ddd;
  text-decoration: none;
  margin-left: 20px;
  font-size: 0.95rem;
}
nav a:hover,
nav a.active {
  color: #fff;
}

/* HERO */
.security-hero {
  height: 80vh;
  background-image: url("assest/images/hero.jpeg");
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
}
.hero-content {
  color: white;
  max-width: 650px;
  animation: heroFade 1.2s ease forwards;
}
.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}
.hero-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 25px;
  opacity: 0.9;
}
.hero-btn {
  display: inline-block;
  background: #0a2e6f;
  color: white;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}
.hero-btn:hover {
  background: #1244a8;
  transform: translateY(-3px);
}
@keyframes heroFade {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .security-hero {
    height: 70vh;
  }
  .hero-content h1 {
    font-size: 2.2rem;
  }
}

/* SECURITY IMAGE CARDS */
.security-info {
  padding: 90px 0;
}
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.image-card {
  position: relative;
  height: 280px;
  background-size: cover;
  background-position: center;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: 0.4s;
}
.image-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2),
    rgba(0, 0, 0, 0.7)
  );
}
.card-overlay {
  position: absolute;
  bottom: 0;
  padding: 25px;
  color: white;
  z-index: 2;
}
.card-overlay h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}
.card-overlay p {
  font-size: 0.95rem;
  opacity: 0.9;
}
.image-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.35);
}

/* Card backgrounds — using CSS classes instead of inline styles to work on all servers */
.card-fraud {
  background-image: url("assest/images/cybersecurity.jpeg");
}
.card-encrypt {
  background-image: url("assest/images/encryption.jpeg");
}
.card-login {
  background-image: url("assest/images/safelogin.jpeg");
}

@media (max-width: 900px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
  .image-card {
    height: 240px;
  }
}

/* HELP */
.help-section {
  background: #f1f5ff;
  padding: 80px 0;
  text-align: center;
}
.help-section h2 {
  font-size: 2rem;
  margin-bottom: 14px;
}
.help-section > .container > p {
  color: #555;
  margin-bottom: 8px;
}
.help-box {
  background: white;
  max-width: 500px;
  margin: 30px auto;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.help-box p {
  margin-bottom: 10px;
  font-size: 0.95rem;
}
.help-btn {
  display: inline-block;
  margin-top: 20px;
  background: #0a2f7a;
  color: white;
  padding: 12px 26px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}
.help-btn:hover {
  background: #1244a8;
}

/* PRIVACY */
.privacy-section {
  padding: 80px 0;
}
.privacy-section h2 {
  margin-bottom: 20px;
  font-size: 2rem;
}
.privacy-section p {
  margin-bottom: 15px;
  line-height: 1.7;
  color: #555;
}

/* TERMS */
.terms-section {
  background: #fafafa;
  padding: 80px 0;
}
.terms-section h2 {
  margin-bottom: 20px;
  font-size: 2rem;
}
.terms-box {
  background: white;
  padding: 35px;
  border-radius: 15px;
  max-height: 350px;
  overflow-y: auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.terms-box p {
  margin-bottom: 15px;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* FOOTER */
.main-footer {
  background: #0a2342;
  color: #fff;
  margin-top: 100px;
}
.footer-top {
  padding: 80px 0 50px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 2fr;
  gap: 40px;
}
.footer-col h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
}
.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 15px;
  color: #f1f1f1;
}
.footer-col p {
  color: #ddd;
  line-height: 1.6;
  font-size: 0.95rem;
}
.footer-col ul {
  list-style: none;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  color: #ccc;
  font-size: 0.95rem;
  text-decoration: none;
  transition: 0.3s;
}
.footer-col ul li a:hover {
  color: #fff;
}
.brand p {
  margin: 15px 0 20px;
}
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: 0.3s;
  text-decoration: none;
}
.footer-social a:hover {
  background: #fff;
  color: #0a2342;
}
.footer-form {
  display: flex;
  margin-top: 15px;
}
.footer-form input {
  flex: 1;
  padding: 10px 12px;
  border: none;
  border-radius: 5px 0 0 5px;
  outline: none;
}
.footer-form button {
  background: #27ae60;
  color: #fff;
  border: none;
  padding: 0 18px;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
  font-family: "Inter", sans-serif;
}
.footer-form button:hover {
  background: #219150;
}
.footer-contact {
  margin-top: 15px;
  font-size: 0.9rem;
  color: #ddd;
}
.footer-contact p {
  margin-bottom: 6px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
}
.bottom-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: #ccc;
}

@media (max-width: 1000px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .security-info {
    padding: 60px 0;
  }
  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-social {
    justify-content: center;
  }
  .footer-form {
    justify-content: center;
  }
  .footer-form input {
    max-width: 250px;
  }
  .bottom-content {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}
