/* Security Hero Section */
.security-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../assets/images/security-center-preview.jpg") no-repeat
    center center/cover;
  z-index: -1;
  background-attachment: fixed;
}

.security-hero {
  position: relative;
  padding: 8rem 0;
  color: #fff;
  overflow: hidden;
}

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

.security-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.security-hero .highlight {
  color: #ffd700;
  position: relative;
}

.security-hero .highlight::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 10px;
  background-color: rgba(255, 215, 0, 0.2);
  z-index: -1;
  border-radius: 50px;
}

.security-hero .hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  opacity: 0.9;
}

.security-hero .hero-cta {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

/* Security Features */
.security-features {
  padding: 5rem 0;
  background-color: #fff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: #0056b3;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: #e6f0ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #0056b3;
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #212529;
}

/* Security Tips */
.security-tips {
  padding: 5rem 0;
  background-color: #f8f9fa;
}

.tips-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  margin-bottom: 1rem;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.accordion-btn {
  width: 100%;
  padding: 1.5rem;
  background-color: #0056b3;
  color: white;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.accordion-btn:hover {
  background-color: #003d82;
}

.accordion-btn i {
  transition: transform 0.3s ease;
}

.accordion-btn.active i {
  transform: rotate(180deg);
}

.accordion-content {
  padding: 0;
  background-color: white;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-content.active {
  padding: 1.5rem;
  max-height: 1000px;
}

.accordion-content p {
  margin-bottom: 1rem;
  color: #495057;
}

.accordion-content ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.accordion-content li {
  margin-bottom: 0.5rem;
  color: #495057;
}

/* Fraud Prevention */
.fraud-prevention {
  padding: 5rem 0;
  background-color: #fff;
}

.fraud-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.fraud-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.fraud-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.fraud-icon {
  width: 60px;
  height: 60px;
  background-color: #e6f0ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #0056b3;
  font-size: 1.5rem;
}

.fraud-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #212529;
}

.fraud-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease, padding 0.5s ease;
}

.fraud-details.active {
  max-height: 1000px;
  padding-top: 1.5rem;
}

.fraud-details h4 {
  margin: 1rem 0 0.5rem;
  color: #212529;
}

.learn-more-btn {
  margin-top: 1rem;
}

/* Security Resources */
.security-resources {
  padding: 5rem 0;
  background-color: #f8f9fa;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.resource-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  text-align: center;
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.resource-icon {
  width: 60px;
  height: 60px;
  background-color: #e6f0ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: #0056b3;
  font-size: 1.5rem;
}

.resource-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #212529;
}

/* Security Alert */
.security-alert {
  padding: 3rem 0;
  background-color: #fff8e1;
}

.alert-box {
  display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #ffc107;
}

.alert-icon {
  font-size: 2.5rem;
  color: #ffc107;
  margin-right: 2rem;
  flex-shrink: 0;
}

.alert-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #212529;
}

.alert-contacts {
  margin-top: 1.5rem;
}

.alert-contacts p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  color: #495057;
}

.alert-contacts i {
  color: #0056b3;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .security-hero h1 {
    font-size: 3rem;
  }

  .alert-box {
    flex-direction: column;
    text-align: center;
  }

  .alert-icon {
    margin-right: 0;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 768px) {
  .security-hero h1 {
    font-size: 2.5rem;
  }

  .security-hero .hero-cta {
    flex-direction: column;
  }

  .accordion-btn {
    padding: 1rem;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .security-hero h1 {
    font-size: 2rem;
  }

  .security-hero .hero-subtitle {
    font-size: 1.25rem;
  }

  .features-grid,
  .fraud-types,
  .resources-grid {
    grid-template-columns: 1fr;
  }
}
