/* General body styling */
body {
  overflow-x: hidden;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
body.lang-pt [data-lang="en"] { display: none; }
body.lang-en [data-lang="pt"] { display: none; }

/* Header & Banner */
.banner-gradient {
  background: radial-gradient(circle at center, #2a1b55 0%, #1c0c3a 30%, #10072b 60%, #0a0520 100%);
  background-size: 300% 300%;
  animation: fuzzyGradientAnimation 20s ease infinite alternate;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.home-banner {
  min-height: 100vh;
}
.subpage-banner {
  min-height: 50vh;
}
@keyframes fuzzyGradientAnimation {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}
.banner-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.banner-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  flex-grow: 1;
  display: flex;
  align-items: center;
}
.banner-content {
  max-width: 720px;
  color: white;
  text-align: left;
}

/* Call-to-Action Buttons */
.cta-button {
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem; /* Increased gap for icon */
    border: 2px solid transparent;
    text-decoration: none;
}
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.cta-secondary {
    background-color: rgba(255, 255, 255, 0.15);
    color: white;
}
.cta-secondary:hover {
    background-color: rgba(255, 255, 255, 0.3);
}
.cta-button svg {
    width: 1.25rem;
    height: 1.25rem;
    fill: white; /* Ensure all icons are white */
}

.page-header {
    background-color: #10072B;
    color: white;
    padding: 4rem 1.5rem;
}

/* Navigation */
.desktop-menu a { font-size: 0.875rem; }
.right-aligned-controls-desktop { display: none; }
@media (min-width: 768px) {
    .right-aligned-controls-desktop { display: flex; align-items: center; gap: 1rem; }
}
#language-switcher, #language-switcher-mobile { display: flex; align-items: center; font-size: 0.875rem; font-weight: 500; color: white; gap: 0.25rem; }
#language-switcher span, #language-switcher-mobile span { cursor: pointer; padding: 0.25rem 0.5rem; border-radius: 0.25rem; transition: background-color 0.3s ease, color 0.3s ease; display: flex; align-items: center; gap: 0.5rem; }
#language-switcher span:hover, #language-switcher-mobile span:hover { background-color: rgba(255, 255, 255, 0.1); }
#language-switcher span.active, #language-switcher-mobile span.active { background-color: rgba(255, 255, 255, 0.2); font-weight: bold; }
#language-switcher span:not(.active), #language-switcher-mobile span:not(.active), .language-separator { color: #b0a7c0; }
.flag { width: 20px; height: auto; border-radius: 2px; }
.login-button { color: white; padding: 0.5rem 1rem; border-radius: 9999px; border: 1px solid white; transition: all 0.3s ease-in-out; font-weight: 500; font-size: 0.875rem; }
.login-button:hover { background-color: white; color: #10072B; }

/* Mobile Controls */
.mobile-controls { display: flex; align-items: center; gap: 1rem; }
@media (min-width: 768px) { .mobile-controls { display: none; } }
.mobile-menu-button { color: white; }

/* Sections & Content */
.section-content-wrapper { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.service-item { padding: 1.5rem; background-color: white; border: 1px solid #e5e7eb; border-radius: 0.5rem; box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06); display: flex; flex-direction: column; align-items: center; }
.service-icon { width: 48px; height: 48px; margin-bottom: 0.75rem; stroke: #301d59; stroke-width: 1.5; fill: none; }
.bg-graybg { background-color: #F6F6F6; }

/* Footer */
footer { background-color: #10072B; }
.footer-container { max-width: 1200px; margin: 0 auto; padding: 1rem 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-left, .footer-center, .footer-right { flex: 1 1 200px; display: flex; flex-direction: column; justify-content: center; }
.footer-center { align-items: center; }
.footer-right { align-items: flex-end; }
.footer-text-gray { color: #b0a7c0; font-weight: 400; font-size: 0.875rem; }
.social-icons { display: flex; align-items: center; gap: 0.75rem; }
.social-icons a svg { width: 24px; height: 24px; fill: white; transition: fill 0.3s ease; }
.social-icons a:hover svg { fill: #a78bfa; }
@media (max-width: 768px) {
  .footer-container { flex-direction: column; align-items: center; text-align: center; }
  .footer-left, .footer-center, .footer-right { flex: none; width: 100%; align-items: center !important; }
  .footer-right { margin-top: 1rem; }
}

/* Mobile Menu Drawer */
#drawer-overlay { position: fixed; inset: 0; background-color: black; opacity: 0; pointer-events: none; transition: opacity 0.3s; z-index: 40; }
#drawer-overlay.active { opacity: 0.5; pointer-events: auto; }
#mobile-menu-drawer { position: fixed; top: 0; right: 0; height: 100%; background-color: #10072B; width: 256px; transform: translateX(100%); transition: transform 0.3s ease-in-out; z-index: 50; padding: 1.5rem; color: white; }
#mobile-menu-drawer.open { transform: translateX(0); }
#close-menu-button { position: absolute; top: 1rem; right: 1rem; }
#mobile-menu-drawer nav { display: flex; flex-direction: column; gap: 1rem; margin-top: 2.5rem; }
.login-button-mobile { text-align: center; padding: 0.5rem; border: 1px solid white; border-radius: 9999px; }