/* ===== VARIABLES ===== */
:root {
  /* Primary Colors */
  --primary-color: #0061a8; /* YPF Blue */
  --primary-dark: #004b80;
  --primary-light: #3c8cc3;
  
  /* Complementary Colors */
  --secondary-color: #e63312; /* YPF Red */
  --secondary-dark: #c12a0e;
  --secondary-light: #f15e42;
  
  /* Accent Colors */
  --accent-color: #26a65b; /* Green for eco theme */
  --accent-dark: #1d8348;
  --accent-light: #5ed18a;
  
  /* Neutral Colors */
  --dark: #222222;
  --medium-dark: #444444;
  --medium: #777777;
  --medium-light: #999999;
  --light: #f5f5f5;
  --white: #ffffff;
  
  /* Font Families */
  --heading-font: 'Montserrat', sans-serif;
  --body-font: 'Merriweather', serif;
  
  /* Font Sizes */
  --h1-size: 3.5rem;
  --h2-size: 2.5rem;
  --h3-size: 1.8rem;
  --h4-size: 1.4rem;
  --body-size: 1rem;
  --small-size: 0.875rem;
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 5rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-round: 50%;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Layout */
  --container-width: 1200px;
  --header-height: 80px;
}

/* ===== GLOBAL STYLES ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
  color: var(--dark);
}

h1 {
  font-size: var(--h1-size);
}

h2 {
  font-size: var(--h2-size);
}

h3 {
  font-size: var(--h3-size);
}

h4 {
  font-size: var(--h4-size);
}

p {
  margin-bottom: var(--spacing-sm);
}

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

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

ul {
  list-style: none;
}

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.section {
  padding: var(--spacing-xl) 0;
}

/* ===== BUTTONS ===== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--heading-font);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition-normal);
  cursor: pointer;
  border: none;
  padding: 0.75rem 1.5rem;
}

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

.button.is-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.button.is-secondary:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.button.is-outlined {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.button.is-outlined:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.button.is-light.is-outlined {
  border-color: var(--white);
  color: var(--white);
}

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

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

.animated-button {
  position: relative;
  overflow: hidden;
}

.animated-button:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%) scale(0);
  opacity: 0;
  transition: transform 0.6s, opacity 0.6s;
}

.animated-button:hover:after {
  transform: translate(-50%, -50%) scale(20);
  opacity: 1;
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--white);
  z-index: 1000;
  box-shadow: var(--shadow-sm);
  transition: background-color var(--transition-normal);
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(5px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.navbar-item {
  font-family: var(--heading-font);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--dark);
  transition: color var(--transition-normal);
  padding: 0.5rem 1rem;
}

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

.navbar-burger {
  display: none;
  cursor: pointer;
}

@media (max-width: 1023px) {
  .navbar-burger {
    display: block;
  }
  
  .navbar-menu {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    padding: var(--spacing-sm) 0;
  }
  
  .navbar-menu.is-active {
    display: block;
  }
  
  .navbar-end {
    flex-direction: column;
  }
  
  .navbar-item {
    padding: var(--spacing-sm) var(--spacing-md);
  }
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
}

.hero-body {
  position: relative;
  z-index: 1;
  padding: calc(var(--header-height) + var(--spacing-xl)) 0 var(--spacing-xl);
}

.hero .title,
.hero .subtitle,
.hero p {
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero .title {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-sm);
  animation: fadeInDown 1s ease forwards;
}

.hero .subtitle {
  font-size: 2rem;
  margin-bottom: var(--spacing-md);
  animation: fadeInUp 1s ease forwards 0.3s;
  opacity: 0;
}

.hero p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto var(--spacing-lg);
  animation: fadeInUp 1s ease forwards 0.6s;
  opacity: 0;
}

.hero .buttons {
  animation: fadeInUp 1s ease forwards 0.9s;
  opacity: 0;
}

@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);
  }
}

/* ===== FEATURES SECTION ===== */
.features-section {
  background-color: var(--light);
}

.feature-card {
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
  background-color: var(--white);
  margin-bottom: var(--spacing-md);
  opacity: 0;
  transform: translateY(30px);
}

.feature-card.animate-in {
  animation: cardFadeIn 0.8s ease forwards;
}

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

.feature-card .card-image {
  width: 100%;
  overflow: hidden;
}

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

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

.feature-card .card-content {
  padding: var(--spacing-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.feature-card .title {
  color: var(--dark);
  margin-bottom: var(--spacing-sm);
}

.feature-card .content {
  margin-bottom: var(--spacing-md);
  color: var(--medium-dark);
  flex-grow: 1;
}

.custom-slider {
  margin-top: auto;
}

.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: #d3d3d3;
  outline: none;
  margin-bottom: var(--spacing-xs);
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-color);
  cursor: pointer;
  transition: background var(--transition-normal);
}

.slider::-webkit-slider-thumb:hover {
  background: var(--primary-dark);
}

.slider-label {
  text-align: center;
  font-size: var(--small-size);
  color: var(--medium);
}

.custom-toggles {
  margin-top: auto;
}

.toggle-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-xs);
}

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

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

.switch .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: var(--transition-normal);
  border-radius: 34px;
  height: 100%;
}

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

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

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

@keyframes cardFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== MISSION SECTION ===== */
.mission-section {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--white);
  text-align: center;
  padding: var(--spacing-xl) 0;
}

.mission-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4));
}

.mission-section .title,
.mission-section .content {
  position: relative;
  z-index: 1;
}

.mission-section .content {
  max-width: 800px;
  margin: 0 auto;
}

.mission-section blockquote {
  font-style: italic;
  font-weight: 300;
  border-left: none;
  padding: 0;
  position: relative;
}

.mission-section blockquote::before,
.mission-section blockquote::after {
  content: '"';
  font-size: 4rem;
  line-height: 0;
  position: absolute;
}

.mission-section blockquote::before {
  left: -20px;
  top: 30px;
}

.mission-section blockquote::after {
  right: -20px;
  bottom: -10px;
}

/* ===== PROCESS SECTION ===== */
.process-section {
  background-color: var(--white);
}

.timeline {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-md) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--primary-light);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
  transform: scaleY(0);
  transform-origin: top;
  animation: timeline-grow 2s ease forwards 0.5s;
}

.timeline-item {
  padding: var(--spacing-md) 0;
  position: relative;
  opacity: 0;
}

.timeline-item.animate-in {
  animation: timeline-fade-in 1s ease forwards;
}

.timeline-marker {
  position: absolute;
  width: 20px;
  height: 20px;
  background-color: var(--primary-color);
  border-radius: 50%;
  left: 50%;
  top: calc(var(--spacing-md) + 20px);
  transform: translateX(-50%);
  z-index: 10;
}

.timeline-content {
  width: 45%;
  background-color: var(--white);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-right: auto;
}

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

.timeline-content img {
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

@keyframes timeline-grow {
  to {
    transform: scaleY(1);
  }
}

@keyframes timeline-fade-in {
  to {
    opacity: 1;
  }
}

/* ===== EXTERNAL RESOURCES SECTION ===== */
.external-resources {
  background-color: var(--light);
}

.resource-card {
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  height: 100%;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

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

.resource-card h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-sm);
  padding-bottom: var(--spacing-xs);
  border-bottom: 2px solid var(--primary-light);
}

.resource-card ul {
  padding-left: var(--spacing-sm);
}

.resource-card li {
  margin-bottom: var(--spacing-xs);
  position: relative;
}

.resource-card li:before {
  content: '→';
  color: var(--primary-color);
  position: absolute;
  left: -20px;
}

.resource-card a {
  color: var(--primary-color);
  transition: color var(--transition-normal);
  font-weight: 500;
}

.resource-card a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--white);
}

.contact-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
}

.contact-section .container {
  position: relative;
  z-index: 1;
}

.contact-info {
  padding: var(--spacing-md);
}

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

.contact-item h3 {
  color: var(--white);
  margin-bottom: var(--spacing-sm);
}

.contact-item p {
  margin-bottom: var(--spacing-xs);
}

.contact-item strong {
  color: var(--primary-light);
}

.social-links a {
  color: var(--white);
  margin-right: var(--spacing-sm);
  transition: color var(--transition-normal);
  font-weight: 500;
}

.social-links a:hover {
  color: var(--primary-light);
}

.contact-form-container {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
}

.contact-form .label {
  color: var(--white);
}

.contact-form .input,
.contact-form .textarea,
.contact-form .select select {
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: var(--radius-sm);
  transition: box-shadow var(--transition-normal);
}

.contact-form .input:focus,
.contact-form .textarea:focus,
.contact-form .select select:focus {
  box-shadow: 0 0 0 2px var(--primary-light);
}

.contact-form .checkbox a {
  color: var(--primary-light);
}

.contact-form .checkbox a:hover {
  text-decoration: underline;
}

/* ===== HISTORY SECTION ===== */
.history-section {
  background-color: var(--white);
}

.timeline-horizontal {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding: var(--spacing-md) 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.timeline-item-horizontal {
  flex: 0 0 250px;
  margin-right: var(--spacing-md);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.timeline-year {
  background-color: var(--primary-color);
  color: var(--white);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-md);
  font-family: var(--heading-font);
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
}

.timeline-content {
  text-align: center;
}

.timeline-item-horizontal img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

/* ===== BLOG SECTION ===== */
.blog-section {
  background-color: var(--light);
}

.blog-card {
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  background-color: var(--white);
  display: flex;
  flex-direction: column;
}

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

.blog-card .card-image {
  overflow: hidden;
}

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

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

.blog-card .card-content {
  padding: var(--spacing-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.blog-card .subtitle {
  font-size: var(--small-size);
  margin-bottom: var(--spacing-xs);
}

.blog-card .title {
  color: var(--dark);
  margin-bottom: var(--spacing-sm);
}

.blog-card .content {
  margin-bottom: var(--spacing-md);
  flex-grow: 1;
}

.blog-card .button {
  margin-top: auto;
  align-self: flex-start;
}

/* ===== CUSTOMER STORIES SECTION ===== */
.customer-stories {
  position: relative;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.customer-stories::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
}

.customer-stories .container {
  position: relative;
  z-index: 1;
}

.testimonial-slider {
  position: relative;
  padding: var(--spacing-md) 0;
}

.testimonial-slide {
  display: none;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.testimonial-slide.active {
  display: block;
  opacity: 1;
  animation: fadeIn 0.8s ease forwards;
}

.testimonial-content {
  text-align: center;
  padding: var(--spacing-md);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
}

.testimonial-image {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid var(--primary-color);
  margin-bottom: var(--spacing-md);
}

.testimonial-content blockquote {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: var(--spacing-md);
  position: relative;
  padding: 0 var(--spacing-md);
}

.testimonial-content blockquote::before,
.testimonial-content blockquote::after {
  content: '"';
  font-size: 3rem;
  line-height: 0;
  position: absolute;
  color: var(--primary-light);
  opacity: 0.7;
}

.testimonial-content blockquote::before {
  left: 0;
  top: 30px;
}

.testimonial-content blockquote::after {
  right: 0;
  bottom: 0;
}

.testimonial-content cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: var(--spacing-xs);
  font-family: var(--heading-font);
}

.rating {
  color: var(--secondary-color);
  font-size: 1.2rem;
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--spacing-md);
}

.prev-testimonial,
.next-testimonial {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0 var(--spacing-sm);
  transition: color var(--transition-normal);
}

.prev-testimonial:hover,
.next-testimonial:hover {
  color: var(--primary-light);
}

.testimonial-dots {
  display: flex;
  align-items: center;
  margin: 0 var(--spacing-sm);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  margin: 0 5px;
  cursor: pointer;
  transition: background-color var(--transition-normal);
}

.dot.active {
  background-color: var(--white);
}

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

/* ===== ABOUT US SECTION ===== */
.about-section {
  background-color: var(--white);
}

.about-image {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.about-content {
  padding: var(--spacing-sm) 0;
}

.about-content p {
  margin-bottom: var(--spacing-md);
  color: var(--medium-dark);
}

.about-stats {
  margin-top: var(--spacing-md);
}

.stat-item {
  text-align: center;
  margin-bottom: var(--spacing-md);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  font-family: var(--heading-font);
  margin-bottom: var(--spacing-xs);
}

.stat-label {
  display: block;
  color: var(--medium-dark);
  font-size: 1rem;
}

/* ===== EVENTS SECTION ===== */
.events-section {
  background-color: var(--light);
}

.event-card {
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  background-color: var(--white);
  display: flex;
  flex-direction: column;
  position: relative;
}

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

.event-card .card-image {
  position: relative;
  overflow: hidden;
}

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

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

.event-date {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: var(--radius-sm);
  padding: var(--spacing-xs) var(--spacing-sm);
  text-align: center;
  font-family: var(--heading-font);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.event-date .month {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.event-date .day {
  display: block;
  font-size: 1.2rem;
}

.event-card .card-content {
  padding: var(--spacing-md);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.event-card .title {
  color: var(--dark);
  margin-bottom: var(--spacing-sm);
}

.event-card .content {
  margin-bottom: var(--spacing-md);
  flex-grow: 1;
}

.event-card .button {
  margin-top: auto;
  align-self: flex-start;
}

/* ===== ACCOLADES SECTION ===== */
.accolades-section {
  background-color: var(--white);
}

.accolade-item {
  text-align: center;
  margin-bottom: var(--spacing-md);
  transition: transform var(--transition-normal);
}

.accolade-item:hover {
  transform: translateY(-5px);
}

.accolade-item img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: var(--spacing-sm);
  box-shadow: var(--shadow-md);
  border: 5px solid var(--light);
  transition: transform var(--transition-normal);
}

.accolade-item:hover img {
  transform: rotate(5deg);
}

.accolade-item .title {
  color: var(--primary-color);
  margin-bottom: var(--spacing-xs);
}

.accolade-item p {
  color: var(--medium-dark);
}

.certification-logos {
  margin-top: var(--spacing-lg);
  border-top: 1px solid var(--light);
  padding-top: var(--spacing-md);
}

.certification-logos img {
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter var(--transition-normal), opacity var(--transition-normal);
}

.certification-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--dark);
  color: var(--light);
  padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer p {
  color: var(--medium-light);
}

.footer-title {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: var(--spacing-md);
  font-family: var(--heading-font);
  position: relative;
  padding-bottom: var(--spacing-xs);
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary-color);
}

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

.footer-links li {
  margin-bottom: var(--spacing-xs);
}

.footer-links a {
  color: var(--medium-light);
  transition: color var(--transition-normal);
}

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

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

.footer-contact li {
  margin-bottom: var(--spacing-xs);
  color: var(--medium-light);
}

.footer-contact strong {
  color: var(--white);
}

.social-links a {
  display: inline-block;
  margin-right: var(--spacing-sm);
  color: var(--medium-light);
  transition: color var(--transition-normal);
}

.social-links a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: var(--medium-light);
}

.footer-bottom a {
  color: var(--medium-light);
  transition: color var(--transition-normal);
}

.footer-bottom a:hover {
  color: var(--white);
}

/* ===== COOKIE POPUP ===== */
.cookie-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(34, 34, 34, 0.95);
  color: var(--white);
  padding: var(--spacing-md);
  z-index: 9999;
  backdrop-filter: blur(5px);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-content {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cookie-content p {
  flex: 1;
  margin: 0 var(--spacing-md) var(--spacing-sm) 0;
}

.cookie-content a {
  color: var(--primary-light);
}

.cookie-content a:hover {
  text-decoration: underline;
}

/* ===== SUCCESS PAGE ===== */
.success-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background-color: var(--light);
  text-align: center;
  padding: var(--spacing-md);
}

.success-content {
  max-width: 600px;
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-lg);
}

.success-icon {
  width: 100px;
  height: 100px;
  background-color: var(--accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--spacing-md);
  color: var(--white);
  font-size: 3rem;
}

/* ===== PRIVACY & TERMS PAGES ===== */
.page-content {
  padding-top: 100px;
  padding-bottom: var(--spacing-xl);
}

.page-content .container {
  max-width: 800px;
  background-color: var(--white);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  box-shadow: var(--shadow-md);
}

.page-content h1 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-sm);
  border-bottom: 2px solid var(--light);
}

.page-content h2 {
  color: var(--dark);
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
}

.page-content p {
  margin-bottom: var(--spacing-md);
  color: var(--medium-dark);
}

.page-content ul {
  padding-left: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.page-content ul li {
  margin-bottom: var(--spacing-xs);
  position: relative;
  list-style-type: disc;
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 1215px) {
  :root {
    --h1-size: 3rem;
    --h2-size: 2.2rem;
    --h3-size: 1.6rem;
  }
  
  .timeline-horizontal {
    padding-bottom: var(--spacing-sm);
  }
}

@media (max-width: 1023px) {
  :root {
    --h1-size: 2.5rem;
    --h2-size: 2rem;
    --h3-size: 1.5rem;
    --spacing-xl: 4rem;
  }
  
  .hero .title {
    font-size: 2.5rem;
  }
  
  .hero .subtitle {
    font-size: 1.7rem;
  }
  
  .timeline::before {
    left: 40px;
  }
  
  .timeline-marker {
    left: 40px;
  }
  
  .timeline-content {
    width: calc(100% - 80px);
    margin-left: 80px !important;
  }
  
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .cookie-content p {
    margin-bottom: var(--spacing-sm);
  }
}

@media (max-width: 768px) {
  :root {
    --h1-size: 2.2rem;
    --h2-size: 1.8rem;
    --h3-size: 1.4rem;
    --body-size: 0.95rem;
    --spacing-xl: 3rem;
    --spacing-lg: 2rem;
    --spacing-md: 1.5rem;
  }
  
  .hero .title {
    font-size: 2.2rem;
  }
  
  .hero .subtitle {
    font-size: 1.4rem;
  }
  
  .contact-form-container {
    padding: var(--spacing-md);
  }
  
  .testimonial-content {
    padding: var(--spacing-sm);
  }
  
  .testimonial-image {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 540px) {
  :root {
    --h1-size: 2rem;
    --h2-size: 1.6rem;
    --h3-size: 1.3rem;
    --spacing-xl: 2.5rem;
    --spacing-lg: 1.5rem;
  }
  
  .hero .title {
    font-size: 2rem;
  }
  
  .hero .subtitle {
    font-size: 1.3rem;
  }
  
  .stat-number {
    font-size: 2rem;
  }
  
  .timeline-item-horizontal {
    flex: 0 0 200px;
  }
}