/* ============================================
   SponyxPro - Main Stylesheet
   ============================================ */

:root {
  --primary-color: #6366f1;
  --primary-dark: #4f46e5;
  --secondary-color: #8b5cf6;
  --accent-color: #ec4899;
  --light-bg: #f8f9fa;
  --dark-bg: #1f2937;
  --text-color: #1f2937;
  --text-light: #6b7280;
  --border-color: #e5e7eb;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --error-color: #ef4444;
  --transition: all 0.3s ease;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* ============================================
   RESET & TYPOGRAPHY
   ============================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-color);
  background-color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.25rem;
}

h5 {
  font-size: 1.1rem;
}

h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* ============================================
   LAYOUT & GRID
   ============================================ */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.row.cols-2 {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}

.row.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.row.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.col {
  width: 100%;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #ffffff!important;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: #ffffff!important;
}

.btn-secondary:hover {
  background-color: #7c3aed;
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid var(--primary-color);
  color: #fff;
  background-color: var(--primary-color);
}

.btn-outline:hover {
  background-color: var(--primary-color);
  color: #ffffff;
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-block {
  display: block;
  width: 100%;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: #ffffff;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo:hover {
  color: #ffffff;
  text-decoration: none;
}

/* ============================================
   MOBILE MENU & HAMBURGER
   ============================================ */

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  width: 30px;
  height: 24px;
  background: none;
  border: none;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: #ffffff;
  border-radius: 2px;
  transition: 0.3s ease;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Desktop Navigation */
nav {
  display: flex;
  gap: 2rem;
}

#nav-menu a {
  color: #ffffff;
  font-weight: 500;
  transition: 0.3s ease;
  position: relative;
  text-decoration: none;
}

#nav-menu a:hover {
  color: #ffffff;
}

#nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #ffffff;
  transition: 0.3s ease;
}

#nav-menu a:hover::after {
  width: 100%;
}

.nav-toggle {
  cursor: pointer;
  background: none;
  border: none;
  color: #ffffff;
  font-weight: 500;
  padding: 0;
  font-size: 1rem;
  font-family: inherit;
}

.nav-group {
  position: relative;
  display: inline-block;
}

.nav-submenu {
  display: none;
  position: absolute;
  background: #ffffff;
  min-width: 180px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 100;
  border-radius: 4px;
  top: 100%;
  margin-top: 8px;
}

#nav-menu .nav-submenu a {
  color: #1a1a1a;
  padding: 10px 16px;
  display: block;
  transition: 0.3s ease;
}

#nav-menu .nav-submenu a:hover {
  background-color: var(--light-bg);
  color: var(--primary-color);
}

.nav-group:hover .nav-submenu {
  display: block;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: #ffffff;
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.1"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>');
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.95);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   CARDS
   ============================================ */

.card {
  background: #ffffff;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.card-image {
  width: 100%;
  height: 200px;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 3rem;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-color);
}

.card-text {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  flex: 1;
}

.card-footer {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
}

.card-footer .btn {
  flex: 1;
}

.card-badge {
  display: inline-block;
  background: var(--primary-color);
  color: #ffffff;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* ============================================
   SECTIONS
   ============================================ */

section {
  padding: 3rem 0;
}

section.light {
  background-color: var(--light-bg);
}

section.dark {
  background-color: var(--dark-bg);
  color: #ffffff;
}

section.dark p {
  color: rgba(255, 255, 255, 0.8);
}

section.dark h2 {
  color: #ffffff;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* ============================================
   FEATURES SECTION
   ============================================ */

.feature {
  text-align: center;
  padding: 2rem 0;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1rem;
  color: #ffffff;
}

.feature-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-text {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ============================================
   OPERATORS SECTION
   ============================================ */

#operateurs {
  padding: 3rem 0;
}

#operateurs .section-title {
  margin-bottom: 3rem;
}

.operator-card {
  background: white;
  padding: 2rem;
  border-radius: 0.75rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary-color);
  transition: var(--transition);
}

.operator-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.operator-card-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: start;
}

.operator-logo-section {
  text-align: center;
}

.operator-logo {
  max-width: 200px;
  height: auto;
  margin-bottom: 0.5rem;
}

.operator-badge {
  background: var(--primary-color);
  color: white;
  padding: 0.5rem;
  border-radius: 0.375rem;
  margin-top: 1rem;
  font-size: 0.75rem;
  font-weight: bold;
  display: inline-block;
}

.operator-rating {
  font-size: 1.1rem;
  font-weight: bold;
  color: #f59e0b;
  margin-top: 0.5rem;
}

.operator-content h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.operator-content p {
  margin-bottom: 1rem;
  color: #718096;
}

.operator-features {
  margin-bottom: 1.5rem;
}

.operator-features ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.operator-features li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.operator-features i {
  color: #10b981;
  margin-right: 0.5rem;
  min-width: 20px;
}

.operator-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.operator-buttons a {
  text-align: center;
}

/* ============================================
   RESPONSIVE - OPERATORS
   ============================================ */

@media (max-width: 768px) {
  .operator-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .operator-card-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .operator-logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .operator-logo {
    max-width: 150px;
  }

  .operator-buttons {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  #operateurs {
    padding: 2rem 0;
  }

  .operator-card {
    padding: 1rem;
    margin-bottom: 1rem;
  }

  .operator-card-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .operator-logo {
    max-width: 120px;
  }

  .operator-content h3 {
    font-size: 1.1rem;
  }

  .operator-features li {
    font-size: 0.9rem;
  }

  .operator-buttons {
    grid-template-columns: 1fr;
  }

  .operator-buttons a {
    padding: 0.5rem !important;
    font-size: 0.9rem;
  }
}

/* ============================================
   REVIEWS SECTION
   ============================================ */

.review {
  background: #ffffff;
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  border-radius: 0.375rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.review-avatar {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.25rem;
}

.review-info h4 {
  margin: 0;
  font-size: 1rem;
}

.review-info p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-light);
}

.review-stars {
  color: #fbbf24;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.review-text {
  color: var(--text-light);
  line-height: 1.6;
}

/* ============================================
   FORMS
   ============================================ */

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-color);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 0.375rem;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
  background-color: #ffffff;
  color: var(--text-color);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ============================================
   FOOTER
   ============================================ */

footer {
  background: var(--dark-bg);
  color: #ffffff;
  padding: 3rem 0 1rem;
  margin-top: 3rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: #ffffff;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-section ul li a:hover {
  color: #ffffff;
  text-decoration: none;
}

.footer-divider {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 2rem 0;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.logos-responsible {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 2rem 0;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.qt-footer-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  opacity: 0.8;
}

.qt-footer-logo-link:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.qt-footer-logo-link img {
  max-height: 60px;
  max-width: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0.95);
  transition: var(--transition);
}

.qt-footer-logo-link:hover img {
  filter: brightness(1.1);
}

@media (max-width: 768px) {
  .logos-responsible {
    gap: 1.5rem;
    padding: 1rem;
  }

  .qt-footer-logo-link img {
    max-height: 50px;
    max-width: 100px;
  }
}

@media (max-width: 480px) {
  .logos-responsible {
    gap: 1rem;
    padding: 0.75rem;
  }

  .qt-footer-logo-link img {
    max-height: 45px;
    max-width: 85px;
  }
}

/* ============================================
   MODALS & POPUPS
   ============================================ */

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease;
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 0.75rem;
  width: 90%;
  max-width: 500px;
  box-shadow: var(--shadow-xl);
  animation: slideUp 0.3s ease;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
}

.modal-close:hover {
  color: var(--text-color);
}

.modal-body {
  margin-bottom: 1.5rem;
}

.modal-footer {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

/* ============================================
   COOKIE BANNER
   ============================================ */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(31, 41, 55, 0.98);
  color: #ffffff;
  padding: 1.5rem;
  z-index: 1500;
  display: none;
  box-shadow: var(--shadow-xl);
  animation: slideUp 0.3s ease;
}

.cookie-banner.active {
  display: block;
}

.cookie-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-content {
  flex: 1;
  min-width: 200px;
}

.cookie-content p {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cookie-banner .btn {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* ============================================
   ALERT & NOTIFICATIONS
   ============================================ */

.alert {
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 0.375rem;
  display: flex;
  gap: 1rem;
}

.alert-success {
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

.alert-error {
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.alert-warning {
  background-color: #ffe4d6;
  color: #92400e;
  border: 1px solid #fdba74;
}

.alert-info {
  background-color: #dbeafe;
  color: #0c2d6b;
  border: 1px solid #93c5fd;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  #nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--primary-color);
    padding: 1rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 999;
  }

  #nav-menu.active {
    display: flex;
  }

  #nav-menu a {
    color: #ffffff;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    display: block;
  }

  #nav-menu a::after {
    display: none;
  }

  #nav-menu a:hover::after {
    display: none;
  }

  .nav-group {
    position: relative;
    display: block;
  }

  .nav-toggle {
    display: block;
    width: 100%;
    text-align: left;
    cursor: pointer;
    color: #ffffff;
    padding: 12px 0;
    border: none;
    background: none;
    font-size: 1rem;
    font-family: inherit;
    font-weight: 500;
  }

  .nav-submenu {
    display: none;
    position: static;
    background: rgba(0, 0, 0, 0.15);
    box-shadow: none;
    min-width: auto;
    margin-top: 0;
    border-radius: 0;
    padding: 0.5rem 0 0.5rem 2rem;
  }

  .nav-submenu.active {
    display: flex;
  }

  .nav-submenu a {
    color: #ffffff;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-submenu a:last-child {
    border-bottom: none;
  }

  .nav-submenu a:hover {
    background: none;
    padding-left: 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .hero {
    padding: 2rem 0;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .row.cols-2 {
    grid-template-columns: 1fr;
  }

  .row.cols-3 {
    grid-template-columns: 1fr;
  }

  .row.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .section-title h2 {
    font-size: 1.5rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .cookie-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .cookie-buttons {
    width: 100%;
    flex-direction: column;
  }

  .cookie-buttons .btn {
    width: 100%;
  }

  section {
    padding: 2rem 0;
  }

  .card-footer {
    flex-direction: column;
  }

  .card-footer .btn {
    width: 100%;
  }

  .modal-content {
    width: 95%;
  }

  .hero-buttons {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  .header-container {
    padding: 0 0.75rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 0.9rem;
  }

  .section-title h2::after {
    width: 40px;
  }

  .row.cols-4 {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.pt-1 { padding-top: 0.5rem; }
.pt-2 { padding-top: 1rem; }
.pt-3 { padding-top: 1.5rem; }
.pt-4 { padding-top: 2rem; }

.pb-1 { padding-bottom: 0.5rem; }
.pb-2 { padding-bottom: 1rem; }
.pb-3 { padding-bottom: 1.5rem; }
.pb-4 { padding-bottom: 2rem; }

.display-none {
  display: none;
}

.visibility-hidden {
  visibility: hidden;
}

.opacity-50 {
  opacity: 0.5;
}

.opacity-75 {
  opacity: 0.75;
}
