.hero-section {
  min-height: 75vh;
}

.modal-image {
  max-height: 80vh;
}

:root {
  --brand-50: #f0f9ff;
  --brand-100: #e0f2fe;
  --brand-200: #bae6fd;
  --brand-300: #7dd3fc;
  --brand-400: #38bdf8;
  --brand-500: #0ea5e9;
  --brand-600: #0284c7;
  --brand-700: #0369a1;
  --brand-800: #075985;
  --brand-900: #0c4a6e;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
}

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

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

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--slate-800);
  background-color: #ffffff;
}

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

::selection {
  background: var(--brand-600);
  color: #fff;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

#nav-shell {
  will-change: background, border-color, color, box-shadow;
  transition: all 0.3s ease;
}

.nav-solid #nav-shell {
  background: rgba(255, 255, 255, 0.95) !important;
  color: #0f172a !important;
  border-color: rgba(15, 23, 42, 0.08) !important;
  box-shadow: 0 10px 40px -10px rgba(15, 23, 42, 0.15);
}

#mobile-menu {
  animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-gradient {
  background: linear-gradient(135deg,
    rgba(12, 74, 110, 0.95) 0%,
    rgba(3, 105, 161, 0.85) 50%,
    rgba(2, 132, 199, 0.75) 100%);
}

.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.1);
}

.award-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, var(--brand-50), var(--brand-100));
  border: 2px solid var(--brand-200);
  border-radius: 9999px;
  font-weight: 600;
  color: var(--brand-800);
  font-size: 0.875rem;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.8;
  }
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--slate-900);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--slate-600);
  line-height: 1.7;
  max-width: 65ch;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-600), var(--brand-700));
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  box-shadow: 0 4px 14px -2px rgba(3, 105, 161, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(3, 105, 161, 0.4);
  background: linear-gradient(135deg, var(--brand-700), var(--brand-800));
}

.btn-secondary {
  background: white;
  color: var(--slate-900);
  padding: 0.875rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  border: 2px solid var(--slate-200);
}

.btn-secondary:hover {
  background: var(--slate-50);
  border-color: var(--brand-300);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -10px rgba(0, 0, 0, 0.1);
}

.sponsor-logo {
  filter: grayscale(1) opacity(0.6);
  transition: all 0.3s ease;
}

.sponsor-logo:hover {
  filter: grayscale(0) opacity(1);
  transform: scale(1.1);
}

.contact-form {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 10px 40px -15px rgba(0, 0, 0, 0.08);
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--slate-200);
  border-radius: 0.75rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: white;
}

.form-input:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--slate-700);
  font-size: 0.875rem;
}

footer {
  background: linear-gradient(180deg, #fdfdfb 0%, #faf8f5 100%);
}

.footer-link {
  color: var(--slate-600);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--brand-600);
}

.service-image-container {
  max-height: 500px;
  height: 100%;
}

.service-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.badge-certified {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.875rem;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: white;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 14px -2px rgba(245, 158, 11, 0.4);
}

@media (max-width: 640px) {
  .section-title {
    margin-bottom: 0.75rem;
  }

  .btn-primary,
  .btn-secondary {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }

  .contact-form {
    padding: 1.5rem;
  }
}

.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 20px -4px rgba(0, 0, 0, 0.1);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 20px;
  font-size: 4rem;
  color: var(--brand-200);
  font-family: serif;
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand-600), var(--brand-800));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat-label {
  font-size: 1.125rem;
  color: var(--slate-600);
  font-weight: 600;
  margin-top: 0.5rem;
}

.feature-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand-100), var(--brand-200));
  border-radius: 0.75rem;
  color: var(--brand-700);
  margin-bottom: 1rem;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

@keyframes scroll-infinite {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.awards-scroll-wrapper {
  position: relative;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.awards-scroll-wrapper::-webkit-scrollbar {
  display: none;
}

.awards-scroll-content {
  width: max-content;
  display: flex;
}

.animate-scroll-infinite {
  animation: scroll-infinite 35s linear infinite;
}

.animate-scroll-infinite:hover {
  animation-play-state: paused;
}

.animate-scroll-infinite.paused {
  animation-play-state: paused;
}

@media (max-width: 768px) {
  .animate-scroll-infinite {
    animation-duration: 25s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .animate-scroll-infinite {
    animation: none;
  }
}