/* ===== CSS VARIABLES ===== */
:root {
  --primary-color: #1088a0;
  --primary-dark: #0099CC;
  --primary-light: #33DDFF;
  --dark-bg: #0A0A0A;
  --dark-surface: #1A1A1A;
  --dark-card: #242424;
  --white-color: #FFFFFF;
  --light-gray: #2A2A2A;
  --text-color: #FFFFFF;
  --text-light: #B0B0B0;
  --text-muted: #808080;
  --border-color: #333333;
  --accent-color: #FF6B35;
  --success-color: #00FF88;
  --shadow: 0 4px 20px rgba(0, 212, 255, 0.15);
  --shadow-hover: 0 8px 30px rgba(0, 212, 255, 0.25);
  --shadow-dark: 0 4px 20px rgba(0, 0, 0, 0.3);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Typography */
  --body-font: 'Poppins', sans-serif;
  --h1-font-size: 2.5rem;
  --h2-font-size: 2rem;
  --h3-font-size: 1.5rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;
  
  /* Margins */
  --mb-0-25: 0.25rem;
  --mb-0-5: 0.5rem;
  --mb-1: 1rem;
  --mb-1-5: 1.5rem;
  --mb-2: 2rem;
  --mb-2-5: 2.5rem;
  --mb-3: 3rem;
  
  /* Z-index */
  --z-tooltip: 10;
  --z-fixed: 100;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-surface) 100%);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--text-color);
  font-weight: var(--font-semi-bold);
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

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

button {
  cursor: pointer;
  border: none;
  outline: none;
}

/* ===== REUSABLE CSS CLASSES ===== */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.section {
  padding: 4rem 0 2rem;
}

.section__title {
  font-size: var(--h2-font-size);
  color: var(--text-color);
  text-align: center;
  margin-bottom: var(--mb-0-5);
}

.section__subtitle {
  display: block;
  font-size: var(--normal-font-size);
  color: var(--text-light);
  text-align: center;
  margin-bottom: var(--mb-3);
}

.section__header {
  margin-bottom: var(--mb-3);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: var(--font-medium);
  transition: var(--transition);
  text-align: center;
  border: 2px solid var(--primary-color);
}

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

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

.btn--hero {
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: var(--font-semi-bold);
  border-radius: 2rem;
}

.btn--full {
  width: 100%;
}

/* ===== HEADER & NAV ===== */
.header {
  width: 100%;
  position: fixed;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(20px);
  top: 0;
  left: 0;
  z-index: var(--z-fixed);
  transition: var(--transition);
  box-shadow: var(--shadow-dark);
  border-bottom: 1px solid var(--border-color);
}

.nav {
  height: 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav__logo h2 {
  color: var(--primary-color);
  font-weight: var(--font-bold);
  font-size: 1.5rem;
}

.nav__list {
  display: flex;
  column-gap: 2rem;
}

.nav__link {
  color: var(--text-color);
  font-weight: var(--font-medium);
  transition: var(--transition);
  position: relative;
}

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

.nav__link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -0.5rem;
  left: 0;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__actions {
  display: flex;
  align-items: center;
  column-gap: 1rem;
}

.nav__toggle,
.nav__close {
  display: none;
}

/* ===== HERO ===== */
.hero {
  padding-top: 6rem;
  background: radial-gradient(ellipse at center, var(--dark-surface) 0%, var(--dark-bg) 70%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(0, 255, 136, 0.05) 0%, transparent 50%);
  animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.hero__container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 3rem;
}

.hero__title {
  font-size: var(--h1-font-size);
  color: var(--text-color);
  font-weight: var(--font-bold);
  margin-bottom: var(--mb-1);
  line-height: 1.2;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: var(--mb-2-5);
  line-height: 1.5;
}

.hero__image {
  justify-self: center;
}

.hero__illustration {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  border-radius: 50%;
  width: 300px;
  height: 300px;
  position: relative;
  animation: float 6s ease-in-out infinite, glow 4s ease-in-out infinite alternate;
  box-shadow: 
    0 0 60px rgba(0, 212, 255, 0.3),
    0 0 100px rgba(0, 212, 255, 0.1),
    inset 0 0 60px rgba(255, 255, 255, 0.1);
}

@keyframes glow {
  0% { 
    box-shadow: 
      0 0 60px rgba(0, 212, 255, 0.3),
      0 0 100px rgba(0, 212, 255, 0.1),
      inset 0 0 60px rgba(255, 255, 255, 0.1);
  }
  100% { 
    box-shadow: 
      0 0 80px rgba(0, 212, 255, 0.5),
      0 0 120px rgba(0, 212, 255, 0.2),
      inset 0 0 80px rgba(255, 255, 255, 0.2);
  }
}

.hero__illustration i {
  font-size: 3rem;
  color: var(--white-color);
  animation: bounce 2s ease-in-out infinite;
}

.hero__illustration i:nth-child(2) {
  animation-delay: 0.5s;
}

.hero__illustration i:nth-child(3) {
  animation-delay: 1s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* ===== SERVICES ===== */
.services {
  background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-surface) 100%);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.services__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service__card {
  background: linear-gradient(145deg, var(--dark-card), var(--dark-surface));
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  box-shadow: var(--shadow-dark);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.service__card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
  transition: var(--transition);
}

.service__card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: var(--shadow-hover), 0 0 40px rgba(0, 212, 255, 0.2);
  border-color: var(--primary-color);
}

.service__card:hover::before {
  left: 100%;
}

.service__icon {
  display: inline-flex;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--white-color);
  font-size: 2rem;
  padding: 1rem;
  border-radius: 50%;
  margin-bottom: var(--mb-1);
}

.service__title {
  font-size: var(--h3-font-size);
  margin-bottom: var(--mb-1);
  color: var(--text-color);
}

.service__description {
  color: var(--text-light);
  margin-bottom: var(--mb-1-5);
  line-height: 1.6;
}

.service__link {
  color: var(--primary-color);
  font-weight: var(--font-medium);
  transition: var(--transition);
}

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

.service__link i {
  margin-left: 0.5rem;
  transition: var(--transition);
}

.service__link:hover i {
  transform: translateX(5px);
}

/* ===== ABOUT ===== */
.about {
  background: radial-gradient(ellipse at center, var(--dark-surface) 0%, var(--dark-bg) 100%);
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
  opacity: 0.05;
  transform: translate(-50%, -50%);
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.05; }
  50% { transform: translate(-50%, -50%) scale(1.5); opacity: 0.1; }
}

.about__container {
  text-align: center;
}

.about__description {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: var(--mb-3);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.about__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-top: var(--mb-3);
}

.stat {
  text-align: center;
}

.stat__number {
  font-size: 2.5rem;
  font-weight: var(--font-bold);
  color: var(--primary-color);
  margin-bottom: var(--mb-0-5);
}

.stat__label {
  color: var(--text-light);
  font-weight: var(--font-medium);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--dark-surface) 50%, var(--dark-bg) 100%);
  position: relative;
}

.testimonials::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-color), var(--primary-color), var(--success-color));
  animation: colorShift 6s ease-in-out infinite;
}

@keyframes colorShift {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.testimonials__container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial__card {
  background: linear-gradient(145deg, var(--dark-card), var(--dark-surface));
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-dark);
  transition: var(--transition);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.testimonial__card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  transform: scaleX(0);
  transition: var(--transition);
}

.testimonial__card:hover {
  transform: translateY(-8px) rotateX(5deg);
  box-shadow: var(--shadow-hover), 0 0 30px rgba(0, 212, 255, 0.15);
}

.testimonial__card:hover::after {
  transform: scaleX(1);
}

.testimonial__text {
  color: var(--text-light);
  margin-bottom: var(--mb-2);
  font-style: italic;
  line-height: 1.6;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial__avatar {
  font-size: 3rem;
  color: var(--primary-color);
}

.testimonial__name {
  font-size: 1.1rem;
  font-weight: var(--font-semi-bold);
  margin-bottom: var(--mb-0-25);
}

.testimonial__role {
  color: var(--text-light);
  font-size: var(--small-font-size);
}

/* ===== CONTACT ===== */
.contact {
  background: linear-gradient(180deg, var(--dark-surface) 0%, var(--dark-bg) 100%);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 10% 20%, rgba(0, 212, 255, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 90% 80%, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.contact__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: var(--mb-3);
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact__item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact__icon {
  display: inline-flex;
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--white-color);
  font-size: 1.5rem;
  padding: 1rem;
  border-radius: 50%;
}

.contact__title {
  font-size: 1.1rem;
  font-weight: var(--font-semi-bold);
  margin-bottom: var(--mb-0-25);
}

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

.contact__form {
  background: linear-gradient(145deg, var(--dark-card), var(--dark-surface));
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-dark);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.contact__form::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--primary-color), var(--accent-color), var(--success-color), var(--primary-color));
  border-radius: 1rem;
  z-index: -1;
  opacity: 0;
  transition: var(--transition);
}

.contact__form:hover::before {
  opacity: 0.5;
  animation: borderGlow 2s linear infinite;
}

@keyframes borderGlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.form__group {
  margin-bottom: var(--mb-1-5);
}

.form__label {
  display: block;
  color: var(--text-color);
  font-weight: var(--font-medium);
  margin-bottom: var(--mb-0-5);
}

.form__input,
.form__textarea {
  width: 100%;
  background: linear-gradient(145deg, var(--light-gray), var(--dark-surface));
  color: var(--text-color);
  padding: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  font-family: var(--body-font);
}

.form__input:focus,
.form__textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2), inset 0 0 20px rgba(0, 212, 255, 0.05);
  transform: scale(1.02);
}

.form__textarea {
  resize: vertical;
}

.contact__map {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact__map iframe {
  border-radius: 1rem;
}

/* ===== FOOTER ===== */
.footer {
  background: linear-gradient(135deg, var(--dark-bg) 0%, #000000 100%);
  color: var(--white-color);
  padding: 3rem 0 1rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.footer__container {
  display: grid;
  gap: 2rem;
}

.footer__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer__logo {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: var(--font-bold);
  margin-bottom: var(--mb-1);
}

.footer__description {
  color: #CCCCCC;
  line-height: 1.6;
}

.footer__title {
  font-size: 1.1rem;
  margin-bottom: var(--mb-1);
  color: var(--white-color);
}

.footer__list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer__link {
  color: #CCCCCC;
  transition: var(--transition);
}

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

.footer__social-links {
  display: flex;
  gap: 1rem;
}

.footer__social-link {
  display: inline-flex;
  background-color: var(--primary-color);
  color: var(--white-color);
  padding: 0.75rem;
  border-radius: 50%;
  font-size: 1.2rem;
  transition: var(--transition);
}

.footer__social-link:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
}

.footer__bottom {
  border-top: 1px solid #444;
  padding-top: 2rem;
  text-align: center;
}

.footer__copyright {
  color: #CCCCCC;
}

/* ===== RESPONSIVE DESIGN ===== */
@media screen and (max-width: 992px) {
  .container {
    margin-left: var(--mb-1-5);
    margin-right: var(--mb-1-5);
  }
  
  .hero__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero__illustration {
    width: 250px;
    height: 250px;
  }
  
  .contact__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media screen and (max-width: 768px) {
  :root {
    --h1-font-size: 2rem;
    --h2-font-size: 1.5rem;
    --h3-font-size: 1.25rem;
  }
  
  .section {
    padding: 2rem 0 1rem;
  }
  
  .nav__menu {
    position: fixed;
    background-color: var(--white-color);
    width: 80%;
    height: 100%;
    top: 0;
    right: -100%;
    padding: 4rem 0 0 3rem;
    transition: var(--transition);
    box-shadow: -2px 0 4px rgba(0, 0, 0, 0.1);
  }
  
  .nav__list {
    flex-direction: column;
    row-gap: 2rem;
  }
  
  .nav__toggle,
  .nav__close {
    display: block;
    font-size: 1.5rem;
    color: var(--text-color);
    cursor: pointer;
  }
  
  .nav__close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
  }
  
  .show-menu {
    right: 0;
  }
  
  .hero {
    padding-top: 5rem;
  }
  
  .hero__illustration {
    width: 200px;
    height: 200px;
  }
  
  .hero__illustration i {
    font-size: 2rem;
  }
  
  .services__container {
    grid-template-columns: 1fr;
  }
  
  .about__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  
  .testimonials__container {
    grid-template-columns: 1fr;
  }
  
  .footer__content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media screen and (max-width: 576px) {
  .container {
    margin-left: var(--mb-1);
    margin-right: var(--mb-1);
  }
  
  .hero__title {
    font-size: 1.8rem;
  }
  
  .about__stats {
    grid-template-columns: 1fr;
  }
  
  .stat__number {
    font-size: 2rem;
  }
}

/* ===== ADVANCED ANIMATIONS ===== */
.animate-element {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* Particle animations */
@keyframes float-particle {
  0% {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

/* Floating shape animations */
@keyframes float-shape {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  25% {
    transform: translateY(-20px) rotate(90deg);
  }
  50% {
    transform: translateY(0px) rotate(180deg);
  }
  75% {
    transform: translateY(-10px) rotate(270deg);
  }
}

/* Enhanced button animations */
.btn {
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: var(--transition);
}

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

/* Enhanced service card animations */
.service__icon {
  transition: var(--transition);
}

.service__card:hover .service__icon {
  transform: scale(1.1) rotate(5deg);
  animation: iconBounce 0.6s ease-in-out;
}

@keyframes iconBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: scale(1.1) rotate(5deg) translateY(0);
  }
  40% {
    transform: scale(1.1) rotate(5deg) translateY(-10px);
  }
  60% {
    transform: scale(1.1) rotate(5deg) translateY(-5px);
  }
}

/* Text reveal animations */
.section__title {
  background: linear-gradient(45deg, var(--text-color), var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: textShimmer 3s ease-in-out infinite;
}

@keyframes textShimmer {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/* Enhanced testimonial animations */
.testimonial__avatar {
  transition: var(--transition);
}

.testimonial__card:hover .testimonial__avatar {
  transform: scale(1.2) rotate(360deg);
  color: var(--primary-light);
}

/* Form input focus animations */
.form__input:focus,
.form__textarea:focus {
  animation: inputGlow 2s ease-in-out infinite alternate;
}

@keyframes inputGlow {
  0% {
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.2), inset 0 0 20px rgba(0, 212, 255, 0.05);
  }
  100% {
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.4), inset 0 0 30px rgba(0, 212, 255, 0.1);
  }
}

/* Loading spinner for form submission */
.btn--loading {
  position: relative;
  color: transparent !important;
}

.btn--loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top: 2px solid var(--white-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Scroll reveal animations */
.hero__content {
  animation: slideInLeft 1s ease-out;
}

.hero__image {
  animation: slideInRight 1s ease-out 0.3s both;
}

@keyframes slideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Enhanced navigation animations */
.nav__link {
  position: relative;
  overflow: hidden;
}

.nav__link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
  transition: var(--transition);
}

.nav__link:hover::before {
  left: 100%;
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
  
  .animate-element {
    opacity: 1;
    transform: none;
  }
}

/* Focus styles for keyboard navigation */
.nav__link:focus,
.btn:focus,
.form__input:focus,
.form__textarea:focus,
.footer__link:focus,
.footer__social-link:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #0066CC;
    --primary-dark: #004499;
    --text-color: #000000;
    --text-light: #333333;
  }
}
