@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

/* ===== components/layout/Header/Header.css ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: white;
  transition: all 0.3s ease;
}

.header-scrolled {
  box-shadow: var(--shadow-md);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0.75rem 0.3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.logo {
  flex-shrink: 0;
  text-decoration: none;
}

.logo-image {
  height: 55px;
  width: auto;
  transition: transform 0.3s ease;
}

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

/* Navigation */
.nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
  background: rgba(37, 99, 235, 0.08);
}

.nav-link-highlight {
  background: var(--color-gradient-accent);
  color: white !important;
  font-weight: 600;
  padding: 0.5rem 0.85rem;
  font-size: 0.8rem;
}

.nav-link-highlight:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px var(--color-accent-glow);
  background: var(--color-gradient-accent);
}

.nav-link-icon {
  width: 16px;
  height: 16px;
}

.nav-link-icon svg {
  width: 100%;
  height: 100%;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-switch {
  display: flex;
  background: var(--color-surface-alt);
  border-radius: 8px;
  padding: 4px;
  border: 1px solid var(--color-border);
}

.lang-btn {
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn.active {
  background: var(--color-primary);
  color: white;
}

.lang-btn:not(.active):hover {
  color: var(--color-text);
}

.header-phones {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.6rem;
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-text);
  font-size: 0.75rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.header-phone:hover {
  border-color: var(--color-primary);
  background: rgba(37, 99, 235, 0.05);
}

.phone-icon {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
}

.phone-icon svg {
  width: 100%;
  height: 100%;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 10px;
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  cursor: pointer;
}

.mobile-toggle span {
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: all 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (max-width: 1100px) {
  .nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 992px) {
  .mobile-toggle {
    display: flex;
  }

  .header-phones {
    display: none;
  }

  .header-phone {
    display: none;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: white;
    border-left: 1px solid var(--color-border);
    flex-direction: column;
    justify-content: flex-start;
    padding: 5rem 1.5rem 2rem;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-lg);
  }

  .nav-open {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    width: 100%;
    gap: 0.5rem;
  }

  .nav-item {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .header-container {
    padding: 0.5rem 1rem;
  }

  .logo-image {
    height: 45px;
  }
}

/* ===== components/layout/Footer/Footer.css ===== */
.footer {
  position: relative;
  background: white;
  border-top: 1px solid var(--color-border);
  overflow: hidden;
}

.footer-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 150px;
  background: radial-gradient(ellipse, var(--color-primary-glow) 0%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}

.footer-container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--color-border);
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1.25rem;
}

.footer-logo-image {
  height: 50px;
  width: auto;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 280px;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  color: var(--color-text-muted);
  transition: all 0.2s ease;
}

.footer-socials a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
}

.footer-socials svg {
  width: 16px;
  height: 16px;
}

.footer-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a,
.footer-links span {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-contact-links li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-contact-links svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.footer-bottom {
  padding-top: 2rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 576px) {
  .footer-container {
    padding: 3rem 1.5rem 1.5rem;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: span 1;
    text-align: center;
  }

  .footer-desc {
    max-width: 100%;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-links-group {
    text-align: center;
  }

  .footer-contact-links li {
    justify-content: center;
  }
}

/* ===== styles/globals.css ===== */
:root {
  /* Light Navy Theme */
  --color-bg: #f0f4f8;
  --color-bg-dark: #0a1628;
  --color-surface: #ffffff;
  --color-surface-alt: #f8fafc;
  --color-surface-elevated: #ffffff;
  --color-border: #e2e8f0;
  --color-border-dark: rgba(59, 130, 246, 0.2);
  --color-text: #1e293b;
  --color-text-secondary: #475569;
  --color-text-muted: #64748b;
  --color-text-light: #f0f4f8;
  
  /* Accent Colors */
  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-primary-glow: rgba(37, 99, 235, 0.2);
  --color-accent: #dc2626;
  --color-accent-glow: rgba(220, 38, 38, 0.2);
  --color-gradient: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  --color-gradient-accent: linear-gradient(135deg, #dc2626 0%, #ea580c 100%);
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1);
  --shadow-glow: 0 0 30px var(--color-primary-glow);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
}

::selection {
  background: var(--color-primary);
  color: white;
}

/* Typography */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--color-gradient);
  border-radius: 1px;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
  letter-spacing: -0.02em;
}

/* Focus */
:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ===== components/layout/Layout/Layout.css ===== */
.layout {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.main {
  flex: 1;
  padding-top: 75px;
}

@media (max-width: 576px) {
  .main {
    padding-top: 65px;
  }
}

/* ===== components/common/Button/Button.css ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

.btn-primary:hover {
  background: transparent;
  color: var(--color-accent);
}

.btn-secondary {
  background: var(--color-blue);
  color: white;
  border-color: var(--color-blue);
}

.btn-secondary:hover {
  background: transparent;
  color: var(--color-blue);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-text);
}

.btn-outline:hover {
  background: var(--color-text);
  color: var(--color-bg);
}

/* ===== components/common/Card/Card.css ===== */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--color-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.card-hoverable {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hoverable:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.card-hoverable:hover::before {
  transform: scaleX(1);
}

/* ===== components/common/Loader/Loader.css ===== */
.loader-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  background: var(--color-bg);
}

.loader {
  position: relative;
  width: 60px;
  height: 60px;
}

.loader::before,
.loader::after {
  content: '';
  position: absolute;
  border-radius: 50%;
}

.loader::before {
  inset: 0;
  border: 3px solid transparent;
  border-top-color: var(--color-primary);
  animation: loader-spin 1s linear infinite;
}

.loader::after {
  inset: 8px;
  border: 3px solid transparent;
  border-top-color: var(--color-accent);
  animation: loader-spin 0.8s linear infinite reverse;
}

@keyframes loader-spin {
  to { transform: rotate(360deg); }
}

/* ===== components/sections/Hero/Hero.css ===== */
.hero {
  position: relative;
  width: 100%;
  height: 80vh;
  min-height: 550px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 15s ease-out forwards;
}

@keyframes heroZoom {
  from {
    transform: scale(1.1);
  }

  to {
    transform: scale(1);
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      rgba(10, 22, 40, 0.2) 0%,
      rgba(10, 22, 40, 0.4) 50%,
      rgba(10, 22, 40, 0.9) 100%);
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 50%, transparent 100%);
}

/* Accreditation Document */
.accreditation-document {
  position: absolute;
  top: 50%;
  right: 3rem;
  transform: translateY(-50%);
  z-index: 10;
  width: 380px;
  height: 520px;
  cursor: pointer;
  animation: floatIn 1s ease-out 0.5s both;
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(-50%) translateX(50px) rotate(5deg);
  }

  to {
    opacity: 1;
    transform: translateY(-50%) translateX(0) rotate(2deg);
  }
}

.document-frame {
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    0 25px 50px -12px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: rotate(2deg);
  transition: all 0.4s ease;
}

.accreditation-document:hover .document-frame {
  transform: rotate(0deg) scale(1.02);
  box-shadow:
    0 30px 60px -15px rgba(0, 0, 0, 0.6),
    0 0 0 2px rgba(96, 165, 250, 0.5);
}

.document-pdf {
  width: 100%;
  height: 100%;
  border: none;
  pointer-events: none;
}

.document-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
      transparent 0%,
      transparent 60%,
      rgba(10, 22, 40, 0.8) 100%);
  border-radius: 8px;
  transform: rotate(2deg);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.accreditation-document:hover .document-overlay {
  opacity: 1;
}

.document-click-hint {
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(96, 165, 250, 0.9);
  padding: 0.5rem 1rem;
  border-radius: 20px;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem 8rem;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.hero-scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

.scroll-mouse {
  width: 26px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background: white;
  border-radius: 2px;
  animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {

  0%,
  100% {
    opacity: 1;
    transform: translateY(0);
  }

  50% {
    opacity: 0.3;
    transform: translateY(8px);
  }
}

.hero-scroll-indicator span {
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.7);
}

/* Stats Bar */
.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  padding: 1.5rem 2rem;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(20px);
}

.stat {
  text-align: center;
  animation: fadeInUp 0.8s ease-out 0.7s both;
}

.stat-value {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 1400px) {
  .accreditation-document {
    width: 340px;
    height: 460px;
    right: 2rem;
  }
}

@media (max-width: 1200px) {
  .accreditation-document {
    width: 300px;
    height: 400px;
    right: 2rem;
  }
}

@media (max-width: 1024px) {
  .accreditation-document {
    width: 260px;
    height: 350px;
    right: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 100vh;
    flex-direction: column;
    padding-bottom: 2rem;
  }

  .hero-content {
    padding-bottom: 6rem;
  }

  .hero-scroll-indicator {
    display: none;
  }

  .accreditation-document {
    position: relative;
    display: block;
    top: auto;
    right: auto;
    left: auto;
    transform: none;
    width: 90%;
    max-width: 340px;
    height: 400px;
    margin: 2rem auto;
    animation: fadeInUp 0.8s ease-out 0.2s both;
  }

  .accreditation-document:hover .document-frame {
    transform: none;
  }

  .hero-stats {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    width: 100%;
    margin-top: auto;
    gap: 1.5rem;
    padding: 2rem 1rem;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.65rem;
  }
}

/* ===== components/sections/Services/Services.css ===== */
.services {
  position: relative;
  padding: 5rem 0;
  background: var(--color-bg);
  z-index: 1;
}

.services-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

.services-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: all 0.2s ease;
}

.services-view-all svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.services-view-all:hover {
  gap: 0.75rem;
}

.services-view-all:hover svg {
  transform: translateX(4px);
}

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

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInUp 0.6s ease-out both;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.service-card:hover .service-card-glow {
  opacity: 1;
}

.service-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(180deg, var(--color-primary-glow) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 22, 40, 0.9) 100%);
}

.service-card-content {
  position: relative;
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.service-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 0.75rem;
  line-height: 1.3;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin: 0 0 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: gap 0.2s ease;
}

.service-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.service-card:hover .service-link svg {
  transform: translateX(4px);
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .services {
    padding: 3rem 0;
  }

  .services-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

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

  .service-card-image {
    height: 180px;
  }
}

/* ===== components/sections/About/About.css ===== */
.about-section {
  position: relative;
  padding: 5rem 0;
  background: var(--color-surface);
  z-index: 1;
}

.about-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image-col {
  position: relative;
}

.about-image-wrapper {
  position: relative;
}

.about-image {
  width: 100%;
  height: auto;
  border-radius: 16px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-lg);
}

.about-image-border {
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  border: 2px solid var(--color-primary);
  border-radius: 16px;
  z-index: 1;
}

.about-image-accent {
  position: absolute;
  bottom: -30px;
  right: -30px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  background: var(--color-gradient);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
}

.accent-year {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: white;
  line-height: 1;
}

.accent-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.about-content-col {
  max-width: 560px;
}

.about-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.2;
  margin: 0 0 1.5rem;
}

.about-text {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin: 0 0 2rem;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 1rem;
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-text span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text);
}

.about-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  background: var(--color-gradient);
  border-radius: 10px;
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.about-btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.about-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.about-btn:hover svg {
  transform: translateX(4px);
}

@media (max-width: 992px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image-col {
    max-width: 500px;
    margin: 0 auto;
  }

  .about-content-col {
    max-width: 100%;
    text-align: center;
  }

  .about-content-col .section-label {
    justify-content: center;
  }

  .about-features {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .about-section {
    padding: 3rem 0;
  }

  .about-features {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin: 0 auto 2rem;
  }

  .about-image-border {
    top: 10px;
    left: 10px;
    right: -10px;
    bottom: -10px;
  }

  .about-image-accent {
    width: 90px;
    height: 90px;
    bottom: -15px;
    right: -15px;
  }

  .accent-year {
    font-size: 1.5rem;
  }
}

/* ===== components/sections/WhyUs/WhyUs.css ===== */
.why-us {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
  z-index: 1;
}

.why-us-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.why-us-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.why-us-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10, 22, 40, 0.92) 0%,
    rgba(37, 99, 235, 0.85) 100%
  );
}

.why-us-container {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.why-us-content {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
}

.why-us .section-label {
  color: rgba(255, 255, 255, 0.9);
}

.why-us .section-label::before {
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, 0.5) 100%);
}

.why-us-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: white;
  margin: 0 0 4rem;
  letter-spacing: -0.02em;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.reason-card {
  position: relative;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 16px;
  text-align: left;
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  animation: fadeInUp 0.6s ease-out both;
  overflow: hidden;
}

.reason-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.reason-card:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-4px);
}

.reason-card:hover::before {
  transform: scaleX(1);
}

.reason-number {
  display: inline-block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 1rem;
}

.reason-text {
  font-size: 1rem;
  font-weight: 500;
  color: white;
  line-height: 1.5;
  margin: 0;
}

.reason-line {
  position: absolute;
  bottom: 0;
  left: 2rem;
  right: 2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
}

@media (max-width: 992px) {
  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .why-us {
    padding: 4rem 0;
  }

  .why-us-title {
    margin-bottom: 2.5rem;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
  }

  .reason-card {
    padding: 1.5rem;
  }

  .reason-number {
    font-size: 2rem;
  }
}

/* ===== components/sections/Partners/Partners.css ===== */
.partners {
  position: relative;
  padding: 5rem 0;
  background: var(--color-surface-alt);
  z-index: 1;
}

.partners-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.partners-header {
  text-align: center;
  margin-bottom: 3rem;
}

.partners-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 100px;
  padding: 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.partner-item:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.partner-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: all 0.3s ease;
}

.partners-action {
  text-align: center;
  margin-top: 2.5rem;
}

.partners-toggle-btn {
  padding: 0.875rem 2rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  background: transparent;
  border: 2px solid var(--color-primary);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.partners-toggle-btn:hover {
  background: var(--color-primary);
  color: white;
}

@media (max-width: 768px) {
  .partners {
    padding: 3rem 0;
  }

  .partners-grid {
    gap: 1.5rem;
  }

  .partner-item {
    width: 160px;
    height: 80px;
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .partner-item {
    width: 140px;
    height: 70px;
  }
}

/* ===== pages/Home/Home.css ===== */
.home {
  margin-top: 0;
}

.home .hero {
  margin-top: 0;
}

.error-state {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  color: var(--color-text-muted);
  font-size: 1.2rem;
}

/* ===== pages/About/About.css ===== */
.about-page {
  position: relative;
  z-index: 1;
}

.about-page .page-hero {
  padding: 6rem 2rem 5rem;
  text-align: center;
  background: linear-gradient(rgba(10, 25, 47, 0.7), rgba(10, 25, 47, 0.7)), url('../img/backPhoto.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid var(--color-border);
}

.about-page .page-hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.about-page .page-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1rem;
}

.about-page .page-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: linear-gradient(90deg, #dc2626, #ef4444);
  border-radius: 1px;
}

.about-page .page-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: white;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.about-page .page-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  margin: 0;
}

.about-section {
  padding: 4rem 0;
  background: var(--color-bg);
}

.about-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.about-image-block img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.about-text-block h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 1.5rem;
}

.about-text-block p {
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0 0 1.5rem;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 3rem 0;
  border-top: 1px solid var(--color-border);
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.stat-item:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.stat-number {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  background: var(--color-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .about-stats {
    grid-template-columns: 1fr;
  }
}

/* ===== pages/Services/Services.css ===== */
.services-page {
  position: relative;
  z-index: 1;
}

.page-hero {
  padding: 4rem 2rem 3rem;
  text-align: center;
  background: white;
  border-bottom: 1px solid var(--color-border);
}

.page-hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.page-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.page-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--color-gradient);
  border-radius: 1px;
}

.page-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.page-subtitle {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  margin: 0;
}

.services-section {
  padding: 4rem 0;
  background: var(--color-bg);
}

.services-wrapper {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.service-full-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-full-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
}

.service-card-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-full-card:hover .service-card-image img {
  transform: scale(1.08);
}

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 22, 40, 0.9) 100%);
}

.service-card-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card-content h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 1rem;
}

.service-card-content p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0 0 1.5rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: gap 0.2s ease;
}

.service-full-card:hover .service-card-link {
  gap: 0.75rem;
}

@media (max-width: 768px) {
  .services-full-grid {
    grid-template-columns: 1fr;
  }

  .service-card-image {
    height: 200px;
  }
}

/* ===== pages/ServiceDetail/ServiceDetail.css ===== */
.service-detail {
  position: relative;
  z-index: 1;
}

.service-not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
  gap: 1.5rem;
  background: var(--color-bg);
}

.service-not-found h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  color: var(--color-text);
}

.back-link {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--color-accent);
}

.service-detail-hero {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.service-detail-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 22, 40, 0.4) 0%,
    rgba(10, 22, 40, 0.95) 100%
  );
}

.service-detail-hero-content {
  position: absolute;
  bottom: 3rem;
  left: 0;
  right: 0;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.breadcrumb {
  display: block;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: white;
}

.breadcrumb span:last-child {
  color: white;
}

.service-detail-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: white;
  margin: 0;
  letter-spacing: -0.02em;
}

.service-detail-content {
  padding: 4rem 0;
  background: var(--color-bg);
}

.service-detail-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 3rem;
}

.service-detail-main h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-primary);
  display: inline-block;
}

.service-short-desc {
  margin-bottom: 3rem;
}

.service-short-desc div,
.service-full-desc div {
  color: var(--color-text-secondary);
  font-size: 1rem;
  line-height: 1.8;
}

.service-full-desc div p {
  margin-bottom: 1rem;
}

.service-detail-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.sidebar-box {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2rem;
}

.sidebar-box h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 1rem;
}

.sidebar-box p {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

.sidebar-phone {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  margin-bottom: 1.5rem;
  transition: color 0.2s;
}

.sidebar-phone:hover {
  color: var(--color-accent);
}

.sidebar-btn {
  display: block;
  text-align: center;
  padding: 1rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  background: var(--color-gradient);
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.sidebar-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

@media (max-width: 992px) {
  .service-detail-container {
    grid-template-columns: 1fr;
  }

  .service-detail-sidebar {
    position: static;
  }

  .service-detail-hero {
    height: 300px;
  }
}

@media (max-width: 576px) {
  .service-detail-hero {
    height: 250px;
  }

  .service-detail-hero-content {
    bottom: 2rem;
  }

  .service-detail-content {
    padding: 2rem 0;
  }
}

/* ===== pages/Contact/Contact.css ===== */
.contact-page {
  position: relative;
  z-index: 1;
}

.page-hero {
  padding: 4rem 2rem 3rem;
  text-align: center;
  background: white;
  border-bottom: 1px solid var(--color-border);
}

.page-hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.page-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.page-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--color-gradient);
  border-radius: 1px;
}

.page-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.page-subtitle {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  margin: 0;
}

.contact-section {
  padding: 4rem 0;
  background: var(--color-bg);
}

.contact-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 1rem;
}

.contact-info > p {
  color: var(--color-text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin: 0 0 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.contact-item:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  font-size: 1.5rem;
}

.contact-item strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
}

.contact-item p {
  color: var(--color-text-secondary);
  margin: 0;
  line-height: 1.5;
  font-size: 0.95rem;
}

.contact-item a {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

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

.contact-map {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2.5rem;
}

.form-message {
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
}

.form-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #16a34a;
}

.form-error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #dc2626;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--color-surface-alt);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  color: var(--color-text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-glow);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-muted);
}

.form-group input:disabled,
.form-group textarea:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.submit-btn {
  width: 100%;
  padding: 1rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
  background: var(--color-gradient);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

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

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 576px) {
  .contact-form {
    padding: 1.5rem;
  }
}

/* ===== pages/Gallery/Gallery.css ===== */
.gallery-page {
  position: relative;
  z-index: 1;
}

.page-hero {
  padding: 4rem 2rem 3rem;
  text-align: center;
  background: white;
  border-bottom: 1px solid var(--color-border);
}

.page-hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.page-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.page-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--color-gradient);
  border-radius: 1px;
}

.page-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.page-subtitle {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  margin: 0;
}

.gallery-section {
  padding: 4rem 0;
  background: var(--color-bg);
}

.gallery-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.gallery-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: var(--color-surface);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(37, 99, 235, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.gallery-item-overlay svg {
  width: 48px;
  height: 48px;
  color: white;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
  background: rgba(37, 99, 235, 0.7);
}

.gallery-item:hover .gallery-item-overlay svg {
  opacity: 1;
  transform: scale(1);
}

/* Modal */
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.3s ease;
}

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

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.modal-close svg {
  width: 24px;
  height: 24px;
  color: white;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.modal-nav svg {
  width: 28px;
  height: 28px;
  color: white;
}

.modal-nav:hover {
  background: var(--color-primary);
}

.modal-prev {
  left: 2rem;
}

.modal-next {
  right: 2rem;
}

.modal-content {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.modal-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 8px;
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-caption {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  text-align: center;
}

@media (max-width: 1200px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .modal-nav {
    width: 44px;
    height: 44px;
  }

  .modal-prev {
    left: 1rem;
  }

  .modal-next {
    right: 1rem;
  }

  .modal-nav svg {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 480px) {
  .gallery-section {
    padding: 2rem 0;
  }

  .gallery-container {
    padding: 0 1rem;
  }

  .gallery-grid {
    gap: 0.75rem;
  }

  .gallery-item {
    border-radius: 8px;
  }
}

/* ===== pages/Video/Video.css ===== */
.video-page {
  position: relative;
  z-index: 1;
}

.page-hero {
  padding: 4rem 2rem 3rem;
  text-align: center;
  background: white;
  border-bottom: 1px solid var(--color-border);
}

.page-hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.page-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.page-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--color-gradient);
  border-radius: 1px;
}

.page-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.page-subtitle {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  margin: 0;
}

.video-section {
  padding: 4rem 0;
  background: var(--color-bg);
}

.video-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.video-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.3s ease;
}

.video-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
}

.video-thumbnail {
  position: relative;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-thumbnail img {
  width: 60%;
  height: auto;
  max-height: 70%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.video-card:hover .video-thumbnail img {
  transform: scale(1.1);
}

.video-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease;
}

.video-card:hover .video-play-overlay {
  background: rgba(37, 99, 235, 0.6);
}

.play-button {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 50%;
  color: var(--color-primary);
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.play-button svg {
  width: 28px;
  height: 28px;
  margin-left: 4px;
}

.video-card:hover .play-button {
  transform: scale(1.1);
  background: var(--color-primary);
  color: white;
}

.video-info {
  padding: 1.25rem 1.5rem;
}

.video-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0;
  line-height: 1.4;
}

/* Modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  animation: fadeIn 0.3s ease;
}

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

.video-modal .modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.video-modal .modal-close svg {
  width: 24px;
  height: 24px;
  color: white;
}

.video-modal .modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.video-modal .modal-content {
  width: 100%;
  max-width: 1000px;
  animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.video-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

.video-player iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.modal-title {
  margin-top: 1.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  text-align: center;
}

@media (max-width: 992px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .video-section {
    padding: 2rem 0;
  }

  .video-container {
    padding: 0 1rem;
  }

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

  .video-modal {
    padding: 1rem;
  }

  .play-button {
    width: 52px;
    height: 52px;
  }

  .play-button svg {
    width: 22px;
    height: 22px;
  }
}

/* ===== pages/Trainings/Trainings.css ===== */
.trainings-page {
  position: relative;
  z-index: 1;
}

.page-hero {
  padding: 4rem 2rem 3rem;
  text-align: center;
  background: white;
  border-bottom: 1px solid var(--color-border);
}

.page-hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.page-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.page-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--color-gradient);
  border-radius: 1px;
}

.page-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.page-subtitle {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  margin: 0;
}

.trainings-section {
  padding: 4rem 0;
  background: var(--color-bg);
}

.trainings-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.training-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s ease;
}

.training-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
}

.training-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.training-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.training-price-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--color-primary);
  color: white;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.training-content {
  padding: 1.5rem;
}

.training-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 0.75rem;
  line-height: 1.3;
}

.training-description {
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0 0 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.training-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: gap 0.3s ease;
}

.training-link svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.training-card:hover .training-link {
  gap: 0.75rem;
}

.training-card:hover .training-link svg {
  transform: translateX(4px);
}

/* Contact CTA */
.trainings-cta {
  background: linear-gradient(135deg, #0a1628 0%, #1e3a5f 100%);
  padding: 4rem 2rem;
}

.cta-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.cta-content {
  flex: 1;
}

.cta-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: white;
  margin: 0 0 0.75rem;
}

.cta-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.cta-contacts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cta-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.875rem 1.25rem;
  border-radius: 10px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.cta-contact-item:hover {
  background: var(--color-primary);
  transform: translateX(4px);
}

.cta-contact-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .trainings-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-container {
    flex-direction: column;
    text-align: center;
  }

  .cta-contacts {
    width: 100%;
    max-width: 400px;
  }
}

@media (max-width: 640px) {
  .trainings-section {
    padding: 2rem 0;
  }

  .trainings-container {
    padding: 0 1rem;
  }

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

  .trainings-cta {
    padding: 3rem 1rem;
  }

  .cta-contact-item {
    justify-content: center;
  }
}

/* ===== pages/TrainingDetail/TrainingDetail.css ===== */
.training-detail-page {
  position: relative;
  z-index: 1;
}

.training-not-found {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem;
}

.training-not-found h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  color: var(--color-text);
}

.back-link {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
}

.back-link:hover {
  text-decoration: underline;
}

/* Hero Section */
.training-detail-hero {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.training-detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.95) 0%, rgba(10, 22, 40, 0.4) 100%);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.back-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  transition: color 0.2s ease;
  width: fit-content;
}

.back-button:hover {
  color: white;
}

.back-button svg {
  width: 18px;
  height: 18px;
}

.hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: white;
  margin: 0 0 1rem;
  max-width: 600px;
}

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

.price-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.price-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-accent);
}

/* Content Section */
.training-detail-content {
  background: var(--color-bg);
  padding: 4rem 0;
}

.content-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3rem;
  align-items: start;
}

.content-main {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2.5rem;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--color-primary);
}

.content-text {
  color: var(--color-text-secondary);
  font-size: 1rem;
  line-height: 1.8;
}

.content-text p {
  margin: 0 0 1rem;
}

/* Sidebar */
.sidebar-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 2rem;
  position: sticky;
  top: 100px;
}

.sidebar-price {
  text-align: center;
  padding-bottom: 1.5rem;
}

.sidebar-price-label {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.sidebar-price-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.sidebar-divider {
  height: 1px;
  background: var(--color-border);
  margin-bottom: 1.5rem;
}

.sidebar-contact {
  margin-bottom: 1.5rem;
}

.sidebar-contact-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 1rem;
  text-align: center;
}

.sidebar-contact-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sidebar-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--color-bg);
  border-radius: 10px;
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.sidebar-contact-item:hover {
  background: var(--color-primary);
  color: white;
}

.sidebar-contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--color-primary);
}

.sidebar-contact-item:hover svg {
  color: white;
}

.sidebar-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--color-primary);
  color: white;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.sidebar-cta:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.sidebar-cta svg {
  width: 18px;
  height: 18px;
}

@media (max-width: 1024px) {
  .content-container {
    grid-template-columns: 1fr;
  }

  .sidebar-card {
    position: static;
  }
}

@media (max-width: 640px) {
  .training-detail-hero {
    height: 320px;
  }

  .hero-content {
    padding: 1.5rem;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .training-detail-content {
    padding: 2rem 0;
  }

  .content-container {
    padding: 0 1rem;
  }

  .content-main {
    padding: 1.5rem;
  }

  .sidebar-card {
    padding: 1.5rem;
  }

  .sidebar-price-value {
    font-size: 2rem;
  }
}

/* ===== pages/Certificates/Certificates.css ===== */
.certificates-page {
  position: relative;
  z-index: 1;
}

.page-hero {
  padding: 4rem 2rem 3rem;
  text-align: center;
  background: white;
  border-bottom: 1px solid var(--color-border);
}

.page-hero-content {
  max-width: 700px;
  margin: 0 auto;
}

.page-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.page-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--color-gradient);
  border-radius: 1px;
}

.page-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}

.page-subtitle {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  margin: 0;
}

.certificates-section {
  padding: 3rem 0 4rem;
  background: var(--color-bg);
  min-height: 60vh;
}

.certificates-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Search Box */
.search-box {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  background: var(--color-surface);
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid var(--color-border);
}

.search-input-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 1rem;
  width: 20px;
  height: 20px;
  color: var(--color-text-secondary);
}

.search-input {
  width: 100%;
  padding: 0.875rem 2.5rem 0.875rem 3rem;
  font-family: 'Space Grotesk', monospace;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-bg);
  color: var(--color-text);
  transition: all 0.2s ease;
}

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

.search-input::placeholder {
  color: var(--color-text-secondary);
}

.search-clear {
  position: absolute;
  right: 0.75rem;
  padding: 0.25rem;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-secondary);
  transition: color 0.2s ease;
}

.search-clear:hover {
  color: var(--color-text);
}

.search-clear svg {
  width: 18px;
  height: 18px;
}

.search-button {
  padding: 0.875rem 2rem;
  background: var(--color-primary);
  color: white;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.search-button:hover:not(:disabled) {
  background: var(--color-primary-dark);
}

.search-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Input Hint */
.input-hint {
  padding: 0.75rem 1rem;
  background: rgba(251, 191, 36, 0.15);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 8px;
  color: #b45309;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Results Info */
.results-info {
  padding: 0.75rem 1rem;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 8px;
  color: var(--color-primary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* Loading */
.loading-wrapper {
  padding: 4rem 2rem;
}

/* No Results */
.no-results {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--color-surface);
  border-radius: 12px;
  border: 1px solid var(--color-border);
}

.no-results svg {
  width: 64px;
  height: 64px;
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
}

.no-results p {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  margin: 0;
}

.welcome-message svg {
  color: var(--color-primary);
}

/* Table */
.certificates-table-wrapper {
  overflow-x: auto;
  background: var(--color-surface);
  border-radius: 12px;
  border: 1px solid var(--color-border);
}

.certificates-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.certificates-table th {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  text-align: left;
  padding: 1rem 1.25rem;
  background: var(--color-bg);
  color: var(--color-text);
  border-bottom: 2px solid var(--color-border);
  white-space: nowrap;
}

.certificates-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}

.certificates-table tbody tr:last-child td {
  border-bottom: none;
}

.certificates-table tbody tr:hover {
  background: var(--color-bg);
}

.cell-id {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  color: var(--color-text-secondary);
  width: 60px;
}

.cell-name {
  font-weight: 600;
  min-width: 200px;
}

.cell-number {
  min-width: 140px;
}

.certificate-badge {
  display: inline-block;
  padding: 0.375rem 0.75rem;
  background: var(--color-primary);
  color: white;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.cell-subject {
  min-width: 160px;
}

.cell-date {
  white-space: nowrap;
  color: var(--color-text-secondary);
  min-width: 130px;
}

.cell-expiry {
  color: var(--color-accent);
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.pagination-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-text);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pagination-btn:hover:not(:disabled) {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.pagination-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pagination-btn svg {
  width: 18px;
  height: 18px;
}

.pagination-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Space Grotesk', sans-serif;
}

.pagination-current {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary);
}

.pagination-separator {
  color: var(--color-text-secondary);
}

.pagination-total {
  font-size: 1rem;
  color: var(--color-text-secondary);
}

/* Total Count */
.total-count {
  text-align: center;
  margin-top: 1rem;
  color: var(--color-text-secondary);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .certificates-section {
    padding: 2rem 0;
  }

  .certificates-container {
    padding: 0 1rem;
  }

  .search-box {
    flex-direction: column;
    padding: 1rem;
  }

  .search-button {
    width: 100%;
  }

  .certificates-table th,
  .certificates-table td {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }

  .cell-name {
    min-width: 150px;
  }

  .pagination {
    gap: 1rem;
  }

  .pagination-btn {
    padding: 0.625rem 1rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .pagination-btn span {
    display: none;
  }

  .pagination-btn {
    padding: 0.625rem;
  }
}

/* ===== Django version: elements that are links instead of React buttons ===== */
a.lang-btn {
  display: inline-block;
  text-decoration: none;
}

a.accreditation-document {
  display: block;
  color: inherit;
  text-decoration: none;
}

.content-text ul {
  padding-left: 1.25rem;
  margin: 0 0 1rem;
}

.content-text h3 {
  margin: 1.5rem 0 0.75rem;
}

/* author display rules (e.g. .gallery-modal { display: flex }) must not override [hidden] */
[hidden] {
  display: none !important;
}
