.security {
  background: #fff;
  padding: 80px 0;
  min-height: 100vh;
}

.security__container {
  width: 85%;
  margin: 0 auto;
  max-width: 900px;
}

.security__hero {
  text-align: center;
  margin-bottom: 50px;
  animation: fadeIn 1s ease-out;
}

.security__hero-title {
  font-size: 40px;
  color: #2f3542;
  font-weight: bold;
  margin-bottom: 10px;
}

.security__hero-text {
  font-size: 18px;
  color: #333;
  max-width: 600px;
  margin: 0 auto;
}

.security__border {
  height: 3px;
  width: 70px;
  background: #e24a4a;
  margin: 15px auto;
}

/* Card Styling */
.security__card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  padding: 30px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.security__card--visible {
  opacity: 1;
  transform: translateY(0);
}

.security__card-title {
  font-size: 24px;
  color: #e24a4a;
  margin-bottom: 15px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.security__card-title::before {
  content: "\f3ed"; /* Font Awesome shield */
  font-family: "FontAwesome";
  color: #e24a4a;
  font-size: 20px;
}

.security__card-content {
  font-size: 16px;
  color: #333;
  line-height: 1.7;
}

.security__card-content p {
  margin-bottom: 15px;
}

.security__card-content ul {
  list-style: none;
  padding-left: 20px;
}

.security__card-content ul li {
  position: relative;
  margin-bottom: 10px;
}

.security__card-content ul li::before {
  content: "\f06c"; /* Font Awesome leaf */
  font-family: "FontAwesome";
  color: #e24a4a;
  position: absolute;
  left: -20px;
  top: 5px;
}

.security__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glow {
  0%,
  100% {
    box-shadow: 0 0 10px rgba(226, 74, 74, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(226, 74, 74, 0.8);
  }
}

/* Floating Contact Button */
.security__contact-btn {
  position: fixed;
  bottom: 80px;
  right: 60px;
  background: #e24a4a;
  color: #fff;
  padding: 15px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: glow 2s infinite ease-in-out;
  transition: background 0.3s ease, transform 0.3s ease;
}

.security__contact-btn:hover {
  background: #6c5ce7;
  transform: scale(1.1);
}

/* Back to Top Button */
.security__back-to-top {
  position: fixed;
  bottom: 20px;
  right: 60px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  border-radius: 50%;
  background: #e24a4a;
  color: #fff;
  cursor: pointer;
  display: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease, transform 0.3s ease;
}

.security__back-to-top:hover {
  background: #6c5ce7;
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .security__container {
    width: 90%;
  }

  .security__hero-title {
    font-size: 32px;
  }

  .security__hero-text {
    font-size: 16px;
  }

  .security__card {
    padding: 20px;
  }

  .security__card-title {
    font-size: 20px;
  }

  .security__card-content {
    font-size: 14px;
  }

  .security__contact-btn {
    bottom: 70px;
    right: 20px;
    padding: 12px 20px;
    font-size: 14px;
  }

  .security__back-to-top {
    bottom: 20px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  .security__hero-title {
    font-size: 24px;
  }

  .security__card {
    padding: 15px;
  }

  .security__card-title {
    font-size: 18px;
  }
}
