:root {
  /* Primary colors - Tetrad scheme */
  --primary: #4A56E2;
  --primary-dark: #3543d0;
  --secondary: #E24A56;
  --secondary-dark: #d03543;
  --accent1: #56E24A;
  --accent1-dark: #43d035;
  --accent2: #E2A64A;
  --accent2-dark: #d09635;
  
  /* Neutral colors */
  --dark: #2A2D45;
  --gray-dark: #4A4E69;
  --gray-medium: #8C91B6;
  --gray-light: #C7C9DB;
  --light: #F5F7FF;
  
  /* Font families */
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Work Sans', sans-serif;
  
  /* Spacing variables */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 3rem;
  
  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-round: 50%;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Shadows */
  --shadow-small: 0 2px 5px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 4px 10px rgba(0, 0, 0, 0.15);
  --shadow-large: 0 10px 25px rgba(0, 0, 0, 0.2);
  --shadow-glow: 0 0 15px rgba(74, 86, 226, 0.5);
}

/* Global styles */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  line-height: 1.6;
  background-color: var(--light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--spacing-md);
}

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

a:hover {
  color: var(--primary-dark);
}

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

/* Buttons global styles */
.button {
  display: inline-block;
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.button:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.button:before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 100%;
  transition: all var(--transition-normal);
  z-index: -1;
}

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

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

.button.is-primary:before {
  background-color: var(--primary-dark);
}

.button.is-primary:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

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

.button.is-secondary:before {
  background-color: var(--secondary-dark);
}

.button.is-secondary:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(226, 74, 86, 0.5);
}

.button.is-accent1 {
  background-color: var(--accent1);
  color: white;
}

.button.is-accent1:before {
  background-color: var(--accent1-dark);
}

.button.is-accent1:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(86, 226, 74, 0.5);
}

.button.is-accent2 {
  background-color: var(--accent2);
  color: white;
}

.button.is-accent2:before {
  background-color: var(--accent2-dark);
}

.button.is-accent2:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(226, 166, 74, 0.5);
}

.button.is-rounded {
  border-radius: 9999px;
}

.pulse-button {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(74, 86, 226, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(74, 86, 226, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(74, 86, 226, 0);
  }
}

/* Header & Navigation */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-small);
  transition: all var(--transition-normal);
}

.navbar {
  padding: 0.5rem 1rem;
}

.navbar-item {
  font-weight: 500;
  transition: color var(--transition-fast);
}

.navbar-item:hover {
  color: var(--primary);
}

/* Hero Section */
.hero {
  position: relative;
  padding-top: 80px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(42, 45, 69, 0.8) 0%, rgba(74, 86, 226, 0.6) 100%);
  z-index: 1;
}

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

.hero .title,
.hero .subtitle,
.hero-description {
  color: white !important;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.anim-title {
  animation: fadeInDown 1s ease-out;
}

.anim-subtitle {
  animation: fadeInUp 1s ease-out;
}

.hero-description {
  animation: fadeIn 1.2s ease-out;
  max-width: 800px;
  margin: 0 auto var(--spacing-lg);
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.stats-container {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: var(--spacing-lg);
  margin-top: var(--spacing-xl);
  transform: translateY(-1px);
  position: relative;
  z-index: 3;
}

.stat-widget {
  padding: var(--spacing-md);
  background-color: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-small);
  transition: transform var(--transition-normal);
}

.stat-widget:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-medium);
}

.stat-number {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

/* About Section */
#despre {
  position: relative;
  overflow: hidden;
}

#despre:before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 300px;
  height: 300px;
  background-color: rgba(74, 86, 226, 0.05);
  border-radius: var(--radius-round);
  z-index: -1;
}

.about-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-small);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  padding-bottom: var(--spacing-lg);
  text-align: center;
}

.about-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}

.about-card .image-container {
  width: 100%;
  height: 250px;
  overflow: hidden;
  margin-bottom: var(--spacing-lg);
}

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

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

.about-card h3 {
  color: var(--primary);
}

.about-card p {
  padding: 0 var(--spacing-lg);
}

/* Features Section */
.curved-section {
  position: relative;
}

.curved-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: white;
  clip-path: ellipse(60% 100% at 50% 0%);
}

.curved-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: white;
  clip-path: ellipse(60% 100% at 50% 100%);
}

.feature-card {
  display: flex;
  align-items: flex-start;
  background-color: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-small);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  margin-bottom: var(--spacing-lg);
  height: 100%;
}

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

.feature-icon {
  flex: 0 0 120px;
  height: 100%;
}

.feature-icon img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.feature-content {
  flex: 1;
  padding: var(--spacing-lg);
}

.feature-content h3 {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: var(--spacing-md);
}

.feature-toggle {
  margin-top: var(--spacing-md);
}

.switch {
  position: absolute;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  width: 1px;
  border: 0;
  overflow: hidden;
}

.switch + label {
  position: relative;
  display: inline-block;
  padding-left: 60px;
  line-height: 30px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.switch + label:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 30px;
  background-color: var(--gray-light);
  border-radius: 15px;
  transition: background-color var(--transition-fast);
}

.switch + label:after {
  content: '';
  position: absolute;
  left: 5px;
  top: 5px;
  width: 20px;
  height: 20px;
  background-color: white;
  border-radius: 50%;
  transition: all var(--transition-fast);
}

.switch:checked + label:before {
  background-color: var(--primary);
}

.switch:checked + label:after {
  transform: translateX(20px);
}

/* Our Process Section */
.timeline-container {
  position: relative;
  padding: var(--spacing-lg) 0;
}

.timeline {
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary), var(--secondary), var(--accent1), var(--accent2));
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: var(--spacing-xl);
  position: relative;
}

.timeline-marker {
  flex: 0 0 30px;
  height: 30px;
  background-color: var(--primary);
  border-radius: var(--radius-round);
  margin: 0 var(--spacing-md);
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px rgba(74, 86, 226, 0.3);
  animation: pulse 2s infinite;
}

.timeline-item:nth-child(2) .timeline-marker {
  background-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(226, 74, 86, 0.3);
}

.timeline-item:nth-child(3) .timeline-marker {
  background-color: var(--accent1);
  box-shadow: 0 0 0 4px rgba(86, 226, 74, 0.3);
}

.timeline-item:nth-child(4) .timeline-marker {
  background-color: var(--accent2);
  box-shadow: 0 0 0 4px rgba(226, 166, 74, 0.3);
}

.timeline-item:nth-child(5) .timeline-marker {
  background-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(74, 86, 226, 0.3);
}

.timeline-content {
  flex: 0 0 80%;
  background-color: white;
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-small);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-content h3 {
  color: var(--primary);
  margin-bottom: var(--spacing-md);
}

.timeline-content img {
  margin-top: var(--spacing-lg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-small);
  margin: var(--spacing-lg) auto 0;
  display: block;
}

/* Clientele Section */
.client-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-small);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  height: 100%;
  text-align: center;
  padding-bottom: var(--spacing-lg);
}

.client-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}

.client-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.client-card h3 {
  color: var(--primary);
  margin-top: var(--spacing-md);
  padding: 0 var(--spacing-md);
}

.client-card p {
  padding: 0 var(--spacing-lg);
}

/* Resources Section */
.resource-card {
  background-color: white;
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-small);
  height: 100%;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.resource-card h3 {
  color: var(--primary);
  margin-bottom: var(--spacing-md);
}

.resource-links {
  margin-top: var(--spacing-lg);
  list-style-type: none;
  padding-left: 0;
}

.resource-links li {
  margin-bottom: var(--spacing-sm);
}

.resource-links a {
  display: inline-block;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: all var(--transition-fast);
  position: relative;
  padding-left: var(--spacing-md);
}

.resource-links a:before {
  content: '→';
  position: absolute;
  left: 0;
  transition: transform var(--transition-fast);
}

.resource-links a:hover {
  color: var(--primary-dark);
}

.resource-links a:hover:before {
  transform: translateX(3px);
}

/* Accolades Section */
.accolade-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-small);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  height: 100%;
  text-align: center;
}

.accolade-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-medium);
}

.accolade-card .image-container {
  width: 100%;
  height: 250px;
  overflow: hidden;
}

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

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

.accolade-card h3 {
  color: var(--primary);
  margin-top: var(--spacing-md);
  padding: 0 var(--spacing-lg);
}

.accolade-card p {
  padding: 0 var(--spacing-lg) var(--spacing-lg);
}

/* FAQ Section */
.faq-container {
  background-color: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-small);
}

.faq-item {
  border-bottom: 1px solid var(--gray-light);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-lg);
  cursor: pointer;
  transition: background-color var(--transition-fast);
  background-color: white;
}

.faq-question:hover, .faq-question:focus {
  background-color: rgba(74, 86, 226, 0.05);
  outline: none;
}

.faq-question h3 {
  margin: 0;
  font-weight: 600;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal), padding var(--transition-normal);
  background-color: rgba(74, 86, 226, 0.03);
}

.faq-question.active + .faq-answer {
  max-height: 500px;
  padding: var(--spacing-lg);
}

.faq-question .icon {
  transition: transform var(--transition-normal);
}

.faq-question.active .icon {
  transform: rotate(45deg);
}

/* Contact Section */
.contact-form-container {
  background-color: white;
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-small);
}

.contact-form .field {
  margin-bottom: var(--spacing-md);
}

.contact-form .label {
  font-weight: 600;
}

.contact-form .input, .contact-form .textarea {
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-fast);
}

.contact-form .input:focus, .contact-form .textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px var(--primary);
}

.contact-info {
  background-color: white;
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-small);
  height: 100%;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--spacing-md);
}

.contact-item .icon {
  margin-right: var(--spacing-md);
  color: var(--primary);
}

.map-container {
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-small);
}

.map-container img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: white;
  padding: var(--spacing-xl) 0 var(--spacing-lg);
  position: relative;
}

.footer:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: var(--light);
  clip-path: ellipse(60% 100% at 50% 0%);
}

.footer-links, .footer-social {
  list-style-type: none;
  padding: 0;
}

.footer-links li, .footer-social li {
  margin-bottom: var(--spacing-sm);
}

.footer-links a, .footer-social a {
  color: var(--gray-light);
  transition: color var(--transition-fast);
  text-decoration: none;
}

.footer-links a:hover, .footer-social a:hover {
  color: white;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
}

.footer-social a:before {
  margin-right: var(--spacing-sm);
  font-family: 'Font Awesome 5 Brands';
}

.footer-social a[href*="facebook"]:before {
  content: "\f39e";
}

.footer-social a[href*="twitter"]:before {
  content: "\f099";
}

.footer-social a[href*="instagram"]:before {
  content: "\f16d";
}

.footer-social a[href*="linkedin"]:before {
  content: "\f08c";
}

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

.success-content {
  text-align: center;
  padding: var(--spacing-xl);
  max-width: 800px;
  background-color: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-medium);
}

.success-icon {
  font-size: 5rem;
  color: var(--accent1);
  margin-bottom: var(--spacing-lg);
}

/* Privacy and Terms Pages */
.privacy-page, .terms-page {
  padding-top: 100px;
}

.privacy-content, .terms-content {
  background-color: white;
  border-radius: var(--radius-lg);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-small);
}

/* Responsive styles */
@media screen and (max-width: 1023px) {
  .timeline::before {
    left: 30px;
  }
  
  .timeline-item {
    justify-content: flex-start;
  }
  
  .timeline-content {
    flex: 0 0 calc(100% - 60px);
  }
  
  .feature-card {
    flex-direction: column;
  }
  
  .feature-icon {
    flex: 0 0 auto;
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  :root {
    --spacing-xl: 2rem;
  }
  
  .stats-container {
    margin-top: 0;
  }
  
  .contact-info {
    margin-top: var(--spacing-lg);
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Custom scroll animations */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.scroll-animate.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Special elements and utils */
.read-more {
  display: inline-flex;
  align-items: center;
  color: var(--primary);
  font-weight: 600;
  margin-top: var(--spacing-md);
  transition: all var(--transition-fast);
}

.read-more:after {
  content: '→';
  margin-left: var(--spacing-sm);
  transition: transform var(--transition-fast);
}

.read-more:hover {
  color: var(--primary-dark);
}

.read-more:hover:after {
  transform: translateX(3px);
}

.glassmorphism {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.text-gradient {
  background: linear-gradient(to right, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}