:root {
  --ri-topbar-h: 44px;
  --ri-navbar-h: 80px;
}

.ri-container {
  /* max-width: 1320px; */
  margin: 0 auto;
  /* padding: 0 24px; */
}

@media (max-width: 991.98px) {
  .ri-container {
    padding: 0 16px;
  }
}


.ri-topbar {
  position: relative;
  top: 0 !important;
  left: 0;
  width: 100%;
  height: var(--ri-topbar-h) !important;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, .08);
  z-index: 110 !important;
  display: flex !important;
  align-items: center !important;
  transition: transform 0.3s ease-in-out;

}

.ri-topbar-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ri-topbar-left {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  flex-wrap: nowrap;
  white-space: nowrap;
  min-width: 0;
}

.ri-toplink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #111;
  text-decoration: none;
  font-size: 13px;
  opacity: .95;
  position: relative;
}

.ri-toplink:hover {
  opacity: 1;
}

.ri-ellipsis {
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: inline-block;
  vertical-align: bottom;
}

@media (max-width: 575.98px) {
  .ri-ellipsis {
    max-width: 160px;
  }
}

.ri-topbar-right {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.ri-social {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #111 !important;
  background: rgba(0, 0, 0, .06);
  position: relative;
  transition: transform .15s ease, background .15s ease;
}

.ri-social:hover {

  transform: translateY(-1px);
}

.facebook:hover {
  background: #1877F2;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tiktok:hover {
  background: linear-gradient(45deg, #25F4EE, #FE2C55);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.instagram:hover {
  background: linear-gradient(45deg,
      #F58529,
      #FEDA77,
      #DD2A7B,
      #8134AF,
      #515BD4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


.linkedin:hover {
  background: #0A66C2;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 6) Tooltip labels (hover names) */
/* .ri-toplink[data-tip]::after,
.ri-social[data-tip]::after {
  content: attr(data-tip);
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: #111;
  color: #fff;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease, transform .15s ease;
  z-index: 99999;
} */
/* 
.ri-toplink[data-tip]::before,
.ri-social[data-tip]::before {
  content: "";
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-bottom-color: #111;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s ease;
  z-index: 99999;
} */

.ri-toplink:hover::after,
.ri-social:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(2px);
}

.ri-toplink:hover::before,
.ri-social:hover::before {
  opacity: 1;
}

header nav.navbar,
header nav.navbar.fixed-top,
header nav.navbar.sticky,
header nav.navbar.navbar-sticky,
header nav.navbar.header-sticky {
  top: 0px;
  z-index: 11 !important;
  transition: top 0.3s ease-in-out;
   background-color: var(--white) !important;
}

body {
  /* padding-top: calc(var(--ri-topbar-h) + var(--ri-navbar-h)) !important; */
}

@media (max-width: 1199px) {
  body {
    padding-top: 0px !important;
  }
}

@media (max-width: 575.98px) {
  .ri-topbar-left .ri-toptext {
    display: none;
  }
}


header nav.navbar>.ri-container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  flex-wrap: nowrap !important;
}

header nav.navbar .navbar-collapse {
  flex-grow: 1 !important;
}

header nav.navbar .header-icon {
  /* margin-left: auto !important; */
  display: flex !important;
  align-items: center !important;
}

header nav.navbar .header-btn,
header nav.navbar .header-icon .header-btn {
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  /* padding: 7px 22px; */
  transition: 0.3s all ease-out;
}

@media (min-width: 992px) {
  header nav.navbar .navbar-nav {
    flex-wrap: nowrap !important;
  }
}

.ri-topbar .ri-container,
.ri-topbar .ri-topbar-row {
  width: 100% !important;
}

.ri-topbar .ri-topbar-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

.ri-topbar .ri-topbar-left {
  margin-right: auto !important;
  justify-content: flex-start !important;
  text-align: left !important;
}

.ri-topbar .ri-topbar-right {
  margin-left: auto !important;
  justify-content: flex-end !important;
  text-align: right !important;
}

.ri-topbar,
.ri-topbar * {
  text-align: initial !important;
}

.ri-topbar {
  border-bottom: none !important;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.swiper.full-screen {
  height: 80vh !important;
  min-height: 520px !important;
}

@media (max-width: 991.98px) {
  .swiper.full-screen {
    height: 70vh !important;
    min-height: 450px !important;
  }
}

@media (max-width: 575.98px) {
  .swiper.full-screen {
    height: 60vh !important;
    min-height: 380px !important;
  }
}

.swiper-slide h1 {
  font-size: 52px;
  line-height: 1.15;
}

@media (max-width: 1199px) {
  .swiper-slide h1 {
    font-size: 46px;
  }
}

@media (max-width: 767px) {
  .swiper-slide h1 {
    font-size: 36px;
  }
}

.swiper-slide .opacity-6 {
  margin-bottom: 15px !important;
}

.swiper-slide .btn {
  margin-top: 16px !important;
}

section.border-bottom.pt-40px.pb-40px {
  padding-top: 28px !important;
  padding-bottom: 28px !important;
}

/* video  */
.mySwiper-video .swiper-button-next::after,
.mySwiper-video .swiper-button-prev::after {
  color: #1856A6 !important;
  font-size: 20px !important;
  font-weight: bold;
  padding: 10px 15px;
  background-color: rgba(255, 255, 255, 0.37);
  border-radius: 100%;

}

.swiper-horizontal>.swiper-pagination-bullets,
.swiper-pagination-bullets.swiper-pagination-horizontal {
  bottom: -9px !important;
}

.video-container {
  position: relative;
  width: 100%;
  /* height: 540px; */
  height: 100%;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  border-radius: 30px;
}

.video-container .text {
  position: absolute;
  bottom: 40px;
  left: 0;
  background-color: white;
  padding: 20px 20px;
  border-radius: 30px;
  margin: 0 5px;
  width: 97%;
}

.video-container .text p {
  color: #A259FF;
}

.video-container .name {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: white;
  display: flex;
  justify-content: space-between;
  padding: 20px 20px;
  border-radius: 0 0 30px 30px;
  border-top: 1px solid #483286;
  margin: 0 5px;
  width: 97%;
}

.video-container .name h4 {
  color: #A259FF;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30px;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 30px;
  color: #A259FF;
  background: rgb(255, 255, 255);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease-in-out;
}

.video-container:hover .play-button,
.video-container:hover .text {
  opacity: 0;
  /* Hide play button on hover */
}

.video-container:hover .name {
  border: 0;
  border-radius: 30px;

}

/* FB reels swiper spacing */
.ri-fb-reels-swiper {
  width: 100%;
}

/* Reel card: 9:16 aspect */
.ri-fb-reel-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .10);
}

/* 9:16 ratio holder */
.ri-fb-reel-card::before {
  content: "";
  display: block;
  padding-top: 177.78%;
}

/* Embed fills the card */
.ri-fb-reel-card>.fb-video,
.ri-fb-reel-card>.fb-post {
  position: absolute;
  inset: 0;
}

/* FB iframe full size */
.ri-fb-reel-card iframe {
  width: 100% !important;
  height: 100% !important;
}

/* Smaller nav buttons (optional) */
.ri-fb-prev,
.ri-fb-next {
  transform: scale(.85);
}

.rosetta-about-section {
  /* background: linear-gradient(315deg, #00AEEF 0%, #80DFFF 50%, #B3EBFF 100%); */

}

.clients-style-08 .swiper-slide.uni-list img {
  width: 100%;
  height: auto;
  max-height: 120px;
  /* limit height */
  object-fit: contain;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.clients-style-08 .swiper-slide.uni-list img:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transform: translateY(-4px);
  /* optional lift effect */
}

.service-img img {
  height: 483px;
  object-fit: contain;
}

.counter11 {
  box-shadow: 0 0 20px rgba(0, 0, 0, .08);
  padding: 12px;
}