:root {
  /* Primary Colors */
  --primary-color: #7eb5a6;
  --primary-dark: #5a9183;
  --primary-light: #9fcbbf;
  
  /* Secondary Colors */
  --secondary-color: #e8b4bc;
  --secondary-dark: #d4939d;
  --secondary-light: #f7d6db;
  
  /* Neutral Colors */
  --dark: #333333;
  --medium: #666666;
  --light: #f5f5f5;
  --white: #ffffff;
  
  /* Accent Colors */
  --accent1: #ffd6a5;
  --accent2: #a0c4ff;
  --accent3: #d4a5ff;
  
  /* Shadows */
  --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 10px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Borders */
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 16px;
  
  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Source Sans Pro', sans-serif;
}

/* Global Styles */
body {
  font-family: var(--font-body);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}

p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  color: var(--medium);
}

.lead {
  font-size: 1.2rem;
  font-weight: 300;
}

/* Buttons */
.btn {
  transition: all var(--transition-normal);
  border-radius: var(--border-radius-md);
  padding: 10px 20px;
  font-weight: 600;
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.5s ease;
  z-index: -1;
}

.btn:hover::before {
  width: 100%;
}

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

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

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

.btn-outline-light {
  color: var(--white);
  border-color: var(--white);
}

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

.btn-lg {
  padding: 15px 30px;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 5px 15px;
  font-size: 0.9rem;
}

/* Links */
a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover, a:focus {
  color: var(--primary-dark);
  text-decoration: underline;
}

footer a {
  transition: opacity var(--transition-fast);
}

footer a:hover {
  opacity: 0.8;
}

/* Card Styles */
.card {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  border: none;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

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

.card-image {
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.card-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

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

.card-body {
  padding: 1.5rem;
}

/* Header */
.header {
  transition: all var(--transition-normal);
  z-index: 1000;
}

.navbar {
  padding: 15px 0;
  transition: all var(--transition-normal);
}

.navbar-brand h1 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
}

.navbar-light .navbar-nav .nav-link {
  color: var(--dark);
  font-weight: 600;
  padding: 10px 15px;
  position: relative;
}

.navbar-light .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: all var(--transition-normal);
  transform: translateX(-50%);
}

.navbar-light .navbar-nav .nav-link:hover::after,
.navbar-light .navbar-nav .nav-link:focus::after {
  width: 70%;
}

.navbar-light .navbar-nav .nav-link.active {
  color: var(--primary-color);
}

.navbar-light .navbar-nav .nav-link.active::after {
  width: 70%;
}

/* Hero Section */
.hero {
  position: relative;
  padding: 100px 0;
  background-color: var(--light);
  overflow: hidden;
}

.hero h2 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

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

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.4));
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero .text-white {
  color: var(--white) !important;
}

.min-vh-75 {
  min-height: 75vh;
}

/* About Section */
.about {
  padding: 80px 0;
  background-color: var(--light);
}

.about img {
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-normal);
}

.about img:hover {
  transform: scale(1.02);
}

/* Process Section */
.process {
  padding: 80px 0;
  background-color: var(--white);
}

.process-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-light);
  line-height: 1;
}

.statistics-container {
  background-color: var(--light);
}

.statistic-item {
  text-align: center;
}

.statistic-value {
  color: var(--primary-color) !important;
  font-weight: 700;
}

.statistic-label {
  font-size: 1rem;
  color: var(--medium);
}

/* Partners Section */
.partners {
  padding: 80px 0;
  background-color: var(--light);
}

.partners-slider {
  margin: 0 -15px;
}

.partner-item {
  transition: all var(--transition-normal);
  filter: grayscale(100%);
  opacity: 0.7;
}

.partner-item:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.partner-item img {
  max-width: 100%;
  height: auto;
}

/* External Resources */
.external-resources {
  padding: 80px 0;
  background-color: var(--white);
}

.external-resources .card {
  padding: 1.5rem;
}

.external-resources ul li a {
  display: block;
  padding: 8px 0;
  color: var(--medium);
  transition: all var(--transition-fast);
}

.external-resources ul li a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

/* Community Section */
.community {
  padding: 80px 0;
  background-color: var(--light);
}

.community img {
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-normal);
}

.community img:hover {
  transform: scale(1.02);
}

.testimonials-carousel .card {
  padding: 1.5rem;
}

.testimonial-text {
  font-style: italic;
  position: relative;
  padding-left: 1.5rem;
}

.testimonial-text::before {
  content: """;
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--primary-light);
  position: absolute;
  top: -20px;
  left: -10px;
  opacity: 0.5;
}

/* Careers Section */
.careers {
  padding: 80px 0;
  background-color: var(--white);
}

.careers-overlay {
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: all var(--transition-normal);
  border-radius: var(--border-radius-md);
}

.careers .position-relative:hover .careers-overlay {
  opacity: 1;
}

.career-item {
  background-color: var(--light);
  transition: all var(--transition-normal);
}

.career-item:hover {
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

/* Contact Section */
.contact {
  padding: 80px 0;
  background-color: var(--light);
}

.contact-info, .contact-form {
  background-color: var(--white);
  height: 100%;
}

.form-control {
  border-radius: var(--border-radius-md);
  padding: 12px;
  border: 1px solid #e0e0e0;
  transition: all var(--transition-fast);
}

.form-control:focus {
  box-shadow: none;
  border-color: var(--primary-color);
}

.map-container {
  height: 450px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Footer */
.footer {
  padding: 60px 0 30px;
  background-color: var(--dark);
  color: var(--white);
}

.footer h3 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer p, .footer ul li {
  color: rgba(255, 255, 255, 0.7);
}

.footer ul li {
  margin-bottom: 0.5rem;
}

.footer a.text-white {
  color: var(--white) !important;
}

.footer a.text-white:hover {
  color: var(--primary-light) !important;
  text-decoration: none;
}

.footer hr {
  margin: 2rem 0;
  opacity: 0.1;
}

/* Particles JS */
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

/* Cookie Consent */
.cookie-consent {
  animation: slidein 0.5s ease-out;
}

@keyframes slidein {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

/* Modal Styles */
.modal-content {
  border-radius: var(--border-radius-md);
  border: none;
  box-shadow: var(--shadow-lg);
}

.modal-header {
  border-bottom: none;
  padding: 1.5rem 1.5rem 0.5rem;
}

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  border-top: none;
  padding: 0.5rem 1.5rem 1.5rem;
}

/* Additional Pages */
.page-header {
  padding: 100px 0 40px;
  background-color: var(--primary-light);
  position: relative;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 50"><path fill="%23ffffff" fill-opacity="1" d="M0,32L80,26.7C160,21,320,11,480,16C640,21,800,43,960,42.7C1120,43,1280,21,1360,10.7L1440,0L1440,100L1360,100C1280,100,1120,100,960,100C800,100,640,100,480,100C320,100,160,100,80,100L0,100Z"></path></svg>');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.success-content {
  max-width: 600px;
  margin: 0 auto;
}

.success-icon {
  font-size: 5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

/* Privacy & Terms Pages */
.privacy-page, .terms-page {
  padding-top: 00px;
  padding-bottom: 60px;
}

.privacy-page h2, .terms-page h2 {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.privacy-page p, .terms-page p {
  margin-bottom: 1.5rem;
}

/* Utility Classes */
.shadow-sm {
  box-shadow: var(--shadow-sm) !important;
}

.shadow-md {
  box-shadow: var(--shadow-md) !important;
}

.shadow-lg {
  box-shadow: var(--shadow-lg) !important;
}

.rounded {
  border-radius: var(--border-radius-md) !important;
}

.rounded-lg {
  border-radius: var(--border-radius-lg) !important;
}

.rounded-circle {
  border-radius: 50% !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.bg-secondary {
  background-color: var(--secondary-color) !important;
}

.text-primary {
  color: var(--primary-color) !important;
}

.text-secondary {
  color: var(--secondary-color) !important;
}

/* Responsive Styles */
@media (max-width: 991.98px) {
  .hero h2 {
    font-size: 2.5rem;
  }
  
  .display-4 {
    font-size: 2.2rem;
  }
  
  .process-number {
    font-size: 2rem;
  }
  
  .navbar-collapse {
    background-color: var(--white);
    padding: 15px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
  }
}

@media (max-width: 767.98px) {
  .hero h2 {
    font-size: 2rem;
  }
  
  .display-4 {
    font-size: 1.8rem;
  }
  
  .process-number {
    font-size: 1.8rem;
  }
  
  .statistic-value {
    font-size: 1.8rem !important;
  }
  
  .statistic-label {
    font-size: 0.9rem;
  }
  
  .footer {
    text-align: center;
  }
  
  .footer ul.list-unstyled {
    padding-left: 0;
  }
}

@media (max-width: 575.98px) {
  .hero {
    padding: 60px 0;
  }
  
  .hero h2 {
    font-size: 1.8rem;
  }
  
  .lead {
    font-size: 1rem;
  }
  
  .about, .process, .partners, .community, .careers, .contact {
    padding: 60px 0;
  }
  
  .btn-lg {
    padding: 10px 20px;
    font-size: 1rem;
  }
}

/* Animation Effects */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 1s ease forwards;
}

.fade-in-delay-1 {
  animation: fadeIn 1s ease 0.2s forwards;
  opacity: 0;
}

.fade-in-delay-2 {
  animation: fadeIn 1s ease 0.4s forwards;
  opacity: 0;
}

.fade-in-delay-3 {
  animation: fadeIn 1s ease 0.6s forwards;
  opacity: 0;
}

/* Image hover effects */
.hover-zoom {
  overflow: hidden;
  border-radius: var(--border-radius-md);
}

.hover-zoom img {
  transition: transform var(--transition-normal);
}

.hover-zoom:hover img {
  transform: scale(1.05);
}

/* Background Image Styles */
[style*="background-image"] {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Fix for static position on Safari */
.sticky-top {
  position: -webkit-sticky;
  position: sticky;
}

/* Form Elements Focus */
input:focus, textarea:focus, select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(126, 181, 166, 0.2) !important;
}

/* Accessibility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Print Styles */
@media print {
  .no-print {
    display: none !important;
  }
  
  a {
    text-decoration: underline;
  }
  
  .container {
    width: 100%;
    max-width: 100%;
  }
}