/* Data Secure Sentinel Banner Styles */

.data-secure-banner {
  width: 100%;
  position: relative;
  overflow: hidden;
}

.banner-background {
  /* Updated background to support both image and gradient fallback */
  background: linear-gradient(135deg, #a855f7 0%, #c084fc 25%, #d8b4fe 50%, #e9d5ff 75%, #f3e8ff 100%);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  padding: 80px 20px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Added overlay for better text readability over background image */
.banner-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(168, 85, 247, 0.1);
  z-index: 1;
}

.banner-content {
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Logo Section */
.banner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
}

/* Updated logo styles for proper sizing and positioning */
.logo-image {
  max-height: 100px;
  width: auto;
  padding: 0 40px;
}

.logo-shield {
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.logo-highlight {
  color: #22c55e;
}

/* Description */
.banner-description {
  margin-bottom: 50px;
  max-width: 800px;
}

.banner-description p {
  font-size: var(--fs-h3);
  color: #222222;
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
  text-align: center;
}

/* Action Buttons */
.banner-actions {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 25px;
  border-radius: 20px;
  font-size: var(--fs-h6);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  white-space: nowrap;
  max-width: fit-content;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-primary {
  background: white;
  color: #7c3aed;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background: #FFFFFA;
  color: #6800FF;
  border-color: #FFFFFA;
  backdrop-filter: blur(15px);
}

.btn-secondary:hover {
  background: #FFFFFA;
  color: #6800FF;
  border-color: #FFFFFA;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-icon {
  width: 20px;
  height: 20px;
}

@media screen and (max-width: 1580px) {
  .logo-image {
    max-height: 90px;
  }
  
  .banner-description p {
    font-size: var(--fs-h4);
  }

  .btn {
    font-size: var(--fs-body);
  }
}

/* Responsive Design */
@media (max-width: 960px) {
  .banner-background {
    padding: 60px 20px;
    min-height: 600px;
    background-attachment: scroll;
  }

  .banner-logo {
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
  }

  .logo-image {
    max-height: 80px;
  }

  .banner-description p {
    font-size: var(--fs-h5);
    padding: 0 15px;
  }

  .banner-actions {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 15px;
  }
}

@media (max-width: 669px) {
  .banner-background {
    padding: 40px 15px;
    min-height: 550px;
  }

  .logo-image {
    max-height: 70px;
  }

  .banner-description p {
    font-size: var(--fs-h6);
  }

  .btn {
    font-size: var(--fs-body);
    /* padding: 16px 25px; */
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .banner-background {
    background: #7c3aed;
  }

  .btn-secondary {
    background: white;
    color: #7c3aed;
    border-color: white;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }

  .btn:hover {
    transform: none;
  }
}
