:root {
  --dark-blue: #2A333E;
  --accent-blue: #7C96AB;
  --light-bg: #F4F7F6;
}

body {
  font-family: 'Outfit', sans-serif;
  color: #444;
}

.text-dark-blue {
  color: var(--dark-blue);
}

.accent-color {
  color: var(--accent-blue);
}

/* Navbar */

.custom-navbar {
  background-color: rgba(42, 51, 62, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 15px 0;
}

.custom-navbar .nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
  margin-left: 15px;
  transition: color 0.3s ease;
}

.custom-navbar .nav-link:hover {
  color: var(--accent-blue);
}

.custom-navbar .navbar-toggler {
  border: none;
}

.custom-navbar .navbar-toggler:focus {
  box-shadow: none;
}

/* Hero Section */

.hero-section {
  background-color: var(--dark-blue);
  min-height: 100vh;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

/* Video Background */

.hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

.hero-video-wrapper iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-height: 100vh;
  min-width: 177.77vh;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(42, 51, 62, 0.65);
  z-index: 1;
}

.btn-custom {
  background-color: var(--accent-blue);
  color: white;
  border: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(124, 150, 171, 0.3);
}

.btn-custom:hover {
  background-color: #6a8296;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 150, 171, 0.4);
}

/* Sections */

.section-light {
  background-color: var(--light-bg);
}

.divider {
  height: 4px;
  width: 60px;
  background-color: var(--accent-blue);
  border-radius: 2px;
}

/* Cards & Lists */

.specialty-card {
  border-radius: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.specialty-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
}

.icon-box {
  width: 60px;
  height: 60px;
  background-color: var(--accent-blue);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex;
  align-items: flex-start;
}

.custom-list li:last-child {
  border-bottom: none;
}

.custom-list i {
  color: var(--accent-blue);
  margin-right: 12px;
  font-size: 1.2rem;
  margin-top: -2px;
}

/* CV Section */

.badge-custom {
  background-color: rgba(124, 150, 171, 0.15);
  color: var(--dark-blue);
  padding: 10px 20px;
  border-radius: 50px;
  border: 1px solid rgba(124, 150, 171, 0.3);
}

.cv-block {
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.cv-block:hover {
  border-color: rgba(124, 150, 171, 0.3);
  background-color: white !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.cv-list li {
  position: relative;
  padding-left: 20px;
}

.cv-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  background-color: var(--accent-blue);
  border-radius: 50%;
}

/* Marquee / Logos Scroll */

.marquee-container {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  padding: 20px 0;
  background-color: var(--light-bg);
}

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

.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, var(--light-bg) 0%, rgba(244,247,246,0) 100%);
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, var(--light-bg) 0%, rgba(244,247,246,0) 100%);
}

.marquee-track {
  --sets: 6;
  display: inline-flex;
  gap: 2rem;
  animation: scroll 20s linear infinite;
}

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

.marquee-item {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 110px;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  padding: 20px;
  transition: transform 0.3s ease;
}

.marquee-item:hover {
  transform: scale(1.05);
}

.marquee-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.marquee-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-100% / var(--sets) - (2rem / var(--sets))));
  }
}

/* Gallery Section */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-auto-rows: 250px;
  gap: 20px;
}

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

@media (min-width: 768px) {
  .gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(42,51,62,0.95), transparent);
  padding: 30px 20px 20px;
  color: white;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

