/* Privacy Hero Section */
.privacy-hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
  opacity: 0;
  animation: fadeIn 1s ease-in-out 1.5s forwards;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.hero-title {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeInDown 1s ease-in-out 2.5s forwards;
}

.hero-tagline {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeInUp 1s ease-in-out 3s forwards;
}

.hero-background {
  position: absolute;
  top: 0rem;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../assets/background/stfx_bg_10.jpg") no-repeat center
    center/cover;
  z-index: -1;
  opacity: 0.5;
  background-attachment: fixed;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Privacy Sections General Styling */
.privacy-section {
  padding: 5rem 0;
  position: relative;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  margin-bottom: 3rem;
  text-align: center;
  color: #00ff88;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #00ff88;
  border-radius: 3px;
}

.section-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

/* Introduction Section */
.introduction {
  background-color: #0a0a0a;
  color: #f0f8ff;
}

.section-content {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.text-content {
  flex: 1;
}

.text-content p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.image-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Information Collection Section */
.information-collection {
  background-color: #1a1a1a;
  color: #f0f8ff;
}

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

/* Data Usage Section */
.data-usage {
  background-color: #0a0a0a;
  color: #f0f8ff;
}

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

/* Data Protection Section */
.data-protection {
  background-color: #1a1a1a;
  color: #f0f8ff;
}

.protection-content {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
  flex-direction: row-reverse;
}

.protection-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.protection-text p {
  margin-bottom: 2rem;
  line-height: 1.8;
}

.protection-image {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Your Rights Section */
.your-rights {
  background-color: #0a0a0a;
  color: #f0f8ff;
}

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

/* Flip Card Styles */
.flip-card {
  background-color: transparent;
  perspective: 1000px;
  height: 450px;
  min-width: 250px;
}

.flip-card-2 {
  background-color: transparent;
  perspective: 1000px;
  height: 300px;
  min-width: 250px;
}

.flip-card-3 {
  background-color: transparent;
  perspective: 1000px;
  height: 379px;
  min-width: 250px;
}

.flip-card-4 {
  background-color: transparent;
  perspective: 1000px;
  height: 370px;
  min-width: 250px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  border-radius: 10px;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 255, 136, 0.3);
}

.flip-card.active .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-2:hover .flip-card-inner {
  transform: rotateY(180deg);
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 255, 136, 0.3);
}

.flip-card-2.active .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-3:hover .flip-card-inner {
  transform: rotateY(180deg);
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 255, 136, 0.3);
}

.flip-card-3.active .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-4:hover .flip-card-inner {
  transform: rotateY(180deg);
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 255, 136, 0.3);
}

.flip-card-4.active .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 10px;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.flip-card-front {
  background-color: #2a2a2a;
  color: #f0f8ff;
}

.flip-card-back {
  background-color: #1a1a1a;
  color: #f0f8ff;
  transform: rotateY(180deg);
  /* border: 1px solid #00ff88; */
  text-align: left;
  overflow-y: auto;
}

.flip-card-back p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.flip-back-btn {
  background: #00ff88;
  color: #0a0a0a;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: auto;
  align-self: center;
  font-weight: 600;
  transition: all 0.3s ease;
}

.flip-back-btn:hover {
  background: #00cc66;
}

/* Card Specific Styles */
.privacy-badge {
  background: #1a1a1a;
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid #333;
  text-align: center;
  transition: all 0.3s ease;
  height: 180px;
}

.privacy-badge:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 255, 136, 0.3);
}

.privacy-badge i {
  font-size: 2.5rem;
  color: #00ff88;
  margin-bottom: 1rem;
}

.privacy-badge h4 {
  margin-bottom: 0.5rem;
  color: #f0f8ff;
}

.privacy-badge p {
  color: #aaa;
}

.privacy-icon {
  width: 60px;
  height: 60px;
  background: #1a1a1a;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.5rem;
  color: #00ff88;
}

.privacy-card-title {
  margin-bottom: 1rem;
  text-align: center;
  color: #f0f8ff;
}

.privacy-list {
  list-style-type: none;
  padding-left: 1.5rem;
}

.privacy-list li {
  position: relative;
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.privacy-list li::before {
  content: "•";
  color: #00ff88;
  font-size: 1.5rem;
  position: absolute;
  left: -1.5rem;
  top: -3px;
}

.usage-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #00ff88;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.usage-details {
  list-style-type: none;
  padding-left: 0;
}

.usage-details li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.usage-details li::before {
  content: "•";
  color: #00ff88;
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -3px;
}

.protection-subtitle {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #00ff88;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.protection-list {
  list-style-type: none;
  padding-left: 0;
}

.protection-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
  line-height: 1.6;
}

.protection-list li::before {
  content: "•";
  color: #00ff88;
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: -3px;
}

.rights-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #00ff88;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.rights-process {
  margin-top: 1rem;
  padding: 0.8rem;
  background: rgba(0, 255, 136, 0.1);
  border-radius: 5px;
  font-size: 0.9rem;
}

/* Collection Note */
.collection-note {
  margin-top: 2rem;
  padding: 1rem;
  background: rgba(0, 255, 136, 0.1);
  border-radius: 5px;
  border-left: 4px solid #00ff88;
}

.collection-note i {
  color: #00ff88;
  margin-right: 0.5rem;
}

/* Legal Basis */
.legal-basis {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(0, 255, 136, 0.1);
  border-radius: 10px;
}

.legal-basis h4 {
  margin-bottom: 1rem;
  color: #00ff88;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Rights Footer */
.rights-footer {
  margin-top: 2rem;
  padding: 1rem;
  background: rgba(255, 0, 0, 0.1);
  border-radius: 5px;
  border-left: 4px solid #ff5555;
}

.rights-footer i {
  color: #ff5555;
  margin-right: 0.5rem;
}

/* Protection Badges */
.protection-badge {
  background: #2a2a2a;
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid #333;
  text-align: center;
  transition: all 0.3s ease;
}

.protection-badge:hover {
  transform: translateY(-5px);
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(0, 255, 136, 0.3);
}

.protection-badge i {
  font-size: 2.5rem;
  color: #00ff88;
  margin-bottom: 1rem;
}

.protection-badge h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #f0f8ff;
}

.protection-badge p {
  font-size: 0.9rem;
  color: #aaa;
}

/* Contact Section */
.privacy-contact {
  background: linear-gradient(135deg, #00ff88, #00cc66);
  padding: 4rem 0;
  text-align: center;
}

.contact-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.contact-title {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: #0a0a0a;
}

.contact-text {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #0a0a0a;
  opacity: 0.9;
}

.contact-methods {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.5rem;
  background: rgba(10, 10, 10, 0.1);
  border-radius: 50px;
  transition: all 0.3s ease;
}

.contact-method:hover {
  background: rgba(10, 10, 10, 0.2);
  transform: translateY(-3px);
}

.contact-method i {
  font-size: 1.2rem;
  color: #0a0a0a;
}

.contact-method a {
  color: #0a0a0a;
  text-decoration: none;
  display: flex;
  align-items: end;
  gap: 10px;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .section-content,
  .protection-content {
    flex-direction: column;
  }

  .image-content,
  .protection-image {
    order: -1;
    margin-bottom: 2rem;
  }

  .hero-title {
    font-size: 2.8rem;
  }

  .privacy-tagline {
    font-size: 1.2rem;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .contact-title {
    font-size: 1.8rem;
  }

  .contact-text {
    font-size: 1rem;
  }

  .contact-methods {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  /* Mobile Flip Behavior */
  .flip-card {
    height: 250px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.8rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .flip-card {
    height: 220px;
  }
}

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
