/* ============================================
   ABOUT US PAGE STYLES
   ============================================ */

/* Ensure consistent base styling */
html, body {
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

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

/* Video Modal Close Button Override */
.video-modal-close {
    position: absolute !important;
    top: -40px !important;
    right: -15px !important;
    color: #fff !important;
    font-size: 55px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    z-index: 10000 !important;
    display: block !important;
}

/* Header banner styling */
.header-banner {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin: 0;
  padding: 0;
  display: block;
}

.header-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Responsive breakpoints for header */
@media screen and (max-width: 768px) {
  .header-banner img {
    min-height: 150px;
    object-fit: cover;
  }
}

@media screen and (max-width: 480px) {
  .header-banner img {
    min-height: 120px;
  }
}

/* ============================================
   ANIMATED HEADER SECTION
   ============================================ */

.animated-header-section {
  width: 100%;
  height: 50vh;
  min-height: 300px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.animated-header-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://i.atlasied.com/atlasied/about-us/about-us-header-background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.animated-header-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: none;
  z-index: 2;
}

.animated-header-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1300px;
}

.animated-text-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-top: 100px;
  
}

.animated-text-line {
  background: rgba(0, 102, 204, 1.0);
  padding: 20px 40px;
  border-radius: 3px;
  position: relative;
  width: fit-content;
  left: 50%;
  transform: translateX(-50%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);

}

.animated-text-line.top-line {
  animation: slideInFromLeftToCenter 1.2s ease-out;
}

.animated-text-line.bottom-line {
  animation: slideInFromRightToCenter 1.2s ease-out 0.3s both;
}

.animated-text {
  font-family: var(--atlasied-font-primary);
  font-size: 3.15rem;
  font-weight: 300;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  white-space: nowrap;
  line-height: 1.5em;
}

/* Animation Keyframes */
@keyframes slideInFromLeftToCenter {
  0% {
    left: -100vw;
    transform: translateX(0);
    opacity: 0;
  }
  100% {
    left: 50%;
    transform: translateX(-50%);
    opacity: 1;
  }
}

@keyframes slideInFromRightToCenter {
  0% {
    left: 100vw;
    transform: translateX(0);
    opacity: 0;
  }
  100% {
    left: 50%;
    transform: translateX(-50%);
    opacity: 1;
  }
}

/* Responsive Design for Animated Header */
@media screen and (max-width: 768px) {
  .animated-header-section {
    height: 40vh;
    min-height: 250px;
  }
  
  .animated-text-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: 100%;
    padding: 0 10px;
    margin-top: 133px;
  }
  
  .animated-text {
    font-size: 1.6rem !important;
    letter-spacing: 1px;
  }
  
  .animated-text-line {
    padding: 15px 25px;
    position: relative;
    left: auto !important;
    transform: none !important;
    width: fit-content;
  }
  
  .animated-text-line.top-line {
    animation: slideInFromLeftMobileFlex 1.2s ease-out !important;
  }

  .animated-text-line.bottom-line {
    animation: slideInFromRightMobileFlex 1.2s ease-out 0.3s both !important;
  }
}

@media screen and (max-width: 480px) {
  .animated-header-section {
    height: 35vh;
    min-height: 200px;
  }
  
  .animated-text {
    font-size: 1.4rem !important;
    letter-spacing: 0.5px;
  }
  
  .animated-text-line {
    padding: 12px 20px;
    position: relative;
    left: auto !important;
    transform: none !important;
    width: fit-content;
  }
  
  .animated-text-container {
    gap: 8px;
    padding: 0 10px;
    margin-top: 133px;
  }
  
  .animated-text-line.top-line {
    animation: slideInFromLeftMobileFlex 1.2s ease-out !important;
  }

  .animated-text-line.bottom-line {
    animation: slideInFromRightMobileFlex 1.2s ease-out 0.3s both !important;
  }
}

/* Mobile-specific animations using flexbox centering */
@media screen and (max-width: 768px) {
  @keyframes slideInFromLeftMobileFlex {
    0% {
      transform: translateX(-100vw);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }

  @keyframes slideInFromRightMobileFlex {
    0% {
      transform: translateX(100vw);
      opacity: 0;
    }
    100% {
      transform: translateX(0);
      opacity: 1;
    }
  }
}

/* ============================================
   ATLASIED DESIGN SYSTEM
   ============================================ */

/* CSS Custom Properties - AtlasIED Brand Colors & Typography */
:root {
  /* AtlasIED Official Brand Colors */
  --atlasied-primary: #0066CC;        /* AtlasIED Blue */
  --atlasied-secondary: #004A99;      /* Darker Blue */
  --atlasied-accent: #FF6600;         /* Orange Accent */
  
  /* Neutral Colors */
  --atlasied-dark: #333333;           /* Dark Text */
  --atlasied-gray: #666666;           /* Medium Gray */
  --atlasied-light-gray: #F5F5F5;     /* Light Background */
  --atlasied-white: #FFFFFF;          /* White */
  
  /* Typography - Official AtlasIED Fonts */
  --atlasied-font-primary: 'Montserrat', sans-serif;
  --atlasied-font-secondary: 'Roboto', sans-serif;
  
  /* Font Sizes - Match Homepage Scale */
  --font-size-small: 14px;
  --font-size-base: 16px;
  --font-size-medium: 18px;
  --font-size-large: 20px;
  --font-size-xl: 24px;
  --font-size-xxl: 32px;
  --font-size-xxxl: 40px;
  
  /* Spacing - Match Homepage Grid */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 32px;
  --spacing-xl: 48px;
  --spacing-xxl: 64px;
  --spacing-xxxl: 96px;
  
  /* Breakpoints */
  --breakpoint-mobile: 480px;
  --breakpoint-tablet: 768px;
  --breakpoint-desktop: 1024px;
  --breakpoint-large: 1200px;
}

/* Base Typography Styles */
body {
  font-family: var(--atlasied-font-secondary);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--atlasied-dark);
  background-color: var(--atlasied-white);
}

/* Heading Styles */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--atlasied-font-primary);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

h1, .main-title {
  font-size: var(--font-size-xxl);
  font-weight: 700;
  color: var(--atlasied-dark);
}

h2 {
  font-size: var(--font-size-xl);
  font-weight: 600;
}

h3 {
  font-size: var(--font-size-large);
  font-weight: 500;
}

/* Subtitle Style */
.subtitle {
  font-family: var(--atlasied-font-primary) !important;
  font-size: var(--font-size-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--atlasied-primary);
  margin-bottom: var(--spacing-xs);
}

/* Container Styles */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* Section Styles */
section {
  padding: var(--spacing-xxl) 0;
}

/* Button Styles */
.btn, .solutions-button {
  font-family: var(--atlasied-font-primary);
  font-size: var(--font-size-small);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: var(--spacing-sm) var(--spacing-lg);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary, .solutions-button {
  background-color: var(--atlasied-primary);
  color: var(--atlasied-white);
}

.btn-primary:hover, .solutions-button:hover {
  background-color: var(--atlasied-secondary);
  transform: translateY(-2px);
}

/* Card Styles */
.card, .category-card, .carousel-card {
  background: var(--atlasied-white);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:hover, .category-card:hover, .carousel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Responsive Breakpoints */
@media screen and (max-width: 1200px) {
  .container {
    max-width: 100%;
    padding: 0 var(--spacing-md);
  }
}

@media screen and (max-width: 768px) {
  :root {
    --font-size-xxl: 36px;
    --font-size-xl: 28px;
    --font-size-large: 20px;
    --spacing-xxl: 48px;
    --spacing-xl: 32px;
  }
  
  .container {
    padding: 0 var(--spacing-sm);
  }
  
  section {
    padding: var(--spacing-xl) 0;
  }
}

@media screen and (max-width: 480px) {
  :root {
    --font-size-xxl: 28px;
    --font-size-xl: 24px;
    --spacing-xxl: 32px;
  }
  
  .container {
    padding: 0 var(--spacing-sm);
  }
}

/* ============================================
   ABOUT ATLASIED SECTION
   ============================================ */

.about-section {
  background: linear-gradient(to bottom, var(--atlasied-primary) 0%, #4A90E2 100%);
  color: var(--atlasied-white);
  padding: var(--spacing-xxl) 0 var(--spacing-lg) 0;
  border-top: 3px solid var(--atlasied-white);
}

.about-section .container {
  position: relative;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xxl);
  align-items: center;
  background-repeat: no-repeat; 
  background-size: 62%;
  background-position: right center;
  position: relative;
  min-height: 400px;
  border-radius: 8px;
  overflow: hidden;
  transition: none !important;
  padding: 20px;
}

/* Left Content Styling */
.about-text {
  z-index: 2;
  position: relative;
}

.about-title {
  font-family: var(--atlasied-font-primary);
  font-size: 2.5rem !important;
  font-weight: 400;
  color: var(--atlasied-white);
  margin-bottom: var(--spacing-md);
  line-height: 1.2;
  text-align: left !important;
}

.about-description {
  font-family: var(--atlasied-font-secondary);
  font-size: 18px;
  line-height: 1.6;
  color: var(--atlasied-white);
  opacity: 0.95;
  text-align: left !important;
  font-weight: 500 !important;
  line-height: 1.5em !important;

}

.about-button-container {
  margin-top: 20px !important;
  text-align: left !important;
}

.btn-learn {
  
  font-size: var(--font-size-base);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 3px;
  transition: all 0.3s ease;
  min-width: 300px;
  text-align: center;
  
  position: relative;
  margin-bottom: 20px;

  display: inline-block;
  background-color: #006cb7;
  border: none;
  color: #ffffff;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.5);
  color: #ffffff !important;
  padding-top:10px;
  padding-bottom:10px;
}

.btn-learn::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 8px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  filter: blur(4px);
  z-index: -1;
  text-decoration: none;
}

.btn-learn:hover {
  background-color: #333;
  color: white;
  box-shadow: 0 14px 28px -10px rgba(0,0,0,0.4);
  text-decoration: none;
  transform: translateY(-3px);

}

.btn-learn:hover::after {
  width: 90%;
  opacity: 0.3;
  bottom: -12px;
}

.learn-more-btn {
  background-color: transparent;
  color: var(--atlasied-white);
  border: 2px solid var(--atlasied-white);
  padding: var(--spacing-sm) var(--spacing-lg);
  font-family: var(--atlasied-font-primary) !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  color: #fff !important;
}

.learn-more-btn:hover {
  background-color: #333 !important;
  color: white;
  box-shadow: 0 14px 28px -10px rgba(0,0,0,0.4);
  text-decoration: none;
}



svg-map-container img {
  width: 100%;
  height: auto;
  display: block;
}

.city-selection-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.city-column {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
  margin-top: 10px;
}

.city-item {
  font-weight: 600;
  font-family: Roboto, arial, sans-serif !important;
  font-size: 1rem;
  color: #ffffff;
  cursor: pointer !important;
  padding: 4px 8px !important;
  margin: 0 !important;
  display: block;
  user-select: none;
  transform: none !important;
  transition: none !important;
  border: none !important;
  background: none !important;
  outline: none !important;
  text-align: left !important;
}

.city-item:hover {
  transform: none !important;
  transition: none !important;
  padding: 4px 8px !important;
  margin: 0 !important;
  border: none !important;
  background: none !important;
  outline: none !important;
  box-shadow: none !important;
  color: #000000;
}

.city-item.city-active {
  color: yellow !important;
  text-decoration: none !important;
}



/* No overlay - pure background image */
.about-content::before {
  display: none;
}

/* Ensure content is above overlay */
.about-content > * {
  position: relative;
  z-index: 2;
}

/* City-specific background classes for instant switching */
.about-content.bg-ennis-tx {
  background-image: url('https://i.atlasied.com/atlasied/about-us/Ennis-map.png') !important;
  background-repeat: no-repeat !important;
  background-size: 62% !important;
  background-position: right center !important;
}

.about-content.bg-phoenix-az {
  background-image: url('https://i.atlasied.com/atlasied/about-us/phoenix-map.png') !important;
  background-repeat: no-repeat !important;
  background-size: 62% !important;
  background-position: right center !important;
}

.about-content.bg-elkhart-in {
  background-image: url('https://i.atlasied.com/atlasied/about-us/elkahrt-map.png') !important;
  background-repeat: no-repeat !important;
  background-size: 62% !important;
  background-position: right center !important;
}

.about-content.bg-salt-lake-city-ut {
  background-image: url('https://i.atlasied.com/atlasied/about-us/Salt-lake-city-map.png') !important;
  background-repeat: no-repeat !important;
  background-size: 62% !important;
  background-position: right center !important;
}

.about-content.bg-louisville-ky {
  background-image: url('https://i.atlasied.com/atlasied/about-us/louisville-map.png') !important;
  background-repeat: no-repeat !important;
  background-size: 62% !important;
  background-position: right center !important;
}

.about-content.bg-winslow-il {
  background-image: url('https://i.atlasied.com/atlasied/about-us/winslow-map.png') !important;
  background-repeat: no-repeat !important;
  background-size: 62% !important;
  background-position: right center !important;
}

.about-content.bg-paris-france {
  background-image: url('https://i.atlasied.com/atlasied/about-us/paris-map.png') !important;
  background-repeat: no-repeat !important;
  background-size: 62% !important;
  background-position: right center !important;
}

.about-content.bg-warendorf-germany {
  background-image: url('https://i.atlasied.com/atlasied/about-us/germany-map.png') !important;
  background-repeat: no-repeat !important;
  background-size: 62% !important;
  background-position: right center !important;
}

.about-content.bg-huizhou-china {
  background-image: url('https://i.atlasied.com/atlasied/about-us/china-map.png') !important;
  background-repeat: no-repeat !important;
  background-size: 62% !important;
  background-position: right center !important;
}

.about-content.bg-melbourne-australia {
  background-image: url('https://i.atlasied.com/atlasied/about-us/australia-map.png') !important;
  background-repeat: no-repeat !important;
  background-size: 62% !important;
  background-position: right center !important;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    text-align: center;
    background-image: none !important; /* Remove background image on mobile */
    flex-direction: column;
    display: flex;
  }
  
  .about-title {
    font-size: 30px;
    font-weight: 600;
    text-align: center !important;
  }
  
  .about-text {
    text-align: center !important;
    width: 100%;
  }
  
  .about-description {
    margin-left: 20px;
    margin-right: 20px;
    text-align: center !important;
  }
  
  .about-button-container {
    text-align: center !important;
  }
  
  .learn-more-btn {
    margin: 0 auto;
    display: inline-block;
  }
  
  .world-map-container {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  .about-section {
    padding: var(--spacing-xl) 0;
  }
  
  .world-map-container {
    height: 200px;
  }
}

/* ============================================
   V-MAP SECTION
   ============================================ */

.vmap-section {
  background: linear-gradient(to bottom, #357ABD 0%, #4A90E2 100%);
  color: var(--atlasied-white);
  padding: var(--spacing-xxl) 0;
  position: relative;
  z-index: 2;
}

.vmap-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xxl);
  align-items: center;
  position: relative;
  color: #fff !important;
}

/* Left Content Styling */
.vmap-text {
  padding-right: var(--spacing-lg);
}

.vmap-description {
  font-family: var(--atlasied-font-secondary) !important;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--atlasied-white);
  margin-bottom: var(--spacing-xl);
  opacity: 0.95;
}

.vmap-button-container {
  margin-top: var(--spacing-xl);
}

.vmap-section .btn {
  background-color: transparent;
  color: var(--atlasied-white);
  border: 2px solid var(--atlasied-white);
  padding: var(--spacing-sm) var(--spacing-lg);
  font-family: var(--atlasied-font-primary) !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.vmap-section .btn:hover {
  background-color: var(--atlasied-white);
  color: var(--atlasied-primary);
  transform: translateY(-2px);
}

/* Right Image Styling with Overlap */
.vmap-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.vmap-image-container {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.vmap-image {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 3;
  /* Create overlap effect */
  margin-top: -150px; /* Extends into blue section above */
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .vmap-section {
    margin-top: 0; /* Remove overlap on mobile */
    padding-top: var(--spacing-xl);
  }
  
  .vmap-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    text-align: center;
  }
  
  .vmap-text {
    padding-right: 0;
  }
  
  .vmap-image {
    margin-top: 0; /* No overlap on mobile */
    max-width: 300px;
  }
}

@media screen and (max-width: 480px) {
  .vmap-section {
    padding: var(--spacing-lg) 0;
  }
  
  .vmap-image {
    max-width: 250px;
  }
}

/* ============================================
   INFO SECTION
   ============================================ */

.info-section {
  background: #006cb7;
  color: #ffffff;
  padding: 0px 0;
  border-top: 3px solid #ffffff;
  position: relative;
  display: block !important;
  visibility: visible !important;
  width: 100%;
}

.info-content {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  position: relative;
  visibility: visible !important;
  -top:-172px !important;
}


.info-description {
  font-family: var(--atlasied-font-secondary) !important;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--atlasied-white);
  margin-bottom: var(--spacing-xl);
  opacity: 0.95;
}

.info-button-container {
  margin-top: var(--spacing-xl);
}

.info-btn {
  background-color: transparent;
  color: var(--atlasied-white);
  border: 2px solid var(--atlasied-white);
  padding: var(--spacing-sm) var(--spacing-lg);
  font-family: var(--atlasied-font-primary) !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.info-btn:hover {
  background-color: var(--atlasied-white);
  color: #006cb7;
  transform: translateY(-2px);
}

/* Right Image Styling */
.info-visual {
  display: flex !important;
  justify-content: center;
  align-items: center;
  position: relative;
  visibility: visible !important;
}

.info-image-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: auto;
  transition: transform 0.3s ease;
  cursor: pointer;
  display: block !important;
  visibility: visible !important;
  margin: 0 auto;
}

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

.info-image {
  width: 100%;
  height: auto;
  display: block !important;
  margin: 0;
  visibility: visible !important;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 108, 183, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.info-image-container:hover .image-overlay {
  opacity: 1;
}

.overlay-text {
  color: #ffffff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 1px;
  text-transform: uppercase;
}

  /* Responsive Design */
@media screen and (max-width: 768px) {
  .info-content {
    margin-top: -70px !important;;
    justify-content: center;
    align-items: center;
  }
  
  .info-image {
    width: 100%;
    margin: 0;
  }
}

@media screen and (max-width: 768px) {
  .info-section {
    padding: var(--spacing-lg) 0;
    position: relative;
    margin-top: 0;
  }
  
  .info-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top:-10px !important;
  }
  
  .city-selection-grid {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 10px auto;
    display: flex;
    flex-direction: column;
    gap: 0px;
  }
  
  .city-column {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  
  .city-item {
    flex: 0 1 auto;
    min-width: 120px;
    text-align: center;
    padding: 8px 12px;
  }
  
  /* Mobile map container */
  .mobile-map-container {
    width: 100vw !important;
    height: 30vh !important;
    position: relative !important;
    margin: 10px 0 10px 0 !important;
    padding: 0 !important;
    display: none !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    box-sizing: border-box !important;
  }
  
  /* When mobile map container is shown */
  .mobile-map-container[style*="display: flex"],
  .mobile-map-container[style*="display: block"] {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

@media screen and (max-width: 480px) {
  .info-section {
    padding: var(--spacing-lg) 0;
  }
  
  .info-image {
    max-width: 350px;
  }
}


/* Button Styles */
.learn-button-container {
  margin-top: var(--spacing-xl);
}

.learn-journey-btn {
  background-color: var(--atlasied-primary);
  color: white !important;
  border: 2px solid var(--atlasied-primary);
  padding: var(--spacing-sm) var(--spacing-lg);
  font-family: var(--atlasied-font-primary) !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  text-decoration: none !important;
  display: inline-block;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.learn-journey-btn:hover {
  background-color: #004a99;
  border-color: #004a99;
  transform: translateY(-2px);
}




/* ============================================
   SPARK SECTION STYLES
   ============================================ */

/* Spark Section Container */
.spark-section {
  background-color: #ffffff;
  padding: 30px 0 30px 0;
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.spark-container {
  max-width: 1200px;
  margin: 0 auto;
  background-color: transparent;
  padding: var(--spacing-xxl);
  text-align: center;
}

.spark-content {
  max-width: 1000px;
  margin: 0 auto;
}

/* Header Styles */


.spark-tagline {
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700 !important;
  font-size: 1.1rem;
  color: #959596 !important;
  margin-bottom: 8px;
  margin-top: 50px; 
  text-transform: uppercase;
}

.spark-title {
  font-family: var(--atlasied-font-primary);
  font-size: 3rem;
  font-weight: 600;
  color: var(--atlasied-primary);
  margin: 0 0 var(--spacing-xs) 0;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.spark-subtitle {
  font-family: var(--atlasied-font-primary);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--atlasied-primary);
  margin: 0;
  letter-spacing: 2px;
  text-transform: uppercase;
    margin-bottom: 15px;;

}

/* Founded Badge */
.founded-badge {
  display: inline-block;
  margin:0px !important;
  margin-top: 15px !important;

}

.founded-text {
  background-color: #9a9c9f;
  color: white;
  padding: var(--spacing-sm) var(--spacing-lg);
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-block;

}

/* Description Text */
.spark-description {
margin-top:20px;
margin-bottom:0px;
color:#9a9c9f;

}


.spark-description p {
  font-family: var(--font-body);
  font-size: 1.25rem;
  line-height: 1.7;
  color: #5D5D5D;
  max-width: 800px;
  margin: 0 auto;
}

/* Button Styles */
.spark-button-container {
  margin-top: var(--spacing-xl);
}

.spark-journey-btn {
  background-color: var(--atlasied-primary);
  color: white !important;
  border: 2px solid var(--atlasied-primary);
  padding: var(--spacing-sm) var(--spacing-lg);
  font-family: var(--atlasied-font-primary) !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  text-decoration: none !important;
  display: inline-block;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.spark-journey-btn:hover {
  background-color: #004a99;
  border-color: #004a99;
  transform: translateY(-2px);
}

/* Responsive Styles for Spark Section */
@media screen and (max-width: 768px) {
  .spark-container {
    max-width: 100%;
    padding: var(--spacing-xl) var(--spacing-md);
    margin: 0 auto;
  }
  
  .spark-title {
    font-size: 2.2rem;
    letter-spacing: 2px;
  }
  
  .spark-subtitle {
    font-size: 1.6rem;
    letter-spacing: 1px;
  }
  
  .spark-tagline {
    font-size: 1rem;
    letter-spacing: 1px;
  }
  
  .spark-description p {
    font-size: 1rem;
    line-height: 1.6;
  }
}

@media screen and (max-width: 480px) {
  .spark-section {
    padding: 30px 0 var(--spacing-lg) 0;
  }
  
  .spark-container {
    max-width: 100%;
    padding: 0 var(--spacing-sm);
    margin: 0 auto;
  }
  
  .spark-title {
    font-size: 1.8rem;
    letter-spacing: 1px;
  }
  
  .spark-subtitle {
    font-size: 1.4rem;
    letter-spacing: 0.5px;
  }
  
  .spark-tagline {
    font-size: 0.9rem;
    letter-spacing: 1px;
  }
  
  .founded-text {
    font-size: 0.85rem;
    padding: var(--spacing-xs) var(--spacing-md);
  }
  
  .spark-description p {
    font-size: 1.0rem;
  }
  
  .spark-journey-btn {
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: 0.85rem;
  }
}

/* ============================================
   BEFORE/AFTER SLIDER SECTION
   ============================================ */

/* Section Container */
.before-after-section {
  background-color: #e5f0f8;
  padding: 0px 0 var(--spacing-xxl) 0;
  min-height: auto;
  padding-bottom:0px;
}

.before-after-container {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  background-color: #e5f0f8;
  padding: var(--spacing-xxl);
  text-align: center;
  box-sizing: border-box;
}

.before-after-content {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Slider Wrapper */
.slider-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  margin: 0 auto;
}

/* Before/After Slider Container */
.before-after-slider {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 1200/475;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  cursor: ew-resize;
  user-select: none;
}

/* Image Containers */
.image-container {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
}

.before-container {
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.after-container {
  right: 0;
  z-index: 2;
  clip-path: inset(0 50% 0 0);
  width: 100%;
  height: 100%;
}

/* Images */
.slider-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Ensure both before and after images have identical sizing */
.before-image,
.after-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

/* Image Labels */
.image-label {
  position: absolute;
  top: 20px;
  padding: 8px 16px;
  background-color: rgba(177, 177, 177, 0.7);
  color: white;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.before-label {
  left: 50%;
  transform: translateX(-50%);
}

.after-label {
  left: 50%;
  transform: translateX(-50%);
}

/* Slider Handle */
.slider-handle {
  position: absolute;
  top: 0;
  
  height: 100%;
  transform: translateX(-50%);
  z-index: 10;
  cursor: ew-resize;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  touch-action: pan-x;
}

.handle-line {
  width: 4px;
  flex: 1;
  background-color: white;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

/* Force white background on handle circle with maximum specificity */
.slider-handle .handle-circle,
div.handle-circle,
.before-after-slider .slider-handle .handle-circle {
  width: 40px !important;
  height: 40px !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
  position: relative !important;
  opacity: 1 !important;
  z-index: 15 !important;
}

.handle-circle {
  width: 40px;
  height: 40px;
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  position: relative;
  opacity: 1 !important;
}

.handle-arrow-left,
.handle-arrow-right {
  width: 0;
  height: 0;
  position: absolute;
}

.handle-arrow-left {
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-right: 6px solid #666;
  left: 12px;
}

.handle-arrow-right {
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid #666;
  right: 12px;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
  .before-after-container {
    max-width: 100%;
    padding: var(--spacing-xl) var(--spacing-md);
    margin: 0 auto;
  }
  
  .before-after-slider {
    aspect-ratio: 1200/475;
  }
  
  .slider-wrapper {
    max-width: 100%;
  }
  
  .handle-circle {
    width: 35px;
    height: 35px;
    background-color: #ffffff !important;
  }
  
  .handle-arrow-left {
    border-right: 6px solid #666;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    left: 9px;
  }
  
  .handle-arrow-right {
    border-left: 6px solid #666;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    right: 9px;
  }
}

@media screen and (max-width: 480px) {
  .before-after-section {
    padding: var(--spacing-lg) 0;
    background-color: #e5f0f8;
  }
  
  .before-after-container {
    max-width: 100%;
    background-color: transparent;
    padding: 0 var(--spacing-sm);
    margin: 0;
  }
  
  .before-after-slider {
    aspect-ratio: 1200/475;
  }
  
  .image-label {
    top: 15px;
    padding: 6px 12px;
    font-size: 0.8rem;
  }
  
  .before-label {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .after-label {
    left: 50%;
    transform: translateX(-50%);
  }
  
  .handle-circle {
    width: 40px;
    height: 40px;
    background-color: #ffffff !important;
  }
  

  
  .handle-arrow-left {
    border-right: 5px solid #666;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    left: 8px;
  }
  
  .handle-arrow-right {
    border-left: 5px solid #666;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    right: 8px;
  }
}

/* ============================================
   LEGACY CONTENT SECTION
   ============================================ */

/* Legacy Content Below Slider */
.legacy-content {
  margin-top: var(--spacing-xxl);
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.legacy-title {
  font-family: var(--atlasied-font-primary);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--atlasied-primary);
  margin: 0 0 var(--spacing-xl) 0;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.legacy-description {
  margin: 0;
}

.legacy-description p {
  font-family: var(--atlasied-font-secondary);
  font-size: 1.35rem;
  line-height: 1.7;
  color: #5D5D5D;
  margin: 0 0 var(--spacing-lg) 0;
  text-align: center;
}

.legacy-promise {
  font-family: var(--atlasied-font-primary) !important;
  font-size: 1.3rem !important;
  font-weight: 600 !important;
  color: var(--atlasied-primary) !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  margin-top: var(--spacing-xl) !important;
}

/* Responsive Styles for Legacy Content */
@media screen and (max-width: 768px) {
  .legacy-content {
    margin-top: var(--spacing-xl);
    max-width: 95%;
  }
  
  .legacy-title {
    font-size: 2rem;
    letter-spacing: 1px;
  }
  
  .legacy-description p {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  .legacy-promise {
    font-size: 1.1rem !important;
  }
}

@media screen and (max-width: 480px) {
  .legacy-content {
    margin-top: var(--spacing-lg);
    padding: 0 var(--spacing-sm);
  }
  
  .legacy-title {
    font-size: 1.6rem;
    letter-spacing: 0.5px;
  }
  
  .legacy-description p {
    font-size: 1.0rem;
    color: #9a9c9f;
  }
  
  .legacy-promise {
    font-size: 1rem !important;
    letter-spacing: 0.5px !important;
  }
}

/* ============================================
   PARALLAX CAROUSEL SECTION - WHAT DRIVES US
   ============================================ */

.parallax-section {
  position: relative;
  background-color: var(--atlasied-white);
  padding: 0 var(--spacing-lg) var(--spacing-xxl) var(--spacing-lg);
}

.parallax-header {
  background-color: var(--atlasied-white);
  text-align: center;
  padding: var(--spacing-xxl) 0 var(--spacing-xl) 0;
}

.parallax-main-title {
  font-family: var(--atlasied-font-primary);
  font-size: var(--font-size-xxxl);
  font-weight: 300;
  color: var(--atlasied-primary);
  letter-spacing: 2px;
  margin: 0;
  text-transform: uppercase;
}

.parallax-carousel-container {
  height: 600px;
  min-height: 600px;
  position: relative;
  overflow: hidden;
  background-color: #000;
  margin: 0 auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.parallax-carousel-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.parallax-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  align-items: center;
  justify-content: center;
}

.parallax-slide.active {
  opacity: 1;
  transform: translateX(0);
}

.parallax-slide.prev {
  transform: translateX(-100%);
}

.parallax-background {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  will-change: transform;
  transition: transform 0.8s ease-out;
  z-index: 0;
}

.parallax-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.parallax-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: var(--spacing-xl);
  color: var(--atlasied-white);
  will-change: transform;
}

.testimonial-content {
  backdrop-filter: blur(15px);
  border-radius: 3px;
  padding: var(--spacing-xxl);
  border: 3px solid rgba(255, 255, 255, 1.0);
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.6s ease 0.6s;
  background-color:#006cb7 !important;

}

.parallax-slide.active .testimonial-content {
  transform: translateY(0);
  opacity: 1;
}

.testimonial-quote {
  font-family: var(--atlasied-font-secondary);
  font-size: 1.26rem;
  line-height: 1.6;
  font-style: italic;
  margin-bottom: var(--spacing-lg);
  color: var(--atlasied-white);
}

.testimonial-attribution {
  margin-bottom: var(--spacing-lg);
}

.testimonial-name {
  font-family: var(--atlasied-font-primary);
  font-size: var(--font-size-base);
  font-weight: 600;
  color: var(--atlasied-white);
  margin: 0;
}

.testimonial-title {
  font-family: var(--atlasied-font-secondary);
  font-size: var(--font-size-sm);
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  font-weight: 400;
}

.brand-tagline {
  font-family: var(--atlasied-font-primary);
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--atlasied-accent);
  font-style: italic;
  margin: 0;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Navigation Dots */
.parallax-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 4;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.dot.active {
  background-color: var(--atlasied-accent);
  border-color: var(--atlasied-white);
  transform: scale(1.2);
}

.dot:hover {
  background-color: rgba(255, 255, 255, 0.8);
}

/* Navigation Arrows */
.parallax-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 30px;
  z-index: 4;
  pointer-events: none;
}

.nav-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--atlasied-white);
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.nav-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.nav-arrow:active {
  transform: scale(0.95);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--atlasied-font-secondary);
  font-size: var(--font-size-sm);
  z-index: 4;
}

.scroll-progress {
  width: 60px;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  margin: 8px auto 0;
  border-radius: 1px;
  overflow: hidden;
}

.scroll-progress::after {
  content: '';
  display: block;
  height: 100%;
  background: var(--atlasied-accent);
  width: 33.33%;
  transition: transform 0.8s ease;
  transform: translateX(0);
}

/* Responsive Design for Parallax Carousel */
@media screen and (max-width: 768px) {
  .parallax-main-title {
    font-size: var(--font-size-xxl);
    letter-spacing: 1px;
  }
  
  .parallax-section {
    padding: 0 var(--spacing-md) var(--spacing-xl) var(--spacing-md);
  }
  
  .parallax-carousel-container {
    height: 80vh;
    min-height: 500px;
    max-width: 100%;
    border-radius: 3px;
  }
  
  .parallax-content {
    max-width: 90%;
    padding: var(--spacing-lg);
  }
  
  .testimonial-content {
    padding: var(--spacing-xl);
  }
  
  .testimonial-quote {
    font-size: var(--font-size-base);
  }
  
  .brand-tagline {
    font-size: var(--font-size-base);
  }
  
  .nav-arrow {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  
  .parallax-nav {
    padding: 0 20px;
  }
}

@media screen and (max-width: 480px) {
  .parallax-header {
    padding: var(--spacing-xl) 0 var(--spacing-lg) 0;
  }
  
  .parallax-main-title {
    font-size: var(--font-size-xl);
  }
  
  .parallax-section {
    padding: 0 var(--spacing-sm) var(--spacing-lg) var(--spacing-sm);
  }
  
  .parallax-carousel-container {
    height: 70vh;
    min-height: 400px;
    border-radius: 3px;
  }
  
  .testimonial-content {
    padding: var(--spacing-lg);
    margin: 0 var(--spacing-sm);
  }
  
  .testimonial-quote {
    font-size: var(--font-size-sm);
    line-height: 1.5;
  }
  
  .testimonial-name,
  .testimonial-title {
    font-size: var(--font-size-sm);
  }
  
  .brand-tagline {
    font-size: var(--font-size-sm);
  }
  
  .nav-arrow {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }
  
  .parallax-nav {
    padding: 0 15px;
  }
}

/* ============================================
   PEOPLE BEHIND THE SOUND SECTION
   ============================================ */

.people-section {
  background-color: var(--atlasied-white);
}

.people-container {
  max-width: 1200px;
  margin: 0 auto;
  margin-bottom:75px !important;
}

.people-header {
  text-align: center;
  margin-bottom: var(--spacing-xxl);
}



.people-careers-description {
  text-align: center;
  margin-top: 55px;
  font-size: 1.25rem;
  color: #959596  !important;
  font-family: var(--atlasied-font-secondary) !important;
}

.people-title {
  font-family: 'Roboto', sans-serif !important;
  font-size: 3rem;
  color: #006cb7;
  font-weight: 300;
  text-align: center;
}


.people-subtitle {
  font-family: var(--atlasied-font-primary);
  font-size: var(--font-size-xxxl);
  font-weight: 300;
  color: var(--atlasied-primary);
  margin: 0 0 var(--spacing-lg) 0;
  letter-spacing: 2px;
}

.people-description {
  font-family: var(--atlasied-font-primary) !important;
  font-size: 1.3rem !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  color: #959596;
}

.people-highlight {
  font-family: var(--atlasied-font-primary) !important;
  font-size: 1.3rem !important;
  font-weight: 600 !important;
  color: var(--atlasied-primary) !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
}

/* Mosaic Gallery */
.mosaic-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 200px 150px 150px;
  gap: 15px;
  height: 500px;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.mosaic-item {
  position: relative;
  overflow: hidden;
  border-radius: 3px;
  cursor: pointer;
  transition: transform 0.3s ease;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Desktop only hover effects */
@media (hover: hover) and (pointer: fine) {
  .mosaic-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  }
}

/* Mobile - no hover effects at all */
@media (hover: none) or (max-width: 768px) {
  .mosaic-item:hover {
    transform: none !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
  }
}

/* Grid positioning */
.large-left {
  grid-column: 1;
  grid-row: 1 / 4;
}

.top-right {
  grid-column: 2 / 4;
  grid-row: 1;
}

.middle-right {
  grid-column: 2;
  grid-row: 2;
}

.bottom-left {
  grid-column: 2;
  grid-row: 3;
}

.bottom-right {
  grid-column: 3;
  grid-row: 2 / 4;
}

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

.mosaic-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 102, 204, 0.9);
  color: var(--atlasied-white);
  padding-top: 10px;
  padding-left:10px;
  transform: translateY(calc(100% - 40px));
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
  border-top: 2px solid #ffffff;
}

/* Desktop only overlay hover */
@media (hover: hover) and (pointer: fine) {
  .mosaic-item:hover .mosaic-overlay {
    transform: translateY(0);
  }
}

/* Mobile touch support */
.mosaic-item:active .mosaic-overlay,
.mosaic-item:focus .mosaic-overlay,
.mosaic-item.active .mosaic-overlay {
  transform: translateY(0);
}

.category-label {
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 1;
  margin-bottom: auto;
  margin-top: -6px;
  border-radius: 2px;
  width: fit-content;
}

.overlay-content {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease 0.1s;
  margin-top:0px !important;
  padding-top:0px
}

.mosaic-item:hover .overlay-content {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile touch support for overlay content */
.mosaic-item:active .overlay-content,
.mosaic-item:focus .overlay-content,
.mosaic-item.active .overlay-content {
  opacity: 1;
  transform: translateY(0);
}

.overlay-content h4 {
  font-family: var(--atlasied-font-primary);
  font-size: var(--font-size-lg);
  font-weight: 600;
  margin: 0 0 var(--spacing-xs) 0;
  color: var(--atlasied-white);
  text-align: left !important;
}

.overlay-content p {
  font-family: var(--atlasied-font-secondary);
  font-size: var(--font-size-sm);
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.4;
  margin-bottom:10px;
  text-align: left !important;
  font-weight: 500;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .people-container {
    margin: 0;
    padding: var(--spacing-xl);
    border-radius: 0;
    width: 100%;
    max-width: 100%;
    position: relative;
  }
  
  .people-title,
  .people-subtitle {
    font-size: var(--font-size-xxl);
    letter-spacing: 1px;
  }
  
  .mosaic-gallery {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 150px 150px 150px;
    gap: 10px;
    height: auto;
  }
  
  .large-left {
    grid-column: 1;
    grid-row: 1 / 3;
  }
  
  .top-right {
    grid-column: 2;
    grid-row: 1;
  }
  
  .middle-right {
    grid-column: 2;
    grid-row: 2;
  }
  
  .bottom-left {
    grid-column: 1;
    grid-row: 3;
  }
  
  .bottom-right {
    grid-column: 2;
    grid-row: 3;
  }
}

@media screen and (max-width: 768px) {
  .people-container {
    margin: 0;
    padding: var(--spacing-lg);
    border-radius: 0;
    width: 100%;
    max-width: 100%;
    position: relative;
  }
  
  .people-title,
  .people-subtitle {
    font-size: var(--font-size-xl);
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
  }
  
  .people-description,
  .people-highlight {
    font-size: .75rem !important;
  }
  
  .mosaic-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, 180px);
    gap: 8px;
  }
  
  .large-left,
  .top-right,
  .middle-right,
  .bottom-left,
  .bottom-right {
    grid-column: 1;
    grid-row: auto;
  }
  
  .mosaic-image {
    object-position: top center;
  }
  
  /* Mobile-specific overlay positioning */
  .mosaic-overlay {
    justify-content: flex-start;
    padding-top: 10px;
    transition: none !important;
  }
  
  /* Full-screen overlay on active for mobile */
  .mosaic-item.active .mosaic-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    z-index: 9999 !important;
    transform: translateY(0) !important;
    background: rgba(0, 102, 204, 0.95) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 40px 20px !important;
    margin: 0 !important;
    border: none !important;
  }
  
  .mosaic-item.active .overlay-content {
    text-align: center;
    max-width: 90%;
  }
  
  /* Show close button only in full-screen mode on mobile */
  .mosaic-item.active .mobile-overlay-close {
    display: block !important;
  }
  
  .mobile-overlay-close:hover {
    background: rgba(255, 255, 255, 0.3) !important;
  }
}

/* Simple mobile hover disable */
.mobile-no-hover .mosaic-item:hover {
    transform: none !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
}

.mobile-no-hover .mosaic-item:hover .mosaic-overlay {
    transform: translateY(100%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* Mobile overlay smooth transitions */
@media (max-width: 768px) {
    .mosaic-overlay {
        transition: opacity 0.3s ease, transform 0.3s ease !important;
    }
}

/* Simple mobile fullscreen overlay - smooth animation */
.mosaic-item.mobile-active .mosaic-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 102, 204, 0.95) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 60px 30px !important;
    margin: 0 !important;
    z-index: 9999 !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: opacity 0.3s ease, transform 0.3s ease !important;
}

.mosaic-item.mobile-active .overlay-content {
    color: white !important;
    text-align: center !important; 
    font-size: 16px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 90% !important;
    line-height: 1.6 !important;
    transition: opacity 0.4s ease 0.1s !important;
}

.mosaic-item.mobile-active .overlay-content p {
    color: white !important;
    text-align: center !important;
    font-size: 16px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 0 20px 0 !important;
    line-height: 1.6 !important;
}

.mosaic-item.mobile-active .category-label {
    color: white !important;
    font-size: 24px !important;
    font-weight: bold !important;
    margin-bottom: 20px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* COMPLETELY DISABLE hover for mobile class */
.mobile-disabled-hover:hover,
.mobile-disabled-hover:active,
.mobile-disabled-hover:focus {
  transform: none !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
}

.mobile-disabled-hover:hover .mosaic-overlay,
.mobile-disabled-hover:active .mosaic-overlay,
.mobile-disabled-hover:focus .mosaic-overlay {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  transform: translateY(100%) !important;
}

/* FORCE DISABLE ALL MOSAIC HOVER EFFECTS ON MOBILE - MAXIMUM SPECIFICITY */
@media (max-width: 768px) {
  .mosaic-gallery .mosaic-item:hover,
  .mosaic-gallery .mosaic-item:active,
  .mosaic-gallery .mosaic-item:focus {
    transform: none !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
  }
  
  .mosaic-gallery .mosaic-item:hover .mosaic-overlay,
  .mosaic-gallery .mosaic-item:active .mosaic-overlay,
  .mosaic-gallery .mosaic-item:focus .mosaic-overlay {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(100%) !important;
    display: none !important;
  }
  
  .mosaic-gallery .mosaic-item:hover .overlay-content,
  .mosaic-gallery .mosaic-item:active .overlay-content,
  .mosaic-gallery .mosaic-item:focus .overlay-content {
    opacity: 0 !important;
    transform: translateY(20px) !important;
    display: none !important;
  }
  
  /* Only allow fullscreen overlays */
  .mosaic-gallery .mosaic-item.active .mosaic-overlay[style*="position: fixed"] {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

@media (max-width: 768px) {
  /* Mobile-specific images */
  .large-left .mosaic-image {
    content: url('https://i.atlasied.com/atlasied/about-us/1-mobile.jpg');
  }
  
  .top-right .mosaic-image {
    content: url('https://i.atlasied.com/atlasied/about-us/2-mobile.jpg');
  }
  
  .middle-right .mosaic-image {
    content: url('https://i.atlasied.com/atlasied/about-us/3-mobile.jpg');
  }
  
  .bottom-left .mosaic-image {
    content: url('https://i.atlasied.com/atlasied/about-us/4-mobile.jpg');
  }
  
  .bottom-right .mosaic-image {
    content: url('https://i.atlasied.com/atlasied/about-us/5-mobile.jpg');
  }
  
  .category-label {
    font-size: 16px;;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;

  }
}

/* Additional mobile coverage for smaller devices */
@media screen and (max-width: 480px) {
  /* Ensure full-screen overlay covers everything on small devices */
  .mosaic-item.active .mosaic-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    max-height: none !important;
    z-index: 10000 !important;
    transform: none !important;
    background: rgba(0, 102, 204, 0.95) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 40px 20px !important;
    margin: 0 !important;
    border: none !important;
    box-sizing: border-box !important;
  }
  
  /* Prevent body scroll when overlay is active on mobile */
  body:has(.mosaic-item.active) {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
  }
  
  .overlay-content h4 {
    font-size: var(--font-size-base);
  }
  
  .overlay-content p {
    font-size: var(--font-size-xs);
  }
}

/* Extra small screens - very mobile responsive */
@media (max-width: 400px) {
  .mosaic-gallery {
    padding: 0 10px;
    gap: 10px;
    grid-template-rows: 150px 120px 120px;
  }
  
  .container {
    padding: 0 10px;
  }
  
  .before-after-container {
    padding: 20px 10px;
  }
}

/* Mobile touch improvements */
@media (max-width: 768px) {
  .mosaic-item {
    /* Add subtle indication that items are touchable */
    border: 3px solid #ffffff;
    transition: all 0.3s ease;
  }
  
  .mosaic-item:focus {
    outline: 2px solid var(--atlasied-primary);
    outline-offset: 2px;
  }
  
  /* Make overlay content more readable on mobile */
  .mosaic-overlay {
    background: linear-gradient(
      to top,
      rgba(0, 102, 204, 0.95) 0%,
      rgba(0, 102, 204, 0.85) 70%,
      rgba(0, 102, 204, 0.7) 100%
    );
  }
}

/* ============================================
   VIDEO BACKGROUND SECTION
   ============================================ */

.video-background-section {
  position: relative;
  width: 100vw;
  height: 600px;
  margin-left: calc(-50vw + 50%);
  margin-bottom: 0;
  padding: 0;
  overflow: hidden;
}

.video-background-container {
  position: relative;
  width: 100%;
  height: 65%;
  margin: 0 auto;
  overflow: hidden; 
}


.background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* Optional dark overlay */
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.video-content {
  text-align: center;
  color: white;
  z-index: 3;
  max-width: 800px;
  padding: 0 20px;
  margin-top: 25px;
  opacity: .90;
}

.video-content h2 {
  font-family: var(--atlasied-font-primary);
  font-size: var(--font-size-xxxl);
  font-weight: 600;
  margin-bottom: var(--spacing-lg);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.video-content p {
  font-family: var(--atlasied-font-secondary);
  font-size: var(--font-size-lg);
  line-height: 1.6;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
  .video-background-section {
    height: 50vh; /* Smaller height on mobile */
    width: 100%;
    margin-left: 0;
    max-width: 100vw;
    overflow: hidden;
  }
  
  .video-content h2 {
    font-size: var(--font-size-xxl);
  }
  
  .video-content p {
    font-size: var(--font-size-base);
  }
  
  .video-content img {
    width: 150px !important;
    height: auto;
  }
}

@media screen and (max-width: 480px) {
  .video-background-section {
    height: 40vh;
  }
  
  .video-content {
    padding: 0 15px;
  }
  
  .video-content h2 {
    font-size: var(--font-size-xl);
  }
}

/* ============================================
   LET'S BUILD SECTION
   ============================================ */

.lets-build-section {
  margin: 0;
  padding: 0;
  position: relative;
  background: 
    linear-gradient(to bottom, #006cb7 0%, #89bbde 100%);
}

.lets-build-container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  padding: var(--spacing-xl) 20px;
  background: 
    
    linear-gradient(to bottom, #006cb7 0%, #89bbde 100%);
  background-size: contain, cover;
  border-radius: 3px;
  position: relative;
}

.lets-build-content {
  position: relative;
  z-index: 2;
}

.lets-build-title {
  font-family: var(--atlasied-font-primary);
  font-size: 2.5rem;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1.2;
}

.lets-build-subtitle {
  font-family: var(--atlasied-font-secondary);
  font-size: var(--font-size-xl);
  color: #ffffff;
  margin-bottom: var(--spacing-xxl);
  font-weight: 400 !important;
  line-height: 1.4;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.lets-build-buttons {
  display: flex;
  justify-content: center;
  gap: var(--spacing-lg);
  flex-wrap: wrap;
  align-items: center;
  text-align: center;
}

.btn-lets-build {
  background: #006cb7;
  border: 2px solid #ffffff;
  color: #ffffff;
  padding: var(--spacing-md) var(--spacing-xl);
  text-decoration: none !important;
  font-family: var(--atlasied-font-primary);
  font-size: var(--font-size-base);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 3px;
  transition: all 0.3s ease;
  min-width: 200px;
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  position: relative;
  color: #fff !important;
  margin-bottom:20px;
  margin-top:41px;
}

.btn-lets-build::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 8px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  filter: blur(4px);
  z-index: -1;
}

.btn-lets-build:hover {
  background: #ffffff;
  color: #006cb7 !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  transform: translateY(-3px);
}

.btn-lets-build:hover::after {
  width: 90%;
  opacity: 0.3;
  bottom: -12px;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .lets-build-title {
    font-size: 2.5rem;
    letter-spacing: 1px;
  }
  
  .lets-build-subtitle {
    font-size: var(--font-size-base);
  }
  
  .lets-build-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0 !important;
  }
  
  .btn-lets-build {
    width: 100%;
    max-width: 300px;
  }
}

@media screen and (max-width: 480px) {
  .lets-build-container {
    padding: var(--spacing-lg) var(--spacing-sm);
    margin-top: -100px;;
  }
  
  .lets-build-title {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
  }
  
  .lets-build-subtitle {
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-xl);
  }
  
  .btn-lets-build {
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-size-sm);
    margin: 0 Auto;
    margin-bottom: 0px;
    margin-bottom: 25px;
  }
}

/* Additional mobile overflow prevention */
@media screen and (max-width: 768px) {
  * {
    max-width: 100vw;
    box-sizing: border-box;
  }
  
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Spark Button - Separate from lets-build buttons */
.btn-spark {
  
  font-size: var(--font-size-base);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 3px;
  transition: all 0.3s ease;
  min-width: 300px;
  text-align: center;
  
  position: relative;
  margin-bottom: 20px;

  display: inline-block;
  background-color: #006cb7;
  border: none;
  color: #ffffff;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 10px 20px -10px rgba(0, 0, 0, 0.5);
  color: #ffffff !important;
  padding-top:10px;
  padding-bottom:10px;
}

.btn-spark::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 8px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  filter: blur(4px);
  z-index: -1;
  text-decoration: none;
}

.btn-spark:hover {
  background-color: #333;
  color: white;
  box-shadow: 0 14px 28px -10px rgba(0,0,0,0.4);
  text-decoration: none;
  transform: translateY(-3px);

}

.btn-spark:hover::after {
  width: 90%;
  opacity: 0.3;
  bottom: -12px;
}

/* Testimonial Buttons - Desktop as buttons, Mobile as text */
.btn-testimonial {
  background: #006cb7;
  border: 2px solid #ffffff;
  color: #ffffff !important;
  padding: 12px 24px;
  text-decoration: none !important;
  font-family: var(--atlasied-font-primary);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 3px;
  transition: all 0.3s ease;
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  position: relative;
  display: inline-block;
  margin-top: 15px;
}

.btn-testimonial:hover {
  background: #ffffff;
  color: #006cb7 !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Mobile: Convert testimonial buttons to text-only */
@media screen and (max-width: 768px) {
  .btn-testimonial {
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    padding: 5px 0 !important;
    font-size: 16px !important;
    color: #ffffff !important;
    text-decoration: underline !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    font-weight: 400 !important;
    transform: none !important;
    margin-top: 10px !important;
  }
  
  .btn-testimonial:hover {
    background: none !important;
    color: #ffffff !important;
    transform: none !important;
    box-shadow: none !important;
    text-decoration: underline !important;
  }
}

/* Career Link Styling */
.career-link {
  color: #006cb7 !important;
  text-decoration: none !important;
  transition: all 0.3s ease;
  font-weight: 500;
}

.career-link:hover {
  color: #000000 !important;
  text-decoration: underline !important;
}

/* ============================================
   INTERACTIVE MAP SECTION STYLES
   ============================================ */

.map-interactive {
  background-color: #f8f9fa;
  padding: 80px 0;
  position: relative;
}

.map-interactive-content {
  max-width: 1200px;
  margin: 0 auto;
}

.map-header {
  text-align: center;
  margin-bottom: 60px;
}

.map-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #333333;
  margin: 0 0 20px 0;
  letter-spacing: 2px;
}

.map-subtitle {
  font-family: 'Roboto', sans-serif;
  font-size: 1.2rem;
  color: #666666;
  margin: 0;
  font-weight: 400;
}

.map-container {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

.map-svg-container {
  position: relative;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.world-map-svg {
  width: 100%;
  height: auto;
  max-height: 500px;
}

.location-list {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.location-item {
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.location-item:hover {
  background-color: #006cb7;
  color: #ffffff;
  transform: translateX(5px);
  border-left-color: #004a87;
}

.location-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  display: block;
}

.location-item.active {
  background-color: #006cb7;
  color: #ffffff;
  border-left-color: #004a87;
}

/* Mobile Responsive */
@media screen and (max-width: 768px) {
  .map-interactive {
    padding: 60px 0;
  }
  
  .map-title {
    font-size: 2rem;
  }
  
  .map-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .map-svg-container,
  .location-list {
    padding: 20px;
  }
  
  .location-item {
    padding: 12px 16px;
  }
}

@media screen and (max-width: 480px) {
  .map-title {
    font-size: 1.8rem;
  }
  
  .map-subtitle {
    font-size: 1rem;
  }
}

/* ============================================
   MODAL MAP SPECIFIC STYLES
   ============================================ */

#mapModal .location-item:hover {
  background-color: #0096FF !important;
  color: #ffffff !important;
  transform: translateX(5px);
  border-left: 3px solid #004a87 !important;
}

#mapModal .location-item.active {
  background-color: #0096FF !important;
  color: #ffffff !important;
  border-left: 3px solid #004a87 !important;
}

/* Modal Responsive */
@media screen and (max-width: 768px) {
  #mapModal .map-modal-content {
    width: 98% !important;
    height: 98% !important;
    margin: 1% auto !important;
  }
  
  #mapModal .map-interactive-content {
    padding: 40px 20px 20px 20px !important;
  }
  
  #mapModal .map-container {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  
  #mapModal .map-title {
    font-size: 1.8rem !important;
  }
}

/* Force video modal close button positioning - MUST BE AT END */
#videoModal .video-modal-close,
#videoModal span.video-modal-close,
div#videoModal span.video-modal-close {
    position: absolute !important;
    top: -40px !important;
    right: 15px !important;
    color: #fff !important;
    font-size: 35px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    z-index: 10000 !important;
    display: block !important;
    transform: none !important;
    margin: 0 !important;
    padding: 0 !important;
    padding-top: 35px !important;
}

/* MOBILE MOSAIC FULLSCREEN - FORCE OVERRIDE */
@media (max-width: 768px) {
  .mosaic-item.active .mosaic-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    z-index: 9999 !important;
    transform: none !important;
    background: rgba(0, 102, 204, 0.95) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    padding: 60px 30px !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-sizing: border-box !important;
  }
  
  .mosaic-item.active .overlay-content {
    text-align: center !important;
    max-width: 90% !important;
    color: white !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
  }
  
  .mosaic-item.active .category-label {
    color: white !important;
    font-size: 24px !important;
    font-weight: bold !important;
    margin-bottom: 20px !important;
  }
  
  .mosaic-item.active .mobile-overlay-close {
    display: block !important;
  }
  
  /* Completely disable hover effects on mobile */
  .mosaic-item:hover {
    transform: none !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3) !important;
  }
  
  .mosaic-item:hover .mosaic-overlay {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(100%) !important;
    display: none !important;
  }
  
  .mosaic-item:hover .overlay-content {
    opacity: 0 !important;
    transform: translateY(20px) !important;
    display: none !important;
  }
  
  /* Disable active states that aren't fullscreen */
  .mosaic-item:active .mosaic-overlay:not([style*="position: fixed"]) {
    display: none !important;
  }
  
  .mosaic-item:focus .mosaic-overlay:not([style*="position: fixed"]) {
    display: none !important;
  }
}

/* ============================================
   CLEANED UP INLINE STYLES - MOVED TO CSS
   ============================================ */

/* About section specific - left align the buttons */
.about-section .lets-build-buttons {
  justify-content: flex-start;
  text-align: left;
}

/* Mobile map container */
#mobileMapContainer {
  display: none;
}

/* Testimonial button containers */
.testimonial-button-container {
  text-align: center !important;
}

/* Category label z-index */
.category-label {
  z-index: 500;
}

/* Video Modal */
#videoModal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
}

.video-modal-container {
  position: relative;
  width: 90%;
  max-width: 1200px;
  height: 90%;
  max-height: 675px;
  margin: 2.5% auto;
  background: #000;
}



#videoFrame {
  display: block;
}

/* Map Modal */
#mapModal {
  display: none;
  position: fixed;
  z-index: 9998;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
}

.map-modal-content {
  position: relative;
  width: 95%;
  max-width: 1400px;
  max-height: 800px;
  margin: 2.5% auto;
  background: #fff;
  border-radius: 3px;
  overflow: hidden;
}

.map-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #333;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  z-index: 10000;
  background: rgba(255,255,255,0.8);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-interactive-content {
  padding: 30px 40px 40px 40px;
  height: 100%;
  overflow-y: auto;
  text-align: center;
}

.map-header {
  text-align: center;
  margin-bottom: 40px;
}

.map-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: bold;
  color: #006cb7;
  margin: 0 0 15px 0;
  letter-spacing: 2px;
}

.map-subtitle {
  font-family: 'Roboto', sans-serif;
  font-size: 1.1rem;
  color: #666;
  margin: 0;
  margin-top: -15px;
}

.map-container {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
  max-height: 600px;
}

.map-svg-container {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 30px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile font size override - placed at end for maximum priority */
@media (max-width: 768px) {
  .people-careers-description {
    font-size: 1rem !important;
  }
}