:root {
  /* Tetrada color scheme */
  --primary-color: #2a9d8f;
  --primary-dark: #1e7d73;
  --primary-light: #4ac0b2;
  --secondary-color: #e76f51;
  --secondary-dark: #c85a3e;
  --secondary-light: #f39680;
  --tertiary-color: #9d2a8f;
  --tertiary-dark: #7d1e73;
  --tertiary-light: #c04ab2;
  --quaternary-color: #51e76f;
  --quaternary-dark: #3ec85a;
  --quaternary-light: #80f396;
  
  /* Neutral colors */
  --text-dark: #333333;
  --text-light: #ffffff;
  --text-medium: #555555;
  --background-light: #f9f9f9;
  --background-medium: #f0f0f0;
  --background-dark: #222222;
  
  /* Container widths */
  --container-max-width: 1200px;
  --container-padding: 20px;
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  
  /* Border radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
  
  /* Z-index layers */
  --z-header: 100;
  --z-modal: 200;
  --z-toast: 300;
}

/* Base Typography */
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  background-color: var(--background-light);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  line-height: 1.2;
  color: var(--text-dark);
  margin-top: 0;
}

h1 {
  font-size: 3.5rem;
  margin-bottom: var(--space-md);
  font-weight: 700;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: var(--space-md);
  font-weight: 600;
  text-align: center;
  position: relative;
  padding-bottom: var(--space-sm);
}

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

h3 {
  font-size: 1.75rem;
  margin-bottom: var(--space-sm);
  font-weight: 500;
}

p {
  margin-bottom: var(--space-md);
}

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

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

/* Layout */
.container {
  max-width: var(--container-max-width);
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

section {
  padding: var(--space-lg) 0;
  position: relative;
}

.section-description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--space-lg);
  color: var(--text-medium);
}

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

.header.scrolled {
  padding: 10px 0;
  box-shadow: var(--shadow-md);
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  z-index: 10;
}

.logo img {
  max-height: 60px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: var(--space-md);
}

.nav-list li a {
  color: var(--text-dark);
  font-weight: 500;
  text-decoration: none;
  padding: 0.5rem;
  position: relative;
}

.nav-list li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width var(--transition-medium);
}

.nav-list li a:hover::after,
.nav-list li a.active::after {
  width: 100%;
}

.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 10;
}

.burger-menu span {
  height: 3px;
  width: 100%;
  background-color: var(--text-dark);
  border-radius: 10px;
  transition: all var(--transition-fast);
}

/* Hero section */
.hero {
  position: relative;
  padding: 0;
  height: 90vh;
  max-height: 800px;
  min-height: 600px;
  display: flex;
  align-items: center;
  margin-top: 80px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin-left: 50px;
}

.hero h1, .hero p {
  color: var(--text-light);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
}

.hero-buttons {
  display: flex;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.progress-indicator {
  display: flex;
  gap: 8px;
  margin-top: var(--space-md);
}

.progress-indicator span {
  width: 40px;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  transition: background-color var(--transition-fast);
}

.progress-indicator span.active {
  background-color: var(--text-light);
}

/* Buttons */
.btn, 
button, 
input[type="submit"] {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  text-align: center;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-medium);
  text-decoration: none;
  line-height: 1;
}

.btn:hover, 
button:hover, 
input[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn:active, 
button:active, 
input[type="submit"]:active {
  transform: translateY(-1px);
}

.btn.primary, 
button.primary, 
input[type="submit"].primary {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.btn.primary:hover, 
button.primary:hover, 
input[type="submit"].primary:hover {
  background-color: var(--primary-dark);
}

.btn.secondary, 
button.secondary, 
input[type="submit"].secondary {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.btn.secondary:hover, 
button.secondary:hover, 
input[type="submit"].secondary:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
}

/* Mission Section */
.mission {
  background-color: var(--background-light);
}

.mission-content {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}

.mission-text {
  flex: 1;
}

.mission-image {
  flex: 1;
  text-align: center;
}

.mission-image img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  max-width: 100%;
  height: auto;
  transition: transform var(--transition-medium);
}

.mission-image img:hover {
  transform: scale(1.02);
}

/* Statistics Section */
.statistics {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: var(--space-xl) 0;
}

.statistics h2 {
  color: var(--text-light);
}

.statistics h2::after {
  background-color: var(--text-light);
}

.stats-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: var(--space-md);
  text-align: center;
}

.stat-card {
  flex: 1 1 200px;
  max-width: 250px;
  padding: var(--space-md);
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  backdrop-filter: blur(10px);
  transition: transform var(--transition-medium);
}

.stat-card:hover {
  transform: translateY(-10px);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  font-family: 'Space Grotesk', sans-serif;
}

.stat-card p {
  font-size: 1.1rem;
  margin-bottom: 0;
}

/* Portfolio Section */
.portfolio {
  background-color: var(--background-light);
}

.portfolio-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.card {
  background-color: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

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

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

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

.card-content {
  padding: var(--space-md);
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.card-content h3 {
  margin-top: 0;
  color: var(--primary-color);
}

/* Testimonials Section */
.testimonials {
  background-color: var(--background-medium);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('image/pattern-bg.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.05;
  z-index: 0;
}

.testimonials-carousel {
  position: relative;
  z-index: 1;
  margin-bottom: var(--space-md);
}

.testimonial-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: white;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  margin: 0 auto;
  max-width: 800px;
}

.testimonial-image {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: var(--space-md);
  border: 4px solid var(--primary-color);
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: var(--space-md);
}

.testimonial-author {
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.testimonial-location {
  color: var(--text-medium);
  margin: 0;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-md);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: background-color var(--transition-fast);
}

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

/* Clientele Section */
.clientele {
  background-color: var(--background-light);
}

.client-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-md);
}

.client-logo {
  flex: 0 0 180px;
  text-align: center;
  transition: transform var(--transition-medium);
}

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

.client-logo img {
  margin-bottom: var(--space-xs);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.client-logo p {
  margin: 0;
  font-weight: 500;
}

/* References Section */
.references {
  background-color: var(--tertiary-color);
  color: var(--text-light);
  padding: var(--space-xl) 0;
}

.references h2 {
  color: var(--text-light);
}

.references h2::after {
  background-color: var(--text-light);
}

.reference-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: var(--space-md);
}

.reference-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: var(--space-md);
  border-radius: var(--radius-md);
  backdrop-filter: blur(5px);
  transition: transform var(--transition-medium);
}

.reference-card:hover {
  transform: translateY(-5px);
}

.reference-card h3 {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-top: 0;
}

.reference-card p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

.reference-link {
  display: inline-block;
  color: var(--quaternary-light);
  font-weight: 500;
  margin-top: var(--space-xs);
  position: relative;
}

.reference-link::after {
  content: "→";
  margin-left: 5px;
  transition: margin-left var(--transition-fast);
}

.reference-link:hover {
  color: var(--quaternary-light);
}

.reference-link:hover::after {
  margin-left: 10px;
}

/* Behind the Scenes Section */
.behind-scenes {
  background-color: var(--background-light);
}

.scenes-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-md);
}

/* Customer Stories Section */
.customer-stories {
  background-color: var(--background-medium);
}

.stories-container {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.story-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-md);
  background-color: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.story-card.reverse {
  flex-direction: row-reverse;
}

.story-image {
  flex: 1 1 300px;
  min-height: 350px;
  position: relative;
  overflow: hidden;
}

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

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

.story-content {
  flex: 1 1 300px;
  padding: var(--space-md);
}

.story-content h3 {
  color: var(--primary-color);
  margin-top: 0;
}

/* FAQ Section */
.faq {
  background-color: var(--background-light);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: var(--space-sm);
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: white;
  box-shadow: var(--shadow-sm);
}

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

.faq-question h3 {
  margin: 0;
  font-size: 1.2rem;
  flex: 1;
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: transform var(--transition-fast);
}

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

.faq-answer {
  padding: 0 var(--space-md);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-medium), padding var(--transition-medium);
}

.faq-item.active .faq-answer {
  padding: 0 var(--space-md) var(--space-md);
  max-height: 500px;
}

/* Pricing Section */
.pricing {
  background-color: var(--quaternary-color);
  color: var(--text-dark);
}

.pricing h2 {
  color: var(--text-dark);
}

.pricing h2::after {
  background-color: var(--text-dark);
}

.pricing-tables {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.pricing-card {
  flex: 1 1 300px;
  max-width: 350px;
  background-color: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-medium);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-10px);
}

.pricing-card.featured {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--primary-color);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.pricing-header {
  padding: var(--space-md);
  background-color: var(--primary-color);
  color: white;
  text-align: center;
}

.pricing-card.featured .pricing-header {
  background-color: var(--secondary-color);
}

.pricing-header h3 {
  margin: 0 0 var(--space-xs);
  color: white;
}

.price {
  font-size: 1.8rem;
  font-weight: 700;
}

.pricing-features {
  padding: var(--space-md);
  flex-grow: 1;
}

.pricing-features ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pricing-features li {
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.pricing-card.featured .pricing-features li::before {
  color: var(--secondary-color);
}

.pricing-footer {
  padding: var(--space-md);
  text-align: center;
}

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

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

.contact-info {
  flex: 1 1 300px;
}

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

.contact-list li {
  margin-bottom: var(--space-md);
}

.contact-list strong {
  display: block;
  margin-bottom: 5px;
  color: var(--primary-color);
}

.contact-map {
  margin-top: var(--space-md);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.contact-map img {
  display: block;
  width: 100%;
  height: auto;
}

.contact-form {
  flex: 1 1 500px;
  background-color: white;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

input, 
select, 
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: var(--radius-md);
  font-family: 'DM Sans', sans-serif;
  transition: border-color var(--transition-fast);
}

input:focus, 
select:focus, 
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
.footer {
  background-color: var(--background-dark);
  color: var(--text-light);
  padding: var(--space-lg) 0 var(--space-md);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-info {
  flex: 1 1 300px;
}

.footer-logo {
  margin-bottom: var(--space-md);
}

.footer-links {
  flex: 1 1 200px;
}

.footer-social {
  flex: 1 1 200px;
}

.footer h3 {
  color: var(--text-light);
  margin-bottom: var(--space-md);
  font-size: 1.3rem;
}

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

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
}

.footer-links ul li a:hover {
  color: var(--text-light);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.social-links li a {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  transition: color var(--transition-fast);
}

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

.footer-newsletter {
  flex: 1 1 300px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex-grow: 1;
  width: auto;
}

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

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Success Page */
.success-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--space-lg);
  background-color: var(--background-light);
}

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

.success-icon {
  font-size: 5rem;
  color: var(--quaternary-color);
  margin-bottom: var(--space-md);
}

.success-content h1 {
  color: var(--primary-color);
}

/* Terms & Privacy Pages */
.terms-page, .privacy-page {
  padding-top: 100px;
  padding-bottom: var(--space-lg);
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.2rem;
  }
  
  .hero {
    height: 80vh;
  }
  
  .story-card, .story-card.reverse {
    flex-direction: column;
  }
  
  .story-image {
    min-height: 250px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .burger-menu {
    display: flex;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background-color: white;
    box-shadow: var(--shadow-lg);
    transition: right var(--transition-medium);
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 5;
  }
  
  .main-nav.open {
    right: 0;
  }
  
  .nav-list {
    flex-direction: column;
    align-items: center;
  }
  
  .nav-list li {
    margin-bottom: var(--space-md);
  }
  
  .mission-content {
    flex-direction: column;
  }
  
  .contact-container {
    flex-direction: column;
  }
  
  .hero-content {
    margin-left: 20px;
    margin-right: 20px;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .pricing-card.featured:hover {
    transform: translateY(-10px);
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.8rem;
  }
  
  section {
    padding: var(--space-md) 0;
  }
  
  .card-image {
    height: 200px;
  }
  
  .newsletter-form {
    flex-direction: column;
  }
  
  .newsletter-form input {
    margin-bottom: 10px;
  }
}

/* Animation classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* 3D Animation Effects */
.card, 
.pricing-card, 
.testimonial-item, 
.stat-card {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.card:hover, 
.pricing-card:hover {
  transform: translateY(-10px) rotateX(5deg);
}

.card-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.2), transparent);
  z-index: 1;
  opacity: 0;
  transition: opacity var(--transition-medium);
}

.card:hover .card-image::before {
  opacity: 1;
}

/* Image hover effects */
.client-logo img,
.mission-image img {
  transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.client-logo:hover img,
.mission-image:hover img {
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Cookie Notice */
#cookie-notice {
  font-family: 'DM Sans', sans-serif;
}

#accept-cookies {
  transition: background-color var(--transition-fast);
}

#accept-cookies:hover {
  background-color: var(--quaternary-dark);
}

/* About, Privacy, Terms pages */
.about-page, 
.privacy-page, 
.terms-page, 
.contacts-page {
  padding-top: 100px;
}

.page-header {
  background-color: var(--primary-color);
  color: var(--text-light);
  padding: var(--space-lg) 0;
  margin-bottom: var(--space-lg);
}

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

.page-content {
  padding: var(--space-lg) 0;
}

.page-content h2 {
  text-align: left;
  padding-bottom: var(--space-xs);
}

.page-content h2::after {
  left: 0;
  transform: none;
}