/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Mulish", "Mulish Placeholder", sans-serif;
  line-height: 1.6;
  color: var(--text-secondary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6,
.nav-logo h2,
.hero-title,
.section-header h2 {
  font-family: "Chakra Petch", "Chakra Petch Placeholder", sans-serif;
  line-height: 1.2;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  /* padding: 0 20px; */
}

/* Navigation */
.navbar {
  position: fixed;
  top: 10px;
  left: 10px;
  right: 10px;
  width: calc(100% - 20px);
  background: rgba(0, 0, 0, 0.8) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(128, 128, 128, 0.3);
  border-radius: 8px;
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav-container {
  width: 100%;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  position: relative;
}

.nav-logo {
  position: absolute;
  left: 30px;
}

.nav-logo h2 {
  color: var(--brand-primary);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 0;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  position: relative;
  text-transform: uppercase;
  padding: 16px 24px;
  border-radius: 4px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
}

.nav-link:hover {
  color: var(--brand-primary);
  background: var(--hover-bg);
  border: 1px solid var(--hover-border);
}

.nav-actions {
  position: absolute;
  right: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-language {
  position: relative;
}

.nav-cta {
  position: relative;
}

.nav-link.cta-button {
  background: var(--brand-primary);
  color: var(--text-primary);
  padding: 14px 30px;
  border-radius: 4px;
  transition: all 0.3s ease;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid var(--brand-primary);
}

.nav-link.cta-button:hover {
  background: transparent;
  color: var(--brand-primary);
  border: 2px solid var(--brand-primary);
}

/* Dropdown Menu Styles */
.nav-dropdown {
  position: relative;
}

.dropdown-arrow {
  font-size: 0.7rem;
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: rgba(0, 0, 0, 1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(128, 128, 128, 0.3);
  border-radius: 8px;
  min-width: 250px;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1001;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  padding: 16px 24px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  height: 70px;
  box-sizing: border-box;
}

.dropdown-item:first-child {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.dropdown-item:last-child {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.dropdown-item:hover {
  color: var(--brand-primary);
  background: var(--hover-bg);
  border: 1px solid var(--hover-border);
}

.dropdown-item i {
  width: 20px;
  margin-right: 12px;
  font-size: 0.9rem;
  color: var(--brand-primary);
}

.dropdown-item span {
  white-space: nowrap;
}

/* Language Dropdown Styles */
.language-dropdown {
  position: relative;
}

.language-toggle {
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 16px 20px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s ease;
  font-family: "Mulish", sans-serif;
}

.language-toggle:hover {
  color: var(--brand-primary);
  background: var(--hover-bg);
  border: 1px solid var(--hover-border);
}

.language-toggle .dropdown-arrow {
  font-size: 0.7rem;
  transition: transform 0.3s ease;
}

.language-dropdown:hover .dropdown-arrow,
.language-dropdown.active .dropdown-arrow {
  transform: rotate(180deg);
}

.language-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(128, 128, 128, 0.3);
  border-radius: 8px;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1001;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.language-dropdown:hover .language-menu,
.language-dropdown.active .language-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  color: var(--text-primary);
  background: transparent;
  border: none;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
  width: 100%;
  border: 1px solid transparent;
  font-family: "Mulish", sans-serif;
}

.language-item:first-child {
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.language-item:last-child {
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.language-item:hover {
  color: var(--brand-primary);
  background: var(--hover-bg);
  border: 1px solid var(--hover-border);
}

.language-item.active {
  color: var(--brand-primary);
  background: var(--hover-bg);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  position: absolute;
  right: 20px;
  z-index: 1001;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: #cbd5e1;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  min-height: 700px;
  height: 100vh;
  max-height: 1000px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 0 4rem;
}

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

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-fallback-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    /* Top left fade for text readability */ radial-gradient(
      ellipse at 0% 0%,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.7) 40%,
      rgba(0, 0, 0, 0.3) 60%,
      transparent 80%
    ),
    /* Enhanced bottom fade for stats peek effect */
      linear-gradient(
        180deg,
        transparent 40%,
        rgba(0, 0, 0, 0.2) 60%,
        rgba(0, 0, 0, 0.6) 75%,
        rgba(0, 0, 0, 0.85) 85%,
        rgba(0, 0, 0, 0.95) 92%,
        var(--bg-primary) 100%
      ),
    /* Light overall overlay for text readability */ rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.hero-container {
  max-width: 1400px;
  position: relative;
  z-index: 3;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-content {
  flex: 1;
  position: relative;
  flex-direction: column;
  justify-content: center;
  max-width: 800px;
  padding-top: 2rem;
}
/* Hero Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.4s;
}

.hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 600px;
  font-weight: 400;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.6s;
}

.stats-section {
  margin: -50px 4rem 0;
  background: transparent;
  position: relative;
  z-index: 10;
}

.stats-counter {
  width: 100%;
  position: relative;
  z-index: 11; /* Ensure it's above everything */
  opacity: 1;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.4s;
}

.stats-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px; /* Wider than hero for bigger presence */
  margin: 0 auto 4rem;
  padding: 4rem 2rem;
  gap: 2rem;
}

.stat-item {
  text-align: center;
  position: relative;
  opacity: 1;
  transform: translateY(0);
  animation: fadeInUpDelay 1s ease forwards;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.stat-item:nth-child(1) {
  animation-delay: 0.6s;
}
.stat-item:nth-child(2) {
  animation-delay: 0.8s;
}
.stat-item:nth-child(3) {
  animation-delay: 1s;
}

.stat-number-container {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 0.8rem;
}

.stat-number {
  font-family: "Chakra Petch", sans-serif;
  font-size: 5rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 0.9;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-shadow: 0 4px 20px rgba(255, 77, 36, 0.3); /* Subtle glow */
}

.stat-label-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.counter {
  color: var(--brand-primary);
}

.stat-suffix {
  color: var(--brand-primary);
}

.stat-label {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  line-height: 1.3;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1; /* Prevent line-height from shifting text vertically */
}

.btn-primary {
  background: var(--gradient-brand);
  color: var(--text-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--shadow-brand-strong);
}

.btn-secondary {
  background: transparent;
  color: #cbd5e1;
  border: 2px solid #475569;
}

.btn-secondary:hover {
  background: #475569;
  border-color: #64748b;
  transform: translateY(-2px);
}

/* Brand Button Component - Matches Navigation CTA Style */
.btn-brand {
  background: var(--brand-primary);
  color: var(--text-primary);
  padding: 0 30px; /* Horizontal padding only; vertical handled by fixed height */
  border-radius: 4px;
  transition: all 0.4s ease;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid var(--brand-primary);
  font-size: 1rem;
  height: 60px; /* Fixed height for consistent vertical centering */
  text-decoration: none;
  cursor: pointer;
}

.btn-brand:hover {
  background: transparent;
  color: var(--brand-primary);
  border: 2px solid var(--brand-primary);
}

/* Section Headers */
.section-header {
  margin-bottom: 2rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  text-align: left;
}

.section-header p {
  font-size: 1.1rem;
  color: #94a3b8;
  max-width: 600px;
  margin: 0 auto;
}

.services .section-header h2 {
  font-size: 3.8rem;
  font-weight: 700;
  color: white;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.services .section-header h2.visible {
  opacity: 1;
  transform: translateY(0);
}

.services .section-header p {
  font-size: 1.1rem;
  color: #94a3b8;
  max-width: 600px;
  margin: 0;
}

/* Universal Tagline Class */
.tagline {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.tagline.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero tagline should animate immediately on page load */
.tagline.hero-tagline {
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.2s;
}

.tagline span:not(.tagline-bar) {
  font-size: 1rem;
  font-weight: 200;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: "Chakra Petch", sans-serif;
}

.tagline .tagline-bar {
  width: 3px;
  height: 30px;
  background: var(--brand-primary);
}

/* About Section */
.about {
  padding: 100px 0;
  background: #1a1a1a;
}

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

.about-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-item h3 {
  color: #eb5b37;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.about-item p {
  color: #cbd5e1;
  line-height: 1.7;
}

/* Partners Section */
.partners-section {
  margin: 8rem 4rem 4rem;
  background: #000000;
}

.partners-section .container {
  max-width: 1400px;
  width: 100%;
  /* padding: 0 4rem; */
}

.partners-section .section-header {
  text-align: left;
  margin-bottom: 4rem;
}

.partners-section .section-header .tagline {
  margin-bottom: 10px;
}

.partners-section .section-header h2 {
  font-size: 3.8rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.partners-section .section-header h2.visible {
  opacity: 1;
  transform: translateY(0);
}

.partners-section .section-header p {
  font-size: 1.1rem;
  color: #94a3b8;
  max-width: 600px;
  margin: 0;
}

/* Partners Marquee */
.partners-marquee {
  background: #eb5b37;
  padding: 3rem 0;
  overflow: hidden;
  position: relative;
}

.marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: 2.5rem;
  -webkit-mask-image: linear-gradient(
    to right,
    hsl(0 0% 0% / 0),
    hsl(0 0% 0% / 1) 5%,
    hsl(0 0% 0% / 1) 95%,
    hsl(0 0% 0% / 0)
  );
  mask-image: linear-gradient(
    to right,
    hsl(0 0% 0% / 0),
    hsl(0 0% 0% / 1) 5%,
    hsl(0 0% 0% / 1) 95%,
    hsl(0 0% 0% / 0)
  );
}

.marquee-group {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 2.5rem;
  min-width: 100%;
  animation: marquee-scroll 40s linear infinite;
  will-change: transform;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - 2.5rem));
  }
}

.marquee-item {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  margin: 5px;
}

.logo-placeholder {
  font-family: "Chakra Petch", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.logo-placeholder:hover {
  opacity: 1;
}

.logo-image {
  height: 65px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  object-position: center;
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease;
  filter: brightness(0);
  transform: scale(1);
}

/* Remove the individual logo scaling since we're using consistent height */
.logo-image:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Services Section */
.services {
  padding: 2rem 0 0;
  background: #000000;
  position: relative;
  z-index: 1;
  margin: 0 4rem;
}

.services-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-auto-rows: 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
  max-width: 100%;
}

/* Ensure maximum 3 columns per row */
@media (min-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablet: 2 columns */
@media (min-width: 769px) and (max-width: 1199px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-primary);
  border-radius: 12px;
  overflow: hidden;
  will-change: transform;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), border-color 0.3s ease;
  position: relative;
  transform: translateZ(0); /* Force hardware acceleration */
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  will-change: transform;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  z-index: 10;
}

.service-card:hover {
  transform: translateY(-8px) translateZ(0);
  box-shadow: 0 25px 50px var(--shadow-brand);
  border-color: var(--brand-medium);
  background: #101010;
}

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

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

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translateZ(0); /* Force hardware acceleration */
}

.service-card:hover .service-image img {
  transform: scale3d(1.05, 1.05, 1) translateZ(0);
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    /* Orange fade in bottom-right */ radial-gradient(
      ellipse at 100% 100%,
      rgba(235, 91, 55, 0.6) 0%,
      rgba(235, 91, 55, 0.4) 20%,
      rgba(235, 91, 55, 0.1) 40%,
      transparent 70%
    ),
    /* Full vignette effect */
      radial-gradient(
        ellipse at center,
        transparent 0%,
        transparent 30%,
        rgba(0, 0, 0, 0.1) 50%,
        rgba(0, 0, 0, 0.2) 70%,
        rgba(0, 0, 0, 0.5) 100%
      ),
    /* Additional dark overlay for better contrast */
      linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.1) 50%,
        rgba(0, 0, 0, 0.1) 100%
      );

  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: var(--brand-solid);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  backdrop-filter: blur(10px);
}

.service-icon i {
  font-size: 1.5rem;
  color: var(--text-primary);
}

.service-category {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  align-self: flex-end;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-content h3 {
  color: var(--text-primary);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  padding-left: 20px;
}

.service-content h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--brand-primary);
  border-radius: 2px;
}

.service-content p {
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.95rem;
}

.services-cta {
  text-align: center;
}

/* Service Card Links */
.service-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.service-card-link:hover {
  text-decoration: none;
}

/* Service Hero Sections */
.service-hero {
  height: 60vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 90px;
  max-height: 500px;
}

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

.service-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  z-index: 1;
  transform: scale(1.1);
  animation: serviceHeroZoomOut 8s ease-in-out forwards;
}

@keyframes serviceHeroZoomOut {
  0% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.service-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    /* Fade to black at bottom for smooth transition */ linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0.6) 80%,
      rgba(0, 0, 0, 1) 100%
    ),
    /* Additional overlay for text readability */
      linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.4) 0%,
        rgba(0, 0, 0, 0.2) 50%,
        rgba(0, 0, 0, 0.1) 100%
      );
  z-index: 2;
}

.service-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 0 2rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 200px;
}

.service-hero-title {
  font-size: 5rem;
  font-weight: 700;
  color: white;
  margin: 0;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
  overflow: visible;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.2s;
  line-height: 1.2;
}

/* Service Details */
.service-details {
  padding: 80px 0;
  background: #000000;
}

.service-details-content {
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.3s;
}

/* Fade-in for service details list content to match accessory header */
.service-details-text {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.service-details-text.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-details-text h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.service-details-text h3 {
  color: #eb5b37;
  font-size: 1.5rem;
  margin: 2rem 0 1rem 0;
}

.service-details-text p {
  color: #94a3b8;
  line-height: 1.8;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.service-details-text ul {
  color: #94a3b8;
  line-height: 1.8;
  margin-left: 2rem;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.service-details-text li {
  margin-bottom: 0.5rem;
}

.service-details-text ul ul {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  margin-left: 1rem;
}

.service-details-text ul ul li {
  margin-bottom: 0.25rem;
  font-size: 0.95em;
  color: var(--text-muted);
  padding-left: 0.5rem;
}

.service-cta {
  text-align: center;
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.5s;
  margin: 2rem 0;
}

/* Body-manufacturing custom grid using services section container */
.service-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  margin-bottom: 4rem;
}

/* Separate grid for refrigeration page */
.refrigeration-details-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  align-items: center;
  gap: 2rem;
  margin-bottom: 4rem;
}

/* Separate grid for spectransports page */
.spectransports-details-grid {
  display: grid;
  grid-template-columns: 2.5fr 3fr;
  align-items: center;
  gap: 3rem;
  margin-bottom: 4rem;
}

/* Separate grid for minibuses page */
.minibuses-details-grid {
  display: grid;
  grid-template-columns: 2.5fr 3fr;
  align-items: center;
  gap: 3rem;
  margin-bottom: 4rem;
}

/* Gradient Ellipse Background Component */
.gradient-bg {
  position: relative;
  overflow: hidden;
}

.gradient-bg::before {
  content: "";
  position: absolute;
  top: 45%;
  left: -15%;
  width: 900px;
  height: 450px;
  background: radial-gradient(
    ellipse,
    rgba(255, 77, 36, 0.55) 0%,
    rgba(255, 77, 36, 0.35) 40%,
    rgba(255, 77, 36, 0.18) 70%,
    transparent 100%
  );
  border-radius: 50%;
  filter: blur(90px);
  z-index: 1;
  animation: float 8s ease-in-out infinite;
}

.gradient-bg::after {
  content: "";
  position: absolute;
  top: 12%;
  right: -10%;
  width: 800px;
  height: 320px;
  background: radial-gradient(
    ellipse,
    rgba(255, 77, 36, 0.48) 0%,
    rgba(255, 77, 36, 0.28) 40%,
    rgba(255, 77, 36, 0.15) 70%,
    transparent 100%
  );
  border-radius: 50%;
  filter: blur(70px);
  z-index: 1;
  animation: float 10s ease-in-out infinite reverse;
}

.gradient-bg .container {
  position: relative;
  z-index: 2;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) translateX(0px);
  }
  25% {
    transform: translateY(-20px) translateX(10px);
  }
  50% {
    transform: translateY(-10px) translateX(-5px);
  }
  75% {
    transform: translateY(-25px) translateX(5px);
  }
}

/* Additional gradient ellipses for more complex layouts */
.gradient-bg.multi-ellipse {
  position: relative;
}

.gradient-bg.multi-ellipse::before {
  top: 15%;
  left: -20%;
  width: 950px;
  height: 180px;
  background: radial-gradient(
    ellipse,
    rgba(255, 77, 36, 0.68) 0%,
    rgba(255, 77, 36, 0.48) 35%,
    rgba(255, 77, 36, 0.3) 65%,
    transparent 100%
  );
  filter: blur(90px);
  transform: rotate(115deg);
  animation: float 12s ease-in-out infinite;
}

.gradient-bg.multi-ellipse::after {
  bottom: 15%;
  right: -15%;
  width: 850px;
  height: 150px;
  background: radial-gradient(
    ellipse,
    rgba(255, 77, 36, 0.62) 0%,
    rgba(255, 77, 36, 0.42) 35%,
    rgba(255, 77, 36, 0.28) 65%,
    transparent 100%
  );
  filter: blur(85px);
  transform: rotate(115deg);
  animation: float 14s ease-in-out infinite reverse;
}

/* Contact Section */
.contact {
  background: #000000;
  margin: 4rem;
  position: relative;
}

.contact .container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.contact .section-header {
  text-align: left;
  margin-bottom: 4rem;
}

.contact .section-header .tagline {
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.contact .section-header .tagline.visible {
  opacity: 1;
  transform: translateY(0);
}

.contact .section-header h2 {
  font-size: 3.8rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.contact .section-header h2.visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.contact-content.visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(24, 24, 24, 0.4);
  border-radius: 12px;
  border: 1px solid rgba(128, 128, 128, 0.2);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-brand);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  color: white;
  font-size: 1.2rem;
}

.contact-details h3 {
  color: white;
  margin-bottom: 0.5rem;
}

.contact-details p {
  color: #94a3b8;
}

/* Contact Section */
.contact-section {
  background: rgba(12, 12, 12, 0.5);
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid rgba(128, 128, 128, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 280px;
}

.department-heading {
  color: white;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  margin-top: 0;
  font-family: "Chakra Petch", sans-serif;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.heading-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-brand);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(235, 91, 55, 0.3);
}

.heading-icon i {
  color: white;
}

.contact-subtitle {
  color: #eb5b37;
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.contact-person {
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(128, 128, 128, 0.2);
}

.contact-person p {
  margin: 0;
}

.contact-person p strong {
  color: white;
  font-weight: 700;
  font-size: 1.1rem;
  font-family: "Chakra Petch", sans-serif;
  letter-spacing: 0.02em;
}

.contact-bottom {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info-group {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.contact-info-group p {
  color: #cbd5e1;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  border: 1px solid rgba(128, 128, 128, 0.1);
  margin: 0;
}

.contact-info-group p i {
  color: #eb5b37;
  font-size: 1rem;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

/* Office Info Section */
.office-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.office-address {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.office-address p {
  margin: 0;
  color: #cbd5e1;
  font-size: 0.95rem;
}

.office-address p strong {
  color: white;
  font-weight: 600;
  font-family: "Chakra Petch", sans-serif;
}

.office-hours {
  color: #94a3b8 !important;
  font-size: 0.9rem !important;
  font-style: italic;
}

.office-map {
  margin-top: 0.5rem;
}

.office-map iframe {
  border-radius: 8px;
  filter: brightness(0.9) contrast(1.1);
  transition: filter 0.3s ease;
}

.office-map iframe:hover {
  filter: brightness(1) contrast(1.2);
}

.office-map #contact-map {
  border-radius: 8px;
  filter: brightness(0.9) contrast(1.1);
  transition: filter 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.office-map #contact-map:hover {
  filter: brightness(1) contrast(1.2);
  border-color: rgba(255, 255, 255, 0.25);
}

/* Contact Section Ellipse Backgrounds */
.contact-ellipse-bg {
  position: absolute;
  top: 10%;
  right: -20%;
  width: 800px;
  height: 320px;
  background: radial-gradient(
    ellipse,
    rgba(255, 77, 36, 0.48) 0%,
    rgba(255, 77, 36, 0.28) 40%,
    rgba(255, 77, 36, 0.15) 70%,
    transparent 100%
  );
  border-radius: 50%;
  filter: blur(70px);
  z-index: 0;
  pointer-events: none;
  animation: float 10s ease-in-out infinite reverse;
}

.contact-ellipse-bg-2 {
  position: absolute;
  top: 55%;
  left: -20%;
  width: 950px;
  height: 280px;
  background: radial-gradient(
    ellipse,
    rgba(255, 77, 36, 0.68) 0%,
    rgba(255, 77, 36, 0.48) 35%,
    rgba(255, 77, 36, 0.3) 65%,
    transparent 100%
  );
  border-radius: 50%;
  filter: blur(90px);
  z-index: 0;
  pointer-events: none;
  transform: rotate(115deg);
  animation: float 12s ease-in-out infinite;
}

.contact-form {
  background: rgba(12, 12, 12, 0.8);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(128, 128, 128, 0.2);
}

.form-group {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-family: "Chakra Petch", "Chakra Petch Placeholder", sans-serif;
  pointer-events: none;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 18px;
  background: rgba(128, 128, 128, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #e2e8f0;
  transition: all 0.3s ease;
  min-height: 60px;
  font-family: "Chakra Petch", "Chakra Petch Placeholder", sans-serif;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* Fix browser autofill styling */
.form-group input:-webkit-autofill,
.form-group input:-webkit-autofill:hover,
.form-group input:-webkit-autofill:focus,
.form-group input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px rgba(128, 128, 128, 0.1) inset !important;
  -webkit-text-fill-color: #e2e8f0 !important;
  background-color: transparent !important;
  background-image: none !important;
  transition: background-color 5000s ease-in-out 0s,
    -webkit-box-shadow 5000s ease-in-out 0s;
  font-family: "Chakra Petch", "Chakra Petch Placeholder", sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  font-size: 0.9rem !important;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #eb5b37;
  box-shadow: 0 0 0 3px rgba(235, 91, 55, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  font-family: "Mulish", "Mulish Placeholder", sans-serif;
  font-weight: 300;
  letter-spacing: normal;
  text-transform: none;
  font-size: 1rem;
}

/* Fix autofill for Firefox */
.form-group input:-moz-autofill {
  background-color: rgba(128, 128, 128, 0.1) !important;
  color: #e2e8f0 !important;
  font-family: "Chakra Petch", "Chakra Petch Placeholder", sans-serif !important;
  font-weight: 400 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  font-size: 0.9rem !important;
}

/* File input styling */
.form-group input[type="file"] {
  min-height: 60px;
  height: 60px;
  flex-direction: row;
  align-items: center;
  padding: 0 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #e2e8f0;
  cursor: pointer;
  flex-direction: row;
  transition: all 0.3s ease;
}

.form-group input[type="file"]:focus {
  outline: none;
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(255, 77, 36, 0.1);
}

/* Custom file input styling */
.form-group input[type="file"]::-webkit-file-upload-button {
  background: var(--brand-primary);
  color: var(--text-primary);
  border: 2px solid var(--brand-primary);
  padding: 0 24px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 400;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 10px;
  transition: all 0.4s ease;
  font-family: "Chakra Petch", "Chakra Petch Placeholder", sans-serif;
  height: 36px;
  line-height: 36px;
  display: flex;
  align-items: center;
}

.form-group input[type="file"]::-webkit-file-upload-button:hover {
  background: transparent;
  color: var(--brand-primary);
  border: 2px solid var(--brand-primary);
  box-shadow: 0 0 12px 5px var(--shadow-brand-strong);
}

.form-group input[type="file"]::-ms-browse {
  background: var(--brand-primary);
  color: var(--text-primary);
  border: 2px solid var(--brand-primary);
  padding: 0 24px;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 400;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 10px;
  transition: all 0.4s ease;
  font-family: "Chakra Petch", "Chakra Petch Placeholder", sans-serif;
  height: 36px;
  line-height: 36px;
  display: flex;
  align-items: center;
}

/* Select dropdown styling */
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23e2e8f0' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: right 12px center;
  background-repeat: no-repeat;
  background-size: 16px;
  padding-right: 40px;
  font-family: "Chakra Petch", "Chakra Petch Placeholder", sans-serif;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.form-group select option {
  background: #1a1a1a;
  color: #e2e8f0;
  padding: 8px;
}

/* Footer */
.footer {
  background: #0a0a0a;
  padding: 3rem 4rem 2rem;
  border-top: 1px solid rgba(51, 51, 51, 0.3);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-template-columns: 1fr 2fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section {
  justify-content: center;
  display: flex;
}

.footer-section-container {
  max-width: 350px;
}

.footer-section-container h3,
.footer-section-container h4 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer-section-container h3 {
  color: #eb5b37;
  font-size: 1.5rem;
  line-height: 1.1;
}

.footer-section-container p {
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.footer-section-container ul {
  list-style: none;
}

.footer-section-container ul li {
  margin-bottom: 0.8rem;
}

.footer-section-container ul li a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section-container ul li a:hover {
  color: #eb5b37;
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(51, 51, 51, 0.3);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #eb5b37;
  color: white;
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
}

.footer-contact i {
  color: #eb5b37;
  width: 20px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(51, 51, 51, 0.3);
  color: #666666;
}

.footer-services-twocol {
  columns: 2 150px;
  column-gap: 1.5rem;
  max-width: 350px;
}

.footer-services-twocol li {
  break-inside: avoid;
  margin-bottom: 0.8rem;
}

.office-map {
  margin-top: 1rem;
}

.office-map iframe {
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.office-map iframe:hover {
  transform: scale(1.02);
}

.office-map #map {
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.office-map #map:hover {
  transform: scale(1.02);
}

/* Force video display on desktop */
@media (min-width: 769px) {
  .hero-video {
    display: block !important;
  }

  .hero-background {
    background: url("../images/photos/dentist.webp") center/cover;
  }

  .hero-fallback-image {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }

  .hero-background {
    background: url("../images/photos/dentist.webp") center/cover;
  }

  .service-hero-image {
    animation: none;
    transform: scale(1);
  }

  .marquee-group {
    animation-play-state: paused;
  }
}

/* Hide video when it fails to load */
.hero-video:not([src]):not([srcset]) {
  display: none;
}

/* Showcase Section */
.showcase-section {
  margin: 4rem 4rem 0;
}

.showcase-container {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  background-color: #111111;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  padding: 60px 0;
}

.showcase-sidebar {
  width: 45%;
  padding: 0 40px 0 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: sticky;
  top: 120px;
  height: fit-content;
}

.showcase-container.bottom-pinned .showcase-sidebar {
  position: absolute;
  top: auto;
  bottom: 60px;
  right: 0;
  width: 45%;
}

.showcase-container.bottom-pinned .showcase-content {
  margin-right: 45%;
  width: 55%;
}

.sidebar-content {
  max-width: 550px;
}

.showcase-title {
  font-family: "Chakra Petch", sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 30px;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.showcase-title.visible {
  opacity: 1;
  transform: translateY(0);
}

.showcase-subtitle {
  font-family: "Mulish", "Mulish Placeholder", sans-serif;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 40px;
  max-width: 500px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.showcase-cta {
  width: fit-content;
  font-weight: 500;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.showcase-subtitle.visible,
.showcase-cta.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Careers Title and CTA Animations */
.careers-title {
  font-family: "Chakra Petch", sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 50px;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.careers-title.visible {
  opacity: 1;
  transform: translateY(0);
}

.careers-cta {
  width: fit-content;
  font-weight: 500;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.careers-cta.visible {
  opacity: 1;
  transform: translateY(0);
}

.showcase-content {
  width: 55%;
  margin-top: 5px;
  padding: 0 60px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.showcase-card {
  display: flex;
  align-items: center;
  padding: 0 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 60px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.showcase-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Showcase Card Visible State */
.showcase-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.showcase-card-content {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.showcase-card-title {
  font-family: "Chakra Petch", sans-serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 30px;
  letter-spacing: -0.02em;
}

.showcase-card-details {
  display: flex;
  gap: 40px;
  margin-bottom: 30px;
  font-family: "Chakra Petch", sans-serif;
}

.showcase-card-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--brand-primary);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.showcase-card-detail i {
  width: 16px;
  font-size: 0.9rem;
}

.showcase-card-description {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 40px;
  font-family: "Mulish", "Mulish Placeholder", sans-serif;
}

.showcase-card-image {
  width: 100%;
  height: 400px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

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

.showcase-card-image:hover img {
  transform: scale(1.05);
}

/* Responsive Design for Showcase */

/* Careers Section - Original styles for careers page */
.careers-section {
  background-color: transparent;
  padding: 1.5rem 0;
  position: relative;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.careers-container {
  display: flex;
  max-width: 1400px;
  margin: 0 4rem;
  position: relative;
  min-height: 100vh;
}

.careers-sidebar {
  width: 45%;
  padding: 20px 40px 20px 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: sticky;
  top: 120px;
  height: fit-content;
}

.careers-container.bottom-pinned .careers-sidebar {
  position: absolute;
  top: auto;
  bottom: 0;
  left: 0;
  width: 45%;
}

.careers-container.bottom-pinned .careers-content {
  margin-left: 45%;
  width: 55%;
}

.careers-title {
  font-family: "Chakra Petch", sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 50px;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.careers-title.visible {
  opacity: 1;
  transform: translateY(0);
}

.careers-cta {
  width: fit-content;
  font-weight: 500;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.careers-cta.visible {
  opacity: 1;
  transform: translateY(0);
}

.careers-content {
  width: 55%;
  margin-top: 5px;
  padding: 10px 0 10px 60px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  gap: 40px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.career-card {
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 60px;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.career-card:last-child {
  border-bottom: none;
  padding-bottom: 10px;
}

.career-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.career-content {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.career-title {
  font-family: "Chakra Petch", sans-serif;
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 30px;
  letter-spacing: -0.02em;
}

.career-details {
  display: flex;
  gap: 40px;
  margin-bottom: 30px;
  font-family: "Chakra Petch", sans-serif;
}

.career-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--brand-primary);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.career-detail i {
  width: 16px;
  font-size: 0.9rem;
}

.career-description {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 40px;
  font-family: "Mulish", "Mulish Placeholder", sans-serif;
}

.career-image {
  width: 100%;
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

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

.career-image:hover img {
  transform: scale(1.05);
}

/* Overlay for career images to match .careers-contact gradients */
.career-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  border-radius: 8px;
  z-index: 2;
  background-image: linear-gradient(
      35deg,
      rgba(255, 77, 36, 0.45) 0%,
      rgba(0, 0, 0, 0.05) 30%,
      rgba(0, 0, 0, 0.05) 70%,
      rgba(255, 77, 36, 0.45) 100%
    ),
    radial-gradient(
      ellipse at center,
      rgba(0, 0, 0, 0.1) 60%,
      rgba(0, 0, 0, 0.6) 100%
    );
}

/* Responsive Design for Careers */

.services-ellipse-bg {
  position: absolute;
  top: 0%;
  right: -20%;
  width: 1000px;
  height: 150px;
  background: radial-gradient(
    ellipse,
    rgba(255, 77, 36, 0.38) 0%,
    rgba(255, 77, 36, 0.28) 40%,
    rgba(255, 77, 36, 0.15) 70%,
    transparent 100%
  );
  border-radius: 50%;
  filter: blur(70px);
  z-index: 0; /* Make sure it's behind your content */
  pointer-events: none;
  transform: rotate(-10deg);
}

.services-ellipse-bg-2 {
  position: absolute;
  top: 55%;
  left: -20%;
  width: 1000px;
  height: 500px;
  background: radial-gradient(
    ellipse,
    rgba(255, 77, 36, 0.2) 0%,
    rgba(255, 77, 36, 0.12) 40%,
    rgba(255, 77, 36, 0.07) 70%,
    transparent 100%
  );
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0; /* Make sure it's behind your content */
  pointer-events: none;
  transform: rotate(15deg);
}

/* Careers Contact Ellipse Backgrounds */
.careers-contact-ellipse-bg {
  position: absolute;
  top: 10%;
  right: -20%;
  width: 1000px;
  height: 150px;
  background: radial-gradient(
    ellipse,
    rgba(255, 77, 36, 0.28) 0%,
    rgba(255, 77, 36, 0.18) 40%,
    rgba(255, 77, 36, 0.05) 70%,
    transparent 100%
  );
  border-radius: 50%;
  filter: blur(70px);
  z-index: 0; /* Make sure it's behind your content */
  pointer-events: none;
  transform: rotate(-20deg);
}

/* Careers Section Ellipse Background */
.careers-ellipse-bg {
  position: absolute;
  top: 15%;
  left: -20%;
  width: 1000px;
  height: 200px;
  background: radial-gradient(
    ellipse,
    rgba(255, 77, 36, 0.38) 0%,
    rgba(255, 77, 36, 0.28) 40%,
    rgba(255, 77, 36, 0.15) 70%,
    transparent 100%
  );
  border-radius: 50%;
  filter: blur(70px);
  z-index: 0; /* Make sure it's behind your content */
  pointer-events: none;
  transform: rotate(20deg);
}

.careers-ellipse-bg-2 {
  position: absolute;
  top: 85%;
  left: -5%;
  width: 1000px;
  height: 200px;
  background: radial-gradient(
    ellipse,
    rgba(255, 77, 36, 0.35) 0%,
    rgba(255, 77, 36, 0.25) 40%,
    rgba(255, 77, 36, 0.15) 70%,
    transparent 100%
  );
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0; /* Make sure it's behind your content */
  pointer-events: none;
  transform: rotate(-30deg);
}

/* ===================================
   ACCESSORIES PAGE SPECIFIC STYLES
   =================================== */

/* Accessories Section */
.accessories-section {
  padding: 4rem 2rem 2rem;
  background: #000000;
}

.accessories-container {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto;
  padding-bottom: 2rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

/* Accessories Tabs - Left Sidebar */
.accessories-tabs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: sticky;
  top: 120px;
  height: fit-content;
}

.accessory-tab {
  background: rgba(24, 24, 24, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  color: var(--text-secondary);
  font-family: "Chakra Petch", sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
  width: 100%;
}

.accessory-tab i {
  color: var(--brand-primary);
  font-size: 1.2rem;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
}

.accessory-tab:hover {
  background: rgba(24, 24, 24, 0.8);
  border-color: var(--brand-primary);
  color: var(--text-primary);
  transform: translateX(5px);
}

.accessory-tab.active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: var(--text-primary);
  box-shadow: 0 4px 20px rgba(235, 91, 55, 0.3);
}

.accessory-tab.active i {
  color: var(--text-primary);
}

/* Accessories Content - Right Side */
.accessories-content {
  position: relative;
}

.accessory-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px);
  transition: all 0.5s ease;
  pointer-events: none;
  z-index: 1;
}

.accessory-content.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  position: relative;
  pointer-events: auto;
  z-index: 10;
}

.accessory-header {
  margin-bottom: 3rem;
}

.accessory-header h2 {
  font-family: "Chakra Petch", sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.accessory-header h2.visible {
  opacity: 1;
  transform: translateY(0);
}

.accessory-header p {
  font-family: "Mulish", "Mulish Placeholder", sans-serif;
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-weight: 300;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.accessory-header p.visible {
  opacity: 1;
  transform: translateY(0);
}

.accessory-image {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  height: 500px;
}

.accessory-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  opacity: 0;
  transform: translateY(30px) scale(1);
  transition: all 0.8s ease;
}

.accessory-image img.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ===================================
   CAREERS PAGE SPECIFIC STYLES
   =================================== */

/* Careers contact section - separate from main page contact */
.careers-contact {
  margin: 0 auto;
  display: flex;
  justify-content: center;
}

.careers-contact-container {
  position: relative;
  background-image: linear-gradient(
      315deg,
      rgba(0, 0, 0, 0.59) 4%,
      rgba(0, 0, 0, 0.05) 39%,
      rgba(0, 0, 0, 0.05) 75%,
      rgba(255, 77, 36, 0.5) 100%
    ),
    linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("../images/careers/careers.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 4rem 4rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  max-width: 1400px;
  padding: 4rem;
}

.careers-contact-container .contact-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4rem;
}

.careers-contact-container .contact-form {
  width: 55%;
  max-width: 700px;
}

.careers-contact-sidebar {
  width: 45%;
  padding: 20px 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.careers-contact-title {
  font-family: "Chakra Petch", sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.careers-contact-title.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Form row for 2-column layout on careers page */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Form validation styles */
.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group input.valid,
.form-group select.valid,
.form-group textarea.valid {
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Loading state for submit button */
.btn-brand:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: #666;
  border-color: #666;
}

/* Placeholder styling for all form fields */
.form-group input::placeholder,
.form-group textarea::placeholder,
.form-group select,
.cv-upload-filename,
.form-group textarea::placeholder {
  color: var(--text-dark);
  letter-spacing: 0.08em;
  opacity: 1;
  font-size: 0.9rem;
  text-transform: uppercase;
  font-family: "Chakra Petch", "Chakra Petch Placeholder", sans-serif;
}

/* Custom CV upload component */
.cv-upload {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 60px;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  background: rgba(128, 128, 128, 0.1);
  margin-bottom: 0.5rem;
}
.cv-upload-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--brand-primary);
  color: var(--text-primary);
  border: 2px solid var(--brand-primary);
  border-radius: 6px;
  font-family: "Chakra Petch", "Chakra Petch Placeholder", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0 20px;
  height: 48px;
  cursor: pointer;
  transition: all 0.3s;
  margin-left: 4px;
  margin-right: 20px;
}
.cv-upload-btn i {
  font-size: 1.2em;
}
.cv-upload-btn:hover,
.cv-upload-btn:focus {
  background: transparent;
  color: var(--brand-primary);
  border: 2px solid var(--brand-primary);
}

.contact-form > form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 0;
}
.form-group {
  margin-bottom: 0;
}
.cv-upload {
  margin-bottom: 0;
}

/* ===================================
ACCESSORIES PAGE SPECIFIC STYLES
=================================== */

.accessory-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: #000;
  /* Fade-in on scroll */
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.accessory-slideshow.visible {
  opacity: 1;
  transform: translateY(0);
}

.slideshow-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.slideshow-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.slideshow-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Override any fade-in animations from parent styles */
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* Progress bar at top */
.slideshow-progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 20;
}

.slideshow-progress-bar {
  height: 100%;
  background: var(--brand-primary);
  width: 0%;
  transition: width 0.1s linear;
  transform-origin: left;
}

.slideshow-progress-bar.paused {
  transition: none;
}

/* Navigation arrows */
.slideshow-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.2);
  border: none;
  color: var(--text-primary);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  z-index: 15;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  opacity: 1;
  visibility: visible;
}

.slideshow-nav:hover {
  background: rgba(0, 0, 0, 0.8);
  color: var(--brand-primary);
  transform: translateY(-50%) scale(1.1);
}

.accessory-slideshow:hover .slideshow-nav {
  background: rgba(0, 0, 0, 0.6);
}

.slideshow-nav.prev {
  left: 15px;
}

.slideshow-nav.next {
  right: 15px;
}

/* Slide indicators (optional) */
.slideshow-indicators {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 15;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.slideshow-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slideshow-indicator.active {
  background: var(--brand-primary);
  transform: scale(1.2);
}

.accessory-slideshow:hover .slideshow-indicators {
  opacity: 1;
  visibility: visible;
}

/* Ensure slideshow works in accessory image container */
.accessory-image {
  position: relative;
  height: 500px;
  border-radius: 8px;
  overflow: hidden;
}

@media (max-width: 1024px) {
  /* Navigation and Layout */
  .hamburger {
    display: flex;
  }

  .nav-actions {
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    gap: 15px;
  }

  .language-toggle {
    padding: 12px 16px;
    font-size: 0.9rem;
  }

  .language-menu {
    right: 0;
    min-width: 100px;
  }

  .language-item {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .nav-cta {
    display: none;
  }

  .nav-menu {
    position: fixed;
    left: 16px;
    top: 102px;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.98);
    width: calc(100% - 32px);
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 2rem 0;
    gap: 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(128, 128, 128, 0.3);
    transform: translateX(-110%);
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  /* Mobile Dropdown Styles */
  .nav-dropdown .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    background: rgba(0, 0, 0, 0.8);
    border: none;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    min-width: auto;
    padding: 0;
    display: none;
  }

  .nav-dropdown.mobile-active .dropdown-menu {
    display: block;
  }

  .dropdown-item {
    padding: 12px 30px;
    font-size: 0.85rem;
    height: auto;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .dropdown-item:hover {
    background: var(--hover-bg);
    border: 1px solid var(--hover-border);
  }

  .dropdown-arrow {
    transition: transform 0.3s ease;
  }

  .nav-dropdown.mobile-active .dropdown-arrow {
    transform: rotate(180deg);
  }

  /* Hero Section */
  .hero-container {
    /* padding: 0 30px;
    padding-top: 120px;
    padding-bottom: 60px; */
  }

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

  /* Russian-specific tweak on tablet widths */
  html[lang="ru"] .hero-title {
    font-size: 2.5rem;
  }

  .services .section-header h2 {
    font-size: 3.2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
  }

  .services .section-header h2.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Stats Section */
  .stats-counter {
    padding-bottom: 1rem;
  }

  .stats-container {
    gap: 2rem;
    padding: 2rem 1rem;
  }

  .stat-number {
    font-size: 4rem;
    margin-bottom: 0;
    transition: all 0.8s ease;
  }

  .stat-label {
    font-size: 1rem;
    transition: all 0.8s ease;
  }

  /* About Section */
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Service Cards */
  .service-image {
    height: 250px;
  }

  .service-content {
    padding: 1.5rem;
  }

  .service-content h3 {
    font-size: 1.2rem;
  }

  /* Contact Section */

  /* Partners Section */
  .partners-section {
    margin: 6rem 4rem 2rem;
  }

  .partners-section .section-header {
    margin-bottom: 2rem;
  }

  .partners-section .section-header h2 {
    font-size: 3.2rem;
  }

  .contact .section-header h2 {
    font-size: 3.2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
  }

  .contact .section-header h2.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .contact .section-header {
    margin-bottom: 2rem;
  }

  .contact-section {
    padding: 1.5rem;
  }

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

  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Gradient Backgrounds */
  .gradient-bg::before {
    width: 450px;
    height: 140px;
    filter: blur(60px);
    left: -25%;
  }

  .gradient-bg::after {
    width: 380px;
    height: 120px;
    filter: blur(55px);
    right: -20%;
  }

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

  /* Service Pages */

  .service-hero {
    height: 50vh;
    max-height: 420px;
  }

  .service-hero-title {
    font-size: 4rem;
    white-space: normal;
  }

  .service-details {
    padding: 40px 0;
  }

  .service-details-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .service-details-text h3 {
    font-size: 1.3rem;
    margin: 1.5rem 0 0.8rem 0;
  }

  .service-details-text p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
  }

  .service-details-text ul {
    font-size: 1rem;
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .service-details-text ul ul {
    margin-left: 0.8rem;
    margin-top: 0.3rem;
  }

  .service-details-text ul ul li {
    font-size: 0.9em;
    padding-left: 0.3rem;
  }

  /* Service Grids */
  .service-details-grid,
  .refrigeration-details-grid,
  .spectransports-details-grid,
  .minibuses-details-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
  }

  /* Accessories */

  .accessories-section {
    margin: 0 2rem;
    padding: 0 0;
  }

  .accessory-header {
    margin-bottom: 2rem;
  }

  .accessory-header h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
  }

  .accessory-header p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .accessory-image {
    height: 350px;
  }

  .slideshow-nav {
    width: 40px;
    height: 40px;
  }

  .slideshow-nav i {
    font-size: 1rem;
  }

  /* Service CTA */

  .service-cta .btn {
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  /* Showcase Section */
  .showcase-container {
    flex-direction: column;
    padding: 2rem;
  }

  .showcase-sidebar {
    width: 100% !important;
    position: static !important;
    top: auto !important;
    order: -1;
    padding: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
    /* Prevent any transition jitters when switching from sticky to static */
    transition: none !important;
  }

  .showcase-content {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0;
  }

  /* Override any bottom-pinned styles on tablet/mobile */
  .showcase-container.bottom-pinned .showcase-sidebar {
    width: 100% !important;
    position: static !important;
    top: auto !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    order: -1;
    padding: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
  }

  .showcase-container.bottom-pinned .showcase-content {
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0;
  }

  .sidebar-content .showcase-cta {
    display: none;
  }

  .showcase-title {
    font-size: 3rem;
  }

  .showcase-subtitle {
    font-size: 1rem;
  }

  .showcase-content {
    width: 100%;
    padding: 0;
  }

  .showcase-card {
    min-height: auto;
  }

  .showcase-card-title {
    font-size: 2rem;
  }

  .showcase-card-details {
    flex-direction: column;
    gap: 15px;
  }

  .showcase-card-image {
    height: 450px;
  }

  /* Accessories Section */
  .accessories-container {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 2rem 0 0;
  }

  .accessories-tabs {
    position: static;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }

  .accessory-tab {
    font-size: 0.9rem;
  }

  .accessory-header h2 {
    font-size: 3rem;
  }

  .accessory-image {
    height: 600px;
  }

  .department-heading {
    font-size: 1.2rem;
    gap: 0.8rem;
  }

  .heading-icon {
    width: 45px;
    height: 45px;
  }

  .heading-icon i {
    font-size: 1.1rem;
  }

  .contact-info-group p {
    padding: 0.7rem 0.8rem;
    font-size: 0.9rem;
  }

  .office-map iframe {
    height: 100px;
  }

  .office-map #contact-map {
    height: 150px;
  }

  /* ===================================
   CAREERS PAGE SPECIFIC STYLES
   =================================== */

  .careers-contact {
    display: block;
    margin: 2rem auto 4rem;
  }

  .careers-contact-container {
    margin: 2rem 4rem 4rem;
  }

  /* Careers Section */
  .careers-container {
    flex-direction: column;
  }

  /* Careers: allow title container to be full width */
  .sidebar-content {
    max-width: none;
    width: 100%;
  }

  /* Careers: hide top CTA button on single-column layout */
  .careers-cta {
    display: none;
  }

  /* Careers Contact: stack to 1 column and place title above form */
  .careers-contact .contact-content {
    flex-direction: column;
    gap: 1.5rem;
  }

  .careers-contact-container {
    padding: 2rem;
  }

  .careers-contact-sidebar,
  .careers-contact .contact-form {
    width: 100%;
    max-width: none;
    padding: 20px;
  }

  /* Ensure the sidebar (headline/tagline) shows above the form */
  .careers-contact-sidebar {
    order: -1;
  }

  .careers-contact-sidebar .tagline {
    margin-bottom: 20px;
  }

  /* Form becomes 1 field per row */
  .careers-contact .form-row {
    grid-template-columns: 1fr;
  }

  .careers-contact-sidebar {
    width: 100%;
    position: static;
    padding: 20px;
  }

  .careers-contact-title {
    font-size: 3rem;
  }

  /* Careers: remove extra top spacing before first job title */
  .careers-content .career-card:first-child {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  /* Careers: show separator after last job to separate from form */
  .careers-content .career-card:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .careers-sidebar {
    width: 100%;
    position: static !important;
    padding: 0;
    border-right: none;
    border-bottom: none;
    padding-top: 4rem;
  }

  .careers-title {
    font-size: 3rem;
  }

  .careers-content {
    width: 100%;
    padding: 0 0;
    border-left: none;
  }

  .career-card:last-child {
    padding-bottom: 60px;
  }

  .career-card {
    min-height: auto;
    padding-bottom: 60px;
  }

  .career-title {
    font-size: 2rem;
  }

  .career-details {
    gap: 15px;
  }

  .career-image {
    height: 375px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 0 2rem;
  }
  .services {
    margin: 0 2rem;
  }

  .partners-section {
    margin: 4rem 2rem 2rem;
  }

  .contact {
    margin: 4rem 2rem 2rem;
  }

  /* Stats section - single column on mobile */
  .stats-container {
    flex-direction: column;
    gap: 2.5rem;
    padding: 2rem 1rem;
    max-width: 100%;
  }

  /* On mobile, disable video to save bandwidth and battery */
  .hero-video {
    display: block !important;
  }

  .service-hero-title {
    font-size: 3rem;
  }

  /* Showcase Section */
  .showcase-section {
    margin: 4rem 2rem 0;
  }

  /* Contact: stack cards in a single column on mobile */
  .contact-content {
    grid-template-columns: 1fr;
  }

  .careers-contact {
    margin: 2rem auto 4rem;
  }

  .careers-contact-container {
    margin: 0 4rem;
  }

  .showcase-title {
    font-size: 2.5rem;
  }

  .showcase-subtitle {
    font-size: 0.95rem;
    margin-bottom: 2rem;
    max-width: none;
  }

  .showcase-card-title {
    font-size: 1.8rem;
  }

  .showcase-card-details {
    gap: 12px;
    margin-bottom: 1rem;
  }

  .showcase-card-description {
    font-size: 1rem;
  }

  .showcase-card-image {
    height: 400px;
  }
  /* Gradient Backgrounds - Disable decorative ellipses on mobile */
  .gradient-bg::before,
  .gradient-bg::after,
  .gradient-bg.multi-ellipse::before,
  .gradient-bg.multi-ellipse::after {
    content: none !important;
  }

  .services-ellipse-bg,
  .services-ellipse-bg-2,
  .careers-contact-ellipse-bg,
  .careers-ellipse-bg,
  .careers-ellipse-bg-2,
  .contact-ellipse-bg,
  .contact-ellipse-bg-2 {
    display: none !important;
  }

  .accessories-tabs {
    position: static !important;
    /* grid-template-columns: 1fr; */
  }

  .accessory-tab:hover {
    transform: none;
  }

  .accessory-header h2 {
    font-size: 2.5rem;
  }

  .accessory-header p {
    font-size: 1rem;
  }

  .accessory-image {
    height: 350px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Slideshow Navigation */
  .slideshow-nav {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .slideshow-nav.prev {
    left: 10px;
  }

  .slideshow-nav.next {
    right: 10px;
  }
}

@media (max-width: 600px) {
  /* Services Grid */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-hero-title {
    word-break: break-word;
    hyphens: manual;
  }

  /* CV Upload Component */
  .cv-upload {
    flex-direction: column;
    align-items: stretch;
    min-height: unset;
  }

  .cv-upload-btn {
    border-radius: 6px 6px 0 0;
    width: 100%;
    margin-bottom: 4px;
  }

  .cv-upload-filename {
    padding: 8px 12px;
    font-size: 0.95rem;
  }

  /* Footer Services */
  .footer-services-columns {
    flex-direction: column;
    gap: 1rem;
  }

  /* ===================================
   CAREERS PAGE SPECIFIC STYLES
   =================================== */

  .cv-upload-btn {
    margin-left: 0;
  }

  .sidebar-content .tagline,
  .sidebar-content .careers-title {
    margin-bottom: 25px;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 80vh;
  }

  .footer-services-twocol {
    columns: 1;
    max-width: 100%;
  }

  .footer {
    padding: 2rem 1rem 2rem;
  }

  /* Navigation and Layout */
  .nav-actions {
    right: 60px;
    gap: 15px;
  }

  .language-toggle {
    padding: 10px 12px;
    font-size: 0.85rem;
    gap: 6px;
  }

  .language-toggle .fas.fa-globe {
    font-size: 0.8rem;
  }

  .language-menu {
    min-width: 90px;
  }

  .language-item {
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  /* Hero Section */
  .hero-title {
    font-size: 2.1rem;
    word-break: break-word;
    hyphens: manual;
  }

  /* Russian-specific tweak on small phones */
  html[lang="ru"] .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  /* Section Headers */

  .section-header h2 {
    font-size: 2rem;
  }

  .section-header .tagline {
    margin-bottom: 1rem;
  }

  .services .section-header h2 {
    font-size: 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
    margin-bottom: 2rem;
  }

  .services .section-header h2.visible {
    opacity: 1;
    transform: translateY(0);
  }

  .contact .section-header h2 {
    font-size: 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
  }

  .contact .section-header h2.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Services and Showcase */
  .services {
    margin: 0 2rem;
  }

  /* Partners Section */
  .partners-section .section-header h2 {
    font-size: 2rem;
  }

  .partners-marquee {
    padding: 1rem 0;
  }

  .marquee-group {
    gap: 1rem;
  }

  .logo-image {
    max-width: 150px;
    max-height: 50px;
  }

  /* Stats Section */
  .stats-section {
    margin: 0 2rem;
  }

  .stats-counter {
    padding-top: 0;
    padding-bottom: 0;
  }

  .stats-container {
    flex-direction: column;
    gap: 2.5rem;
    padding: 1.5rem 1rem;
    max-width: 100%;
  }

  .stat-number {
    font-size: 3rem;
    margin-bottom: 0.2rem;
  }

  .stat-label {
    font-size: 0.95rem;
    letter-spacing: 0.6px;
  }

  /* Service Cards */
  .service-image {
    height: 220px;
  }

  .service-content {
    padding: 1.2rem;
  }

  .service-content h3 {
    font-size: 1.1rem;
  }

  .service-content p {
    font-size: 0.9rem;
  }

  .service-hero {
    height: 40vh;
  }

  .service-hero-title {
    font-size: 2.5rem;
    word-break: break-word;
    hyphens: manual;
  }

  /* Service Details */
  .service-details {
    padding: 30px 0;
  }

  .service-details-text h2 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
  }

  .service-details-text h3 {
    font-size: 1.2rem;
    margin: 1.2rem 0 0.6rem 0;
  }

  .service-details-text p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0.8rem;
  }

  .service-details-text ul {
    font-size: 0.95rem;
    margin-left: 1.2rem;
    margin-bottom: 1.2rem;
  }

  .service-details-text ul ul {
    margin-left: 0.6rem;
    margin-top: 0.2rem;
  }

  .service-details-text ul ul li {
    font-size: 0.85em;
    padding-left: 0.2rem;
  }

  /* Service Grids */
  .service-details-grid,
  .refrigeration-details-grid,
  .spectransports-details-grid,
  .minibuses-details-grid {
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  /* Accessories */
  .accessories-section {
    margin: 0 1rem;
  }

  .accessory-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
  }

  .accessory-header p {
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .accessory-image {
    height: 250px;
  }

  /* Slideshow */
  .slideshow-nav {
    width: 35px;
    height: 35px;
  }

  .slideshow-nav i {
    font-size: 0.9rem;
  }

  /* Service CTA */
  .service-cta .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  /* Showcase Section */
  .showcase-container {
    padding: 1.5rem;
  }

  .showcase-title {
    font-size: 2rem;
  }

  .showcase-subtitle {
    font-size: 0.9rem;
  }

  .showcase-card {
    padding-bottom: 3rem;
  }

  .showcase-card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .showcase-card-description {
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }

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

  .tagline span:not(.tagline-bar) {
    font-size: 0.85rem;
  }

  .showcase-card-detail {
    font-size: 0.8rem;
  }

  /* Contact Section */
  .contact-section {
    padding: 1.5rem;
  }

  .department-heading {
    font-size: 1.1rem;
    gap: 0.6rem;
  }

  .heading-icon {
    width: 40px;
    height: 40px;
  }

  .heading-icon i {
    font-size: 1rem;
  }

  .contact-subtitle {
    font-size: 0.8rem;
  }

  .contact-info-group p {
    font-size: 0.85rem;
    padding: 0.6rem 0.8rem;
  }

  .contact-person p strong {
    font-size: 1rem;
  }

  .office-address p {
    font-size: 0.85rem;
  }

  .office-hours {
    font-size: 0.8rem !important;
  }

  .office-map iframe {
    height: 90px;
  }

  /* Gradient Backgrounds */
  .gradient-bg::before {
    width: 320px;
    height: 100px;
    filter: blur(50px);
    left: -35%;
    top: 15%;
  }

  .gradient-bg::after {
    width: 280px;
    height: 90px;
    filter: blur(45px);
    right: -30%;
    bottom: 25%;
  }

  .gradient-bg.multi-ellipse::before {
    width: 350px;
    height: 110px;
    filter: blur(55px);
    left: -40%;
  }

  .gradient-bg.multi-ellipse::after {
    width: 300px;
    height: 95px;
    filter: blur(50px);
    right: -35%;
  }

  /* ===================================
    CAREERS PAGE SPECIFIC STYLES
    =================================== */

  .careers-section {
    padding: 0;
    margin: 0;
  }

  .careers-contact.contact {
    margin: 0;
  }

  .careers-container {
    margin: 0 1.5rem;
  }

  .careers-contact-container {
    margin: 0 1.5rem;
    padding: 1.5rem;
  }

  .contact.careers-contact {
    padding: 2rem 0;
    padding-top: 1rem;
  }

  .careers-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .careers-content {
    gap: 2rem;
    padding: 0;
  }

  .careers-sidebar {
    padding-top: 1rem;
  }

  .career-card {
    padding-bottom: 3rem;
  }

  .career-card:last-child {
    padding-bottom: 3rem;
    margin-bottom: 1.5rem;
  }

  .career-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
  }

  .career-details {
    gap: 5px;
    margin-bottom: 20px;
    flex-direction: column;
  }

  .career-description {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 20px;
  }

  .career-image {
    height: 220px;
    margin-top: 15px;
  }

  .career-detail {
    font-size: 0.8rem;
  }

  .careers-contact-title {
    font-size: 2rem;
  }

  .careers-contact-sidebar {
    padding: 0;
  }
}
