/* css/page.css */

/*==================== VARIABLES & BASE ====================*/
:root {
  --bg-color: #0d1117;
  --card-color: #161b22;
  --border-color: #30363d;
  --text-color: #c9d1d9;
  --text-color-secondary: #8b949e;
  --accent-gradient: linear-gradient(90deg, #8a2be2, #4b0082, #00ced1);
  --font-family: "Poppins", sans-serif;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-color);
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 3rem;
}

/*==================== HEADER (COPIED) ====================*/
.header {
  padding: 20px 0;
  position: sticky;
  top: 0;
  background-color: rgba(13, 17, 23, 0.8);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
}
.header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  text-decoration: none;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.language-switcher {
  position: relative;
  display: flex;
  align-items: center;
  color: var(--text-color-secondary);
}
.language-switcher .fa-globe {
  margin-right: 8px;
}
#language-select {
  background-color: transparent;
  color: var(--text-color-secondary);
  border: none;
  font-size: 1rem;
  font-family: var(--font-family);
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 15px;
}
#language-select:focus {
  outline: none;
}
#language-select option {
  background-color: var(--card-color);
  color: var(--text-color);
}
.nav-contact-button {
  background: var(--card-color);
  color: var(--text-color);
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  border: 1px solid var(--border-color);
  transition: background-color 0.3s;
}
.nav-contact-button:hover {
  background-color: var(--border-color);
}

/*==================== PAGE CONTENT LAYOUT ====================*/
.page-section {
  padding: 80px 0;
  min-height: calc(100vh - 250px); /* Adjust footer height if needed */
}

/*==================== FAQ STYLES (COPIED) ====================*/
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-item {
  background-color: var(--card-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
}
.faq-question i {
  transition: transform 0.3s ease;
}
.faq-answer {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, opacity 0.4s ease-out, padding 0.4s ease-out;
}
.faq-answer p {
  padding: 0 20px 20px 20px;
  color: var(--text-color-secondary);
  line-height: 1.6;
}
.faq-item.active .faq-question i {
  transform: rotate(180deg);
}
.faq-item.active .faq-answer {
  max-height: 300px;
  opacity: 1;
}

/*==================== PRIVACY STYLES (COPIED) ====================*/
.privacy-content {
  max-width: 800px;
  margin: 0 auto;
  color: var(--text-color-secondary);
  line-height: 1.7;
}
.privacy-content .last-updated {
  text-align: center;
  color: var(--text-color-secondary);
  margin-top: -2rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
}
.privacy-content h3 {
  color: var(--text-color);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}
.privacy-content p {
  margin-bottom: 1rem;
}

/*==================== FOOTER (COPIED & MODIFIED) ====================*/
.footer-new {
  background-color: var(--bg-color);
  border-top: 1px solid var(--border-color);
  padding: 20px 0;
}
.footer-bottom-section {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  color: var(--text-color-secondary);
}
.footer-legal {
  text-align: left;
}
.footer-legal .footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-color);
  margin-bottom: 10px;
}
.footer-legal p {
  font-size: 0.9rem;
  margin-bottom: 5px;
}
.footer-legal .separator {
  margin: 0 10px;
}
.footer-nav {
  display: flex;
  gap: 20px;
  justify-content: center;
}
.footer-nav a {
  color: var(--text-color-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}
.footer-nav a:hover {
  color: var(--text-color);
}
.footer-copyright {
  text-align: right;
}
.footer-copyright p {
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .footer-bottom-section {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-legal,
  .footer-copyright {
    text-align: center;
  }
  .footer-nav {
    margin: 20px 0;
  }
}
