/* ===== CSS VARIABLES ===== */
:root {
  --mediox-font: "Poppins", sans-serif;
  --mediox-heading: "Montserrat", sans-serif;
  --mediox-text: #707882;
  --mediox-base: #33C1ED;
  --mediox-base-rgb: 51, 193, 237;
  --mediox-primary: #2C51A3;
  --mediox-white: #FFFFFF;
  --mediox-white2: #ECF0F5;
  --mediox-black: #0A2241;
  --mediox-black-rgb: 10, 34, 65;
  --mediox-border-color: #D9E1EB;
  --mediox-gray: #E5E5E5;
  --mediox-radius: 20px;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--mediox-font);
  font-size: 16px;
  color: var(--mediox-text);
  line-height: 1.75;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 500ms ease;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
}

button {
  border: none;
  outline: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 800;
  color: var(--mediox-black);
  font-family: var(--mediox-heading);
}

h4, h5, h6 {
  margin: 0;
  font-weight: 700;
  color: var(--mediox-black);
}

p {
  margin: 0;
}

/* ===== CONTAINER ===== */
.container-fluid {
  width: 100%;
  max-width: 1830px;
  margin: 0 auto;
  padding: 0 15px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ============================================
   TOPBAR
   ============================================ */
/* Header Wrapper — overlays hero */
.header-wrap {
  position: relative;
  z-index: 99;
}

.header-wrap .container-fluid {
  max-width: 85%;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .header-wrap .container-fluid {
    max-width: 100%;
  }
}

.topbar {
  display: none;
  background-color: var(--mediox-black);
  position: relative;
  z-index: 100;
}

@media (min-width: 992px) {
  .topbar {
    display: block;
  }
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.topbar__info {
  display: flex;
  align-items: center;
  gap: 0;
}

.topbar__info li {
  display: flex;
  align-items: center;
  font-size: 16px;
  color: var(--mediox-white);
  line-height: 1.4;
}

.topbar__info li + li {
  margin-left: 31px;
}

.topbar__info li a {
  color: inherit;
  background: linear-gradient(to right, currentcolor 0%, currentcolor 100%) 0px 95%/0px 1px no-repeat;
  transition: all 500ms ease;
}

.topbar__info li a:hover {
  background-size: 100% 1px;
}

.topbar__info li:hover {
  color: rgba(255, 255, 255, 0.7);
}

.topbar__info__icon {
  margin-right: 10px;
  display: inline-flex;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
}

.topbar__social {
  display: flex;
  align-items: center;
  gap: 15px;
}

.topbar__social li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  font-size: 14px;
  color: var(--mediox-white);
  background-color: rgba(255, 255, 255, 0.1);
  transition: all 500ms ease;
}

.topbar__social li a:hover {
  background-color: rgba(255, 255, 255, 0.25);
  color: var(--mediox-white);
}

/* ============================================
   MAIN HEADER
   ============================================ */
.main-header {
  position: relative;
  background-color: var(--mediox-white);
  z-index: 99;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.main-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
}

/* ---- Left: Logo + Sidebar Toggle ---- */
.main-header__left {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-shrink: 0;
}

/* Logo */
.main-header__logo {
  position: relative;
}

.main-header__logo a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  display: inline-flex;
  flex-shrink: 0;
}

.logo-icon svg {
  display: block;
}

.logo-content {
  display: flex;
  flex-direction: column;
}

.logo-text {
  font-size: 28px;
  font-weight: 800;
  color: var(--mediox-black);
  letter-spacing: -0.5px;
  line-height: 1.1;
  font-family: var(--mediox-heading);
}

.logo-sub {
  font-size: 9px;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.5);
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1;
  margin-top: 2px;
}

/* Logo decorative shape (small circle accent) */
.main-header__logo__shape {
  position: absolute;
  bottom: -4px;
  left: 36px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #33C1ED;
  display: none;
}

/* Sidebar Toggle (always visible) */
.sidebar-btn__toggler {
  width: 26px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px 0;
}

.sidebar-btn__toggler span {
  width: 100%;
  height: 2.5px;
  background-color: var(--mediox-black);
  display: block;
  border-radius: 2px;
  transition: all 500ms ease;
}

.sidebar-btn__toggler span:first-child {
  width: 55%;
}

.sidebar-btn__toggler:hover span {
  background-color: var(--mediox-text);
  width: 100%;
}

/* ---- Right: Nav + Icons + CTA ---- */
.main-header__right {
  display: flex;
  align-items: center;
}

/* Navigation (inside right) */
.main-header__nav {
  margin-right: 20px;
}

.main-menu__list {
  display: none;
  align-items: center;
}

@media (min-width: 1200px) {
  .main-menu__list {
    display: flex;
  }
}

.main-menu__list > li {
  padding: 30px 0;
  position: relative;
}

.main-menu__list > li + li {
  margin-left: 40px;
}

@media (max-width: 1399px) {
  .main-menu__list > li + li {
    margin-left: 28px;
  }
}

.main-menu__list > li > a {
  position: relative;
  display: flex;
  align-items: center;
  font-size: 16px;
  color: var(--mediox-black);
  font-weight: 600;
  text-transform: capitalize;
  line-height: 1.375;
  transition: all 500ms ease;
}

.main-menu__list > li.current > a,
.main-menu__list > li:hover > a {
  color: var(--mediox-base);
}

/* Mobile Nav Toggler (visible < 1200px) */
.mobile-nav__toggler {
  width: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  margin-right: 20px;
}

@media (min-width: 1200px) {
  .mobile-nav__toggler {
    display: none;
  }
}

.mobile-nav__toggler span {
  width: 100%;
  height: 2px;
  background-color: var(--mediox-black);
  display: block;
  transition: all 500ms ease;
}

.mobile-nav__toggler span:nth-child(2) {
  width: 70%;
}

.mobile-nav__toggler:hover span {
  background-color: var(--mediox-text);
  width: 100%;
}

/* Search & Cart */
.main-header__search,
.main-header__cart {
  position: relative;
  font-size: 16px;
  color: var(--mediox-black);
  transition: all 500ms ease;
  line-height: 1;
}

.main-header__search:hover,
.main-header__cart:hover {
  color: var(--mediox-text);
}

.main-header__cart {
  margin-left: 25px;
}

@media (max-width: 767px) {
  .main-header__search,
  .main-header__cart {
    display: none;
  }
}

/* Header CTA Button */
.main-header__btn {
  margin-left: 30px;
}

@media (max-width: 1199px) {
  .main-header__btn {
    display: none !important;
  }
}

@media (min-width: 1200px) {
  .main-header__btn {
    display: inline-flex;
  }
}

/* ============================================
   STICKY HEADER
   ============================================ */
.sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background-color: var(--mediox-white);
  transform: translateY(-100%);
  box-shadow: 0px 3px 18px rgba(var(--mediox-black-rgb), 0.07);
  border-bottom: none;
  visibility: hidden;
  transition: transform 500ms ease, visibility 500ms ease;
}

.sticky-header.active {
  transform: translateY(0%);
  visibility: visible;
}

/* Sticky header overrides — dark text on white bg */
.sticky-header .logo-text {
  color: var(--mediox-black);
}

.sticky-header .logo-sub {
  color: var(--mediox-text);
}

.sticky-header .main-menu__list > li > a {
  color: var(--mediox-black);
}

.sticky-header .main-menu__list > li.current > a,
.sticky-header .main-menu__list > li:hover > a {
  color: var(--mediox-text);
}

.sticky-header .mobile-nav__toggler span {
  background-color: var(--mediox-black);
}

/* (mobile-nav__toggler styles are in the header section above) */

/* ============================================
   MOBILE NAVIGATION
   ============================================ */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  visibility: hidden;
  transition: visibility 500ms ease;
}

.mobile-nav.active {
  visibility: visible;
}

.mobile-nav__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 500ms ease;
}

.mobile-nav.active .mobile-nav__overlay {
  opacity: 1;
}

.mobile-nav__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 300px;
  height: 100%;
  background-color: var(--mediox-black);
  padding: 30px;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 500ms ease;
}

.mobile-nav.active .mobile-nav__content {
  transform: translateX(0);
}

.mobile-nav__close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 20px;
  color: var(--mediox-white);
  transition: all 500ms ease;
}

.mobile-nav__close:hover {
  color: rgba(255, 255, 255, 0.6);
  transform: rotate(90deg);
}

.mobile-nav__logo {
  margin-bottom: 30px;
}

.mobile-nav__logo .logo-text {
  color: var(--mediox-white);
}

.mobile-nav__menu li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav__menu li a {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  color: var(--mediox-white);
  font-weight: 600;
  text-transform: capitalize;
  transition: all 500ms ease;
}

.mobile-nav__menu li a:hover {
  color: rgba(255, 255, 255, 0.6);
  padding-left: 10px;
}

.mobile-nav__contact {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mobile-nav__contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--mediox-white);
}

.mobile-nav__contact a:hover {
  color: rgba(255, 255, 255, 0.6);
}

.mobile-nav__contact a i {
  color: rgba(255, 255, 255, 0.5);
}

.mobile-nav__hours {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav__hours p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

.mobile-nav__hours i {
  color: rgba(255, 255, 255, 0.4);
  margin-right: 6px;
}

/* Footer tagline */
.footer__tagline {
  font-size: 14px;
  font-style: italic;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 8px;
  margin-bottom: 20px;
}

/* ============================================
   MEDIOX BUTTON
   ============================================ */
.mediox-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  vertical-align: middle;
  border: none;
  outline: none;
  background-color: var(--mediox-black);
  font-family: var(--mediox-font);
  font-size: 16px;
  color: var(--mediox-white);
  text-align: center;
  font-weight: 600;
  line-height: 1.75;
  padding: 12px 20.5px;
  cursor: pointer;
  transition: 500ms;
  text-transform: capitalize;
  z-index: 1;
  overflow: hidden;
  border-radius: 100px;
  white-space: nowrap;
}

.mediox-btn::before,
.mediox-btn::after {
  content: "";
  background-color: var(--mediox-base);
  height: calc(100% + 6px);
  width: 0%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: -1;
  transition: all 500ms ease;
}

.mediox-btn::before {
  left: -5px;
  border-radius: 100px 0 0 100px;
}

.mediox-btn::after {
  right: -5px;
  border-radius: 0 100px 100px 0;
}

.mediox-btn:hover::before,
.mediox-btn:hover::after {
  width: calc(50% + 6px);
}

.mediox-btn:hover {
  color: var(--mediox-white);
}

.mediox-btn__icon {
  display: inline-flex;
  font-size: 11px;
  color: var(--mediox-white);
  transition: all 500ms ease;
}

.mediox-btn:hover .mediox-btn__icon {
  transform: rotate(45deg);
}

/* Outline Button Variant */
.mediox-btn--outline {
  background-color: transparent;
  border: 2px solid var(--mediox-white);
}

.mediox-btn--outline::before,
.mediox-btn--outline::after {
  background-color: var(--mediox-black);
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
  position: relative;
  overflow: hidden;
}

.hero-slider .swiper-slide img {
  width: 100%;
  height: 85vh;
  object-fit: cover;
  display: block;
}

.hero-slider__pagination {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 10;
}

.hero-slider__pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  margin: 0 5px;
  transition: all 0.3s ease;
}

.hero-slider__pagination .swiper-pagination-bullet-active {
  background: #fff;
  width: 28px;
  border-radius: 5px;
}

@media (max-width: 991px) {
  .hero-slider .swiper-slide img {
    height: 60vh;
  }
}

@media (max-width: 575px) {
  .hero-slider .swiper-slide img {
    height: 45vh;
  }
}

@media (max-width: 399px) {
  .hero-slider .swiper-slide img {
    height: 40vh;
  }
}

/* LEGACY HERO (unused) */

/* (hero pattern removed — full-screen slide) */

.hero__container {
  position: relative;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

/* Swiper container */
.heroSwiper {
  border-radius: 0;
  overflow: hidden;
}

.heroSwiper .swiper-slide {
  overflow: hidden;
}

/* Individual Slide */
.hero-slide {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

@media (max-width: 991px) {
  .hero-slide {
    height: 60vh;
    min-height: 450px;
  }
}

@media (max-width: 575px) {
  .hero-slide {
    height: 60vh;
    min-height: 350px;
  }
}

@media (max-width: 399px) {
  .hero-slide {
    height: auto;
    min-height: auto;
  }

  .hero-slide__inner {
    padding-top: 90px;
    padding-bottom: 140px;
  }
}

/* Slide Background (real photos) */
.hero-slide__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--mediox-black);
  transition: transform 6s ease;
}

.swiper-slide-active .hero-slide__bg {
  transform: scale(1.08);
}

/* Overlay — blue tint matching the screenshot */
.hero-slide__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(10, 34, 65, 0.85) 0%,
    rgba(30, 60, 114, 0.7) 50%,
    rgba(44, 81, 163, 0.55) 100%
  );
}

/* Decorative dots */
.hero-slide__dots-deco {
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  z-index: 1;
  box-shadow:
    0 30px 0 rgba(255, 255, 255, 0.2),
    0 -30px 0 rgba(255, 255, 255, 0.2),
    30px 0 0 rgba(255, 255, 255, 0.15),
    -30px 0 0 rgba(255, 255, 255, 0.15);
}

/* Slide Inner */
.hero-slide__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 60px 70px;
  padding-bottom: 120px;
}

@media (max-width: 991px) {
  .hero-slide__inner {
    padding: 40px 30px;
    padding-bottom: 110px;
  }
}

@media (max-width: 575px) {
  .hero-slide__inner {
    padding: 30px 20px;
    padding-bottom: 100px;
    align-items: center;
    padding-top: 100px;
  }
}

/* Content */
.hero-slide__content {
  max-width: 650px;
}

@media (max-width: 767px) {
  .hero-slide__content {
    max-width: 100%;
  }
}

/* Subtitle */
.hero-slide__subtitle {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--mediox-white);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
  position: relative;
  padding-left: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease 300ms, transform 600ms ease 300ms;
}

.swiper-slide-active .hero-slide__subtitle {
  opacity: 1;
  transform: translateY(0);
}

/* Title */
.hero-slide__title {
  font-size: 64px;
  font-weight: 800;
  color: var(--mediox-white);
  line-height: 1.15;
  text-transform: capitalize;
  margin-bottom: 20px;
  font-family: var(--mediox-heading);
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 600ms ease 500ms, transform 600ms ease 500ms;
}

/* (cyan title highlight removed) */
.hero-slide__title::before {
  display: none;
}

.swiper-slide-active .hero-slide__title::before {
  opacity: 1;
}

/* Decorative line under title */
.hero-slide__title::after {
  content: '';
  display: block;
  width: 200px;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.35);
  margin-top: 15px;
  position: relative;
}

.swiper-slide-active .hero-slide__title {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1199px) {
  .hero-slide__title {
    font-size: 52px;
  }
}

@media (max-width: 991px) {
  .hero-slide__title {
    font-size: 42px;
  }
}

@media (max-width: 767px) {
  .hero-slide__title {
    font-size: 34px;
  }
}

@media (max-width: 480px) {
  .hero-slide__title {
    font-size: 28px;
  }
}

/* Description */
.hero-slide__text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
  margin-bottom: 30px;
  max-width: 520px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 600ms ease 700ms, transform 600ms ease 700ms;
}

.swiper-slide-active .hero-slide__text {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 767px) {
  .hero-slide__text {
    font-size: 14px;
  }
}

/* Buttons */
.hero-slide__buttons {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 600ms ease 900ms, transform 600ms ease 900ms;
}

.swiper-slide-active .hero-slide__buttons {
  opacity: 1;
  transform: translateY(0);
}

/* Hero dark button — white border */
.hero-slide__buttons .mediox-btn:not(.mediox-btn--outline) {
  border: 2px solid var(--mediox-white);
}

/* Hero outline button — dark border */
.hero-slide__buttons .mediox-btn--outline {
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--mediox-white);
}

/* ============================================
   HERO INFO BAR (bottom of slide)
   ============================================ */
.hero-slide__infobar {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 40px;
  background-color: var(--mediox-black);
  padding: 20px 40px;
  border-radius: 20px 0 0 0;
}

@media (max-width: 767px) {
  .hero-slide__infobar {
    left: 0;
    border-radius: 0;
    padding: 15px 20px;
    gap: 20px;
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .hero-slide__infobar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

.hero-slide__infobar__call {
  display: flex;
  align-items: center;
  gap: 15px;
}

.hero-slide__infobar__call-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--mediox-white);
  font-size: 18px;
  flex-shrink: 0;
}

.hero-slide__infobar__label {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

.hero-slide__infobar__number {
  font-size: 20px;
  font-weight: 700;
  color: var(--mediox-white);
  transition: all 500ms ease;
}

.hero-slide__infobar__number:hover {
  color: rgba(255, 255, 255, 0.7);
}

.hero-slide__infobar__social {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 40px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

@media (max-width: 767px) {
  .hero-slide__infobar__social {
    padding-left: 20px;
  }
}

@media (max-width: 480px) {
  .hero-slide__infobar__social {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 12px;
    width: 100%;
  }
}

.hero-slide__infobar__social-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  position: relative;
  padding-bottom: 2px;
}

.hero-slide__infobar__social-label::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.4);
}

.hero-slide__infobar__social-links {
  display: flex;
  gap: 12px;
}

.hero-slide__infobar__social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--mediox-white);
  transition: all 500ms ease;
}

.hero-slide__infobar__social-links a:hover {
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   HERO COUNTER (left side)
   ============================================ */
/* ============================================
   HERO COUNTER (left side, overlaid on slide)
   ============================================ */
.hero__counter {
  position: absolute;
  left: 40px;
  bottom: 120px;
  z-index: 10;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

@media (max-width: 767px) {
  .hero__counter {
    display: none;
  }
}

.hero__counter__current {
  font-size: 50px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1;
}

.hero__counter__sep {
  font-size: 18px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   HERO NAV (right side, overlaid on slide)
   ============================================ */
.hero__nav {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 767px) {
  .hero__nav {
    display: none;
  }
}

.hero__nav__btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--mediox-white);
  background-color: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  transition: all 500ms ease;
  cursor: pointer;
}

.hero__nav__btn:hover {
  background-color: var(--mediox-white);
  border-color: var(--mediox-white);
  color: var(--mediox-black);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
  position: relative;
  padding: 80px 0 60px;
  background-color: var(--mediox-white);
  overflow: hidden;
}

@media (max-width: 767px) {
  .features {
    padding: 50px 0 40px;
  }
}

.features__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

@media (max-width: 991px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575px) {
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

}

.features__card {
  background-color: var(--mediox-white);
  border-radius: 16px;
  padding: 35px 30px;
  transition: all 500ms ease;
  box-shadow: 0 5px 25px rgba(var(--mediox-black-rgb), 0.12);
}

.features__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(var(--mediox-black-rgb), 0.18);
}

.features__icon {
  width: 70px;
  height: 70px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--mediox-white);
  background-color: #33C1ED;
  margin-bottom: 22px;
  transition: all 500ms ease;
}

.features__card:hover .features__icon {
  background-color: var(--mediox-black);
}

.features__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--mediox-black);
  margin-bottom: 10px;
}

.features__text {
  font-size: 15px;
  color: var(--mediox-text);
  line-height: 1.7;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
  padding: 100px 0;
  background-color: var(--mediox-white);
  overflow: hidden;
}

@media (max-width: 767px) {
  .about {
    padding: 60px 0;
  }
}

.about__row {
  display: flex;
  align-items: center;
  gap: 70px;
}

@media (max-width: 991px) {
  .about__row {
    flex-direction: column;
    gap: 50px;
  }
}

/* ---- Left: Images ---- */
.about__images {
  position: relative;
  flex-shrink: 0;
  width: 520px;
  min-height: 500px;
}

@media (max-width: 1199px) {
  .about__images {
    width: 450px;
  }
}

@media (max-width: 991px) {
  .about__images {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
  }
}

/* Blob shape behind images */
.about__images__shape {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 400px;
  height: 440px;
  background-color: var(--mediox-white2);
  border-radius: 0 200px 200px 0;
  z-index: 0;
}

@media (max-width: 575px) {
  .about__images__shape {
    width: 280px;
    height: 340px;
  }
}

/* Main image (top left) */
.about__images__main {
  position: relative;
  z-index: 1;
  width: 340px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(var(--mediox-black-rgb), 0.1);
}

@media (max-width: 575px) {
  .about__images__main {
    width: 260px;
  }
}

.about__images__main img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

@media (max-width: 575px) {
  .about__images__main img {
    height: 220px;
  }
}

/* Secondary image (bottom right, overlapping) */
.about__images__secondary {
  position: absolute;
  bottom: 20px;
  right: 0;
  z-index: 2;
  width: 300px;
  border-radius: 16px;
  overflow: hidden;
  border: 5px solid var(--mediox-white);
  box-shadow: 0 10px 40px rgba(var(--mediox-black-rgb), 0.12);
}

@media (max-width: 575px) {
  .about__images__secondary {
    width: 220px;
    bottom: 10px;
  }
}

.about__images__secondary img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

@media (max-width: 575px) {
  .about__images__secondary img {
    height: 230px;
  }
}

/* Cross icon on secondary image */
.about__images__secondary-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 45px;
  height: 45px;
  background-color: var(--mediox-black);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--mediox-white);
  z-index: 3;
}

/* Float image (dental tools, top right) */
.about__images__float {
  position: absolute;
  top: -20px;
  right: 20px;
  z-index: 1;
  width: 180px;
}

@media (max-width: 575px) {
  .about__images__float {
    width: 130px;
    top: -10px;
    right: 10px;
  }
}

.about__images__float img {
  width: 100%;
  height: auto;
  display: block;
}

/* Decorative dots */
.about__images__dots {
  position: absolute;
  top: 40%;
  left: 40%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 2px solid var(--mediox-border-color);
  z-index: 3;
}

.about__images__dots::before {
  content: '';
  position: absolute;
  top: -30px;
  left: -20px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--mediox-black);
  opacity: 0.15;
}

/* ---- Right: Content ---- */
.about__content {
  flex: 1;
}

.about__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--mediox-black);
  margin-bottom: 15px;
}

.about__tag i {
  font-size: 16px;
  color: var(--mediox-black);
}

.about__title {
  font-size: 42px;
  font-weight: 800;
  color: var(--mediox-black);
  line-height: 1.2;
  margin-bottom: 20px;
  font-family: var(--mediox-heading);
}

@media (max-width: 1199px) {
  .about__title {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  .about__title {
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  .about__title {
    font-size: 26px;
  }
}

.about__text {
  font-size: 16px;
  color: var(--mediox-text);
  line-height: 1.75;
  margin-bottom: 30px;
}

/* Checklist */
.about__list {
  display: flex;
  gap: 40px;
  margin-bottom: 35px;
}

@media (max-width: 575px) {
  .about__list {
    flex-direction: column;
    gap: 0;
  }
}

.about__list-col {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.about__list-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.about__list-item i {
  font-size: 14px;
  color: var(--mediox-black);
  flex-shrink: 0;
}

.about__list-item span {
  font-size: 16px;
  font-weight: 600;
  color: var(--mediox-black);
}

/* Button */
.about__btn {
  margin-top: 5px;
}

/* ============================================
   STATS COUNTER
   ============================================ */
.stats {
  position: relative;
  z-index: 5;
  margin-top: -40px;
  margin-bottom: -40px;
}

.stats__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--mediox-white);
  border-radius: 16px;
  padding: 35px 50px;
  box-shadow: 0 10px 50px rgba(var(--mediox-black-rgb), 0.1);
}

@media (max-width: 991px) {
  .stats__bar {
    padding: 30px 30px;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .stats__bar {
    padding: 25px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    text-align: center;
  }
}

.stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.stats__number {
  font-size: 40px;
  font-weight: 800;
  color: var(--mediox-black);
  line-height: 1;
  font-family: var(--mediox-heading);
}

@media (max-width: 767px) {
  .stats__number {
    font-size: 32px;
  }
}

.stats__label {
  font-size: 15px;
  color: var(--mediox-text);
  font-weight: 500;
}

.stats__divider {
  width: 1px;
  height: 50px;
  background-color: var(--mediox-border-color);
  flex-shrink: 0;
}

@media (max-width: 575px) {
  .stats__divider {
    display: none;
  }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  position: relative;
  padding: 100px 0 70px;
  background-color: var(--mediox-black);
  overflow: hidden;
}

@media (max-width: 767px) {
  .services {
    padding: 80px 0 50px;
  }
}

/* Tooth pattern background */
.services__bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='140' viewBox='0 0 120 140'%3E%3Cpath d='M60 10c-8 0-15 3-20 8s-8 12-8 19c0 8 3 13 5 20s5 20 8 26c2 3 3 5 5 5s3-2 5-7l5-13 5 13c2 5 3 7 5 7s3-2 5-5c3-6 6-19 8-26s5-12 5-20c0-7-3-14-8-19s-12-8-20-8z' fill='rgba(255,255,255,0.03)' /%3E%3C/svg%3E");
  background-size: 180px 210px;
  pointer-events: none;
  z-index: 0;
}

/* Section Header */
.services__header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 25px;
}

@media (max-width: 575px) {
  .services__header {
    flex-direction: column;
    align-items: flex-start;
  }
}

.services__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
}

.services__tag i {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.services__heading {
  font-size: 42px;
  font-weight: 800;
  color: var(--mediox-white);
  line-height: 1.2;
  font-family: var(--mediox-heading);
}

@media (max-width: 1199px) {
  .services__heading {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  .services__heading {
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  .services__heading {
    font-size: 26px;
  }
}

.services__header-right {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.services__nav-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  color: var(--mediox-white);
  background-color: transparent;
  border: 2px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 500ms ease;
}

.services__nav-btn:hover {
  background-color: var(--mediox-white);
  border-color: var(--mediox-white);
  color: var(--mediox-black);
}

.services__divider {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.12);
  margin-bottom: 40px;
}

/* Swiper */
.servicesSwiper {
  position: relative;
  z-index: 1;
  overflow: visible;
}

/* Service Card */
.services__card {
  display: flex;
  flex-direction: column;
  background-color: var(--mediox-white);
  border-radius: 16px;
  overflow: hidden;
  height: 320px;
  transition: all 500ms ease;
}

.services__card:hover {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.services__card-image {
  flex: 1;
  overflow: hidden;
}

.services__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms ease;
}

.services__card:hover .services__card-image img {
  transform: scale(1.05);
}

/* Bottom strip with horizontal title + arrow */
.services__card-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  background-color: var(--mediox-white);
}

.services__card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--mediox-black);
  letter-spacing: 0.3px;
}

.services__card-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background-color: var(--mediox-black);
  color: var(--mediox-white);
  font-size: 14px;
  flex-shrink: 0;
  transition: all 500ms ease;
}

.services__card:hover .services__card-arrow {
  background-color: #33C1ED;
}

/* Bottom text */
.services__bottom {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-top: 40px;
}

.services__bottom p {
  display: inline-block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  background-color: rgba(255, 255, 255, 0.06);
  padding: 10px 25px;
  border-radius: 100px;
}

.services__bottom a {
  color: var(--mediox-white);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.services__bottom a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */
.why-choose {
  position: relative;
  padding: 100px 0;
  background-color: var(--mediox-white);
  overflow: hidden;
}

@media (max-width: 767px) {
  .why-choose {
    padding: 60px 0;
  }
}

/* Section Header (centered) */
.why-choose__header {
  text-align: center;
  margin-bottom: 40px;
}

.why-choose__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--mediox-black);
  margin-bottom: 12px;
}

.why-choose__tag i {
  font-size: 14px;
  color: var(--mediox-black);
}

.why-choose__heading {
  font-size: 42px;
  font-weight: 800;
  color: var(--mediox-black);
  line-height: 1.2;
  font-family: var(--mediox-heading);
}

@media (max-width: 1199px) {
  .why-choose__heading {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  .why-choose__heading {
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  .why-choose__heading {
    font-size: 26px;
  }
}

/* Content Box */
.why-choose__box {
  background-color: var(--mediox-white2);
  border-radius: 20px;
  padding: 40px 50px 50px;
  position: relative;
  z-index: 1;
}

@media (max-width: 991px) {
  .why-choose__box {
    padding: 30px 25px 35px;
  }
}

@media (max-width: 575px) {
  .why-choose__box {
    padding: 25px 15px 30px;
  }
}

/* Tab Buttons */
.why-choose__tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 35px;
}

@media (max-width: 575px) {
  .why-choose__tabs {
    gap: 6px;
  }

  .why-choose__tab {
    padding: 8px 14px;
    font-size: 12px;
    border-width: 1.5px;
  }
}

.why-choose__tab {
  padding: 10px 28px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  color: var(--mediox-black);
  background-color: var(--mediox-white);
  border: 2px solid var(--mediox-border-color);
  cursor: pointer;
  transition: all 400ms ease;
  font-family: var(--mediox-font);
}

.why-choose__tab:hover {
  border-color: var(--mediox-black);
}

.why-choose__tab.active {
  background-color: var(--mediox-black);
  border-color: var(--mediox-black);
  color: var(--mediox-white);
}

/* Tab Panels */
.why-choose__panel {
  display: none;
}

.why-choose__panel.active {
  display: block;
  animation: whyFadeIn 500ms ease;
}

@keyframes whyFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.why-choose__panel-inner {
  display: flex;
  gap: 40px;
  align-items: stretch;
}

@media (max-width: 991px) {
  .why-choose__panel-inner {
    flex-direction: column;
    gap: 30px;
  }
}

/* Images Layout */
.why-choose__images {
  display: flex;
  gap: 15px;
  flex-shrink: 0;
  width: 55%;
}

@media (max-width: 991px) {
  .why-choose__images {
    width: 100%;
  }
}

@media (max-width: 575px) {
  .why-choose__images {
    flex-direction: column;
  }
}

.why-choose__img-main {
  flex: 1.4;
  border-radius: 14px;
  overflow: hidden;
}

.why-choose__img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  min-height: 300px;
}

@media (max-width: 575px) {
  .why-choose__img-main img {
    min-height: 220px;
  }
}

.why-choose__img-stack {
  flex: 0.8;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

@media (max-width: 575px) {
  .why-choose__img-stack {
    flex-direction: row;
  }
}

.why-choose__img-small {
  flex: 1;
  border-radius: 14px;
  overflow: hidden;
}

.why-choose__img-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Text Content */
.why-choose__info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--mediox-white);
  border-radius: 14px;
  padding: 35px 30px;
}

@media (max-width: 575px) {
  .why-choose__info {
    padding: 25px 20px;
  }
}

.why-choose__info-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--mediox-black);
  margin-bottom: 15px;
  line-height: 1.3;
}

@media (max-width: 767px) {
  .why-choose__info-title {
    font-size: 20px;
  }
}

.why-choose__info-text {
  font-size: 15px;
  color: var(--mediox-text);
  line-height: 1.75;
  margin-bottom: 25px;
}

/* Check Points */
.why-choose__points {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.why-choose__points-row {
  display: flex;
  gap: 30px;
}

@media (max-width: 575px) {
  .why-choose__points-row {
    flex-direction: column;
    gap: 12px;
  }
}

.why-choose__point {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.why-choose__point i {
  font-size: 12px;
  color: var(--mediox-black);
}

.why-choose__point span {
  font-size: 15px;
  font-weight: 600;
  color: var(--mediox-black);
}

/* Decorative Elements */
.why-choose__deco-plus {
  position: absolute;
  top: 50%;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--mediox-white2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--mediox-white);
  z-index: 0;
}

@media (max-width: 1199px) {
  .why-choose__deco-plus {
    display: none;
  }
}

.why-choose__deco-star {
  position: absolute;
  font-size: 18px;
  color: var(--mediox-border-color);
  z-index: 0;
}

.why-choose__deco-star--1 {
  top: 22%;
  right: 60px;
}

.why-choose__deco-star--2 {
  top: 55%;
  right: 100px;
}

@media (max-width: 1199px) {
  .why-choose__deco-star {
    display: none;
  }
}

/* ============================================
   BRANDS / PARTNERS SLIDER
   ============================================ */
.brands {
  padding: 40px 0;
  background-color: var(--mediox-white);
  border-top: 1px solid var(--mediox-border-color);
}

.brands__item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  padding: 10px 20px;
  opacity: 0.3;
  transition: opacity 500ms ease;
  cursor: default;
}

.brands__item:hover {
  opacity: 0.6;
}

.brands__logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--mediox-black);
  text-align: center;
  line-height: 1.2;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  user-select: none;
}

/* ============================================
   SKILLFUL SECTION
   ============================================ */
.skillful {
  position: relative;
  padding: 100px 0;
  background-color: var(--mediox-black);
  overflow: hidden;
}

@media (max-width: 767px) {
  .skillful {
    padding: 60px 0;
  }
}

/* Tooth pattern bg */
.skillful__bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='140' viewBox='0 0 120 140'%3E%3Cpath d='M60 10c-8 0-15 3-20 8s-8 12-8 19c0 8 3 13 5 20s5 20 8 26c2 3 3 5 5 5s3-2 5-7l5-13 5 13c2 5 3 7 5 7s3-2 5-5c3-6 6-19 8-26s5-12 5-20c0-7-3-14-8-19s-12-8-20-8z' fill='rgba(255,255,255,0.03)' /%3E%3C/svg%3E");
  background-size: 180px 210px;
  pointer-events: none;
  z-index: 0;
}

.skillful__row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 60px;
}

@media (max-width: 991px) {
  .skillful__row {
    flex-direction: column;
    gap: 40px;
  }
}

/* Left Content */
.skillful__content {
  flex: 1;
}

.skillful__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 15px;
}

.skillful__tag i {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
}

.skillful__title {
  font-size: 42px;
  font-weight: 800;
  color: var(--mediox-white);
  line-height: 1.2;
  margin-bottom: 20px;
  font-family: var(--mediox-heading);
}

@media (max-width: 1199px) {
  .skillful__title {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  .skillful__title {
    font-size: 30px;
  }
}

@media (max-width: 480px) {
  .skillful__title {
    font-size: 26px;
  }
}

.skillful__text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
  margin-bottom: 35px;
  max-width: 520px;
}

/* Progress Bars */
.skillful__bars {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 520px;
}

.skillful__bar-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.skillful__bar-label {
  font-size: 16px;
  font-weight: 700;
  color: var(--mediox-white);
}

.skillful__bar-value {
  font-size: 16px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
}

.skillful__bar-track {
  width: 100%;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  overflow: hidden;
}

.skillful__bar-fill {
  height: 100%;
  width: 0;
  background-color: var(--mediox-white);
  border-radius: 100px;
  transition: width 1.5s ease;
}

.skillful__bar-fill.animated {
  width: var(--bar-width);
}

/* Right Image */
.skillful__image {
  position: relative;
  flex-shrink: 0;
  width: 480px;
}

@media (max-width: 1199px) {
  .skillful__image {
    width: 400px;
  }
}

@media (max-width: 991px) {
  .skillful__image {
    width: 100%;
    max-width: 480px;
  }
}

/* Blob outline shape */
.skillful__image-shape {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%;
  z-index: 0;
}

.skillful__image-inner {
  position: relative;
  z-index: 1;
  border-radius: 40% 60% 55% 45% / 55% 40% 60% 45%;
  overflow: hidden;
}

.skillful__image-inner img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

@media (max-width: 767px) {
  .skillful__image-inner img {
    height: 320px;
  }
}

/* ============================================
   WORK PROCESS SECTION
   ============================================ */
.process {
  padding: 100px 0;
  background-color: var(--mediox-white);
  overflow: hidden;
}

@media (max-width: 767px) {
  .process {
    padding: 60px 0;
  }
}

.process__header {
  text-align: center;
  margin-bottom: 60px;
}

@media (max-width: 767px) {
  .process__header {
    margin-bottom: 40px;
  }
}

.process__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--mediox-black);
  margin-bottom: 12px;
}

.process__tag i {
  font-size: 14px;
  color: var(--mediox-black);
}

.process__heading {
  font-size: 42px;
  font-weight: 800;
  color: var(--mediox-black);
  line-height: 1.2;
  font-family: var(--mediox-heading);
}

@media (max-width: 1199px) {
  .process__heading {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  .process__heading {
    font-size: 30px;
  }
}

/* Grid: zigzag layout */
.process__grid {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  position: relative;
}

@media (max-width: 991px) {
  .process__grid {
    flex-wrap: wrap;
    gap: 40px 20px;
  }
}

@media (max-width: 575px) {
  .process__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px 12px;
    >.process__item{
      width: 100%;
      text-align: left;
      p{
        line-height: 20px;
      }
    }
  }
}

/* Each step item */
.process__item {
  position: relative;
  text-align: center;
  width: 240px;
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .process__item {
    width: calc(50% - 20px);
  }
}

@media (max-width: 575px) {
  .process__item {
    width: 100%;
    max-width: none;
  }

  .process__icon-wrap {
    margin-bottom: 12px;
  }

  .process__icon {
    width: 60px;
    height: 60px;
    font-size: 22px;
  }

  .process__step {
    width: 24px;
    height: 24px;
    font-size: 11px;
  }

  .process__title {
    font-size: 15px;
    margin-bottom: 5px;
  }

  .process__text {
    font-size: 12px;
    line-height: 1.6;
  }

  .process__connector {
    display: none;
  }
}

/* Zigzag: odd items up, even items down */
.process__item--up {
  margin-top: 0;
}

.process__item--down {
  margin-top: 80px;
}

@media (max-width: 991px) {
  .process__item--down {
    margin-top: 0;
  }
}

/* Icon wrapper with step number */
.process__icon-wrap {
  position: relative;
  display: inline-flex;
  margin-bottom: 20px;
}

.process__step {
  position: absolute;
  top: -5px;
  left: -5px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: var(--mediox-black);
  color: var(--mediox-white);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.process__icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--mediox-white2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: var(--mediox-black);
  transition: all 500ms ease;
}

.process__item:hover .process__icon {
  background-color: var(--mediox-black);
  color: var(--mediox-white);
}

.process__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--mediox-black);
  margin-bottom: 8px;
}

.process__text {
  font-size: 15px;
  color: var(--mediox-text);
  line-height: 1.7;
}

/* Connector line between steps */
.process__connector {
  position: absolute;
  top: 40px;
  right: -30px;
  width: 50px;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--mediox-border-color) 0,
    var(--mediox-border-color) 6px,
    transparent 6px,
    transparent 12px
  );
}

@media (max-width: 991px) {
  .process__connector {
    display: none;
  }
}

/* ============================================
   GALLERY + WELCOME CTA SECTION
   ============================================ */
.gallery-cta {
  padding: 80px 0;
  background-color: var(--mediox-white2);
  overflow: hidden;
}

@media (max-width: 767px) {
  .gallery-cta {
    padding: 50px 0;
  }
}

/* Gallery Slider */
.gallery-cta__gallery {
  margin-bottom: 50px;
}

.gallerySwiper {
  overflow: visible;
}

.gallery-cta__img {
  border-radius: 16px;
  overflow: hidden;
  height: 220px;
}

@media (max-width: 767px) {
  .gallery-cta__img {
    height: 170px;
  }
}

.gallery-cta__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms ease;
}

.gallery-cta__img:hover img {
  transform: scale(1.05);
}

/* Active slide highlight */
.gallerySwiper .swiper-slide-active .gallery-cta__img {
  box-shadow: 0 8px 30px rgba(var(--mediox-black-rgb), 0.15);
}

/* Welcome CTA Box */
.gallery-cta__box {
  display: flex;
  align-items: stretch;
  background: linear-gradient(135deg, var(--mediox-black) 0%, #132f4f 60%, #1a3a5c 100%);
  border-radius: 20px;
  overflow: hidden;
  min-height: 380px;
}

@media (max-width: 991px) {
  .gallery-cta__box {
    flex-direction: column;
  }
}

/* Left content */
.gallery-cta__content {
  flex: 1;
  padding: 50px 55px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 767px) {
  .gallery-cta__content {
    padding: 35px 25px;
  }
}

.gallery-cta__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 15px;
}

.gallery-cta__tag i {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
}

.gallery-cta__title {
  font-size: 38px;
  font-weight: 800;
  color: var(--mediox-white);
  line-height: 1.2;
  margin-bottom: 18px;
  font-family: var(--mediox-heading);
}

@media (max-width: 1199px) {
  .gallery-cta__title {
    font-size: 32px;
  }
}

@media (max-width: 767px) {
  .gallery-cta__title {
    font-size: 28px;
  }
}

.gallery-cta__text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
  margin-bottom: 30px;
  max-width: 480px;
}

/* Right image */
.gallery-cta__image {
  flex-shrink: 0;
  width: 45%;
  position: relative;
  overflow: hidden;
}

@media (max-width: 991px) {
  .gallery-cta__image {
    width: 100%;
    height: 300px;
  }
}

.gallery-cta__image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 120px;
  height: 100%;
  background: linear-gradient(90deg, var(--mediox-black) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 991px) {
  .gallery-cta__image::before {
    width: 100%;
    height: 60px;
    background: linear-gradient(180deg, var(--mediox-black) 0%, transparent 100%);
  }
}

.gallery-cta__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
  padding: 100px 0 80px;
  background-color: var(--mediox-white);
  overflow: hidden;
}

.testimonials .container {
  max-width: 95%;
}

@media (max-width: 767px) {
  .testimonials {
    padding: 60px 0 50px;
  }
}

.testimonials__header {
  text-align: center;
  margin-bottom: 50px;
}

.testimonials__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--mediox-black);
  margin-bottom: 12px;
}

.testimonials__tag i {
  font-size: 14px;
  color: var(--mediox-black);
}

.testimonials__heading {
  font-size: 42px;
  font-weight: 800;
  color: var(--mediox-black);
  line-height: 1.2;
  font-family: var(--mediox-heading);
}

@media (max-width: 1199px) {
  .testimonials__heading {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  .testimonials__heading {
    font-size: 30px;
  }
}

/* Card */
.testimonials__card {
  background-color: var(--mediox-white2);
  border-radius: 16px;
  padding: 35px 30px 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Top: quote + stars */
.testimonials__card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.testimonials__quote {
  font-size: 36px;
  color: var(--mediox-black);
  line-height: 1;
  opacity: 0.2;
}

.testimonials__stars {
  display: inline-flex;
  gap: 3px;
  background-color: var(--mediox-black);
  padding: 6px 14px;
  border-radius: 100px;
}

.testimonials__stars i {
  font-size: 12px;
  color: var(--mediox-white);
}

/* Text */
.testimonials__card-text {
  font-size: 16px;
  color: var(--mediox-text);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 25px;
}

/* Bottom: info + avatar */
.testimonials__card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.testimonials__card-info {
  background-color: var(--mediox-black);
  border-radius: 12px;
  padding: 12px 22px;
}

.testimonials__card-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--mediox-white);
  margin-bottom: 2px;
}

.testimonials__card-role {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 400;
}

.testimonials__card-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--mediox-border-color);
  flex-shrink: 0;
}

.testimonials__card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Swiper Pagination */
.testimonials__pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.testimonials__pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--mediox-border-color);
  opacity: 1;
  transition: all 400ms ease;
}

.testimonials__pagination .swiper-pagination-bullet-active {
  background-color: var(--mediox-black);
  transform: scale(1.2);
}

/* ============================================
   TEAM SECTION
   ============================================ */
.team {
  padding: 100px 0;
  background-color: var(--mediox-white);
  overflow: hidden;
}

@media (max-width: 767px) {
  .team {
    padding: 60px 0;
  }
}

.team__header {
  text-align: center;
  margin-bottom: 60px;
}

.team__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--mediox-black);
  margin-bottom: 12px;
}

.team__tag i {
  font-size: 14px;
}

.team__heading {
  font-size: 42px;
  font-weight: 800;
  color: var(--mediox-black);
  line-height: 1.2;
  font-family: var(--mediox-heading);
}

@media (max-width: 1199px) {
  .team__heading { font-size: 36px; }
}

@media (max-width: 767px) {
  .team__heading { font-size: 30px; }
}

/* Grid — zigzag */
.team__grid {
  display: flex;
  justify-content: center;
  gap: 30px;
}

@media (max-width: 991px) {
  .team__grid {
    flex-wrap: wrap;
    gap: 40px 25px;
  }
}

@media (max-width: 575px) {
  .team__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px 20px;
  }
}

.team__card {
  text-align: center;
  width: 250px;
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .team__card {
    width: calc(50% - 20px);
  }
}

@media (max-width: 575px) {
  .team__card {
    width: 100%;
    max-width: none;
  }

  .team__card-hex {
    width: 120px;
    height: 140px;
    margin-bottom: 10px;
  }

  .team__card-name {
    font-size: 14px;
  }

  .team__card-role {
    font-size: 12px;
  }

  .team__card-social a {
    width: 26px;
    height: 26px;
    font-size: 10px;
  }
}

.team__card--up {
  margin-top: 0;
}

.team__card--down {
  margin-top: 60px;
}

@media (max-width: 991px) {
  .team__card--down {
    margin-top: 0;
  }
}

/* Hexagon */
.team__card-hex {
  position: relative;
  width: 220px;
  height: 250px;
  margin: 0 auto 20px;
}

@media (max-width: 575px) {
  .team__card-hex {
    width: 200px;
    height: 230px;
  }
}

/* Hexagon border outline */
.team__card-hex-border {
  position: absolute;
  top: -8px;
  left: -8px;
  width: calc(100% + 16px);
  height: calc(100% + 16px);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background-color: var(--mediox-border-color);
  z-index: 0;
  transition: background-color 500ms ease;
}

.team__card:hover .team__card-hex-border {
  background-color: var(--mediox-black);
}

/* Inner hex with image */
.team__card-hex-inner {
  position: relative;
  width: 100%;
  height: 100%;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  overflow: hidden;
  z-index: 1;
}

.team__card-hex-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hover overlay with social icons */
.team__card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(var(--mediox-black-rgb), 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 500ms ease;
}

.team__card:hover .team__card-overlay {
  opacity: 1;
}

.team__card-social {
  display: flex;
  gap: 10px;
}

.team__card-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--mediox-white);
  font-size: 14px;
  transition: all 400ms ease;
}

.team__card-social a:hover {
  background-color: var(--mediox-white);
  border-color: var(--mediox-white);
  color: var(--mediox-black);
}

/* Name & Role */
.team__card-info {
  padding-top: 5px;
}

.team__card-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--mediox-black);
  margin-bottom: 4px;
}

.team__card-role {
  font-size: 15px;
  color: var(--mediox-text);
  font-weight: 500;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
  padding: 100px 0;
  background-color: var(--mediox-white2);
  overflow: hidden;
}

@media (max-width: 767px) {
  .faq {
    padding: 60px 0;
  }
}

.faq__row {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

@media (max-width: 991px) {
  .faq__row {
    flex-direction: column;
    gap: 40px;
  }
}

/* Left */
.faq__left {
  flex-shrink: 0;
  width: 360px;
  position: sticky;
  top: 120px;
}

@media (max-width: 991px) {
  .faq__left {
    width: 100%;
    position: static;
  }
}

.faq__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--mediox-black);
  margin-bottom: 12px;
}

.faq__tag i {
  font-size: 14px;
}

.faq__heading {
  font-size: 42px;
  font-weight: 800;
  color: var(--mediox-black);
  line-height: 1.2;
  margin-bottom: 18px;
  font-family: var(--mediox-heading);
}

@media (max-width: 1199px) {
  .faq__heading { font-size: 36px; }
}

@media (max-width: 767px) {
  .faq__heading { font-size: 30px; }
}

.faq__text {
  font-size: 16px;
  color: var(--mediox-text);
  line-height: 1.75;
  margin-bottom: 30px;
}

/* Right — Accordion */
.faq__right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  background-color: var(--mediox-white);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 400ms ease;
}

.faq__item.active {
  box-shadow: 0 5px 25px rgba(var(--mediox-black-rgb), 0.06);
}

.faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 28px;
  font-size: 17px;
  font-weight: 700;
  color: var(--mediox-black);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 15px;
  font-family: var(--mediox-font);
  transition: color 400ms ease;
}

.faq__item.active .faq__question {
  color: var(--mediox-black);
}

.faq__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--mediox-white2);
  font-size: 14px;
  color: var(--mediox-black);
  flex-shrink: 0;
  transition: all 400ms ease;
}

.faq__item.active .faq__icon {
  background-color: var(--mediox-black);
  color: var(--mediox-white);
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 500ms ease;
}

.faq__answer p {
  padding: 0 28px 22px;
  font-size: 15px;
  color: var(--mediox-text);
  line-height: 1.75;
}

/* ============================================
   MOBILE RESPONSIVE FIXES
   ============================================ */

/* --- 480px: Extreme small phones --- */
@media (max-width: 480px) {

  /* ---- HEADER ---- */
  .main-header__inner {
    padding: 12px 0;
    min-height: 60px;
  }

  /* Hide sidebar toggler on phone — keep only mobile toggler */
  .sidebar-btn__toggler {
    display: none;
  }

  .main-header__left {
    gap: 10px;
  }

  .logo-icon svg {
    width: 34px;
    height: 34px;
  }

  .logo-text {
    font-size: 20px;
  }

  .logo-sub {
    font-size: 7px;
    letter-spacing: 1px;
  }

  .main-header__logo__shape {
    width: 7px;
    height: 7px;
    left: 28px;
  }

  /* Mobile nav toggler always visible on phone */
  .mobile-nav__toggler {
    display: flex;
    margin-right: 0;
  }

  /* Hide search/cart on phone */
  .main-header__search,
  .main-header__cart {
    display: none;
  }

  .container-fluid {
    padding: 0 12px;
  }

  /* Mobile nav sidebar */
  .mobile-nav__content {
    width: 280px;
    padding: 25px 20px;
  }

  /* ---- HERO ---- */
  .hero {
    padding: 0;
  }

  .hero__container {
    padding: 0;
  }

  .heroSwiper {
    border-radius: 0;
  }

  .hero-slide {
    height: 85vh;
    min-height: 500px;
  }

  .hero-slide__inner {
    padding: 30px 20px;
    padding-bottom: 100px;
    align-items: center;
    padding-top: 100px;
  }

  .hero-slide__subtitle {
    font-size: 11px;
    letter-spacing: 2px;
    margin-bottom: 15px;
  }

  .hero-slide__title {
    font-size: 26px;
    margin-bottom: 15px;
  }

  /* Remove the cyan block on mobile — too wide */
  .hero-slide__title::before {
    display: none;
  }

  .hero-slide__title::after {
    width: 120px;
    height: 2px;
    margin-top: 10px;
  }

  .hero-slide__text {
    font-size: 13px;
    line-height: 1.65;
    margin-bottom: 25px;
  }

  .hero-slide__buttons {
    gap: 10px;
    margin-bottom: 0;
  }

  .hero-slide__buttons .mediox-btn {
    padding: 10px 18px;
    font-size: 13px;
  }

  /* Infobar — compact horizontal on phone */
  .hero-slide__infobar {
    left: 0;
    right: 0;
    border-radius: 0 0 14px 14px;
    padding: 14px 20px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
  }

  .hero-slide__infobar__call {
    gap: 10px;
  }

  .hero-slide__infobar__call-icon {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .hero-slide__infobar__label {
    font-size: 11px;
  }

  .hero-slide__infobar__number {
    font-size: 15px;
  }

  .hero-slide__infobar__social {
    padding-left: 0;
    border-left: none;
    border-top: none;
    padding-top: 0;
    width: auto;
    flex-direction: row;
    align-items: center;
    gap: 5px;
  }

  .hero-slide__infobar__social-label {
    display: none;
  }

  .hero-slide__infobar__social-links {
    gap: 10px;
  }

  .hero-slide__infobar__social-links a {
    font-size: 13px;
  }

  /* Hero counter */
  .hero__counter__current {
    font-size: 36px;
  }

  /* Features card padding */
  .features__card {
    padding: 25px 20px;
  }

  .features__icon {
    width: 55px;
    height: 55px;
    font-size: 22px;
    border-radius: 12px;
  }

  /* Stats bar */
  .stats__bar {
    padding: 20px 15px;
  }

  .stats__number {
    font-size: 28px;
  }

  .stats__label {
    font-size: 13px;
  }

  /* Services card */
  .services__card {
    height: 260px;
  }

  .services__card-info {
    padding: 12px 15px;
  }

  .services__card-title {
    font-size: 14px;
  }

  .services__card-arrow {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    font-size: 12px;
  }

  /* Services nav buttons */
  .services__nav-btn {
    width: 40px;
    height: 40px;
    font-size: 13px;
  }

  /* Why choose tab buttons */
  .why-choose__tab {
    padding: 8px 18px;
    font-size: 13px;
  }

  .why-choose__info {
    padding: 20px 15px;
  }

  .why-choose__info-title {
    font-size: 18px;
  }

  /* Brands item */
  .brands__logo {
    font-size: 14px;
  }

  /* Skillful section */
  .skillful__bars {
    gap: 18px;
  }

  .skillful__bar-label,
  .skillful__bar-value {
    font-size: 14px;
  }

  /* Process items */
  .process__icon {
    width: 65px;
    height: 65px;
    font-size: 24px;
  }

  .process__step {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }

  .process__title {
    font-size: 18px;
  }

  /* Gallery CTA title */
  .gallery-cta__title {
    font-size: 24px;
  }

  .gallery-cta__text {
    font-size: 14px;
  }

  .gallery-cta__img {
    height: 140px;
  }

  /* Testimonials */
  .testimonials__heading {
    font-size: 26px;
  }

  .testimonials__card {
    padding: 25px 20px 20px;
  }

  .testimonials__card-text {
    font-size: 14px;
  }

  .testimonials__card-avatar {
    width: 65px;
    height: 65px;
  }

  .testimonials__card-info {
    padding: 10px 16px;
  }

  .testimonials__card-name {
    font-size: 14px;
  }

  .testimonials__card-role {
    font-size: 12px;
  }

  .testimonials__quote {
    font-size: 28px;
  }

  .testimonials__stars {
    padding: 5px 10px;
  }

  .testimonials__stars i {
    font-size: 10px;
  }

  /* Team */
  .team__heading {
    font-size: 26px;
  }

  .team__card-hex {
    width: 180px;
    height: 210px;
  }

  .team__card-name {
    font-size: 18px;
  }

  .team__card-social a {
    width: 34px;
    height: 34px;
    font-size: 12px;
  }

  /* FAQ */
  .faq__heading {
    font-size: 26px;
  }

  .faq__question {
    padding: 18px 20px;
    font-size: 15px;
    gap: 10px;
  }

  .faq__icon {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  .faq__answer p {
    padding: 0 20px 18px;
    font-size: 14px;
  }

  /* Back to top */
  .back-to-top {
    bottom: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    font-size: 14px;
  }
}

/* --- 767px: Tablets & Large Phones --- */
@media (max-width: 767px) {

  /* Header */
  .main-header__inner {
    padding: 14px 0;
    min-height: 65px;
  }

  .main-header__left {
    gap: 20px;
  }

  /* Hero adjustments */
  .hero {
    padding: 0;
  }

  .hero__container {
    padding: 0;
  }

  .heroSwiper {
    border-radius: 0;
  }

  .hero-slide__infobar {
    border-radius: 0;
  }

  /* About images shape */
  .about__images__shape {
    width: 320px;
    height: 380px;
  }

  /* About images main */
  .about__images__main {
    width: 280px;
  }

  .about__images__main img {
    height: 240px;
  }

  /* About secondary image */
  .about__images__secondary {
    width: 240px;
  }

  .about__images__secondary img {
    height: 250px;
  }

  /* About float image */
  .about__images__float {
    width: 140px;
  }

  /* Stats divider */
  .stats__divider {
    height: 40px;
  }

  /* Skillful bars */
  .skillful__bars {
    gap: 20px;
    max-width: 100%;
  }

  /* Gallery CTA box */
  .gallery-cta__box {
    min-height: auto;
  }

  .gallery-cta__image {
    height: 250px;
  }

  /* Process header margin */
  .process__header {
    margin-bottom: 30px;
  }

  /* FAQ text */
  .faq__text {
    font-size: 15px;
  }
}

/* --- 575px: Small phones --- */
@media (max-width: 575px) {

  /* Hide sidebar toggle, keep only mobile menu toggle */
  .sidebar-btn__toggler {
    display: none;
  }

  .mobile-nav__toggler {
    display: flex;
    margin-right: 0;
  }

  /* Header padding */
  .main-header__inner {
    padding: 12px 0;
  }

  .main-header__left {
    gap: 12px;
  }

  .logo-icon svg {
    width: 36px;
    height: 36px;
  }

  .logo-text {
    font-size: 22px;
  }

  .logo-sub {
    font-size: 8px;
    letter-spacing: 1.5px;
  }
}

/* --- Additional 991px fixes --- */
@media (max-width: 991px) {

  /* Process items equal width when wrapped */
  .process__item {
    width: calc(50% - 20px);
  }

  /* Stats bar wrap nicely */
  .stats__bar {
    gap: 20px;
  }

  /* Gallery CTA image */
  .gallery-cta__image::before {
    height: 50px;
  }

  /* Skillful image blob */
  .skillful__image-shape {
    top: -15px;
    right: -15px;
  }

  .skillful__image-inner img {
    height: 350px;
  }
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background-color: var(--mediox-black);
  color: rgba(255, 255, 255, 0.7);
}

.footer__top {
  padding: 80px 0 50px;
}

@media (max-width: 767px) {
  .footer__top {
    padding: 60px 0 30px;
  }
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 40px;
}

@media (max-width: 991px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

.footer__logo {
  margin-bottom: 20px;
}

.footer__logo .logo-text {
  color: var(--mediox-white);
}

.footer__text {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 25px;
  color: rgba(255, 255, 255, 0.6);
}

.footer__social {
  display: flex;
  gap: 10px;
}

.footer__social li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 14px;
  color: var(--mediox-white);
  background-color: rgba(255, 255, 255, 0.08);
  transition: all 500ms ease;
}

.footer__social li a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--mediox-white);
}

.footer__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--mediox-white);
  margin-bottom: 25px;
  text-transform: capitalize;
}

.footer__links li {
  margin-bottom: 12px;
}

.footer__links li a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
  transition: all 500ms ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer__links li a::before {
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  transition: all 500ms ease;
}

.footer__links li a:hover {
  color: var(--mediox-white);
  padding-left: 5px;
}

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.6);
}

.footer__contact li i {
  color: rgba(255, 255, 255, 0.4);
  font-size: 16px;
  margin-top: 4px;
  flex-shrink: 0;
}

.footer__contact li a {
  color: rgba(255, 255, 255, 0.6);
  transition: all 500ms ease;
}

.footer__contact li a:hover {
  color: var(--mediox-white);
}

/* Footer Bottom */
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 22px 0;
  text-align: center;
}

.footer__copyright {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
}

.footer__copyright span {
  color: var(--mediox-white);
  font-weight: 600;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--mediox-black);
  color: var(--mediox-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 500ms ease;
  box-shadow: 0 4px 15px rgba(var(--mediox-black-rgb), 0.4);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: #000;
  color: var(--mediox-white);
}

/* ============================================
   MOBILE FEATURE CARDS OVERRIDE
   ============================================ */
@media (max-width: 575px) {
  .features__card {
    padding: 20px 15px;
  }

  .features__title {
    font-size: 15px;
    line-height: 22px;
  }

  .features__text {
    font-size: 14px;
    line-height: 20px;
  }
}
