/* Base Variables */
:root {
  --primary-color: #2E7D6A;
  --secondary-color: #F4A261;
  --accent-color: #E76F51;
  --light-bg: #F5F5F5;
  --second-bg: #E9E6DF;
  --dark-bg: #2D3047;
  --mint-green: #84B59F;
  --light-pink: #F2D1C9;
  --sand-color: #D4C1A1;
  --text-dark: #333333;
  --text-light: #ffffff;
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  --paper-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  --border-radius: 10px;
  --transition: all 0.3s ease;
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%; /* 10px */
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.6rem;
  color: var(--text-dark);
  background-color: var(--light-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

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

h1 {
  font-size: 3.6rem;
}

h2 {
  font-size: 3rem;
}

h3 {
  font-size: 2.4rem;
}

h4 {
  font-size: 2rem;
}

p {
  margin-bottom: 1.6rem;
}

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

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

ul, ol {
  list-style-position: inside;
  margin-bottom: 2rem;
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

.container {
  width: 100%;
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 2rem;
}

section {
  padding: 5rem 0;
}

button, .button {
  display: inline-block;
  padding: 1.2rem 2.4rem;
  background-color: var(--primary-color);
  color: var(--text-light);
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
  transition: var(--transition);
}

button:hover, .button:hover {
  background-color: var(--accent-color);
  transform: translateY(-3px);
}

/* Paper-craft Design Elements */
.paper-element {
  background-color: var(--light-bg);
  border-radius: var(--border-radius);
  box-shadow: var(--paper-shadow);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  margin-bottom: 3rem;
  transform-style: preserve-3d;
  transform: perspective(1000px) rotateX(2deg);
}

.paper-element::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0.1) 100%);
  z-index: -1;
}

.paper-fold {
  position: absolute;
  width: 2rem;
  height: 2rem;
  background-color: rgba(0,0,0,0.05);
  transform: rotate(45deg);
}

.paper-fold-top-right {
  top: -1rem;
  right: -1rem;
}

.paper-fold-bottom-left {
  bottom: -1rem;
  left: -1rem;
}

.paper-tear {
  position: relative;
}

.paper-tear::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 0;
  width: 100%;
  height: 15px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 10'%3E%3Cpath fill='%23F5F5F5' d='M0 0 Q 5 10 10 0 Q 15 10 20 0 Q 25 10 30 0 Q 35 10 40 0 Q 45 10 50 0 Q 55 10 60 0 Q 65 10 70 0 Q 75 10 80 0 Q 85 10 90 0 Q 95 10 100 0 V 10 H 0 Z'/%3E%3C/svg%3E");
  background-size: 100px 15px;
  background-repeat: repeat-x;
}

/* Header */
.main-header {
  padding: 2rem 0;
  background-color: var(--light-bg);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 100;
}

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

.logo {
  max-width: 20rem;
  transition: var(--transition);
}

.logo:hover {
  transform: scale(1.05);
}

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

.main-nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
}

.main-nav a {
  font-size: 1.8rem;
  font-weight: 500;
  padding: 0.8rem 1.6rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.main-nav a:hover, .main-nav a.active {
  background-color: var(--mint-green);
  color: var(--text-light);
}

/* Hero Section */
.hero {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 8rem 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--mint-green) 100%);
  opacity: 0.8;
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 70rem;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: 4.8rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  position: relative;
}

.hero h1::after {
  content: '';
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 10rem;
  height: 0.4rem;
  background-color: var(--secondary-color);
  border-radius: 2rem;
}

.hero p {
  font-size: 2rem;
  margin-bottom: 3rem;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.hero-button {
  padding: 1.4rem 3rem;
  font-size: 1.8rem;
  border-radius: 3rem;
  transition: var(--transition);
}

.hero-button.primary {
  background-color: var(--secondary-color);
  color: var(--text-dark);
}

.hero-button.primary:hover {
  background-color: var(--accent-color);
  color: var(--text-light);
}

.hero-button.secondary {
  background-color: transparent;
  border: 2px solid var(--text-light);
  color: var(--text-light);
}

.hero-button.secondary:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
}

/* Radial Content Flow Layout */
.radial-layout {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
  gap: 3rem;
  margin: 4rem 0;
  position: relative;
}

.radial-center {
  grid-column: 1 / -1;
  text-align: center;
  margin-bottom: 4rem;
}

.radial-item {
  transform: perspective(1000px) rotateY(0deg);
  transition: transform 0.5s ease;
  cursor: pointer;
}

.radial-item:hover {
  transform: perspective(1000px) rotateY(5deg) translateZ(10px);
}

.radial-item:nth-child(odd):hover {
  transform: perspective(1000px) rotateY(-5deg) translateZ(10px);
}

.radial-item-inner {
  background-color: var(--second-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--paper-shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.radial-item-content {
  padding: 2rem;
  flex-grow: 1;
}

.radial-item-image {
  height: 20rem;
  overflow: hidden;
}

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

.radial-item:hover .radial-item-image img {
  transform: scale(1.05);
}

.radial-item h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

/* Features Section */
.features {
  background-color: var(--second-bg);
  padding: 8rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
}

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

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 8rem;
  height: 0.3rem;
  background-color: var(--secondary-color);
  border-radius: 1.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
  gap: 3rem;
}

.feature-item {
  background-color: var(--light-bg);
  border-radius: var(--border-radius);
  padding: 3rem;
  box-shadow: var(--paper-shadow);
  text-align: center;
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateY(-1rem);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  width: 8rem;
  height: 8rem;
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--mint-green);
  border-radius: 50%;
  color: var(--text-light);
  font-size: 3.2rem;
}

.feature-item h3 {
  margin-bottom: 1.5rem;
}

/* About Section */
.about {
  padding: 8rem 0;
}

.about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4rem;
}

.about-text {
  flex: 1 1 40rem;
}

.about-image {
  flex: 1 1 40rem;
  position: relative;
}

.about-image img {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.about-image::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: 2rem;
  width: 100%;
  height: 100%;
  border: 3px solid var(--secondary-color);
  border-radius: var(--border-radius);
  z-index: -1;
}

/* Steps Section */
.steps {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 8rem 0;
}

.steps .section-header h2 {
  color: var(--text-light);
}

.steps .section-header h2::after {
  background-color: var(--secondary-color);
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 80rem;
  margin: 0 auto;
}

.step-item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius);
  padding: 3rem;
  transition: var(--transition);
}

.step-item:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateX(1rem);
}

.step-number {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background-color: var(--secondary-color);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h3 {
  color: var(--text-light);
  margin-bottom: 1rem;
}

/* Contact Section */
.contact {
  padding: 8rem 0;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 4rem;
}

.contact-info {
  flex: 1 1 30rem;
}

.contact-form {
  flex: 1 1 50rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-info-icon {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}

.contact-form-container {
  background-color: var(--second-bg);
  border-radius: var(--border-radius);
  padding: 3rem;
  box-shadow: var(--shadow);
}

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

.form-label {
  display: block;
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 1.2rem;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 1.6rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(46, 125, 106, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 15rem;
}

.form-submit {
  background-color: var(--primary-color);
  color: var(--text-light);
  border: none;
  padding: 1.2rem 2.4rem;
  border-radius: var(--border-radius);
  font-size: 1.6rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  width: 100%;
}

.form-submit:hover {
  background-color: var(--accent-color);
}

/* Footer */
.footer {
  background-color: var(--dark-bg);
  color: var(--text-light);
  padding: 5rem 0 2rem;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo {
  max-width: 18rem;
  margin-bottom: 2rem;
}

.footer-info {
  flex: 1 1 30rem;
}

.footer-links {
  flex: 1 1 20rem;
}

.footer-links h4 {
  color: var(--text-light);
  margin-bottom: 2rem;
}

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

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  color: #ccc;
  transition: var(--transition);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Consent */
.cookie-consent {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  background-color: var(--dark-bg);
  color: var(--text-light);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  z-index: 1000;
  display: none;
}

.cookie-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cookie-text {
  flex: 1 1 40rem;
}

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

.cookie-settings {
  background-color: var(--dark-bg);
  padding: 2rem;
  border-radius: var(--border-radius);
  margin-top: 1.5rem;
  display: none;
}

.cookie-settings h3 {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

.cookie-settings label {
  display: block;
  margin-bottom: 1rem;
  cursor: pointer;
  color: var(--text-light);
}

.iti {
  width: 100%;
}

.show-cookie-settings {
  background-color: transparent;
  border: 1px solid var(--text-light);
  color: var(--text-light);
}

/* Thank You Page */
.thank-you {
  text-align: center;
  padding: 10rem 0;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.thank-you-icon {
  font-size: 8rem;
  color: var(--primary-color);
  margin-bottom: 3rem;
}

.thank-you h1 {
  margin-bottom: 2rem;
}

.thank-you p {
  max-width: 60rem;
  margin: 0 auto 3rem;
}

.nav-close {
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  html {
    font-size: 55%;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -30rem;
    width: 30rem;
    height: 100vh;
    background-color: var(--light-bg);
    padding: 6rem 2rem 2rem;
    transition: 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    z-index: 1000;
  }
  
  .main-nav.active {
    right: 0;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
  }
  
  .main-nav a {
    display: block;
    padding: 1.2rem;
  }
  
  .nav-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 2.4rem;
    cursor: pointer;
  }
  
  .hero h1 {
    font-size: 3.6rem;
  }
  
  .hero p {
    font-size: 1.8rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .about-content {
    flex-direction: column;
  }
  
  .contact-container {
    flex-direction: column;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 3rem;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 50%;
  }
  
  .header-container {
    flex-direction: column;
    text-align: center;
  }
  
  .logo {
    margin-bottom: 1.5rem;
  }
  
  .hero {
    padding: 6rem 0;
  }
  
  .hero h1 {
    font-size: 3.2rem;
  }
  
  .features-grid, .radial-layout {
    grid-template-columns: 1fr;
  }
  
  .step-item {
    flex-direction: column;
  }
  
  .step-number {
    margin-bottom: 1.5rem;
  }
}

/* Animation classes for GSAP */
.fade-in {
  opacity: 0;
}

.slide-up {
  opacity: 0;
  transform: translateY(5rem);
}

.slide-right {
  opacity: 0;
  transform: translateX(-5rem);
}

.slide-left {
  opacity: 0;
  transform: translateX(5rem);
}

.scale-in {
  opacity: 0;
  transform: scale(0.8);
}

/* Page specific styles */
.page-header {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: 5rem 0;
  text-align: center;
}

.page-header h1 {
  color: var(--text-light);
}

.breadcrumbs {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  font-size: 1.4rem;
}

.breadcrumbs a {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumbs a:hover {
  color: var(--text-light);
}

.breadcrumbs .separator {
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumbs .current {
  color: var(--secondary-color);
}

/* Policy Pages */
.policy-content {
  max-width: 80rem;
  margin: 0 auto;
  padding: 5rem 0;
}

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

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

.policy-content p, .policy-content ul {
  margin-bottom: 2rem;
}

.policy-content ul {
  list-style-type: disc;
  padding-left: 2rem;
}

.policy-content .update-date {
  font-style: italic;
  color: #777;
  margin-bottom: 3rem;
  text-align: right;
}

/* 404 Page */
.error-page {
  text-align: center;
  padding: 10rem 0;
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.error-page h1 {
  font-size: 10rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
}

.error-page p {
  max-width: 60rem;
  margin: 0 auto 3rem;
}