@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@tailwind base;
@tailwind components;
@tailwind utilities;

:root {
  --primary: #f5f6fa;
  --secondary: #0984e3;
  --text: #f5f6fa;
  --background: #0f172a;
  --surface: rgba(30, 41, 59, 0.2);
  --surface-hover: rgba(30, 41, 59, 0.3);
  --nav-height: 4.5rem;
  --border: rgba(148, 163, 184, 0.1);
  --text-secondary: #94a3b8;
}

html {
  scroll-behavior: smooth;
  font-family: 'Poppins', sans-serif;
}
*{
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: var(--background);
  color: var(--primary);
  font-family: 'Poppins', sans-serif;
}

.legal-section {
  /* background: linear-gradient(145deg, var(--background), #1e1e1e); */
  color: var(--primary);
  max-width: 1000px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  border-radius: 20px;
  /* box-shadow: 0 0 30px rgba(0,0,0,0.2); */
  transition: all 0.3s ease-in-out;
}

.legal-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  color: var(--primary);
  margin-bottom: 1rem;
}

.legal-divider {
  width: 30%;
  height: 1px;
  background-color: var(--secondary);
  box-shadow: 0 0 12px var(--secondary);
  margin: 0 auto 2rem;
  transition: all 0.4s ease;
}

.legal-header:hover .legal-divider {
  width: 50%;
  height: 2px;
  margin-top: -0.7rem;
}

.legal-content section {
  margin-bottom: 3rem;
  background: var(--surface);
  padding: 1.5rem;
  border-left: 4px solid var(--secondary);
  border-radius: 12px;
  transition: transform 0.3s ease;
}

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

.legal-content h2 {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.legal-content h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.legal-content p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.7;
}

/* Icon styling */
.legal-content h2 i,
.legal-content h3 i {
  color: var(--primary);
  transition: all 0.3s ease;
}

.legal-content section:hover h2 i,
.legal-content section:hover h3 i {
  color: var(--secondary);
  transform: scale(1.1);
}

.partners-section {
  background: var(--background);
  padding: 4rem 10rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.partners-header h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.partners-divider {
  width: 60px;
  height: 3px;
  background-color: var(--secondary);
  margin: 0 auto 2.5rem;
  box-shadow: 0 0 12px var(--secondary);
  transition: width 0.4s ease;
}

.partners-section:hover .partners-divider {
  width: 100px;
}

.partners-icons {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  align-items: center;
}

.partner-icon {
  font-size: 3rem;
  color: white;
  opacity: 0.8;
  transition: all 0.3s ease;
  cursor: pointer;
}

/* Hover effect */
.partner-icon:hover {
  color: #3498db;
  transform: scale(1.15);
  opacity: 1;
}

/* Support for inline SVG as logos */
.partner-icon svg {
  /* width: 50px;
  height: 50px; */
  fill: white;
  transition: fill 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.8;
}

.partner-icon:hover svg{
  fill: #3498db;
  transform: scale(1.15);
  opacity: 0.3;
}

.svg-icon {
  transition: all 0.3s ease;
  opacity: 0.8;
}

.svg-icon:hover {
  fill: #3498db !important;
  opacity: 1;
  transform: scale(1.15);
}

.contact-cta {
  background: var(--background);
  padding: 4rem 1.5rem;
  display: flex;
  justify-content: center;
}

.cta-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  max-width: 1000px;
  width: 100%;
  padding: 2.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  transition: all 0.8s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

.cta-card:hover {
  background: var(--surface-hover);
  transform: translateY(-5px);
  border-color: var(--secondary);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.cta-text h2 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cta-text p {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 600px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  color: white;
  background-color: var(--secondary);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.cta-button:hover {
  background-color: #0c7cd5;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.cta-button i {
  font-size: 1.1rem;
}

/* WhatsApp Button */
.cta-button.whatsapp {
  background-color: #25D366;
}

.cta-button.whatsapp:hover {
  background-color: #1ebe5d;
}

/* Call Now Button */
.cta-button.call {
  background-color: #007bff;
}

.cta-button.call:hover {
  background-color: #005dc1;
}

/* ========================= */
/* RESPONSIVE MEDIA QUERIES */
/* ========================= */

@media (max-width: 1024px) {
  .cta-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
  }

  .cta-buttons {
    justify-content: flex-start;
  }

  .partners-section {
    padding: 4rem 3rem;
  }
}

@media (max-width: 768px) {
  .legal-header h1 {
    font-size: 2rem;
  }

  .legal-content h2 {
    font-size: 1.5rem;
  }

  .legal-content h3 {
    font-size: 1.1rem;
  }

  .partners-section {
    padding: 3rem 2rem;
  }

  .cta-text h2 {
    font-size: 1.5rem;
  }

  .cta-text p {
    font-size: 0.95rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .cta-button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .legal-section {
    padding: 2.5rem 1rem;
  }

  .legal-header h1 {
    font-size: 1.6rem;
  }

  .legal-content section {
    padding: 1rem;
  }

  .legal-content p {
    font-size: 0.9rem;
  }

  .partners-section {
    padding: 2.5rem 1rem;
  }

  .partner-icon {
    font-size: 2.5rem;
  }

  .cta-card {
    padding: 2rem 1rem;
  }

  .cta-text h2 {
    font-size: 1.3rem;
  }

  .cta-text p {
    font-size: 0.9rem;
  }

  .cta-button {
    font-size: 0.95rem;
    padding: 0.65rem 1.2rem;
  }
}
