/* ===== Base Styles ===== */
:root {
  --primary: #2D5D7B;
  --secondary: #FF7E45;
  --accent-1: #4ECDC4;
  --accent-2: #FFD166;
  --bg-primary: #F7F9FC;
  --bg-secondary: #E5EDF5;
  --text-primary: #333333;
  --text-secondary: #666666;
  --white: #FFFFFF;
  --black: #000000;
  --gray-light: #F1F1F1;
  --gray: #CCCCCC;
  --gray-dark: #888888;
  --transition: all 0.3s ease-in-out;
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --border-radius-sm: 4px;
  --border-radius: 8px;
  --border-radius-lg: 16px;
  --border-radius-xl: 24px;
  --border-radius-full: 9999px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Red Hat Display', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.iti {
  width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--primary);
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1.5rem;
  font-weight: 400;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary);
}

ul, ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, .btn {
  cursor: pointer;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: 'Red Hat Display', sans-serif;
  font-weight: 500;
  font-size: 1rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #234b64;
  color: var(--white);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: #e66d3b;
  color: var(--white);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--white);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Header & Navigation ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--white);
  box-shadow: var(--shadow);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
}

.logo {
  height: 60px;
  width: auto;
}

.nav-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

.main-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100vh;
  background-color: var(--white);
  padding: 6rem 2rem 2rem;
  transition: var(--transition);
  z-index: 99;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.main-nav.active {
  right: 0;
}

.nav-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-item {
  margin-bottom: 1.5rem;
}

.nav-link {
  display: block;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--primary);
  transition: var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4rem 0;
  background-color: var(--bg-secondary);
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 100%;
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: var(--text-secondary);
  font-weight: 400;
}

.hero-image {
  margin-top: 2rem;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* ===== Radial Content Flow Layout ===== */
.radial-content {
  position: relative;
  padding: 4rem 0;
}

.center-point {
  position: relative;
  width: 120px;
  height: 120px;
  background-color: var(--primary);
  border-radius: 50%;
  margin: 0 auto 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.2rem;
  text-align: center;
  box-shadow: var(--shadow);
  z-index: 2;
}

.radial-items {
  position: relative;
  margin: 0 auto;
  height: auto;
}

.radial-item {
  position: relative;
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  z-index: 1;
}

.radial-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.radial-item-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.radial-item-icon {
  width: 40px;
  height: 40px;
  background-color: var(--accent-1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 1rem;
  color: var(--white);
  font-size: 1.2rem;
}

.radial-item-title {
  font-size: 1.2rem;
  margin: 0;
}

.radial-connector {
  display: none;
}

/* ===== Features Section ===== */
.features {
  padding: 4rem 0;
  background-color: var(--white);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  display: inline-block;
  position: relative;
  padding-bottom: 1rem;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.feature-card {
  background-color: var(--bg-primary);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-image {
  height: 200px;
  overflow: hidden;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.feature-card:hover .feature-image img {
  transform: scale(1.05);
}

.feature-content {
  padding: 1.5rem;
}

.feature-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.feature-text {
  margin-bottom: 1.5rem;
}

/* ===== Call to Action ===== */
.cta {
  padding: 4rem 0;
  background-color: var(--primary);
  color: var(--white);
  text-align: center;
}

.cta-title {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.cta-text {
  margin-bottom: 2rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn {
  background-color: var(--secondary);
  color: var(--white);
  padding: 0.75rem 2rem;
  font-weight: 500;
  border-radius: var(--border-radius);
  transition: var(--transition);
  display: inline-block;
}

.cta-btn:hover {
  background-color: #e66d3b;
  color: var(--white);
}

/* ===== Contact Form ===== */
.contact-form-section {
  padding: 4rem 0;
  background-color: var(--bg-primary);
}

.contact-form-container {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--text-primary);
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--gray);
  border-radius: var(--border-radius-sm);
  font-family: 'Red Hat Display', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45, 93, 123, 0.1);
}

.form-submit {
  width: 100%;
  background-color: var(--primary);
  color: var(--white);
  border: none;
  padding: 0.75rem;
  border-radius: var(--border-radius-sm);
  font-family: 'Red Hat Display', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.form-submit:hover {
  background-color: #234b64;
}

/* ===== Footer ===== */
.site-footer {
  background-color: var(--primary);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.footer-section h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background-color: var(--secondary);
}

.footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.footer-contact-icon {
  margin-right: 0.75rem;
  color: var(--accent-2);
  font-size: 1.2rem;
  margin-top: 0.2rem;
}

.footer-contact-text {
  flex: 1;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-link-item {
  margin-bottom: 0.5rem;
}

.footer-link {
  color: var(--gray-light);
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--secondary);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ===== Cookie Consent ===== */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  padding: 1.5rem;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  display: none;
}

.cookie-consent.show {
  display: block;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-text {
  margin-bottom: 1rem;
}

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

.cookie-btn {
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-sm);
  font-family: 'Red Hat Display', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.cookie-settings-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  padding: 1rem;
  display: none;
}

.cookie-settings-modal.show {
  display: flex;
}

.cookie-settings-content {
  background-color: var(--white);
  border-radius: var(--border-radius);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
}

.cookie-settings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.cookie-settings-title {
  margin: 0;
  font-size: 1.5rem;
}

.cookie-settings-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
}

.cookie-category {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--gray-light);
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.cookie-category-title {
  margin: 0;
  font-size: 1.2rem;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--gray);
  transition: var(--transition);
  border-radius: 34px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: var(--white);
  transition: var(--transition);
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: var(--primary);
}

input:checked + .toggle-slider:before {
  transform: translateX(26px);
}

.cookie-category-desc {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.cookie-settings-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

.btn-cookie-save {
  background-color: var(--primary);
  color: var(--white);
}

.btn-cookie-save:hover {
  background-color: #234b64;
}

/* ===== Page Content Styles ===== */
.page-header {
  background-color: var(--primary);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}

.page-title {
  color: var(--white);
  margin-bottom: 1rem;
}

.page-description {
  max-width: 800px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
}

.page-content {
  padding: 4rem 0;
}

.content-section {
  margin-bottom: 4rem;
}

.content-image {
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
}

.principles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.principle-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.principle-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.principle-icon {
  width: 60px;
  height: 60px;
  background-color: var(--accent-1);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1.5rem;
  color: var(--white);
  font-size: 1.5rem;
}

.principle-content {
  padding: 2rem;
  text-align: center;
}

.principle-title {
  margin-bottom: 1rem;
}

/* ===== Thanks Page ===== */
.thanks-page {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 4rem 1rem;
}

.thanks-icon {
  font-size: 4rem;
  color: var(--accent-1);
  margin-bottom: 2rem;
}

.thanks-title {
  margin-bottom: 1rem;
}

.thanks-text {
  max-width: 600px;
  margin-bottom: 2rem;
}

.back-home {
  display: inline-block;
  background-color: var(--primary);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  font-weight: 500;
}

.back-home:hover {
  background-color: #234b64;
  color: var(--white);
}

/* ===== Policy Pages ===== */
.policy-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 1rem;
}

.policy-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.policy-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.policy-content p {
  margin-bottom: 1rem;
}

.policy-content ul {
  margin-bottom: 1.5rem;
}

.policy-date {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* ===== Media Queries ===== */
@media (min-width: 576px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.25rem;
  }
  
  h3 {
    font-size: 1.75rem;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .cookie-buttons {
    justify-content: flex-end;
  }
}

@media (min-width: 768px) {
  .features-grid,
  .principles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .radial-item {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .radial-connector {
    display: block;
    position: absolute;
    background-color: var(--accent-1);
    width: 3px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    z-index: 0;
  }
}

@media (min-width: 992px) {
  .nav-toggle {
    display: none;
  }
  
  .main-nav {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    background: none;
    box-shadow: none;
    overflow: visible;
  }
  
  .nav-close {
    display: none;
  }
  
  .nav-list {
    display: flex;
    align-items: center;
  }
  
  .nav-item {
    margin: 0 0 0 1.5rem;
  }
  
  .hero-content {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
  }
  
  .hero-text {
    flex: 1;
  }
  
  .hero-image {
    flex: 1;
    margin-top: 0;
  }
  
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Radial Content Flow Layout for Desktop */
  .radial-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    height: 1200px;
  }
  
  .radial-item {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    position: absolute;
  }
  
  .radial-item:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .radial-item:nth-child(2) {
    top: 150px;
    left: 20%;
  }
  
  .radial-item:nth-child(3) {
    top: 150px;
    right: 20%;
  }
  
  .radial-item:nth-child(4) {
    top: 400px;
    left: 5%;
  }
  
  .radial-item:nth-child(5) {
    top: 400px;
    right: 5%;
  }
  
  .radial-item:nth-child(6) {
    top: 650px;
    left: 20%;
  }
  
  .radial-item:nth-child(7) {
    top: 650px;
    right: 20%;
  }
  
  .radial-item:nth-child(8) {
    top: 900px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .radial-connector {
    width: 100%;
    height: 3px;
    top: 15%;
    transform: translateY(-50%);
  }
}

@media (min-width: 1200px) {
  .container {
    padding: 0 2rem;
  }
  
  .principles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}