/* GLobal */
body {
  background: #f4f6fd !important;
}
/* Homepage */
.hero-video-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  z-index: -1;
  object-fit: cover;
}

.tp-hero-overlay::before {
  background: linear-gradient(90deg, #2144d8 18.05%, rgba(33, 68, 216, 0) 100%);
}

.testimonial_sec {
  width: 100%;
  background: #08c2e3;
  padding: 80px 0 130px 0;
}
.testimonial_sec h1 {
  text-align: center;
  font: normal 38px/42px "Luckiest Guy", cursive;
}
.testimonial_sec .testimonial_inner {
  width: 100%;
  padding-top: 35px;
}
.testimonial_sec .testimonial_inner .slick-list {
  padding: 0px;
  margin-left: 170px;
}
.testimonial_sec .testimonial_inner .slick-list .slick-track {
  left: 160px;
}
.testimonial_sec .testimonial_inner .slick-list .slick-track .card {
  margin-right: 15px;
  border-radius: 10px;
}
.testimonial_sec
  .testimonial_inner
  .slick-list
  .slick-track
  .card
  .card-body
  .rating
  > span {
  color: #ffc004;
}
.testimonial_sec
  .testimonial_inner
  .slick-list
  .slick-track
  .card
  .card-body
  .card-title {
  font: normal 15px/28px "Luckiest Guy", cursive;
  padding-top: 5px;
}
.testimonial_sec
  .testimonial_inner
  .slick-list
  .slick-track
  .card
  .card-body
  .card-text {
  font: 500 14px/21px "Urbanist", sans-serif;
}
.testimonial_sec
  .testimonial_inner
  .slick-list
  .slick-track
  .card
  .card-body
  strong {
  text-transform: uppercase;
  font-size: 15px;
}
.testimonial_sec
  .testimonial_inner
  .slick-list
  .slick-track
  .card
  .card-body
  span {
  text-transform: uppercase;
  color: #cdcdcd;
  font-size: 14px;
}
.testimonial_sec .testimonial_inner .slick-dots {
  bottom: -50px;
}
.testimonial_sec .testimonial_inner .slick-dots li {
  margin: 0 2px;
}
.testimonial_sec .testimonial_inner .slick-dots li button::before {
  font-size: 11px;
}
.testimonial_sec .all_btn {
  width: 100%;
  text-align: center;
  margin-top: 75px;
}
.testimonial_sec .all_btn a {
  background-color: #fe6805;
  color: #fff;
  padding: 10px 32px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 13px;
  transition: 0.3s ease-in-out;
}
.testimonial_sec .all_btn a:hover {
  background: #fff;
  color: #fe6805;
  filter: drop-shadow(0px 0px 2px #555);
}

/* Responsive Styles */

@media (min-width: 1200px) and (max-width: 1399px) {
  .testimonial_sec .testimonial_inner .slick-list .slick-track {
    left: 122px;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .testimonial_sec
    .testimonial_inner
    .slick-list
    .slick-track
    .card
    .card-body
    .card-title {
    font-size: 14px;
  }
  .testimonial_sec .testimonial_inner .slick-list {
    margin-left: 100px;
  }
}
@media only screen and (max-width: 991px) {
  .testimonial_sec
    .testimonial_inner
    .slick-list
    .slick-track
    .card
    .card-body
    .card-title {
    font-size: 14px;
  }
  .testimonial_sec h1 {
    font-size: 30px;
    line-height: 34px;
  }
  .testimonial_sec .testimonial_inner .slick-list {
    margin-left: 0px;
    padding: 0 30px;
  }
  .testimonial_sec .testimonial_inner .slick-list .slick-track {
    left: 90px;
  }
}
@media only screen and (max-width: 767px) {
  .testimonial_sec .testimonial_inner .slick-list .slick-track {
    left: 0;
  }
}
/* Service page */
.service-page .tp-service-item {
  min-height: 100%;
  background-color: #2144d8;
}
.service-page .tp-service-title,
.service-page .tp-service-item p {
  color: #fff;
}
.service-card {
  width: 100%;
  height: 100%;
  background: #001361;
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform-style: preserve-3d;
  transform: perspective(1000px);
  transition: all 0.3s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    45deg,
    rgba(131, 58, 180, 0.3),
    rgba(253, 29, 29, 0.3),
    rgba(252, 176, 69, 0.3)
  );
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: perspective(1000px) translateZ(20px);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card .badge {
  display: inline-block;
  padding: 0.5em 1em;
  background: linear-gradient(45deg, #833ab4, #fd1d1d);
  border-radius: 20px;
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.service-card .title {
  font-size: 1.8rem;
  color: white;
  margin-bottom: 1rem;
  background: linear-gradient(to right, #fff, #ccc);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-card .description {
  color: #aaa;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.service-card .stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.service-card .stat {
  text-align: center;
}

.service-card .stat-value {
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.service-card .stat-label {
  color: #666;
  font-size: 0.8rem;
  text-transform: uppercase;
}
.tp-cards-area .tp-section__title,
.tp-cards-area p {
  color: #fff;
}
/* Legal Page */
.legal-page h2 {
  margin-top: 35px;
}

.legal-page h3 {
  margin-top: 30px;
}

.legal-page ul {
  margin-left: 20px;
}

.legal-page ul li {
  font-size: 16px;
}
/* Footer */
.tp-footer-widget-4 ul {
  column-count: 1;
}
.tp-footer-widget-3 ul {
  column-count: 1;
}
/* Contact */
.tp-contact-phone .contact-inner a,
.tp-contact-mail .contact-inner a,
.tp-contact-location .contact-inner a {
  font-weight: 700;
  font-size: 18px;
}
/* Readabler */
.mdp-readabler-trigger-button-box.bottom-right {
  bottom: 120px;
  right: 28px;
}
.mdp-readabler-trigger-button-box button {
  background: #2144d8;
}

@media (max-width: 580px) {
  .mdp-readabler-trigger-button-box.bottom-right {
    bottom: 120px;
    right: 0px;
  }
}
/* Menu */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
  position: fixed;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  max-width: 80vw;
  width: 100%;
  padding: 0 20px;
}

.nav-left,
.nav-right {
  display: flex;
  gap: 10px;
}

.nav-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.logo {
  width: 150px;
  height: 100%;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px 25px;
  text-decoration: none;
  color: #001986;
  white-space: nowrap;
  transition: background 0.3s;
}

.nav-link:hover {
  color: #d64697;
}

.nav-title {
  font-weight: bold;
}

.nav-sub {
  font-size: 12px;
  opacity: 0.8;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border-radius: 0 0 15px 15px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
  z-index: 99;
  flex-direction: column; /* păstrăm asta pentru când devine flex */
  width: 240px;
}
.dropdown a {
  padding: 10px 20px;
  color: #17245d;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown a:last-child {
  border-bottom: none;
}

.dropdown a:hover {
  background: rgba(255, 255, 255, 0.15);
}
.hamburger-container {
  display: none;
}

@media (max-width: 1199px) {
  .nav-left,
  .nav-right {
    display: none;
  }

  .hamburger-container {
    display: flex;
    margin-left: auto;
    margin-top: 15px;
  }

  .navbar {
    justify-content: flex-start;
    padding: 10px 20px;
    max-width: 95vw;
  }
}
.offcanvas-overlay {
  background: rgba(255, 255, 255, 0.8);
}
/* Popup */
/* Modal Overlay */
.popup-form {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s linear 0.25s, opacity 0.25s ease-in-out;
}

.popup-form.show {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

/* Modal content */
.popup-content {
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(15px);
  border-radius: 30px;
  padding: 40px 30px;
  max-width: 600px;
  width: 100%;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  color: #001986;

  position: relative;
}

/* Close button */
.popup-close {
  position: absolute;
  top: 15px;
  right: 20px;
  cursor: pointer;
  color: #001986;
  font-size: 20px;
  transition: color 0.3s ease;
}

.popup-close:hover {
  color: #17245d;
}

/* Icon */
.popup-icon {
  font-size: 40px;
  margin-bottom: 20px;
  color: #2144d8;
  animation: pulse 1.5s infinite;
}

/* Message */
#popup-message p {
  font-size: 18px;
  margin-bottom: 25px;
  color: #fff;
}

/* Button */
.popup-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 25px;
  background: #2144d8;
  color: #fff;
  text-decoration: none;
  transition: background 0.3s ease;
}

.popup-button:hover {
  background: #001986;
}

/* Pulse animation */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
.bkg-purple {
  background: #3e289d !important;
  position: relative;
  overflow: hidden;
}

.bkg-purple .tp-section__title,
.bkg-purple p,
.bkg-purple h4 {
  color: #fff !important;
}
.bkg-purple h4 {
  margin-top: 40px;
}
.breadcrumb-style {
  animation: animate-bg 30s ease infinite;
}
@keyframes animate-bg {
  0% {
    background-position: center 25%;
  }
  50% {
    background-position: center 50%;
  }
  100% {
    background-position: center 25%;
  }
}

.bkg-purple span {
  position: absolute;
  width: 20vmin;
  height: 20vmin;
  border-radius: 50%;
  backface-visibility: hidden;
  animation: move linear infinite;
  z-index: 1;
  opacity: 0.4;
}

@keyframes move {
  100% {
    transform: translate3d(0, 0, 1px) rotate(360deg);
  }
}
.z-3 {
  z-index: 3;
}
.tp-service-item {
  height: 100%;
}
.splide__arrows {
  display: block;
}
.tp-service-overlay::after,
.tp-service-overlay::before {
  display: none;
}
.tp-sidebar__contact-text a {
  text-decoration: none;
  text-transform: uppercase;
  color: #4a4a4a;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
}
.tp-sidebar-title {
  font-size: 18px;
}
.tp-footer-widget-contact .contact-inner a {
  font-size: 16px;
}
.tab__content ol li,
.tab__content ul li {
  font-size: 13px;
}
.hero-active .splide__arrows .splide__arrow--prev,
.hero-active .splide__arrows .splide__arrow--next {
  display: none;
}
@media (max-width: 575px) {
  .tp-hero-content {
    padding-top: 170px;
  }
}
@media (max-width: 575px) {
  .tp-contact-icon {
    display: flex;
    justify-content: center;
  }
  .contact-inner {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .tp-contact-icon a {
    margin-right: 0;
  }

  .tp-contact-mail .contact-inner a {
    text-align: center;
  }
}
