/* Yalis Info Sec - Main Stylesheet */

/* ===== CSS Variables ===== */
:root {
  /* Brand Colors - matched to logo */
  --primary-blue: #2b5ba9;
  --primary-blue-dark: #1e4080;
  --primary-blue-light: #3a6fc2;
  --accent-red: #dc2626;

  /* Neutral Colors */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Typography */
  --font-sans:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Spacing */
  --section-padding: 4rem;
  --container-max: 1200px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;

  /* Border Radius System */
  --radius-none: 0;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;
}

/* ===== Accessibility ===== */
/* Skip to Content Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-blue);
  color: var(--white);
  padding: 1rem 2rem;
  z-index: 9999;
  font-weight: 600;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 1rem;
}

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

*:focus:not(:focus-visible) {
  outline: none;
}

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

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* ===== Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}
h4 {
  font-size: 1.25rem;
}

p {
  font-size: 1.125rem;
  color: var(--gray-600);
}

/* ===== Layout ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-padding) 0;
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(17, 24, 39, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-800);
  transition: var(--transition-base);
}

.nav.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: var(--container-max);
  margin: 0 auto;
}

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

.nav-logo-shield {
  height: 40px;
  width: auto;
}

.nav-logo-wordmark {
  height: 28px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-link {
  font-weight: 500;
  color: var(--gray-300);
  transition: var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-blue);
  transition: var(--transition-base);
}

.nav-link:hover {
  color: var(--white);
}

.nav-link:hover::after {
  width: 100%;
}

/* Active nav state */
.nav-link[aria-current="page"] {
  color: var(--white);
}

.nav-link[aria-current="page"]::after {
  width: 100%;
}

.nav-cta {
  background: var(--primary-blue);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: 0;
  font-weight: 600;
  transition: var(--transition-base);
}

.nav-cta:hover {
  background: var(--primary-blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Mobile Menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition-base);
}

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

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--gray-900);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    border-bottom: 1px solid var(--gray-800);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
}

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--gray-100);
  padding-top: 80px;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 80%;
  height: 150%;
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--primary-blue-light) 100%
  );
  opacity: 0.03;
  transform: rotate(-12deg);
  border-radius: 0;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 50%;
  height: 80%;
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--primary-blue-light) 100%
  );
  opacity: 0.02;
  transform: rotate(12deg);
  border-radius: 0;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  animation: fadeInUp 0.8s ease;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary-blue);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 0;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  margin-bottom: 1.5rem;
}

.hero-title .highlight {
  color: var(--primary-blue);
}

.hero-description {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 0.8s ease 0.2s both;
}

.hero-shield {
  width: 100%;
  max-width: 400px;
  filter: drop-shadow(0 20px 40px rgba(37, 99, 235, 0.2));
  animation: float 6s ease-in-out infinite;
}

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

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

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 968px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
    margin-bottom: 1rem;
  }

  .hero-shield {
    max-width: 280px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 100px;
  }

  .hero-visual {
    margin-bottom: 0.5rem;
  }

  .hero-shield {
    max-width: 220px;
  }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0;
  cursor: pointer;
  transition: var(--transition-base);
  border: none;
}

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

.btn-primary:hover {
  background: var(--primary-blue-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--gray-700);
  border: 2px solid var(--gray-300);
}

.btn-secondary:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  transform: translateY(-3px);
}

/* ===== Services Section ===== */
.services {
  background: var(--gray-50);
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-label {
  color: var(--primary-blue);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.section-title {
  margin-bottom: 1rem;
}

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

/* 2x2 grid for exactly 4 items */
.services-grid.grid-2x2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
  margin: 0 auto;
}

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

.service-card {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 0;
  transition: var(--transition-base);
  border: 1px solid var(--gray-100);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(
    90deg,
    var(--primary-blue) 0%,
    var(--primary-blue-light) 100%
  );
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-base);
}

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

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

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-blue);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon svg {
  width: 28px;
  height: 28px;
  color: var(--white);
}

.service-card h3 {
  margin-bottom: 1rem;
}

.service-card p {
  font-size: 1rem;
}

/* ===== Why Choose Us ===== */
.why-us {
  background: var(--white);
}

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

.why-us-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.why-us-list {
  list-style: none;
  margin-top: 2rem;
}

.why-us-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.why-us-item-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-us-item-icon svg {
  width: 16px;
  height: 16px;
  color: var(--white);
}

.why-us-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.stat-card {
  background: var(--gray-50);
  padding: 2rem;
  border-radius: 0;
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-blue);
}

.stat-label {
  color: var(--gray-600);
  font-weight: 500;
  margin-top: 0.5rem;
}

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

/* ===== CTA Section ===== */
.cta-section {
  background: linear-gradient(
    135deg,
    var(--primary-blue) 0%,
    var(--primary-blue-dark) 100%
  );
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--primary-blue-light) 0%,
    transparent 100%
  );
  opacity: 0.1;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-section .btn-primary {
  background: var(--white);
  color: var(--primary-blue);
}

.cta-section .btn-primary:hover {
  background: var(--gray-100);
}

/* ===== About Page ===== */
.page-hero {
  padding: 10rem 0 2rem;
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
  text-align: center;
}

.page-hero + .section {
  padding-top: 2rem;
}

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

.about-image {
  position: relative;
}

.about-image img {
  border-radius: 0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

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

/* ===== Contact Page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
}

.contact-info {
  background: var(--gray-50);
  padding: 3rem;
  border-radius: 0;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-blue);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 24px;
  height: 24px;
  color: var(--white);
}

.contact-form {
  background: var(--white);
}

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

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

.form-input,
.form-textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--gray-200);
  border-radius: 0;
  font-size: 1rem;
  font-family: inherit;
  transition: var(--transition-base);
}

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

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

@media (max-width: 968px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Footer ===== */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 4rem 0 2rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
}

.footer-brand img {
  height: 40px;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--gray-400);
  font-size: 1rem;
}

.footer-links h4 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.footer-links ul {
  list-style: none;
}

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

.footer-links a {
  color: var(--gray-400);
  transition: var(--transition-fast);
}

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

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-800);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--gray-500);
  font-size: 0.875rem;
}

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

  /* Collapsible footer sections on mobile */
  .footer-links h4 {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    margin-bottom: 0;
    border-bottom: 1px solid var(--gray-800);
  }

  .footer-links h4::after {
    content: "+";
    font-size: 1.25rem;
    font-weight: 400;
    transition: var(--transition-fast);
  }

  .footer-links h4.expanded::after {
    content: "-";
  }

  .footer-links ul {
    max-height: 0;
    overflow: hidden;
    transition:
      max-height 0.3s ease,
      padding 0.3s ease;
    padding: 0;
  }

  .footer-links ul.expanded {
    max-height: 500px;
    padding: 1rem 0;
  }
}

/* ===== Back to Top Button ===== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: var(--gray-900);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition-base);
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.back-to-top:hover {
  background: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
  }
}

/* ===== Utility Classes ===== */
.text-center {
  text-align: center;
}
.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;
}

/* Hidden utility */
.hidden {
  display: none !important;
}

/* Width utilities */
.w-full {
  width: 100%;
}

.max-w-600 {
  max-width: 600px;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* Text colors */
.text-primary {
  color: var(--primary-blue);
}

.text-white {
  color: var(--white);
}

.text-white-90 {
  color: rgba(255, 255, 255, 0.9);
}

/* Font sizes */
.text-sm {
  font-size: 0.95rem;
}

/* Backgrounds */
.bg-gray-100 {
  background: var(--gray-100);
}

.bg-white {
  background: var(--white);
}

/* Footer logo */
.footer-logo-img {
  height: 50px;
  width: auto;
}

/* Shield image with shadow */
.shield-shadow {
  max-width: 300px;
  margin: 0 auto;
  filter: drop-shadow(0 20px 40px rgba(43, 91, 169, 0.3));
}

/* Info box */
.info-box {
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}

.info-box h4 {
  margin-bottom: 0.5rem;
}

.info-box ul {
  color: var(--gray-600);
  font-size: 0.95rem;
  padding-left: 1.25rem;
}

.info-box li {
  margin-bottom: 0.5rem;
}

.info-box li:last-child {
  margin-bottom: 0;
}

/* Step number */
.step-number {
  color: var(--white);
  font-weight: bold;
}

/* Form success state */
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
}

.form-success.visible {
  display: block;
}

.success-icon {
  width: 60px;
  height: 60px;
  background: #10b981;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

/* ===== Animations ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Services Page Specific ===== */
.services-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.service-detail-card {
  background: var(--white);
  border-radius: 0;
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: var(--transition-base);
}

.service-detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.service-detail-header {
  background: var(--primary-blue);
  padding: 2rem;
  color: var(--white);
}

.service-detail-header h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.service-detail-body {
  padding: 2rem;
}

.service-detail-body ul {
  list-style: none;
  margin-bottom: 1.5rem;
}

.service-detail-body li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--gray-600);
}

.service-detail-body li::before {
  content: "✓";
  color: var(--primary-blue);
  font-weight: bold;
}

/* Dark accent variant */
.service-detail-card.accent-dark .service-detail-header {
  background: var(--gray-800);
}

.service-detail-card.accent-dark .service-detail-body li::before {
  color: var(--gray-700);
}

/* ===== Engagement Section ===== */
.engagement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.engagement-card {
  background: var(--white);
  padding: 2.5rem;
  border: 1px solid var(--gray-200);
  text-align: center;
  transition: var(--transition-base);
}

.engagement-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--primary-blue);
}

.engagement-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.engagement-icon svg {
  color: var(--white);
}

.engagement-card h3 {
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.engagement-card p {
  color: var(--gray-600);
}

@media (max-width: 968px) {
  .engagement-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Certifications Section ===== */
.certifications-section {
  background: var(--gray-900);
  color: var(--white);
}

.certifications-section .section-label {
  color: var(--accent-red);
}

.certifications-section .section-title {
  color: var(--white);
}

.certifications-section p {
  color: var(--gray-400);
}

.certifications-section .section-header {
  margin-bottom: 1.5rem;
}

/* Cert Carousel */
.cert-carousel {
  overflow: hidden;
  margin-top: 1rem;
  position: relative;
  width: calc(100% + 200px);
  margin-left: -100px;
}

.cert-carousel::before,
.cert-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  width: 150px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.cert-carousel::before {
  left: 0;
  background: linear-gradient(to right, var(--gray-900), transparent);
}

.cert-carousel::after {
  right: 0;
  background: linear-gradient(to left, var(--gray-900), transparent);
}

.cert-track {
  display: flex;
  gap: 4rem;
  padding: 1.5rem 0;
  animation: scroll-left 30s linear infinite;
  width: max-content;
}

.cert-track:hover {
  animation-play-state: paused;
}

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

.cert-logo {
  height: 110px;
  width: auto;
  flex-shrink: 0;
  transition: var(--transition-base);
  filter: brightness(1);
}

.cert-logo:hover {
  transform: scale(1.15);
  filter: brightness(1.1);
}

@media (max-width: 768px) {
  .cert-logo {
    height: 85px;
  }

  .cert-track {
    gap: 2.5rem;
    padding: 1rem 0;
  }

  .cert-carousel::before,
  .cert-carousel::after {
    width: 60px;
  }
}

@media (max-width: 480px) {
  .cert-logo {
    height: 70px;
  }

  .cert-track {
    gap: 2rem;
    animation-duration: 20s;
  }

  .cert-carousel::before,
  .cert-carousel::after {
    width: 40px;
  }
}
