
p, span, li, div,h1,h2,h3{
    font-family: var(--the-font-family)!important;
}
hr{ width: 82px; margin: 14px auto; height: 3px; border: 0; background: linear-gradient(90deg, var(--bg), var(--primary-color)); border-radius: 6px; transition: width .45s ease; }
.service-card:hover hr{ width: 100%; }

html {
  scroll-behavior: smooth;
}

body.menu-open {
  overflow: hidden;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  transition: transform 0.3s ease;
}

.top-strip {
  background: var(--primary-color);
  color: #fff;
  font-size: 13px;
}

.top-strip-inner {
  width: min(1380px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 24px;
  overflow: hidden;
}

.top-info {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.top-info a {
  color: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.top-info a:hover {
  color: #fff;
}

.top-info i {
  color: white;
}

.announcement {
  position: relative;
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.announcement-track {
  display: inline-flex;
  gap: 64px;
  animation: announcementScroll 24s linear infinite;
  color: rgba(255, 255, 255, 0.82);
}

@keyframes announcementScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.nav-shell {
  padding: 14px 0;
  transition: padding 0.25s ease;
}

.nav-container {
  width: min(1380px, calc(100% - 32px));
  margin: 0 auto;
  height: 78px;
  padding: 0 16px 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--header-bg);
  border: 1px solid var(--header-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.site-header.scrolled .nav-shell {
  padding: 8px 0;
}

.site-header.scrolled .nav-container {
  height: 70px;
}

.brand,
.mobile-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  max-height: 73px;
  max-width: 190px;
  object-fit: contain;
  display: block;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.desktop-nav a {
  position: relative;
  color: var(--text-main);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 13px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.desktop-nav a:hover {
  background: rgba(47, 128, 237, 0.08);
  color: var(--accent);
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 7px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.desktop-nav a:hover::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.language-switch {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.05);
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.language-switch:hover {
  transform: translateY(-2px);
  background: rgba(47, 128, 237, 0.1);
}

.language-switch img {
  border-radius: 50%;
}

.nav-cta {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 26px rgba(47, 128, 237, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(47, 128, 237, 0.34);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 16px;
  background: #101828;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 99px;
  background: #fff;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 9998;
}

.mobile-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 92vw);
  height: 100dvh;
  background:
    radial-gradient(circle at top right, rgba(47, 128, 237, 0.14), transparent 34%),
    radial-gradient(circle at bottom left, rgba(124, 58, 237, 0.12), transparent 36%),
    #ffffff;
  z-index: 9999;
  transform: translateX(105%);
  transition: transform 0.32s cubic-bezier(.2,.8,.2,1);
  padding: 22px;
  box-shadow: -24px 0 70px rgba(15, 23, 42, 0.22);
  display: flex;
  flex-direction: column;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.mobile-brand img {
  max-height: 56px;
  max-width: 180px;
  object-fit: contain;
}

.mobile-close {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 15px;
  background: rgba(15, 23, 42, 0.07);
  color: var(--text-main);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.mobile-links {
  display: grid;
  gap: 10px;
}

.mobile-links a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 20px;
  font-weight: 750;
  padding: 16px 16px;
  border-radius: 18px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.05);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.mobile-links a:hover {
  transform: translateX(4px);
  background: rgba(47, 128, 237, 0.09);
  color: var(--accent);
}

.mobile-bottom {
  margin-top: auto;
  display: grid;
  gap: 12px;
  padding-top: 22px;
}

.mobile-contact,
.mobile-language {
  color: var(--text-muted);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.mobile-language img {
  border-radius: 50%;
}

.mobile-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  min-height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 14px 30px rgba(47, 128, 237, 0.3);
}

@media (max-width: 1080px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

@media (max-width: 768px) {
  .top-strip-inner {
    width: min(100% - 24px, 1380px);
    min-height: 42px;
    gap: 12px;
  }

  .top-info {
    gap: 12px;
  }

  .top-info a span {
    display: none;
  }

  .announcement-track {
    animation-duration: 18s;
  }

  .nav-shell {
    padding: 10px 0;
  }

  .nav-container {
    width: min(100% - 20px, 1380px);
    height: 68px;
    padding: 0 10px 0 14px;
    border-radius: 20px;
  }

  .brand img {
    max-height: 48px;
    max-width: 155px;
  }

  .nav-cta,
  .language-switch {
    display: none;
  }

  .mobile-menu {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .mobile-links a {
    font-size: 18px;
    padding: 15px;
  }

  .mobile-menu {
    padding: 18px;
  }
}

/* Add spacing so the fixed header does not cover the hero */
.hero,
#hero {
  scroll-margin-top: 130px;
}

.flash-message {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;

    min-width: 280px;
    max-width: calc(100vw - 32px);
    padding: 14px 22px;

    border-radius: 14px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    line-height: 1.4;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    animation: flashFadeOut 4.5s ease forwards;
}

.flash-message.alert-success {
    background: #e9f8ef;
    color: #147a3d;
    border: 1px solid #bfe8cd;
}

.flash-message.alert-danger {
    background: #fdecec;
    color: #a12626;
    border: 1px solid #f3bcbc;
}

@keyframes flashFadeOut {
    0% {
        opacity: 0;
        transform: translate(-50%, -10px);
    }

    12% {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    75% {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -10px);
        visibility: hidden;
        pointer-events: none;
    }
}
    .hero {
  position: relative;
  width: 100%;
  height: <?php echo setting('slider', 'slider_height',55); ?>vh!important; 
  overflow: hidden;
}
.privacy-accordion {
  max-width: 900px;
  margin: 40px auto;
}

.accordion-item {
  border-bottom: 1px solid rgba(0,0,0,.1);
}

.accordion-header {
    width: 100%;
    border: 0;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 200;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #dadada30;
    border-radius: 30px;
    margin: 7px 0;
}

.accordion-icon {
  font-size: 22px;
  transition: transform .3s ease;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
  padding: 0 10px;
}

.accordion-content p {
  margin: 10px 0;
  font-size: 14px !important;
}

.accordion-item.active .accordion-content {
  max-height: 2000px; /* enough for long text */
}

.accordion-item.active .accordion-icon {
  transform: rotate(45deg); /* + becomes × */
}
.read-more-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more-box.expanded .read-more-text {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.read-more-btn {
  display: inline-block;
  margin-top: 8px;
  cursor: pointer;
  font-weight: 600;
}
.read-more-text {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.flash-message {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;

    min-width: 280px;
    max-width: calc(100vw - 32px);
    padding: 14px 22px;

    border-radius: 14px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    line-height: 1.4;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    animation: flashFadeOut 4.5s ease forwards;
}

.flash-message.alert-success {
    background: #e9f8ef;
    color: #147a3d;
    border: 1px solid #bfe8cd;
}

.flash-message.alert-danger {
    background: #fdecec;
    color: #a12626;
    border: 1px solid #f3bcbc;
}

@keyframes flashFadeOut {
    0% {
        opacity: 0;
        transform: translate(-50%, -10px);
    }

    12% {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    75% {
        opacity: 1;
        transform: translate(-50%, 0);
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -10px);
        visibility: hidden;
        pointer-events: none;
    }
}
    .hero {
  position: relative;
  width: 100%;
  height: var(--hero-height)!important; 
  overflow: hidden;
}