/* ===== CSS VARIABLES ===== */
:root {
  /* Colors */
  --primary-color: #ff6b35;
  --primary-color-alt: #e55a2b;
  --secondary-color: #2c2c2c;
  --accent-color: #ff8c42;
  --text-color: #333333;
  --text-color-light: #666666;
  --title-color: #1a1a1a;
  --body-color: #ffffff;
  --container-color: #f9f9f9;
  --border-color: #e0e0e0;
  --gradient: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
  --shadow-light: 0 2px 8px rgba(255, 107, 53, 0.08);
  --shadow-medium: 0 4px 16px rgba(255, 107, 53, 0.12);
  --shadow-strong: 0 8px 32px rgba(255, 107, 53, 0.16);

  /* Typography */
  --body-font: 'Inter', sans-serif;
  --h1-font-size: 3rem;
  --h2-font-size: 2.25rem;
  --h3-font-size: 1.5rem;
  --normal-font-size: 1rem;
  --small-font-size: 0.875rem;
  --smaller-font-size: 0.75rem;
  --font-medium: 500;
  --font-semi-bold: 600;
  --font-bold: 700;

  /* Margins */
  --mb-0-25: 0.25rem;
  --mb-0-5: 0.5rem;
  --mb-0-75: 0.75rem;
  --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;
  --z-modal: 1000;

  /* Animation */
  --transition: all 0.3s ease;
}

/* Responsive Typography */
@media screen and (max-width: 992px) {
  :root {
    --h1-font-size: 2.5rem;
    --h2-font-size: 2rem;
    --h3-font-size: 1.25rem;
  }
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  background-color: var(--body-color);
  color: var(--text-color);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
  line-height: 1.2;
}

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

.grid {
  display: grid;
}

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

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

.section__subtitle {
  display: block;
  font-size: var(--small-font-size);
  color: var(--primary-color);
  font-weight: var(--font-medium);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--mb-0-5);
}

.section__title {
  font-size: var(--h2-font-size);
  margin-bottom: var(--mb-1);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section__description {
  color: var(--text-color-light);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gradient);
  color: white;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: var(--font-medium);
  transition: var(--transition);
  box-shadow: var(--shadow-light);
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

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

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

/* ===== HEADER & NAVIGATION ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: var(--z-fixed);
  transition: var(--transition);
  box-shadow: var(--shadow-light);
}

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

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: var(--font-bold);
  font-size: 1.125rem;
  color: var(--title-color);
}

.nav__logo-img {
  height: 2rem;
  width: auto;
  margin-right: 0.25rem;
}

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

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

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

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

.nav__link:hover::after,
.nav__link.active-link::after {
  width: 100%;
}

.nav__toggle,
.nav__close {
  display: none;
  font-size: 1.25rem;
  color: var(--title-color);
  cursor: pointer;
}

/* Language Selector */
.nav__language {
  position: relative;
}

.language-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  position: relative;
}

.language-toggle i {
  color: var(--primary-color);
  font-size: 1rem;
}

.language-current {
  font-weight: var(--font-medium);
  color: var(--title-color);
}

.language-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-medium);
  padding: 0.5rem;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 120px;
  z-index: var(--z-tooltip);
  border: 1px solid var(--border-color);
}

.language-dropdown.show {
  display: flex;
}

.language-option {
  padding: 0.5rem 0.75rem;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  color: var(--text-color);
  font-size: var(--small-font-size);
}

.language-option:hover,
.language-option.active {
  background: var(--primary-color);
  color: white;
}

.language-options {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 0.5rem;
  box-shadow: var(--shadow-medium);
  padding: 0.5rem;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 60px;
  z-index: var(--z-tooltip);
}

.language-toggle:hover .language-options,
.language-toggle.active .language-options {
  display: flex;
}

/* ===== HOME/HERO SECTION ===== */
.home,
.hero {
  padding-top: 7rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.home__container,
.hero__container {
  gap: 3rem;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  text-align: center;
  min-height: 80vh;
}

.home__data,
.hero__content {
  order: 1;
}

.home__title,
.hero__title {
  font-size: var(--h1-font-size);
  margin-bottom: var(--mb-1);
  line-height: 1.1;
}

.home__title-accent,
.hero__title .highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.home__description,
.hero__description {
  color: var(--text-color-light);
  margin-bottom: var(--mb-2-5);
  font-size: 1.125rem;
  line-height: 1.6;
}

.home__buttons,
.hero__buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.home__image,
.hero__image {
  order: 2;
  display: flex;
  justify-content: center;
}

.home__blob,
.hero__blob,
.hero__services-visual {
  width: 100%;
  max-width: 400px;
  position: relative;
}

.hero__blob svg,
.hero__services-visual svg {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  box-shadow: var(--shadow-medium);
}

.hero__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  color: white;
}

.home__blob-img {
  width: 170px;
}

/* ===== SERVICES SECTION ===== */
.services {
  background-color: var(--container-color);
}

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

.services__card {
  background-color: var(--body-color);
  padding: 2.5rem 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  border: 1px solid var(--border-color);
}

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

.services__icon {
  width: 4rem;
  height: 4rem;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--mb-1-5);
}

.services__icon i {
  font-size: 2rem;
  color: white;
}

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

.services__description {
  color: var(--text-color-light);
  margin-bottom: var(--mb-2);
  line-height: 1.6;
}

.services__features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.services__feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--small-font-size);
  color: var(--text-color);
}

.services__feature i {
  color: var(--primary-color);
  font-size: 0.75rem;
}

/* ===== ABOUT SECTION ===== */
.about__container {
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
  justify-items: center;
  text-align: center;
}

.about__content {
  order: 1;
}

.about__image {
  order: 2;
  display: flex;
  justify-content: center;
}

.about__blob,
.about__visual {
  width: 100%;
  max-width: 320px;
  position: relative;
}

.about__blob svg,
.about__visual svg {
  width: 100%;
  height: auto;
  fill: var(--primary-color);
  border-radius: 1rem;
  box-shadow: var(--shadow-light);
}

.about__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3rem;
  color: white;
}

.about__description {
  color: var(--text-color-light);
  margin-bottom: var(--mb-2-5);
  font-size: 1.125rem;
  line-height: 1.6;
}

.about__features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: var(--mb-2);
}

.about__feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.about__feature i {
  color: var(--primary-color);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.about__feature span {
  color: var(--text-color);
  line-height: 1.5;
}

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

.about__stat {
  text-align: center;
}

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

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

.about__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.about__card {
  background-color: var(--container-color);
  padding: 1.5rem;
  border-radius: 0.75rem;
  text-align: center;
  transition: var(--transition);
}

.about__card:hover {
  background-color: white;
  box-shadow: var(--shadow-light);
}

.about__card i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: var(--mb-1);
}

.about__card h4 {
  font-size: 1.125rem;
  margin-bottom: var(--mb-0-5);
}

.about__card p {
  font-size: var(--small-font-size);
  color: var(--text-color-light);
  line-height: 1.5;
}

/* ===== CONTACT SECTION ===== */
.contact {
  background-color: var(--container-color);
}

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

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

.contact__card {
  background-color: var(--body-color);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
}

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

.contact__card i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: var(--mb-1);
}

.contact__card h3 {
  font-size: 1.125rem;
  margin-bottom: var(--mb-0-5);
}

.contact__card p {
  color: var(--text-color-light);
  line-height: 1.6;
}

.contact__form-container {
  background-color: var(--body-color);
  padding: 2.5rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-light);
}

.contact__form {
  display: grid;
  gap: 1.5rem;
}

.contact__form-group {
  display: flex;
  flex-direction: column;
}

.contact__label {
  font-weight: var(--font-medium);
  margin-bottom: var(--mb-0-5);
  color: var(--title-color);
}

.contact__input {
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 0.5rem;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  transition: var(--transition);
  background-color: var(--body-color);
}

.contact__input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact__textarea {
  padding: 1rem;
  border: 2px solid var(--border-color);
  border-radius: 0.5rem;
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
  transition: var(--transition);
  background-color: var(--body-color);
  resize: vertical;
  min-height: 120px;
  color: var(--text-color);
}

.contact__textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.contact__textarea::placeholder,
.contact__input::placeholder {
  color: var(--text-color-light);
}

.contact__button {
  width: auto;
  min-width: 140px;
  margin-top: var(--mb-1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: var(--font-medium);
  padding: 0.75rem 1.5rem;
  font-size: var(--normal-font-size);
}

.contact__button i {
  font-size: 1rem;
}

.contact__button .btn-loading {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.contact__button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.contact__form-status {
  display: none;
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  font-size: var(--small-font-size);
  font-weight: var(--font-medium);
  text-align: center;
}

.contact__form-status.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.contact__form-status.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* ===== TOAST NOTIFICATIONS ===== */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-weight: var(--font-medium);
  font-size: var(--small-font-size);
  max-width: 400px;
  animation: slideIn 0.3s ease-out;
  opacity: 0;
  transform: translateX(100%);
}

.toast.show {
  opacity: 1;
  transform: translateX(0);
}

.toast.success {
  background-color: #d4edda;
  color: #155724;
  border-left: 4px solid #28a745;
}

.toast.error {
  background-color: #f8d7da;
  color: #721c24;
  border-left: 4px solid #dc3545;
}

.toast.info {
  background-color: #cce7ff;
  color: #004085;
  border-left: 4px solid #007bff;
}

.toast-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.toast-message {
  flex: 1;
  line-height: 1.4;
}

.toast-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0.7;
  color: inherit;
  padding: 0;
  margin-left: 8px;
}

.toast-close:hover {
  opacity: 1;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(100%);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOut {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(100%);
  }
}

.toast.slide-out {
  animation: slideOut 0.3s ease-in;
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--title-color);
  padding: 3rem 0 2rem;
  color: white;
}

.footer__container {
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: var(--mb-2);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: var(--font-bold);
  font-size: 1.125rem;
  margin-bottom: var(--mb-1);
}

.footer__logo-img {
  height: 1.5rem;
  width: auto;
  margin-right: 0.5rem;
}

.footer__description {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: var(--mb-1-5);
  line-height: 1.6;
}

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

.footer__social-link {
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer__social-link:hover {
  background-color: var(--accent-color);
  transform: translateY(-2px);
}

.footer__title {
  font-size: 1.125rem;
  margin-bottom: var(--mb-1-5);
}

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

.footer__link {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer__link:hover {
  color: var(--accent-color);
  transform: translateX(0.25rem);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--mb-2);
  text-align: center;
}

.footer__copy {
  color: rgba(255, 255, 255, 0.5);
  font-size: var(--small-font-size);
}

/* ===== SCROLL UP ===== */
.scrollup {
  position: fixed;
  right: 1rem;
  bottom: -20%;
  background-color: var(--primary-color);
  opacity: 0.8;
  padding: 0.3rem;
  border-radius: 0.4rem;
  z-index: var(--z-tooltip);
  transition: var(--transition);
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scrollup:hover {
  background-color: var(--primary-color-alt);
  opacity: 1;
}

.scrollup i {
  color: white;
  font-size: 1.25rem;
}

.show-scroll {
  bottom: 3rem;
}

/* ===== BREAKPOINTS ===== */
/* For large devices */
@media screen and (max-width: 992px) {
  .container {
    margin-left: var(--mb-1-5);
    margin-right: var(--mb-1-5);
  }

  .home__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .home__data {
    order: 2;
    text-align: center;
  }

  .home__image {
    order: 1;
  }

  .about__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about__stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .contact__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* For medium devices */
@media screen and (max-width: 768px) {
  .section {
    padding: 3rem 0 2rem;
  }

  .nav__menu {
    position: fixed;
    background-color: var(--body-color);
    width: 80%;
    height: 100%;
    top: 0;
    right: -100%;
    box-shadow: -2px 0 4px rgba(0, 0, 0, 0.1);
    padding: 4rem 0 0 3rem;
    border-radius: 1rem 0 0 1rem;
    transition: var(--transition);
    z-index: var(--z-fixed);
  }

  .show-menu {
    right: 0;
  }

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

  .nav__close {
    position: absolute;
    top: 0.75rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
  }

  .nav__toggle,
  .nav__close {
    display: block;
  }

  .home,
  .hero {
    padding-top: 6rem;
  }

  .home__buttons,
  .hero__buttons {
    flex-direction: column;
  }

  .home__container,
  .hero__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .home__data,
  .hero__content {
    order: 2;
    text-align: center;
  }

  .home__image,
  .hero__image {
    order: 1;
  }

  .button {
    width: 100%;
    justify-content: center;
  }

  .services__container {
    grid-template-columns: 1fr;
  }

  .about__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about__content {
    order: 2;
    text-align: center;
  }

  .about__image {
    order: 1;
  }

  .about__cards {
    grid-template-columns: 1fr;
  }

  .about__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .contact__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* For small devices */
@media screen and (max-width: 576px) {
  .container {
    margin-left: var(--mb-1);
    margin-right: var(--mb-1);
  }

  .home__buttons,
  .hero__buttons {
    flex-direction: column;
    align-items: center;
  }

  .services__container {
    grid-template-columns: 1fr;
  }

  .services__card {
    padding: 2rem 1.5rem;
  }

  .about__stats {
    grid-template-columns: 1fr;
    gap: 1rem;
    text-align: center;
  }

  .about__container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about__features {
    gap: 0.75rem;
  }

  .contact__container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact__card {
    padding: 1.5rem;
  }

  .contact__form {
    gap: 1rem;
  }

  .contact__form-container {
    padding: 2rem 1.5rem;
  }

  .scrollup {
    right: 0.5rem;
  }
}

/* For extra small devices */
@media screen and (max-width: 350px) {
  .container {
    margin-left: var(--mb-1);
    margin-right: var(--mb-1);
  }

  .nav__menu {
    padding: 2rem 0.25rem 4rem;
  }

  .nav__list {
    column-gap: 0;
  }

  .home__buttons,
  .hero__buttons {
    width: 100%;
  }

  .services__card {
    padding: 1.5rem 1rem;
  }

  .contact__form-container {
    padding: 1.5rem 1rem;
  }
}

/* ===== ANIMATIONS ===== */
@keyframes slideInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

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

.animate-slide-up {
  animation: slideInUp 0.6s ease-out;
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out;
}

/* Loading states */
.loading {
  opacity: 0.7;
  pointer-events: none;
}

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

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

/* ===== LEGAL PAGES ===== */
.legal {
  padding-top: 7rem;
  background-color: var(--body-color);
}

.legal__header {
  text-align: center;
  margin-bottom: var(--mb-3);
}

.legal__title {
  font-size: var(--h1-font-size);
  color: var(--title-color);
  margin-bottom: var(--mb-0-5);
}

.legal__subtitle {
  color: var(--text-color-light);
  font-size: var(--small-font-size);
  margin-bottom: var(--mb-2);
}

.legal__content {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.7;
}

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

.legal__section h2 {
  font-size: var(--h2-font-size);
  color: var(--title-color);
  margin-bottom: var(--mb-1);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-color);
}

.legal__section h3 {
  font-size: var(--h3-font-size);
  color: var(--title-color);
  margin-bottom: var(--mb-0-75);
  margin-top: var(--mb-1-5);
}

.legal__section p {
  color: var(--text-color);
  margin-bottom: var(--mb-1);
  text-align: justify;
}

.legal__section ul {
  margin-bottom: var(--mb-1);
  padding-left: 1.5rem;
}

.legal__section li {
  color: var(--text-color);
  margin-bottom: 0.5rem;
  list-style-type: disc;
}

.legal__section strong {
  color: var(--title-color);
  font-weight: var(--font-semi-bold);
}

/* Legal page responsive */
@media screen and (max-width: 768px) {
  .legal {
    padding-top: 6rem;
  }
  
  .legal__content {
    padding: 0 1rem;
  }
  
  .legal__section h2 {
    font-size: 1.5rem;
  }
  
  .legal__section p {
    text-align: left;
  }
}
