/*--------------------------------------
  Legal & Policies Page CSS for LingoVerse Academy
----------------------------------------*/

/* CSS Variables for easy customization */
:root {
  --primary-color: #003366;
  --accent-color: #ffd400;
  --bg-color: #ffffff;
  --text-color: #333333;
  --container-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
  --transition-speed: 0.3s;
}

/* Global Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  background-color: #f9f9f9;
  color: var(--text-color);
  line-height: 1.6;
}

/*--------------------------------------
  Container Styles
----------------------------------------*/
.container.legal-container {
  max-width: 800px;
  margin: 3rem auto;
  background-color: var(--bg-color);
  padding: 2rem 2.5rem;
  border-radius: var(--border-radius);
  box-shadow: var(--container-shadow);
}

/*--------------------------------------
  Headings & Centering
----------------------------------------*/
.center {
  text-align: center;
}

h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  text-align: center;
}

/*--------------------------------------
  Section Styling
----------------------------------------*/
.legal-container section {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eee;
}

.legal-container section:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.legal-container p {
  margin-bottom: 1rem;
  font-size: 1rem;
  text-align: justify;
  text-justify: inter-word;
}

/*--------------------------------------
  Responsive Design
----------------------------------------*/
@media (max-width: 600px) {
  .container.legal-container {
    margin: 1rem;
    padding: 1.5rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .legal-container p {
    font-size: 0.95rem;
  }
}
