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

/* Font Style 1 */
@font-face {
  font-family: 'Armstrong';
  src: url('./fonts/armstrong-ttf/ArmstrongRegular.ttf'),
    url('./fonts/armstrong-ttf/ArmstrongRegular.woff'),
    url('./fonts/armstrong-ttf/ArmstrongRegular.woff2'),
    url('./fonts/armstrong-ttf/ArmstrongRegular.svg'),
    url('./fonts/armstrong-ttf/ArmstrongRegular.eot');
  font-style: normal;
  font-weight: normal;
}

/* Font Style 2 */
@font-face {
  font-family: 'Helvetica';
  src: url('./fonts/helvetica-ttf/Helvetica.ttf'),
    url('./fonts/helvetica-ttf/Helvetica.woff'),
    url('./fonts/helvetica-ttf/Helvetica.woff2'),
    url('./fonts/helvetica-ttf/Helvetica.svg'),
    url('./fonts/helvetica-ttf/Helvetica.eot');
  font-style: normal;
  font-weight: normal;
}

:root {
  --spacing-padding-inline: 0.25rem;
  --color-primary: rgba(255, 255, 255, 1);
  --color-secondary: rgb(33, 33, 33);
  --color-third: rgb(6, 146, 62);
  --color-fourth: rgba(254, 169, 19, 1);
  --color-text: rgba(255, 255, 255, 1);
  --color-link-color: rgba(255, 255, 255, 1);
  --color-background-color: rgb(255, 255, 255);
  --color-background-color-gradiant: ;
  --font-family-first: 'Armstrong', Sans-serif;
  --font-family-second: 'Helvetica', Sans-serif;
}

body {
  font-size: 16px;
  font-family: var(--font-family-second);
  font-weight: 400;
  line-height: 1.2em;
  font-style: normal;
  color: var(--color-text);
  overflow-x: hidden;
}

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

a:focus,
a:active {
  outline: none;
  box-shadow: none;
}

a img {
  border: none;
}

ul {
  list-style: none;
}

html {
  font-size: 100%;
}

html,
body {
  scroll-behavior: smooth;
}

body.loaded {
  overflow-y: auto;
}

/* main {
  position: relative;
} */

.center-align-button {
  z-index: 9;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.button {
  font-size: 18px;
  line-height: 1em;
  color: #fff;
  /* background-image: linear-gradient(45deg,
      rgba(189, 189, 189, 0.05) 0%,
      rgba(232, 232, 232, 0.05) 100%); */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 10px;
  font-family: var(--font-family-second);
  font-weight: 300;
  border: 1px solid #FFF;
  /* border-image: linear-gradient(135deg, #d7d7d7, #ffffff, #afafaf) 1; */
  padding: 10px 16px;
  border-radius: 10px;
  margin-top: 20px;
}

.button:hover {
  background-image: linear-gradient(45deg,
      rgba(189, 189, 189, 1) 0%,
      rgba(232, 232, 232, 1) 100%);
}

/* ========== RESPONSIVE BASE ========== */
@media (max-width: 1200px) {
  html {
    font-size: 95%;
  }
}

@media (max-width: 992px) {
  html {
    font-size: 90%;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 85%;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 80%;
  }
}

/* ========== HEADER ========== */
.mosaic-header {
  background: transparent;
  padding: 20px 40px;
  position: static;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  z-index: 1000;
}

/* Hide header on non-first sections */
/* body.hide-header .mosaic-header {
  display: none !important;
} */

/* Ensure header is visible on single pages */
body.single-page .mosaic-header {
  display: flex !important;
}

.mosaic-header .header-container {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1 1 33.33%;
  width: 100%;
}

/* Logo */
.mosaic-header .logo .mosaic-logo {
  height: 100px;
  width: 130px;
  transition: all 0.3s ease;
}

/* Navigation */
.mosaic-header .nav-menu {
  display: flex;
  gap: 60px;
}

.mosaic-header .nav-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  transition: 0.3s;
}

.mosaic-header .nav-menu a:hover {
  opacity: 0.8;
}

/* Connect Button */
.mosaic-header .connect-btn a {
  border: 1px solid #fff;
  color: #fff;
  padding: 10px 26px;
  border-radius: 6px;
  font-size: 15px;
  text-decoration: none;
  transition: 0.3s;
}

.mosaic-header .connect-btn a:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.mosaic-header .connect-btn,
.mosaic-header .nav-menu,
.mosaic-header .logo .mosaic-logo {
  position: relative;
  z-index: 1000;
  transform: translateY(-150px);
}

/* animation */
body.loaded .mosaic-header .logo .mosaic-logo,
body.loaded .mosaic-header .connect-btn,
body.loaded .mosaic-header .nav-menu,
body.single-page .mosaic-header .logo .mosaic-logo,
body.single-page .mosaic-header .connect-btn,
body.single-page .mosaic-header .nav-menu {
  transform: translateY(0);
}

/* Mobile Navigation */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background: #fff;
  transition: all 0.3s ease;
  transform-origin: center;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-48deg) translate(8px, -8px);
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #212577;
  backdrop-filter: blur(10px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
  display: flex;
  opacity: 1;
}

.mobile-nav-menu {
  display: flex;
  flex-direction: column;
  gap: 40px;
  text-align: center;
}

.mobile-nav-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 24px;
  font-weight: 400;
  transition: all 0.3s ease;
  position: relative;
}

.mobile-nav-menu a:hover {
  color: var(--color-fourth);
  transform: scale(1.05);
}

.mobile-connect-btn {
  border: 2px solid #fff;
  padding: 15px 30px;
  border-radius: 8px;
  margin-top: 20px;
  background: transparent;
  transition: all 0.3s ease;
}

.mobile-connect-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-fourth);
}

/* ========== HERO SECTION ========== */
/*
.hero-section {
  max-width: 1600px;
  margin: 0 auto;
  /*padding-top: 160px;*
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
}
  */

.hero-section video {
  /*opacity: 0;*/
  /*transform: translateY(450px) scale(0.2);*/
  max-width: 1600px;
  margin: 0 auto;
  display: block;
  transform-origin: bottom center;
  transition: opacity 1s ease, transform 1s ease;
  border-radius: 15px;
  border: 6px solid #fff;
  object-fit: cover;
}

body.loaded .hero-section video {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ========== PANELS ========== */
.panels {
  /* opacity: 0.9; */
  position: relative;
  width: 100%;
}

body:not(.single-page) section.panel {
  overflow: hidden;
  /* color: #fff; */
  height: 100vh;
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  /* height: 1000px !important; */
}

body:not(.single-page) .panel .panel-container {
  position: relative;
  z-index: 12;
  max-width: 1600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  height: 100vh;
}

.horizontal {
  /* border: 1px solid red; */
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: sticky;
  /* height: 100px !important; */
}

/* .news{
  border: 1px solid red;
} */

#horizontal-scroll {
  overflow: hidden;
  position: relative;
  
  height: 1000px !important;
  min-height: 100vh;
}

/* Gradient per section */
.panel-1 {
/*  background: url('./images/gradient-bg-image.png') center center;
  background-repeat: repeat;
  background-size: 100%;*/
  /* opacity: 0.5; */
  gap: 171px;
}

.panel-3 {
  background: url('./images/gradient-bg-image.png') center center;
  background-repeat: repeat;
  background-size: 100%;
  /* gap: 171px; */
}

.panel-4 {
  /* background: url('./images/gradient-bg-image-2.png') center center; */
  background: url('./images/gradient-bg-image.png') center center;
  
  background-repeat: repeat;
  background-size: 100%;
  /* gap: 171px; */
}

.panel-5 {
  background: url('./images/gradient-bg-image.png') center center;
  background-repeat: repeat;
  background-size: 100%;
  gap: 171px;
}

/* ========== BACKGROUND GRID ========== */
.container-overlay {
  /* z-index: -99 !important; */
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  overflow: hidden;
}

.index-class {
  z-index: -99 !important;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  overflow: hidden;
}


.hex-grid {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.hex-grid .grid {
  position: absolute;
  top: 0;
  left: 0;
  background: url('./images/Tiles-grid-bg-image.svg') center center;
  background-repeat: repeat;
  width: 100%;
  height: 100vh;
  background-size: cover;
  z-index: 2;
}

.hex-grid .grid-2 {
  position: absolute;
  top: 0;
  left: 0;
  background: url('./images/Tiles-grid-bg-image-2.svg') center center;
  background-repeat: repeat;
  width: 100%;
  height: 100vh;
  background-size: cover;
  z-index: 2;
}

.hex-grid .light {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  filter: blur(20px);
  background: radial-gradient(circle, var(--color-fourth) 60%, transparent 70%);
  border-radius: 50%;
  opacity: 0.8;
  z-index: 0;
}

/* 🌟 Trail Elements */
.trail {
  position: absolute;
  width: 60px;
  height: 60px;
  background: radial-gradient(circle, var(--color-fourth) 0%, transparent 70%);
  filter: blur(30px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.5;
  transition: transform 0.3s ease, opacity 0.4s ease;
}

/* ========== LOADER ========== */
.loader-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 2000;
  overflow: hidden;
}

.loader-overlay .reveal-panels {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: row;
  z-index: 2001;
}

.loader-overlay .reveal-panel {
  flex: 1;
  background: #fff;
  transform-origin: bottom center;
  width: 100vw;
  height: 100svh;
}

.loader-overlay .logo-stage {
  display: grid;
  place-items: center;
  background: transparent;
  position: relative;
  z-index: 2010;
}

.loader-overlay .logo {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  will-change: transform, opacity;
  opacity: 0;
}

.loader-overlay .icon {
  width: 120px;
  height: auto;
  will-change: transform, opacity, filter;
}

.loader-overlay .logowrap {
  display: inline-block;
  overflow: hidden;
  width: 0;
}

.loader-overlay .wordmark {
  width: 500px;
  height: auto;
  display: block;
  will-change: transform, opacity, clip-path;
}

/* ========== ATS SECTION ========== */

.ats-container {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  padding: 0 20px;
  width: 100%;
}

.ats-title {
  font-size: clamp(2rem, 0.9437rem + 3.3803vw, 5rem);
  font-weight: 500;
  margin-bottom: 1rem;
  line-height: 1.2em;
  font-family: var(--font-family-first);
}

.ats-description {
  font-size: clamp(1rem, 0.912rem + 0.2817vw, 1.25rem);
  font-weight: 300;
  color: #ffffff;
  max-width: 1000px;
  margin: 0 auto 1.875rem;
  line-height: 1.6em;
  font-family: var(--font-family-second);
}

.ats-plat {
  font-size: 1.125rem;
  margin: 1rem 0;
  line-height: 1.6em;
  font-family: var(--font-family-second);
  color: #ffffff;
}

.ats-subtitle {
  font-size: clamp(1rem, 3vw, 1.25rem);
  margin-bottom: 3.125rem;
  color: #ffff;
  font-weight: 400;
  line-height: 1.5;
}

.ats-subdescription {
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  max-width: 800px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.ats-cards {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  padding-top: 2.5rem;
  position: relative;
  /* min-height: 50vh; */
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
  /* -webkit-perspective: 600px;
  perspective: 600px; */
}

.ats-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: clamp(2rem, 5vw, 5rem) clamp(1rem, 3vw, 1.25rem);
  text-align: left;
  backdrop-filter: blur(100px);
  -webkit-backdrop-filter: blur(100px);
  transition: all 0.3s ease;
  transform-origin: center bottom;
  /* height: auto; */
  /* min-height: 280px; */

  width: 100%;
  max-width: 385px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  /* position: absolute; */
  /* transform: rotateY(-10deg) skewY(35deg); */
}

.ats-card img {
  width: clamp(3.5rem, 8vw, 4.375rem);
  height: clamp(3.5rem, 8vw, 4.375rem);
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 0.625rem;
  object-fit: contain;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(100px);
  -webkit-backdrop-filter: blur(100px);
}

.ats-card p {
  font-size: clamp(1rem, 0.868rem + 0.4225vw, 1.375rem);
  color: #fff;
  line-height: 1.5em;
  width: 100%;
  max-width: 345px;
  font-family: var(--font-family-second);
  font-weight: 400;
}

/* The magic part — manual diagonal offsets */
/* .card1 {
  top: 100px;
  left: 30%;
  z-index: 11;
}
.card2 {
  top: 80px;
  left: 36%;
  z-index: 10;
}
.card3 {
  top: 60px;
  left: 40%;
  z-index: 9;
} */
/* Responsive */
@media (max-width: 900px) {
  .ats-cards {
    flex-direction: column;
    align-items: center;
  }

  .ats-card {
    max-width: 90%;
    height: 100%;
    min-height: 200px;
  }
}

/* END Mosaic ATS Section Style */
/* Teams Member Section Style*/

/* ========== TEAMS SECTION ========== */
.panel-container#teams {
  /* padding: 160px 0; */
  width: 100% !important;
  /* max-width: 100% !important; */
  position: relative;
  z-index: 9;
  /* border: 1px solid red; */
}

.teams-scroll-wrapper {
  /* overflow: au; */
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  position: relative;
  z-index: 9;
  gap: 0;
  /* overflow: auto; */
}

.teams-horizontal-cards {
  /* width: ; */
  /* overflow-y: auto; */
  width: 100%;
}

/* .teams-horizontal-cards::-webkit-scrollbar {
  display: none;
} */
/* .teams-scroll-wrapper::-webkit-scrollbar {
  visibility: hidden;
} */

.teams-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  /* padding: 80px 0 0; */
  text-align: center;
}

.teams-header .teams-title {
  font-size: clamp(2rem, 0.9437rem + 3.3803vw, 5rem);
  line-height: 1.2em;
  max-width: 800px;
  font-family: var(--font-family-first);
  margin-bottom: 1rem;
  font-weight: 500;
}

.teams-description {
  font-size: clamp(1rem, 0.912rem + 0.2817vw, 1.25rem);
  max-width: 1060px;
  line-height: 1.6em;
  padding: 0 20px;
  font-family: var(--font-family-second);
  font-weight: 300;
}

.team-container {
  display: flex;
  align-items: center;
  /* overflow: auto; */
  /* width: 100%; */
}

.team-container::-webkit-scrollbar {
  visibility: hidden;
}

.team-wrapper {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  /* width: 100vw; */
}

.team-card {
  flex: 0 0 clamp(300px, 40vw, 520px);
  height: clamp(350px, 50vw, 500px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
  cursor: pointer;
}

.team-card .team-profile {
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
}

.team-card .team-info {
  position: absolute;
  bottom: 20px;
  left: 20px;
  width: calc(100% - 40px);
}

.team-card .team-info .team-name {
  font-size: clamp(1.25rem, 4vw, 1.75rem);
  line-height: 1.2;
  font-family: var(--font-family-first);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.team-card .team-info .team-role {
  font-size: clamp(0.9rem, 2.5vw, 1.125rem);
  line-height: 1.2;
  font-family: var(--font-family-second);
  font-weight: 300;
}

.team-footer {
  text-align: center;
  padding: 2rem 0;
}

.team-footer p {
  font-size: clamp(1rem, 0.912rem + 0.2817vw, 1.25rem);
  line-height: 1.6em;
  font-family: var(--font-family-second);
}

.team-footer p a {
  color: var(--color-fourth);
  text-decoration: underline;
}

/* Popup */
.team-popup-overlay {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000 !important;
  padding: 20px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  /* width: max-content; */
}

.team-popup-overlay:not(.hidden) {
  display: flex;
}

.team-popup {
  /*background: url('./images/gradient-bg-image-2.png') no-repeat;*/
  background: linear-gradient(
                    90deg,
                    #18186A 0%,
                    #242A7C 8%,
                    #3F4FA2 27%,
                    #546DBF 46%,
                    #6382D5 65%,
                    #6B8EE1 83%,
                    #6F93E6 100%
                    );
  background-size: cover;
  background-position: center;
  padding: clamp(2rem, 5vw, 6.25rem) clamp(1rem, 3vw, 1.875rem);
  border-radius: 12px;
  max-width: 1600px;
  width: 100%;
  text-align: left;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  max-height: 90vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

.team-popup-close {
  position: absolute;
  top: clamp(1rem, 3vw, 5.625rem);
  right: clamp(1rem, 3vw, 3.125rem);
  background: none;
  border: none;
  font-size: clamp(1.5rem, 4vw, 1.625rem);
  cursor: pointer;
  color: #fff;
  z-index: 999;
}

.team-popup-content {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.team-popup-image-wrapper {
  flex: 0 0 clamp(250px, 40vw, 450px);
}

.team-popup-image-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  object-fit: cover;
}

.team-popup-text {
  flex: 1;
  width: 100%;
  max-width: 1030px;
  min-width: 250px;
}

.team-popup-text h3 {
  margin-bottom: 10px;
  font-size: clamp(1.25rem, 3vw, 1.375rem);
  font-weight: 600;
  font-family: var(--font-family-second);
}

.team-popup-text p {
  font-size: clamp(0.875rem, 2.5vw, 0.9375rem);
  line-height: 1.6;
  white-space: pre-line;
  font-family: var(--font-family-second);
  font-weight: 400;
}

.backdrop{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  left: 0;
  margin: auto;
}

/* ========== NEWS SECTION ========== */
.news-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  text-align: center;
  padding: 0 clamp(10px, 5vw, 40px);
  margin-bottom: 20px;
  width: 100%;
  box-sizing: border-box;
}

.news-container .news-title {
  font-size: clamp(1.5rem, 0.8rem + 2.5vw, 3.5rem);
  line-height: 1.2em;
  font-family: var(--font-family-first);
  font-weight: 500;
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

.news-container .news-description {
  font-size: clamp(1rem, 0.912rem + 0.2817vw, 1.25rem);
  line-height: 1.2;
  font-family: var(--font-family-second);
  font-weight: 300;
}

/* blog slider */
.swiper,
.swiper-wrapper,
.swiper-slide {
  touch-action: pan-y;
  pointer-events: auto;
}

.blogSwiper {
  width: 100%;
  height: auto;
  min-height: 450px;
  position: relative;
  padding: 0;
  margin: 0;
  pointer-events: auto;
  overflow: hidden;
}

.blogSwiper .swiper-wrapper {
  display: flex;
  width: max-content;
  min-width: 100%;
  transition: transform 0.6s ease;
}

.news-container,
.blogSwiper {
  z-index: 9 !important;
}

/* end here */

.blog-card {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: all 0.3s ease;
  height: auto;
  min-height: 400px;
  flex-direction: row;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.25);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.blog-img {
  flex: 1;
  overflow: hidden;
  min-height: 200px;
}

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

.blog-content {
  flex: 1.2;
  padding: clamp(1rem, 3vw, 1.5rem) clamp(1rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.blog-tags {
  display: none;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.tag {
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  background: rgba(255, 255, 255, 0.1);
  padding: 4px 10px;
  border-radius: 6px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 300;
}

.blog-title {
  font-size: clamp(1.25rem, 4vw, 1.875rem);
  font-weight: 500;
  margin: 20px 0 10px;
  color: #fff;
  line-height: 1.3;
  max-width: 100%;
}

.blog-desc {
  font-size: clamp(0.9rem, 2.5vw, 1.125rem);
  color: #fff;
  line-height: 1.6;
  margin-bottom: 20px;
  font-weight: 300;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  font-size: clamp(0.9rem, 2.5vw, 1.125rem);
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 12px;
  flex-wrap: wrap;
  gap: 10px;
  font-weight: 300;
}

.blogSwiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  transition: transform 0.3s ease;
  height: auto;
  flex-shrink: 0;
  box-sizing: border-box;
}

/*
.blogSwiper .swiper-slide a {
    height: 300px;
}

.blog-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 18px;
  position: relative;
  z-index: 10;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
}

span.news-tag {
    display: none;
}

.blog-nav .blog-button-prev,
.blog-nav .blog-button-next {
  width: clamp(2.5rem, 6vw, 2.75rem);
  height: clamp(2.5rem, 6vw, 2.75rem);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0);
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.blog-nav .blog-button-prev:hover,
.blog-nav .blog-button-next:hover {
  background: rgba(255, 255, 255, 0);
  transform: scale(1.05);
}

.blog-nav img {
  width: clamp(1rem, 3vw, 1.25rem);
  height: auto;
}

/* ========== FOOTER ========== */
.footer-inner {
  margin: 0 auto;
  display: grid;
  grid-template-columns: 18% 66% 16%;
  align-items: start;
  gap: 20px;
  width: 100%;
  max-width: 1600px;
  z-index: 5;
  padding: 0 20px;
}

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

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
}

.footer-nav a:hover {
  opacity: 1;
}

.footer-contact h4 {
  margin: 0 0 12px;
  font-size: clamp(1rem, 2.5vw, 1.375rem);
  opacity: 0.9;
  line-height: 100%;
}

.footer-contact a,
.footer-contact address {
  display: block;
  color: #fff;
  opacity: 0.85;
  font-style: normal;
  font-size: clamp(0.875rem, 2vw, 0.9rem);
}

.footer-contact address {
  margin: 10px 0;
  line-height: 1.4;
}

.footer-link {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.footer-bottom {
  margin: 0 auto;
  /* border-top: 1px solid rgba(255, 255, 255, 0.12); */
  z-index: 5;
  width: 100%;
  max-width: 1600px;
  padding: 12px 20px 0;
}

.footer-legal {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 16px;
  line-height: 1.2em;
}

.footer-legal li {
  list-style: none;
  color: #fff;
  opacity: 0.9;
}

.footer-legal li a {
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
}

.footer-legal li a:hover {
  opacity: 1;
}

.footer-legal li+li {
  position: relative;
  padding-left: 28px;
}

.footer-legal li+li::before {
  content: '|';
  position: absolute;
  left: 4px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-link img {
  width: 14px;
  height: 14px;
}

/* ========================================
   RESPONSIVE DESIGN - MOBILE FIRST
   ======================================== */
@media (min-width: 1680px) {
  .hero-section video {
    height: 720px;
  }
}

/* Desktop/Tablet Large (1024px - 1199px) */
@media (max-width: 1199px) {
  .mosaic-header {
    padding: 15px 30px;
  }

  .mosaic-header .logo .mosaic-logo {
    height: 80px;
    width: 100px;
  }

  .mosaic-header .nav-menu {
    gap: 40px;
  }

  .ats-title,
  .teams-title,
  .news-title {
    font-size: 70px;
  }

  .ats-description {
    font-size: 18px;
    max-width: 800px;
  }

  .ats-card {
    width: 320px;
    height: 280px;
    padding: 60px 15px;
  }

  .ats-card p {
    font-size: 18px;
    width: 290px;
  }

  .hero-section {
    padding-top: 140px;
  }

  .hero-section video {
    height: 600px;
  }

  .team-card {
    flex: 0 0 450px;
    height: 450px;
  }

  .blog-card {
    height: 400px;
  }

  .blog-title {
    font-size: 24px;
    line-height: 32px;
  }
}

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
  .mosaic-header {
    padding: 15px 20px;
  }

  .mosaic-header .logo .mosaic-logo {
    height: 70px;
    width: 90px;
  }

  .mosaic-header .nav-menu {
    gap: 30px;
  }

  .mosaic-header .nav-menu a {
    font-size: 14px;
  }

  .mosaic-header .connect-btn a {
    padding: 8px 20px;
    font-size: 14px;
  }

  .ats-title,
  .teams-title,
  .news-title {
    font-size: 60px;
  }

  .ats-description {
    font-size: 16px;
    max-width: 600px;
  }

  .ats-plat {
    font-size: 18px;
  }

  .ats-cards {
    gap: 15px;
    height: auto;
    flex-wrap: wrap;
    justify-content: center;
  }

  .ats-card {
    width: 280px;
    height: 250px;
    padding: 40px 15px;
    margin-bottom: 20px;
  }

  .ats-card p {
    font-size: 16px;
    width: 250px;
  }

  .hero-section {
    padding-top: 120px;
  }

  .hero-section video {
    border: 4px solid #fff;
  }

  .teams-header {
    padding: 60px 0 0;
  }

  .team-card {
    flex: 0 0 380px;
    height: 380px;
  }

  .team-card .team-info .team-name {
    font-size: 24px;
  }

  .team-card .team-info .team-role {
    font-size: 16px;
  }

  /* News title uses clamp() for responsive sizing */

  .news-container .news-description {
    font-size: 16px;
  }

  .blog-card {
    height: 350px;
  }

  .blog-content {
    padding: 20px 24px;
  }

  .blog-title {
    font-size: 22px;
    line-height: 28px;
  }

  .blog-desc {
    font-size: 16px;
  }

  .blog-meta {
    font-size: 16px;
  }

  .footer-inner {
    grid-template-columns: 1fr !important;
    gap: 30px;
    text-align: center;
    padding: 0 20px;
  }

  .footer-nav {
    justify-content: center;
    gap: 30px;
  }

  .footer-contact {
    text-align: center;
  }

  .footer-contact h4 {
    font-size: 20px;
  }

  .footer-nav {
    font-size: 18px;
  }
}

/* Mobile Large (640px - 767px) */
@media (max-width: 767px) {
  .mosaic-header {
    padding: 12px 15px;
  }

  .mosaic-header .logo .mosaic-logo {
    height: 60px;
    width: 80px;
  }

  .mosaic-header .nav-menu,
  .mosaic-header .connect-btn {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .ats-title {
    margin-top: 55px !important;
  }

  .ats-title,
  .teams-title,
  .news-title {
    font-size: 50px;
    text-align: center;
    margin-bottom: 20px;
  }

  /* Ensure ATS heading is visible on mobile */
  .panel-2 .ats-title {
    display: block;
    visibility: visible;
    opacity: 1;
    color: #fff;
    position: relative;
    z-index: 2;
  }

  .ats-description {
    font-size: 16px;
    max-width: 90%;
    text-align: center;
    margin-bottom: 30px;
  }

  .ats-plat {
    font-size: 16px;
    text-align: center;
    margin-bottom: 30px;
  }

  .ats-cards {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
  }

  .ats-card {
    width: 90%;
    max-width: 350px;
    height: auto;
    padding: 30px 20px;
  }

  .ats-card p {
    font-size: 16px;
    width: 100%;
    max-width: none;
  }

  .hero-section {
    padding-top: 100px;
  }

  .hero-section video {
    border: 3px solid #fff;
    border-radius: 10px;
  }

  .teams-header {
    padding: 40px 20px 0;
  }

  .teams-header .teams-description {
    font-size: 16px;
    text-align: center;
    max-width: 90%;
  }

  .team-wrapper {
    padding: 1rem;
    gap: 1.5rem;
  }

  .team-card {
    flex: 0 0 300px;
    height: 350px;
  }

  .team-card .team-info .team-name {
    font-size: 20px;
  }

  .team-card .team-info .team-role {
    font-size: 14px;
  }

  /* News container padding handled by clamp() */

  /* News title uses clamp() for responsive sizing */

  .news-container .news-description {
    font-size: 16px;
    text-align: center;
  }

  .blogSwiper {
    height: 400px;
    margin: 20px 0;
  }

  .blog-card {
    height: 380px;
    flex-direction: column;
  }

  .blog-img {
    flex: 0 0 200px;
  }

  .blog-content {
    flex: 1;
    padding: 20px;
  }

  .blog-title {
    font-size: 20px;
    line-height: 26px;
    margin: 15px 0 10px;
  }

  .blog-desc {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .blog-meta {
    font-size: 14px;
  }

  .center-align-button {
    text-align: center;
    margin: 20px 0;
  }

  .button {
    /* margin-top: 40px; */
    display: inline-block;
    padding: 12px 24px;
    background: transparent;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    border-radius: 10px !important;
    transition: all 0.3s ease;
  }

  .button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-fourth);
  }

  .footer-inner {
    padding: 0 15px;
  }

  .footer-nav {
    gap: 20px;
    flex-wrap: wrap;
  }

  .footer-nav a {
    font-size: 16px;
  }

  .footer-contact h4 {
    font-size: 18px;
  }

  .footer-contact a,
  .footer-contact address {
    font-size: 14px;
  }

  .footer-legal {
    font-size: 11px;
    gap: 12px;
  }

  /* Team Popup Mobile */
  .team-popup {
    margin: 20px;
    padding: 60px 20px;
    max-width: calc(100vw - 40px);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .team-popup-close {
    top: 20px;
    right: 20px;
    font-size: 24px;
  }

  .team-popup-content {
    flex-direction: column;
    gap: 20px;
  }

  .team-popup-image-wrapper {
    flex: none;
    max-width: 300px;
    margin: 0 auto;
  }

  .team-popup-text {
    flex: none;
    width: 100%;
  }

  .team-popup-text h3 {
    font-size: 20px;
    text-align: center;
  }

  .team-popup-text p {
    font-size: 14px;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

/* Mobile Medium (480px - 639px) */
@media (max-width: 639px) {
  .mosaic-header {
    padding: 10px 15px;
  }

  .mosaic-header .logo .mosaic-logo {
    height: 50px;
    width: 70px;
  }

  .ats-title {
    margin-top: 55px !important;
  }

  .ats-title,
  .teams-title,
  .news-title {
    font-size: 40px;
  }

  .ats-description {
    font-size: 14px;
  }

  .ats-plat {
    font-size: 14px;
  }

  .ats-card {
    padding: 25px 15px;
  }

  .ats-card p {
    font-size: 14px;
  }

  .hero-section {
    padding-top: 80px;
  }

  .hero-section video {
    border: 2px solid #fff;
  }

  .teams-header {
    padding: 30px 15px 0;
  }

  .team-wrapper {
    padding: 0.5rem;
    gap: 1rem;
  }

  .team-card {
    flex: 0 0 250px;
    height: 300px;
  }

  .team-card .team-info .team-name {
    font-size: 18px;
  }

  .team-card .team-info .team-role {
    font-size: 12px;
  }

  /* News container padding handled by clamp() */

  /* News title uses clamp() for responsive sizing */

  .news-container .news-description {
    font-size: 14px;
  }

  .blogSwiper {
    height: 350px;
  }

  .blog-card {
    height: 330px;
  }

  .blog-img {
    flex: 0 0 150px;
  }

  .blog-content {
    padding: 15px;
  }

  .blog-title {
    font-size: 18px;
    line-height: 24px;
  }

  .blog-desc {
    font-size: 13px;
  }

  .blog-meta {
    font-size: 12px;
  }

  .footer-inner {
    padding: 0 10px;
  }

  .footer-nav {
    gap: 15px;
  }

  .footer-nav a {
    font-size: 14px;
  }

  .footer-contact h4 {
    font-size: 16px;
  }

  .footer-contact a,
  .footer-contact address {
    font-size: 13px;
  }

  .footer-legal {
    font-size: 10px;
    gap: 10px;
  }

  /* Team Popup Mobile Small */
  .team-popup {
    margin: 15px;
    padding: 40px 15px;
    max-width: calc(100vw - 30px);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .team-popup-close {
    top: 15px;
    right: 15px;
    font-size: 20px;
  }

  .team-popup-image-wrapper {
    max-width: 250px;
  }

  .team-popup-text h3 {
    font-size: 18px;
  }

  .team-popup-text p {
    font-size: 13px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

/* Mobile Small (320px - 479px) */
@media (max-width: 479px) {
  .mosaic-header {
    padding: 8px 10px;
  }

  .mosaic-header .logo .mosaic-logo {
    height: 45px;
    width: 60px;
  }

  .ats-title {
    margin-top: 55px !important;
  }

  .ats-title,
  .teams-title,
  .news-title {
    font-size: 32px;
  }

  .ats-description {
    font-size: 13px;
  }

  .ats-plat {
    font-size: 13px;
  }

  .ats-card {
    padding: 20px 12px;
  }

  .ats-card p {
    font-size: 13px;
  }

  .hero-section {
    padding-top: 70px;
  }

  /* .hero-section video {
    height: 250px;
  } */

  .teams-header {
    padding: 25px 10px 0;
  }

  .team-wrapper {
    padding: 0.25rem;
    gap: 0.75rem;
  }

  .team-card {
    flex: 0 0 200px;
    height: 250px;
  }

  .team-card .team-info .team-name {
    font-size: 16px;
  }

  .team-card .team-info .team-role {
    font-size: 11px;
  }

  /* News container padding handled by clamp() */

  /* News title uses clamp() for responsive sizing */

  .news-container .news-description {
    font-size: 13px;
  }

  .blogSwiper {
    height: 300px;
  }

  .blog-card {
    height: 280px;
  }

  .blog-img {
    flex: 0 0 120px;
  }

  .blog-content {
    padding: 12px;
  }

  .blog-title {
    font-size: 16px;
    line-height: 22px;
  }

  .blog-desc {
    font-size: 12px;
  }

  .blog-meta {
    font-size: 11px;
  }

  .footer-inner {
    padding: 0 8px;
  }

  .footer-nav {
    gap: 12px;
  }

  .footer-nav a {
    font-size: 13px;
  }

  .footer-contact h4 {
    font-size: 15px;
  }

  .footer-contact a,
  .footer-contact address {
    font-size: 12px;
  }

  .footer-legal {
    font-size: 9px;
    gap: 8px;
  }

  /* Team Popup Mobile Extra Small */
  .team-popup {
    margin: 10px;
    padding: 30px 12px;
    max-width: calc(100vw - 20px);
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  .team-popup-close {
    top: 10px;
    right: 10px;
    font-size: 18px;
  }

  .team-popup-image-wrapper {
    max-width: 200px;
  }

  .team-popup-text h3 {
    font-size: 16px;
  }

  .team-popup-text p {
    font-size: 12px;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
}

/* Landscape Mobile Orientation */
@media (max-height: 500px) and (orientation: landscape) {

  /* .hero-section video {
    height: 250px;
  } */
  .ats-cards {
    height: auto;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .ats-card {
    width: 45%;
    margin-bottom: 15px;
  }

  .teams-header {
    padding: 20px 0 0;
  }

  .team-card {
    height: 300px;
  }

  .blogSwiper {
    height: 250px;
  }

  .blog-card {
    height: 230px;
  }
}

/* Touch and Performance Optimizations */
* {
  -webkit-tap-highlight-color: transparent;
}

button,
a,
.team-card,
.ats-card {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.team-card,
.ats-card,
.blog-card {
  touch-action: manipulation;
}

/* Focus styles for accessibility */
button:focus,
a:focus,
.mobile-menu-toggle:focus {
  outline: 2px solid var(--color-fourth);
  outline-offset: 2px;
}

/* ========== RESPONSIVE MEDIA QUERIES ========== */
@media (max-width: 1600px) and (min-width: 1440px) {

  body:not(.single-page) .panel .panel-container,
  body.single-page .panel .panel-container,
  .panel-5 .footer-inner,
  .panel-5 .footer-bottom {
    max-width: 1200px;
    padding-inline: calc(var(--spacing-padding-inline) * 10);

  }

  .hero-section video {
    height: 520px;
  }

  body:not(.single-page) .panel .panel-container.ats-container .ats-cards .ats-card {
    max-width: 340px;
    min-height: 3px;
  }

  body:not(.single-page) .panel .panel-container.ats-container .ats-cards .ats-card p {
    font-size: clamp(1rem, 0.125rem + 1vw, 1.125rem);
  }

  body:not(.single-page) .teams-header {
    padding: 30px 0 0;
  }

  body:not(.single-page) .teams-header .teams-description {
    font-size: clamp(1rem, 0.125rem + 1vw, 1.125rem);
  }

  body:not(.single-page) .team-wrapper {
    padding: 2rem 0;
  }

  body:not(.single-page) .team-card {
    flex: 0 0 340px;
    height: 360px;
  }

  body:not(.single-page) .blogSwiper {
    min-height: auto;
  }

  body:not(.single-page) .blogSwiper .blog-card {
    min-height: 300px;
  }

  body:not(.single-page) .blogSwiper .blog-card .blog-content .blog-title {
    font-size: clamp(1.25rem, -3.125rem + 5vw, 1.875rem);
    font-size: 18px;
  }

  body:not(.single-page) .blogSwiper .blog-card .blog-content .blog-tags .tag,
  body:not(.single-page) .blogSwiper .blog-card .blog-content .blog-meta {
    font-size: 12px;
  }
}

@media (max-width: 1440px) {

  body:not(.single-page) .panel .panel-container,
  body.single-page .panel .panel-container,
  .panel-5 .footer-inner,
  .panel-5 .footer-bottom {
    max-width: 1025px;
    padding-inline: calc(var(--spacing-padding-inline) * 5);
  }

  .hero-section video {
    height: 420px;
  }

  body:not(.single-page) .panel .panel-container.ats-container .ats-description,
  .ats-pat {
    font-size: 16px;
  }

  body:not(.single-page) .panel .panel-container.ats-container .ats-cards .ats-card {
    max-width: 280px;
    min-height: 320px;
  }

  body:not(.single-page) .panel .panel-container.ats-container .ats-cards .ats-card p,
  body:not(.single-page) .teams-header .teams-description {
    font-size: 15px;
  }

  body:not(.single-page) .teams-header {
    padding: 20px 0 0;
  }

  body:not(.single-page) .team-wrapper {
    padding: 2rem 0;
  }

  body:not(.single-page) .team-card {
    flex: 0 0 320px;
    height: 350px;
  }

  body:not(.single-page) .blogSwiper {
    min-height: auto;
  }

  body:not(.single-page) .blogSwiper .blog-card {
    min-height: 300px;
  }

  body:not(.single-page) .blogSwiper .blog-card .blog-content .blog-title {
    font-size: 20px;
  }

  body:not(.single-page) .blogSwiper .blog-card .blog-content .blog-desc {
    font-size: 14px;
  }

  body:not(.single-page) .blogSwiper .blog-card .blog-content .blog-tags .tag,
  body:not(.single-page) .blogSwiper .blog-card .blog-content .blog-meta {
    font-size: 10px;
  }

  body:not(.single-page) .panel-4 .blog-nav {
    margin-top: 0px;
  }

  body:not(.single-page) .panel-4 .blog-nav .blog-button-prev,
  body:not(.single-page) .panel-4 .blog-nav .blog-button-next {
    width: 33px;
    height: 33px;
  }

  body:not(.single-page) .panel-4 .blog-nav .blog-button-prev img,
  body:not(.single-page) .panel-4 .blog-nav .blog-button-next img {
    width: 16px;
  }

  .panel-5 .footer-inner {
    grid-template-columns: 20% 60% 20%;
  }

  body.single-page .team-members h3 {
    font-size: 20px;
  }

  body.single-page .team-members p {
    font-size: 12px;
  }

  .team-card .team-info .team-name {
    font-size: 1.2rem;
  }
  .team-card .team-info .team-role {
    font-size: 0.8rem;
    margin-bottom: 40px;
  }
}

@media (max-width: 1200px) {
  .panel .panel-container {
    max-width: 100%;
    padding-inline: calc(var(--spacing-padding-inline) * 3);
  }

  .mosaic-header .nav-menu {
    gap: 40px;
  }

  .footer-inner {
    grid-template-columns: 20% 60% 20%;
    gap: 15px;
  }
}

@media (max-width: 992px) {
  body:not(.single-page) .panel.panel-2 .panel-container {
    justify-content: flex-start;
  }

  .hex-grid .grid,
  .hex-grid .grid-2 {
    background-size: 100%;
  }

  body:not(.single-page) .panel .panel-container,
  body.single-page .panel .panel-container,
  .panel-5 .footer-inner,
  .panel-5 .footer-bottom {
    max-width: 100% !important;
    padding-inline: calc(var(--spacing-padding-inline) * 5);
  }

  .mosaic-header {
    padding: 15px 20px;
  }

  .mosaic-header .nav-menu {
    gap: 30px;
  }

  .hero-section {
    padding-top: 120px;
  }

  .hero-section video {
    /* height: 600px; */
    width: 100%;
  }

  body:not(.single-page) .panel .panel-container.ats-container .ats-cards .ats-card {
    min-height: auto;
  }

  body:not(.single-page) .blogSwiper .blog-card {
    min-height: auto;
  }

  body:not(.single-page) .blogSwiper {
    min-height: 500px;
  }

  body:not(.single-page) .blogSwiper .blog-card {
    min-height: 100%;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr !important;
    gap: 30px;
  }

  .footer-nav {
    grid-column: 1 / -1;
    order: 3;
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .panel .panel-container {
    max-width: 100%;
    padding-inline: calc(var(--spacing-padding-inline) * 4);
  }

  .mosaic-header .header-container {
    flex-wrap: wrap;
  }

  .mosaic-header .nav-menu {
    order: 3;
    width: 100%;
    justify-content: center;
    margin-top: 15px;
    gap: 20px;
  }

  .mosaic-header .logo .mosaic-logo {
    height: 60px;
    width: 78px;
  }

  .hero-section {
    padding-top: 140px;
  }

  .hero-section video {
    /* height: 400px; */
    border-width: 4px;
  }

  section.panel {
    height: 100%;
    min-height: 100%;
    /* padding: 60px 0; */
  }

  section.panel.panel-2 {
    height: 100% !important;
    /*min-height: 100vh;*/
  }

  /* #horizontal-scroll {
    height: 100% !important;
    min-height: 100vh;
  } */

  .ats-cards {
    flex-direction: column;
    align-items: center;
    min-height: auto;
    padding-top: 2rem;
  }

  .ats-card {
    max-width: 100%;
    margin-bottom: 1rem;
  }

  .ats-plat {
    visibility: visible;
    font-size: 1.125rem;
    margin: 1rem 0;
  }

  .ats-subtitle,
  .ats-subdescription {
    display: none;
  }

  .team-popup-content {
    flex-direction: column;
  }

  .team-popup-image-wrapper {
    flex: 0 0 auto;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .blog-card {
    flex-direction: column;
  }

  .footer-inner {
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: 25px;
  }

  .footer-nav {
    order: 0;
    margin-top: 0;
  }

  .footer-legal {
    flex-direction: column;
    gap: 10px;
  }

  .footer-legal li+li {
    padding-left: 0;
  }

  .footer-legal li+li::before {
    display: none;
  }

  .hex-grid .grid, 
    .hex-grid .grid-2 {
      display: none;  
      background: none;
    }

    body {
  	  background: url('./images/mosaic-tile-bg-ng.svg') center center !important;
		  background-repeat: repeat !important;
      background-size: contain !important;
      height: auto;
    }

}

@media (max-width: 576px) {
  .mosaic-header {
    padding: 10px 15px;
  }

  .mosaic-header .nav-menu {
    gap: 15px;
  }

  .mosaic-header .nav-menu a {
    font-size: 14px;
  }

  .mosaic-header .connect-btn a {
    padding: 8px 16px;
    font-size: 14px;
  }

  .hero-section {
    padding-top: 100px;
  }

  .hero-section video {
    height: 250px;
    border-width: 3px;
  }

  .ats-title {
    margin-top: 55px !important;
  }

  /* Extra safety for very small screens */
  .panel-2 .ats-title {
    display: block;
    visibility: visible;
    opacity: 1;
    color: #fff;
    position: relative;
    z-index: 2;
    margin-bottom: 16px;
  }

  .ats-card {
    max-width: 66.66%;
    display: flex;
        flex-direction: row;
        gap: 20px;
  }

  .ats-cards {
    padding-top: 1.5rem;
  }

  .ats-card img{
    width: 20%;
  }

  .ats-card p{
    width: 80%;
  }

  .teams-header {
    padding: 40px 0 0;
  }

  .team-card {
    flex: 0 0 280px;
    height: 320px;
  }

  .loader-overlay .icon {
    width: 80px;
  }

  .loader-overlay .wordmark {
    width: 300px;
  }

  /* .loader-overlay .logo {
    flex-direction: column;
    gap: 10px;
  } */

  /* .footer-inner{
    border: 1px solid black;
  } */

  .footer-logo {
    margin-right: 12rem;
    margin-bottom: 2rem;
  }

  /* .footer-nav {
    display: ;
  } */

  .teams-header {
    padding: 40px 0 0;
    /* margin-top: -20rem; */
  }

  .footer-nav {
    /* border: 1px solid black; */
    width: 20%;
    display: inline-grid;
    font-size: 1rem;
  }

  .footer-contact {
    margin-top: -12rem;
    font-size: 1rem;
    /* border: 1px solid black; */
    width: 35%;
    text-align: start;
    display: block;
    margin-left: auto;
  }

  /* .footer-bottom{
    display: flex;
  } */

  .footer-legal {
    flex-direction: row;
    font-size: 0.75rem;
  }
}

/* Utility class for hidden elements */
.hidden {
  display: none !important;
}

/* ========== VIDEO PLAY BUTTON ========== */
.video-container {
  position: relative;
  margin: 0 auto;
  display: block;
}

.video-play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  opacity: 1;
}

.video-play-button:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%) scale(1.1);
}

.video-play-button::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 0 15px 25px;
  border-color: transparent transparent transparent #fff;
  margin-left: 5px;
}

/* When video is loading */
.video-container video {
  cursor: pointer;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .video-play-button {
    width: 60px;
    height: 60px;
  }

  .video-play-button::after {
    border-width: 12px 0 12px 20px;
    margin-left: 4px;
  }
}

@media (max-width: 480px) {
  .video-play-button {
    width: 50px;
    height: 50px;
  }

  .video-play-button::after {
    border-width: 10px 0 10px 16px;
    margin-left: 3px;
  }
}

/* * {
  box-sizing: border-box;
  user-select: none;
} */

/* body {
  margin: 0;
  padding: 0;
  height: 100vh;
}

section {
  height: 100%;
  width: 100%;
  top: 0;
  position: fixed;
  visibility: hidden;
} */

/* section .outer,
section .inner {
  width: 100%;
  height: 100%;
}

section .bg {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  background-size: cover;
  background-position: center;
} */

/* .panel-container {
  position: relative;
} */

.swiper-bg {
  flex-direction: column !important;
}

/* Responsive carousel handled by JavaScript */

.extra-space {
  width: 20px !important;
  visibility: hidden;
  flex: none !important;
  height: max-content;
  display: block;
}

.footer {
  display: flex;
  flex-direction: column;
}

.disclaimer {
  font-size: 16px;
  text-align: center;
  opacity: 0.85;
  font-family: 'Helvetica', Sans-serif;
  margin: 40px 0px;
  line-height: 1.5;
}

.footer-bottom {
  margin-top: 100px;
}

@media (max-width: 1280px) {
  .extra-space {
    width: 10px !important;
  }
}

header {
  position: absolute;
}

/* body {
  background-color: transparent !important;
  background: url('./images/gradient-bg-image.png') center center;
} */


/* header {
  background-color: transparent !important;
  background: url('./images/gradient-bg-image.png') center center;
} */

/* .teams-section {
  visibility: visible;
  position: static;
} */


.on-top {
  position: relative !important;
  z-index: 100 !important;
}

/* .element-on-top{
  border: 2px solid red;
  z-index: 1000 !important;
} */


.footer-disclaimer{
  margin-top: 50px;
  text-align: center;
}

/* Add these styles in your CSS file */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.blog-pagination-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.blog-pagination-dot.active {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.2);
}