/*
Theme Name: Saint
Theme URI: https://github.com/
Author: Hossam Hamdy (Saint Hossam)
Author URI: https://github.com/
Description: Custom WordPress theme base styles by Hossam Hamdy (Saint Hossam).
Version: 1.0.0
Text Domain: saint
*/

/* ========================
   Fonts (Variable fallback)
======================== */

/*@font-face {*/
/*  font-family: "tajawal";*/
/*  src: url("../webFonts/design_fonts/Tajawal-Black.woff2") format("woff2"),*/
/*    url("../webFonts/design_fonts/Tajawal-Black.woff") format("woff");*/
/*  font-weight: 900;*/
/*  font-style: normal;*/
/*}*/
he
/* Extra */
/*@font-face {*/
/*  font-family: "tajawal";*/
/*  src: url("../webFonts/design_fonts/Tajawal-ExtraBold.woff2") format("woff2"),*/
/*    url("../webFonts/design_fonts/Tajawal-ExtraBold.woff") format("woff");*/
/*  font-weight: 800;*/
/*  font-style: normal;*/
/*}*/

/* Bold */
/*@font-face {*/
/*  font-family: "tajawal";*/
/*  src: url("../webFonts/design_fonts/Tajawal-Bold.woff2") format("woff2"),*/
/*    url("../webFonts/design_fonts/Tajawal-Bold.woff") format("woff");*/
/*  font-weight: 700;*/
/*  font-style: normal;*/
/*}*/

/* Medium */
/*@font-face {*/
/*  font-family: "tajawal";*/
/*  src: url("../webFonts/design_fonts/Tajawal-Medium.woff2") format("woff2"),*/
/*    url("../webFonts/design_fonts/Tajawal-Medium.woff") format("woff");*/
/*  font-weight: 500;*/
/*  font-style: normal;*/
/*}*/

/* Regular */
/*@font-face {*/
/*  font-family: "tajawal";*/
/*  src: url("../webFonts/design_fonts/Tajawal-Regular.woff2") format("woff2"),*/
/*    url("../webFonts/design_fonts/Tajawal-Regular.woff") format("woff");*/
/*  font-weight: 400;*/
/*  font-style: normal;*/
/*}*/

.sr-only {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  position: absolute;
}


/* ========================
   Design Tokens
======================== */
:root {
  --main-c: linear-gradient(135deg, #6ca3c2 0%, #214383 100%);
  --primary-c: #6ca3c2;
  --primary-rgb: 108, 163, 194;
  --secondary-c: #214383;
  --secondary-rgb: 33, 67, 131;
  --secondary-deep: #183566;
  --surface-soft: #edf5fb;
  --surface-muted: #f4f9fc;
  --surface-alt: #e3eef7;
  --text-on-dark: #f7fbff;
  --text-main: var(--secondary-c);
  --text-muted: rgba(var(--secondary-rgb), 0.72);
  --line-soft: rgba(var(--primary-rgb), 0.22);
  --line-strong: rgba(var(--secondary-rgb), 0.18);
  --shadow-soft: 0 12px 30px rgba(var(--secondary-rgb), 0.12);
  --shadow-medium: 0 18px 40px rgba(var(--secondary-rgb), 0.18);
  --shadow-strong: 0 24px 54px rgba(var(--secondary-rgb), 0.24);
}


.fa, .fas, .far, .fal, .fab {
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  line-height: 1;
}

.fas, .fa-solid {
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
}

.fab, .fa-brands {
  font-family: 'Font Awesome 6 Brands';
  font-weight: 400;
}


/* ========================
   Page Navigation
======================== */
.wp-pagenavi {
  margin-top: 60px;
  --pg-size: 44px;
  --pg-radius: 12px;
  --pg-shadow: 0 8px 18px rgba(var(--secondary-rgb), 0.1);
  --pg-shadow-hover: 0 12px 24px rgba(var(--secondary-rgb), 0.16);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 600;
  line-height: 1;
  user-select: none;
}

.wp-pagenavi .pages {
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  color: var(--text-muted);
  border: 1px solid var(--line-soft);
  box-shadow: var(--pg-shadow);
  font-weight: 500;
}

.wp-pagenavi a,
.wp-pagenavi span.current,
.wp-pagenavi span.extend {
  display: inline-grid;
  place-items: center;
  min-inline-size: var(--pg-size);
  min-block-size: var(--pg-size);
  border-radius: var(--pg-radius);
  background: #fff;
  color: var(--text-main);
  text-decoration: none;
  border: none;
  box-shadow: var(--pg-shadow);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.25s ease,
    color 0.25s ease, border-color 0.25s ease;
}

.wp-pagenavi a.page,
.wp-pagenavi a.larger,
.wp-pagenavi a.smaller {
  background: #fff;
}

.wp-pagenavi a:hover {
  transform: translateY(-2px);
  box-shadow: var(--pg-shadow-hover);
  color: var(--secondary-c);
  border-color: var(--secondary-c) !important;
  background: var(--surface-soft);
}

.wp-pagenavi span.current {
  background: var(--secondary-c);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 10px 22px
    color-mix(in srgb, var(--secondary-c) 28%, transparent);
  pointer-events: none;
}

.wp-pagenavi a.nextpostslink,
.wp-pagenavi a.previouspostslink {
  font-weight: 700;
}

.wp-pagenavi a.nextpostslink:hover,
.wp-pagenavi a.previouspostslink:hover {
  transform: translateY(-2px) scale(1.06);
}

.wp-pagenavi .disabled {
  opacity: 0.4;
  pointer-events: none;
}

.wp-pagenavi a:focus-visible {
  outline: none;
  box-shadow: var(--pg-shadow-hover),
    0 0 0 4px color-mix(in srgb, var(--secondary-c) 25%, transparent);
  transform: translateY(-1px);
}

@media (max-width: 480px) {
  .wp-pagenavi {
    --pg-size: 38px;
    gap: 8px;
  }
  .wp-pagenavi .pages {
    display: none;
  }
}

/* ========================
   RTL Tweaks
======================== */
html[dir="rtl"]
  :where(input[type="email"], input[type="tel"], input[type="url"]),
.chip__text,
.contact-card li a,
.footer-line a {
  direction: ltr;
  text-align: left;
  unicode-bidi: plaintext;
}

html[dir="rtl"]
  :where(
    input[type="email"],
    input[type="tel"],
    input[type="url"]
  )::placeholder {
  direction: ltr;
  text-align: left;
}

html[dir="rtl"] input::placeholder {
  direction: rtl;
  text-align: right;
}

/* ========================
   Reset
======================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--secondary-c, #214383) #fff;
}

*::-webkit-scrollbar {
  width: 8px;
}

*::-webkit-scrollbar-track {
  background: #fff;
}

*::-webkit-scrollbar-thumb {
  background: var(--secondary-c, #214383);
  border-radius: 15px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  :before,
  :after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

html:focus-within {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

img,
svg,
video,
canvas,
iframe {
  max-inline-size: 100%;
  max-block-size: 100%;
  display: block;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none !important;
}

input,
textarea,
select,
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  outline: 0;
  appearance: none;
}

button,
[type="button"],
[type="submit"] {
  cursor: pointer;
}

[disabled] {
  cursor: not-allowed;
  opacity: 0.5;
}

/* ========================
  Base
======================== */
html {
  font-size: clamp(16px, 15px + 0.3vw, 18px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  background: #fff;
  color: #000;
  font-family: "tajawal", Arial, sans-serif;
  line-height: 1.7;
  margin: 0;
}

main.wrap {
  position: relative;
  overflow: hidden;
  inset-inline-start: 0;
  transition: inset-inline-start 0.7s ease-in-out;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
}

blockquote {
  quotes: none;
}

code,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono",
    monospace;
}

img:not(.c-primary-caption img) {
  object-fit: contain;
}

/* ========================
   Typography
======================== */
h1 {
  font-weight: 800;
  font-size: 2.4rem;
}

h2 {
  font-weight: 700;
  font-size: 2rem;
}

h3 {
  font-weight: 500;
  font-size: 1.4rem;
}

h4,
h5,
h6 {
  font-weight: 400;
  font-size: 1rem;
}

p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--primary-c);
}

/*--------------------------------------------------------------
 Breadcrumb Area
--------------------------------------------------------------*/
.breadcrumb-area {
  position: relative;
  padding: 50px;
  margin-bottom: 60px;
  background: linear-gradient(
    135deg,
    var(--primary-c) 0%,
    var(--secondary-c) 55%,
    var(--secondary-deep) 100%
  );
  color: var(--text-on-dark);
  overflow: hidden;
}

.breadcrumb-area::before,
.breadcrumb-area::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.breadcrumb-area::before {
  width: 420px;
  height: 420px;
  right: -140px;
  top: -180px;
  background: radial-gradient(
    circle,
    rgba(237, 239, 202, 0.18) 0%,
    transparent 70%
  );
}

.breadcrumb-area::after {
  width: 320px;
  height: 320px;
  left: -120px;
  bottom: -140px;
  background: radial-gradient(
    circle,
    rgba(84, 120, 146, 0.35) 0%,
    transparent 70%
  );
}

.breadcrumb-area .container {
  position: relative;
  z-index: 2;
}

/*--------------------------------------------------------------
 Breadcrumb Title
--------------------------------------------------------------*/
.page-tit {
  position: relative;
  margin: 0;
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 800;
  color: #ffffff;
  text-align: center;
  letter-spacing: 0.5px;
}

.page-tit::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 18px;
  bottom: -28px;
  width: 170px;
  height: 16px;
  background: url("<?php echo esc_url( THEME_IMG_DIR ); ?>line.webp") no-repeat
    center;
  background-size: contain;
}

/*--------------------------------------------------------------
 Breadcrumb Links 
--------------------------------------------------------------*/
.breadcrumb-links {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  font-size: 14px;
  gap: 6px;
}

.breadcrumb-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  direction: rtl;
}

.breadcrumb-links li {
  display: inline-flex;
  align-items: center;
  color: rgba(237, 239, 202, 0.85);
}

.breadcrumb-links a {
  color: var(--text-on-dark);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
}

.breadcrumb-links a:hover {
  background: var(--text-on-dark);
  color: var(--primary-c);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.breadcrumb-links .separator {
  color: rgba(237, 239, 202, 0.5);
  font-size: 12px;
  padding: 0 3px;
}

/*--------------------------------------------------------------
 Breadcrumb Responsive
--------------------------------------------------------------*/
@media (max-width: 768px) {
  .breadcrumb-area {
    padding: 55px 0 45px;
    margin-bottom: 40px;
  }

  .page-tit::after {
    bottom: -22px;
    width: 140px;
  }

  .breadcrumb-links {
    margin-top: 35px;
    font-size: 13px;
  }

  .breadcrumb-links a {
    padding: 5px 10px;
  }
}

/*----------------------------------------------------
 Main Button Styles
----------------------------------------------------*/
.main-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 8px 16px;
  border-radius: 999px;
  border: 2px solid var(--primary-c);
  /*background: rgba(255, 255, 255, 0.9);*/
  color: var(--primary-c);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    border-color 0.25s ease, background 0.25s ease;
}

.main-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.7),
    transparent 60%
  );
  transform: translateX(-120%);
  opacity: 0;
  z-index: -1;
  transition: transform 0.6s ease, opacity 0.4s ease;
}

.main-btn__circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-c);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.4);
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.25s ease;
}

.main-btn__circle i {
  font-size: 14px;
  transition: transform 0.35s ease;
}

.main-btn__text {
  white-space: nowrap;
  font-size: 18px;
  font-weight: 700;
}

.main-btn:hover .main-btn__text {
  color: #fff;
}

.main-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
  background: var(--secondary-c);
  border-color: transparent;
}

.main-btn:hover::before {
  transform: translateX(130%);
  opacity: 1;
}

.main-btn:hover .main-btn__circle {
  transform: translateX(3px) scale(1.07);
  box-shadow: 0 0 0 6px rgba(var(--primary-rgb), 0.25);
}

.main-btn:hover .main-btn__circle i {
  transform: translateX(-1px);
}

.main-btn:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
}

/*----------------------------------------------------
 Section Titles
----------------------------------------------------*/
.sec-tit {
  color: #000;
  font-weight: 700;
  font-size: 44px;
  text-align: center;
  margin-bottom: 65px;
}

/*----------------------------------------------------
 Header & Navigation
----------------------------------------------------*/
#main-header,
.fixed-header {
 background: radial-gradient( circle at top left, #f9fcff 0, #f3f6fb 45%, #eef2f7 100% );
  box-shadow: var(--shadow-soft);
}

#main-header {
  position: relative;
  padding-block: clamp(10px, 0.9vw, 14px);
  padding-inline: clamp(8px, 1.2vw, 16px);
  /* backdrop-filter: saturate(130%) blur(6px); */
  animation: hdr-pop 1s var(--easing) both;
  animation-delay: 0.8s;
  z-index: 1001;
}

#main-header .header-logo img {
  max-block-size: calc(clamp(64px, 6vw, 92px) - 18px);
  inline-size: auto;
}

#main-header .main-menu .nav-list > li > a {
  position: relative;
  display: inline-block;
  padding-block: 0.45rem;
  padding-inline: 0.6rem;
  font-weight: 500;
  color: #000;
  transition: .3s ease;
}

#main-header .main-menu .nav-list > li > a:hover,
#main-header .main-menu .nav-list > li.current-menu-item > a {
  color: var(--primary-c);
}

header .header-actions {
  gap: 15px;
}

#main-header.header-on-video {
  position: absolute;
  inset-inline: 0;
  top: 0;
  margin-inline: auto;
  margin-block: 0;
  background: transparent;
  box-shadow: none;
}

@keyframes hdr-pop {
  from {
    transform: translateY(-200%);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

.fixed-header {
  position: fixed;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  opacity: 0;
  overflow: hidden;
  transition: top 0.6s ease, opacity 0.5s ease;
  top: -120px;
  z-index: 1002;
  padding-block: clamp(8px, 0.8vw, 12px);
  overflow: clip;
}

.fixed-header.visible {
  top: 0;
  opacity: 1;
}

.fixed-header .header-logo img {
  max-block-size: calc(clamp(64px, 6vw, 92px) - 18px);
  inline-size: auto;
}

.icon-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  inline-size: 54px;
  block-size: 54px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--secondary-c);
  color: var(--secondary-c);
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
}

.icon-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--secondary-c);
  border-radius: 50%;
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  z-index: 0;
}

.icon-btn i,
.icon-btn .lang-text {
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.icon-btn .lang-text {
  font-weight: 500;
  font-size: 19px;
}

.icon-btn:hover::before {
  transform: scale(1);
}

.icon-btn:hover {
  border-color: var(--secondary-c);
  color: #fff;
  box-shadow: 0 4px 12px rgba(44, 74, 96, 0.25);
}

.icon-btn:hover i {
  animation: iconBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.icon-btn:hover .lang-text {
  animation: textFlip 0.5s ease;
}

@keyframes iconBounce {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  25% {
    transform: scale(1.2) rotate(-10deg);
  }
  50% {
    transform: scale(0.9) rotate(10deg);
  }
  75% {
    transform: scale(1.1) rotate(-5deg);
  }
}

@keyframes textFlip {
  0%,
  100% {
    transform: rotateY(0deg);
  }
  50% {
    transform: rotateY(180deg);
  }
}

.contact-btn:active {
  transform: translateY(0) scale(0.98);
}

.icon-btn:active {
  transform: scale(0.95);
}

.contact-btn,
.contact-btn [class*="circle"],
.icon-btn,
.icon-btn::before {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: transform;
}

.contact-input[type="file"] {
  width: 100%;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  background: #f9fafb;
  font-size: 13px;
  cursor: pointer;
  color: #6b7280;
}

.contact-input[type="file"]::file-selector-button {
  margin-inline-start: 8px;
  padding: 6px 14px;
  border: none;
  border-radius: 999px;
  background: var(--primary-c);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(var(--primary-rgb), 0.35);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.contact-input[type="file"]::file-selector-button:hover {
  background: var(--secondary-c);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(var(--secondary-rgb), 0.45);
}

.contact-input[type="file"]::-webkit-file-upload-button {
  margin-inline-start: 8px;
  padding: 6px 14px;
  border: none;
  border-radius: 999px;
  background: var(--primary-c);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(var(--primary-rgb), 0.35);
  transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.contact-input[type="file"]::-webkit-file-upload-button:hover {
  background: var(--secondary-c);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(var(--secondary-rgb), 0.45);
}


@media (max-width: 1199.92px) {
  #main-header .main-menu .nav-list > li > a {
  padding-inline: 0;
}
}
/*----------------------------------------------------
 HomeSlider Section
----------------------------------------------------*/
/* slider.css */
.slider {
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at top left, #f9fcff 0, var(--surface-muted) 45%, var(--surface-alt) 100%);
}

.slider .swiper-slide {
  padding: 80px 0 90px;
}

.slider-illustration img {
  max-width: 100%;
  border-radius: 25px;
  height: auto;
  display: block;
}

.slider-badge {
  display: inline-block;
  background: var(--primary-c);
  color: #fff;
  font-size: 16px;
  padding: 6px 10px;
  position: relative;
  border-radius: 8px;
  margin-bottom: 16px;
}

.slider-title {
  font-size: 60px;
  line-height: 70px;
  color: #000;
  margin-bottom: 16px;
  font-weight: 700;
}

.slider-subtitle {
  font-size: 18px;
  color: var(--primary-c);
  line-height: 26px;
  margin-left: auto;
}

.slider-url {
  margin-top: 30px;
}

.swiper-pagination {
    position: relative;
}

.swiper-pagination-bullet {
  width: 24px;
  height: 24px;
  margin: 0 6px !important;
  border-radius: 999px;
  background: transparent;
  border: 2px solid var(--primary-c);
  opacity: 1;
  transition: all 0.25s ease;
}

.swiper-pagination-bullet-active {
  width: 22px;
  background: var(--secondary-c);
  border-color: transparent;
  box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.39);
}

.swiper-button-prev,
.swiper-button-next {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(4, 36, 74, 0.06);
  box-shadow: 0 10px 24px rgba(4, 36, 74, 0.12);
  color: #000;
  transition: all 0.25s ease;
}

.swiper-button-prev:after,
.swiper-button-next:after {
  font-size: 16px;
  font-weight: 700;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  transform: translateY(-2px);
  background: var(--primary-c);
  color: #fff;
  box-shadow: 0 16px 34px rgba(4, 36, 74, 0.22);
}

@media (max-width: 767.98px) {
  .swiper-button-prev,
  .swiper-button-next {
    display: none;
  }
}

.slider .swiper-slide .slider-illustration,
.slider .swiper-slide .slider-content {
  opacity: 0;
  will-change: transform, opacity, filter;
}

/* responsive */
@media (max-width: 991.98px) {
  .slider .swiper-slide {
    padding: 60px 0;
  }
  .slider-title {
    font-size: 30px;
    line-height: 40px;
  }
  .slider-subtitle {
    max-width: 100%;
  }

  .slider-illustration {
    margin-top: 30px;
  }
}

/*----------------------------------------------------
 HomeAbout Section
----------------------------------------------------*/
/*--------------------------------------------------------------
 About Section - Base Styles
--------------------------------------------------------------*/
.about {
  padding: 90px 0;
  background: radial-gradient(
    circle at top left,
    #f9fcff 0,
    #f3f6fb 45%,
    #eef2f7 100%
  );
  position: relative;
  overflow: hidden;
}

/*--------------------------------------------------------------
 About Content - Typography
--------------------------------------------------------------*/
.about-kicker-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.2s both;
}

.about-kicker-line {
  width: 32px;
  height: 2px;
  background: var(--primary-c);
  transform-origin: left;
  animation: scaleX 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.3s both;
}

@keyframes scaleX {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.about-kicker-text {
  font-size: 16px;
  color: var(--primary-c);
  font-weight: 500;
  letter-spacing: 0.5px;
}

.about-title {
  font-size: 44px;
  line-height: 1.2;
  color: #000;
  margin-bottom: 16px;
  font-weight: 700;
  animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.4s both;
}

.about-text {
  font-size: 18px;
  text-align: start;
  line-height: 1.6;
  color: #555;
  max-width: 560px;
  animation: fadeInUp 0.8s cubic-bezier(0.23, 1, 0.32, 1) 0.6s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*--------------------------------------------------------------
 About Media Container
--------------------------------------------------------------*/
.about-media {
  position: relative;
  display: flex;
  gap: 30px;
  align-items: flex-start;
  padding: 40px 0;
  margin-top: 40px;
}

/*--------------------------------------------------------------
 PRESERVED: Decorative Elements - DO NOT MODIFY
--------------------------------------------------------------*/
.about-media::after {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: var(--primary-c);
  right: 10%;
  top: 10%;
  box-shadow: 0 0 0 10px rgba(var(--secondary-rgb), 0.18);
  animation-name: animation-7;
  animation-duration: 90s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-timing-function: cubic-bezier(0.59, 0.59, 1, 1);
  z-index: 5;
}

.about-media::before {
  content: "";
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  z-index: 1;
  border: 3px solid var(--primary-c);
  left: 8%;
  bottom: -18px;
  animation-name: animation-7;
  animation-duration: 90s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-timing-function: cubic-bezier(0.59, 0.59, 1, 1);
}

@keyframes animation-7 {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(-1000deg);
  }
}

/*--------------------------------------------------------------
 About Cards - Professional Animations
--------------------------------------------------------------*/
.about-card {
  position: relative;
  border-radius: 100px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 22px 50px rgba(15, 35, 52, 0.24);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
  will-change: transform, box-shadow;
  z-index: 2;
}

/* Hover Effects */
.about-card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 32px 70px rgba(15, 35, 52, 0.35);
}

/* Animated Border Glow on Card */
.about-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 100px;
  padding: 2px;
  background: linear-gradient(
    135deg,
    var(--primary-c) 0%,
    var(--secondary-c) 50%,
    var(--primary-c) 100%
  );
  background-size: 200% 200%;
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  z-index: 1;
}

.about-card:hover::after {
  opacity: 1;
  animation: borderPulse 3s ease infinite;
}

@keyframes borderPulse {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

/*--------------------------------------------------------------
 Image Wrapper & Effects
--------------------------------------------------------------*/
.about-card__image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 100px;
}

/* Gradient Overlay on Hover */
.about-card__image-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.22) 0%, rgba(var(--secondary-rgb), 0.28) 100%);
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: none;
  z-index: 2;
}

.about-card:hover .about-card__image-wrapper::before {
  opacity: 1;
}

/* Image Styles */
.about-card img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1),
              filter 0.6s ease;
  will-change: transform, filter;
  backface-visibility: hidden;
  -webkit-font-smoothing: subpixel-antialiased;
}

/* Ken Burns Zoom Effect */
.about-card:hover img {
  transform: scale(1.12) rotate(1.5deg);
  filter: brightness(1.08) contrast(1.05);
}

/*--------------------------------------------------------------
 Shine Effect
--------------------------------------------------------------*/
.about-card__shine {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.25) 50%,
    transparent 70%
  );
  transform: translateX(-100%) translateY(-100%) rotate(45deg);
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: none;
  z-index: 3;
}

.about-card:hover .about-card__shine {
  transform: translateX(100%) translateY(100%) rotate(45deg);
}

/*--------------------------------------------------------------
 Floating Particles
--------------------------------------------------------------*/
.about-card__particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  z-index: 3;
}

.about-card:hover .about-card__particle {
  animation: floatUp 2.5s ease-in-out infinite;
}

@keyframes floatUp {
  0% {
    transform: translateY(0) translateX(0) scale(0);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: translateY(-80px) translateX(15px) scale(1);
    opacity: 0;
  }
}

.about-card__particle:nth-child(1) {
  top: 25%;
  left: 25%;
  animation-delay: 0s;
}

.about-card__particle:nth-child(2) {
  top: 65%;
  left: 75%;
  animation-delay: 0.4s;
}

.about-card__particle:nth-child(3) {
  top: 45%;
  left: 55%;
  animation-delay: 0.8s;
}

/*--------------------------------------------------------------
 Card Positioning
--------------------------------------------------------------*/
.about-card-left {
  flex: 1 1 50%;
  animation: slideInLeft 1s cubic-bezier(0.23, 1, 0.32, 1) 0.3s both;
}

.about-card-right {
  flex: 1 1 50%;
  transform: translateY(65px);
  animation: slideInRight 1s cubic-bezier(0.23, 1, 0.32, 1) 0.5s both;
}

/* Maintain offset on hover for right card */
.about-card-right:hover {
  transform: translateY(53px) scale(1.02); /* 65px - 12px = 53px */
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px) translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px) translateY(85px);
  }
  to {
    opacity: 1;
    transform: translateX(0) translateY(65px);
  }
}

/*--------------------------------------------------------------
 3D Tilt Effect (Optional Enhancement)
--------------------------------------------------------------*/
.about-card-3d {
  transform-style: preserve-3d;
  perspective: 1000px;
}

.about-card-3d:hover {
  transform: translateY(-12px) rotateX(4deg) rotateY(-4deg) scale(1.02);
}

.about-card-3d.about-card-right:hover {
  transform: translateY(53px) rotateX(4deg) rotateY(-4deg) scale(1.02);
}

.about-card-3d img {
  transform: translateZ(20px);
}

.about-card-3d:hover img {
  transform: translateZ(20px) scale(1.12) rotate(1.5deg);
}

/*--------------------------------------------------------------
 Ripple Click Effect
--------------------------------------------------------------*/
.about-card__ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: rippleExpand 0.6s ease-out;
  pointer-events: none;
  z-index: 4;
}

@keyframes rippleExpand {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
 Responsive Design
--------------------------------------------------------------*/
@media (max-width: 991px) {
  .about {
    padding: 70px 0;
  }
  
  .about-title {
    font-size: 36px;
    line-height: 1.3;
  }
  
  .about-text {
    font-size: 16px;
    max-width: 100%;
  }
  
  .about-media {
    flex-direction: column;
    gap: 40px;
    padding: 30px 0;
  }
  
  .about-card-left,
  .about-card-right {
    flex: 1 1 100%;
  }
  
  .about-card-right {
    transform: translateY(0);
  }
  
  .about-card-right:hover {
    transform: translateY(-12px) scale(1.02);
  }
  
  .about-card {
    border-radius: 50px;
  }
  
  .about-card__image-wrapper {
    border-radius: 50px;
  }
  
  .about-card::after {
    border-radius: 50px;
  }
}

@media (max-width: 576px) {
  .about {
    padding: 50px 0;
  }
  
  .about-title {
    font-size: 28px;
  }
  
  .about-text {
    font-size: 15px;
  }
  
  .about-card {
    border-radius: 30px;
  }
  
  .about-card__image-wrapper {
    border-radius: 30px;
  }
  
  .about-card::after {
    border-radius: 30px;
  }
  
  .about-card:hover {
    transform: translateY(-8px) scale(1.01);
  }
  
  /* Adjust decorative elements on mobile */
  .about-media::after {
    width: 30px;
    height: 30px;
    right: 5%;
  }
  
  .about-media::before {
    width: 40px;
    height: 40px;
    left: 5%;
  }
}

/*--------------------------------------------------------------
 Accessibility & Performance
--------------------------------------------------------------*/
@media (prefers-reduced-motion: reduce) {
  .about-card,
  .about-card img,
  .about-card__shine,
  .about-card::after,
  .about-card__particle,
  .about-kicker-wrap,
  .about-kicker-line,
  .about-title,
  .about-text,
  .about-card-left,
  .about-card-right {
    animation: none !important;
    transition: none !important;
  }
  
  .about-card:hover {
    transform: none;
  }
  
  .about-card-right {
    transform: translateY(65px);
  }
  
  /* Keep decorative animations */
  .about-media::before,
  .about-media::after {
    animation: animation-7 90s infinite alternate cubic-bezier(0.59, 0.59, 1, 1) !important;
  }
}

/* Print Styles */
@media print {
  .about-media::before,
  .about-media::after,
  .about-card__shine,
  .about-card__particle {
    display: none;
  }
}

.about-vision {
  margin-top: 120px;
}

.about-vision .row {
  row-gap: 20px;
}


/* Card */
.vision-card{
  background:#f2f2f2;
  border:1px solid rgba(0,0,0,.08);
  border-radius:28px;
  padding:36px 33px;
  box-shadow:0 14px 40px rgba(0,0,0,.22);
  overflow:hidden;
  color:#1f1f1f;
  height: 100%;
}

/* Head row: title + icon */
.vision-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
}

/* Title (START in RTL/LTR) */
.vision-title{
  margin:0;
  font-size:46px;
  font-weight:800;
  line-height:1.1;
  color:var(--secondary-c);
  text-align:start;   /* RTL: right, LTR: left */
  direction:inherit;
}

/* Icon (END) */
.vision-icon{
  flex:0 0 auto;
  width:74px;
  height:74px;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  background:transparent;
  box-shadow:none;
  border-radius:0;
}
.vision-icon::before{content:none;}
.vision-icon img{
  width:56px;
  height:56px;
  object-fit:contain;
  filter:none;
}

/* Body / Content */
.vision-body{
  margin-top:18px;
}

.vision-text{
  text-align:start;
  direction:inherit;
}

.vision-text,
.vision-text p{
  margin:0;
  font-size:22px;
      font-weight: 500;
  line-height:1.5;
  color:rgba(0,0,0,.68);
}

/* Square bullets */
.vision-text ul{
  margin:18px 0 0;
  padding:0;
  list-style:none;
}

.vision-text li{
  position:relative;
  padding-inline-start:20px; /* start */
  margin:10px 0;
  font-size:20px;
  line-height: 1.2;
  color:rgba(0,0,0,.68);
}

.vision-text li::before{
  content:"";
  position:absolute;
  inset-inline-start:0; /* start */
  top:.70em;
  width:8px;
  height:8px;
  border-radius:2px;
  background:var(--primary-c);
  transform:translateY(-50%);
}

/* If ACF outputs <p> inside <li> */
.vision-text li p{ margin:0; }

/* Cancel any old hover/shine effects if present */
.vision-card::after{ content:none; }
.vision-card:hover{
  transform:none;
  background:#f2f2f2;
  border-color:rgba(0,0,0,.08);
  box-shadow:0 14px 40px rgba(0,0,0,.22);
}
.vision-card:hover .vision-title,
.vision-card:hover .vision-text,
.vision-card:hover .vision-icon{
  transform:none;
}

/* Responsive */
@media (max-width: 991.98px){
  .vision-card{ padding:26px 22px; }

  .vision-title{ font-size:34px; }

  .vision-text,
  .vision-text p,
  .vision-text li{ font-size:18px; }

  .vision-icon{ width:64px; height:64px; }
  .vision-icon img{ width:48px; height:48px; }
}

@media (max-width: 767.98px){
  .vision-title{ font-size:30px; }
}


/*----------------------------------------------------
 HomeGoals Section
----------------------------------------------------*/

.s3-goals{
  padding: 50px 0 50px;
  position: relative;
}


.s3-goals-head{
  display: flex;
  justify-content: flex-start;
      margin-bottom: 40px !important; 
}

.s3-goals-title{
  margin: 0;
  font-size: 34px;
  font-weight: 800;
  color: var(--secondary-c);
  letter-spacing: 0;
  text-align: end; /* logical */
}


.s3-goal-card{
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  min-height: 240px;
  box-shadow: 0 16px 38px rgba(0,0,0,.18);
  background: var(--secondary-deep);
  transform: translateZ(0);
}


.s3-goal-bg{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center;
  filter: saturate(.95) contrast(.95);
  transform: scale(1.02);
}

.s3-goal-overlay{
  position: absolute;
  inset: 0;
      background: rgb(33 67 131 / 82%);
}

.s3-goal-content{
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 28px 26px;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;

  text-align: start;
  color: #fff;
}

.s3-goal-title{
  margin: 0 0 12px;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
}

.s3-goal-text,
.s3-goal-text p{
    text-align: start;
  margin: 0;
  font-size: 20px;
  line-height: 1.9;
  color: rgba(255,255,255,.85);
}

.s3-goal-card{
  transition: transform .28s ease, box-shadow .28s ease;
}
.s3-goal-overlay{
  transition: background .28s ease;
}
.s3-goal-bg{
  transition: transform .55s ease;
}

.s3-goal-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 22px 52px rgba(0,0,0,.25);
}
.s3-goal-card:hover .s3-goal-bg{
  transform: scale(1.08);
}
.s3-goal-card:hover .s3-goal-overlay{
  background: rgba(var(--secondary-rgb), calc(var(--ov, .6) + .22));
}

/* responsive */
@media (max-width: 991.98px){
  .s3-goals{ padding: 26px 0 38px; }
  .s3-goals-title{ font-size: 30px; }
  .s3-goal-card{ min-height: 220px; }
  .s3-goal-title{ font-size: 22px; }
  .s3-goal-text, .s3-goal-text p{ font-size: 18px; }
}

@media (max-width: 575.98px){
  .s3-goal-card{ min-height: 210px; }
  .s3-goal-content{ padding: 22px 18px; }
}


/*----------------------------------------------------
 HomeWorkflow Section
----------------------------------------------------*/

/* =========================================
   Workflow Section (ACF Pro Repeater)
   Match Screenshot 100%
   - Green section bg
   - Title right
   - Cards: image as background + titlebox absolute top
   - Centered text
   - Professional hover
========================================= */

.s3-workflow{
  position: relative;
  padding: 50px 0 50px;
  background: var(--secondary-c);
  overflow: hidden;
}

.s3-workflow::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 25% 30%, rgba(255,255,255,.06), transparent 55%),
    radial-gradient(circle at 80% 70%, rgba(0,0,0,.10), transparent 55%);
  pointer-events:none;
}

.s3-workflow .container{
  position: relative;
  z-index: 2;
}

/* Title */
.s3-workflow-head{
  display: flex;
  justify-content: start;
  margin-bottom: 45px;
}

.s3-workflow-title{
  margin: 0;
  font-size: 34px;
  font-weight: 800;
  color: #ffffff;
  text-align: end; /* logical */
}

/* Row spacing like screenshot */
.s3-workflow-row-top{ margin-bottom: 22px; }


.s3-wf-card{
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(0,0,0,.22);
  transform: translateZ(0);
  transition: transform .28s ease, box-shadow .28s ease;
}

/* Image fills card */
.s3-wf-img{
  width: 100%;
  height: 350px;
  display: block;
  object-fit: cover !important;
  object-position: center;
  transform: scale(1.01);
  filter: contrast(.98) saturate(.98);
  transition: transform .55s ease;
}

/* Soft top shading (subtle) */
.s3-wf-card::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(to bottom, rgba(0,0,0,.10), rgba(0,0,0,0));
  opacity: .55;
  pointer-events:none;
  transition: opacity .28s ease;
}

/* Title box absolute top:0 area */
.s3-wf-titlebox{
  position: absolute;
  top: 0;
  z-index: 2;

  background: rgba(255,255,255,.98);
  border-radius: 10px;
  padding: 18px 43px;

  text-align: center;
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
  transition: transform .28s ease, box-shadow .28s ease, background .28s ease;
}

.s3-wf-titletext{
  font-size: 24px;
  font-weight: 800;
  line-height: 1.45;
  color: var(--secondary-c);
}

/* Hover effects */
.s3-wf-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 22px 52px rgba(0,0,0,.28);
}

.s3-wf-card:hover .s3-wf-img{
  transform: scale(1.08);
}

.s3-wf-card:hover .s3-wf-titlebox{
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,.22);
  background: rgba(255,255,255,1);
}

.s3-wf-card:hover::after{
  opacity: .35;
}

/* Responsive */
@media (max-width: 991.98px){
  .s3-workflow{ padding: 28px 0 38px; }
  .s3-workflow-title{ font-size: 28px; }

  .s3-wf-img{ height: 170px; }
  .s3-wf-titletext{ font-size: 16px; }
}

@media (max-width: 575.98px){
  .s3-workflow-title{ font-size: 24px; }
  .s3-wf-img{ height: 190px; }

  .s3-wf-titlebox{
    top: 10px;
    inset-inline-start: 10px;
    inset-inline-end: 10px;
    padding: 10px 10px;
  }
}

/*----------------------------------------------------
HomeFeature section
/******************************************************/


.s3-features{
  padding: 50px 0 50px;
}

/* Optional: section title right like your style */
.s3-features-head{
  display: flex;
  justify-content: flex-start;
  margin-bottom: 18px;
}

.s3-features-title{
  margin: 0;
  font-size: 34px;
  font-weight: 800;
  color: var(--secondary-c);
  text-align: start;
  margin-bottom: 35px;
}

/* Card */
.s3-feature-card{
  background: linear-gradient(135deg, var(--secondary-c) 0%, var(--secondary-deep) 100%);
  border-radius: 26px;
  padding: 26px 28px;
  box-shadow: 0 18px 40px rgba(0,0,0,.20);
  border: 1px solid rgba(255,255,255,.08);

  display: flex;
  align-items: center;
  gap: 22px;
    height: 100%;
  overflow: hidden;
  position: relative;
  transform: translateZ(0);
  transition: transform .28s ease, box-shadow .28s ease;
}

/* subtle highlight */
.s3-feature-card::after{
  content:"";
  position:absolute;
  inset:-40%;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.12), transparent 55%);
  opacity: .55;
  pointer-events:none;
}

/* Icon block */
.s3-feature-icon{
  width: 112px;
  height: 112px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.s3-feature-icon-img{
  width: 112px;
  height: 112px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.25));
}

/* Text body */
.s3-feature-body{
  flex: 1 1 auto;
  min-width: 0;
  text-align: start;  /* logical */
  direction: inherit;
}

/* Title */
.s3-feature-title{
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
}

/* Text */
.s3-feature-text,
.s3-feature-text p{
  margin: 0;
  font-size: 22px;
  line-height: 1.7;
  color: rgba(255,255,255,.75);
}

/* Hover */
.s3-feature-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 26px 58px rgba(0,0,0,.25);
}

/* RTL/LTR positioning like screenshot:
   - In RTL: icon on left, text on right (opposite of normal RTL)
   - In LTR: icon on left, text on right (normal)
   We force icon to stay on the left always (like screenshot) */
:dir(rtl) .s3-feature-card{
  flex-direction: row-reverse; /* makes icon visually on left */
}

/* Responsive */
@media (max-width: 991.98px){
  .s3-features{ padding: 28px 0 38px; }
  .s3-features-title{ font-size: 28px; }

  .s3-feature-card{
    padding: 22px 20px;
    border-radius: 22px;
    gap: 16px;
  }

  .s3-feature-icon,
  .s3-feature-icon-img{
    width: 92px;
    height: 92px;
  }

  .s3-feature-title{ font-size: 24px; }
  .s3-feature-text, .s3-feature-text p{ font-size: 18px; }
}

@media (max-width: 575.98px){
  .s3-feature-card{
    flex-direction: column;
    align-items: flex-start;
  }

  :dir(rtl) .s3-feature-card{
    flex-direction: column;
  }

  .s3-feature-icon{
    width: 86px;
    height: 86px;
  }

  .s3-feature-title{ font-size: 22px; }
}


/*----------------------------------------------------
 HomeServices Section
----------------------------------------------------*/
.services {
  padding: 80px 0;
  background: radial-gradient(circle at top, rgba(var(--primary-rgb), 0.12) 0, #f7fbff 40%, var(--surface-soft) 100%);
}

.services-swiper {
  padding: 25px 5px 40px;
}
.services-swiper .swiper-wrapper {
  align-items: stretch;
}
.services-swiper .swiper-slide {
  height: auto;
  /* display: flex; */
}

.service-card {
  position: relative;
  background: #ffffff;
  border-radius: 26px;
  padding: 32px 30px 26px;
  text-align: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  border: 1px solid rgba(0, 0, 0, 0.03);
  transform: translateY(0) scale(1);
  will-change: transform, box-shadow, border-color, background;
  transition: transform 0.32s ease, box-shadow 0.32s ease,
    border-color 0.32s ease, background 0.32s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.6),
    transparent 55%
  );
  opacity: 0;
  transform: translate3d(-120%, -120%, 0) rotate(20deg);
  pointer-events: none;
}

.service-card::after {
  content: "";
  position: absolute;
  inset-inline: 14px;
  inset-block-end: -40%;
  height: 60%;
  background: radial-gradient(
    circle at bottom,
    rgba(0, 0, 0, 0.08),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card__icon-wrap {
  margin-bottom: 16px;
}

.service-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary-c);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 8px rgba(var(--primary-rgb), 0.22);
  transform: translateZ(0);
  will-change: transform, box-shadow, background;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.service-card__icon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
}

.service-card__title {
  font-size: 20px;
  line-height: 32px;
  font-weight: 700;
  color: var(--secondary-c);
  margin-bottom: 8px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.service-card__excerpt {
  font-size: 15px;
  line-height: 1.9;
  color: #4f6286;
  margin: 0;
  opacity: 0.9;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.service-card__link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.service-card:hover {
  transform: translateY(-8px) scale(1.015);
  /* box-shadow: 0 22px 60px rgba(0, 0, 0, 0.18); */
  border-color: var(--primary-c);
  background: radial-gradient(circle at top, rgba(var(--primary-rgb), 0.12) 0, transparent 55%),
    #ffffff;
}

.service-card:hover::before {
  animation: serviceShine 0.85s ease-out forwards;
}

.service-card:hover::after {
  opacity: 1;
}

.service-card:hover .service-card__icon {
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 0 0 11px rgba(var(--primary-rgb), 0.26);
}

.service-card:hover .service-card__title {
  color: var(--secondary-c);
  transform: translateY(-1px);
}

.service-card:hover .service-card__excerpt {
  opacity: 1;
  transform: translateY(-1px);
}

.services-pagination {
  margin-top: 32px;
}

.services-prev,
.services-next {
  width: 45px;
  height: 45px;
}

@keyframes serviceShine {
  0% {
    opacity: 0;
    transform: translate3d(-120%, -120%, 0) rotate(20deg);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate3d(120%, 120%, 0) rotate(20deg);
  }
}

@media (max-width: 767.98px) {
  .service-card {
    padding: 24px 20px 22px;
  }
  .service-card__title {
    font-size: 18px;
  }
}

/*----------------------------------------------------
 HomePartners Section
----------------------------------------------------*/
.partners {
  padding: 60px 0;
  background: radial-gradient(circle at top, rgba(var(--primary-rgb), 0.12) 0, #f8fbfe 45%, var(--surface-soft) 100%);
}

.partners-inner {
  position: relative;
  background: #ffffff;
  border-radius: 24px;
  padding: 24px 26px 26px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.partners-inner::before {
  content: "";
  position: absolute;
  inset-inline-start: -20%;
  inset-block-start: -40%;
  width: 42%;
  height: 80%;
  background: radial-gradient(circle at center, rgba(var(--primary-rgb), 0.22), transparent 60%);
  opacity: 0.6;
  pointer-events: none;
}

.partners-header {
  text-align: right;
  margin-bottom: 16px;
}

.partners-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--secondary-c);
}

.partners-desc {
  margin: 6px 0 0;
  font-size: 14px;
  color: #6d7468;
}

.partners-grid {
  margin-top: 10px;
  row-gap: 14px;
}

.partner-card {
  position: relative;
  background: #ffffff;
  border-radius: 18px;
  padding: 14px 14px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  border: 1px solid rgba(0, 0, 0, 0.03);
  transform: translateY(0) scale(1);
  transform-origin: center;
  overflow: hidden;
  isolation: isolate;
  will-change: transform, box-shadow, border-color, background;
  transition: transform 0.32s ease, box-shadow 0.32s ease,
    border-color 0.32s ease, background 0.32s ease;
}

.partner-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--primary-c);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.35s ease;
}

.partner-card::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.8),
    transparent 55%
  );
  opacity: 0;
  transform: translate3d(-120%, -120%, 0) rotate(18deg);
  pointer-events: none;
}

.partner-logo img {
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
  filter: brightness(1.05);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.partner-name {
  font-size: 14px;
  color: var(--secondary-c);
  opacity: 0.9;
  text-align: center;
  transition: color 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.16);
  border-color: rgba(var(--primary-rgb), 0.45);
  background: transparent;
}

.partner-card:hover::before {
  opacity: 1;
}

.partner-card:hover::after {
  opacity: 1;
  animation: partnerShine 0.85s ease-out forwards;
}

.partner-card:hover .partner-logo img {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

.partner-card:hover .partner-name {
  color: #ffffff;
  opacity: 1;
  transform: translateY(-1px);
}

@keyframes partnerShine {
  0% {
    opacity: 0;
    transform: translate3d(-120%, -120%, 0) rotate(18deg);
  }
  35% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate3d(120%, 120%, 0) rotate(18deg);
  }
}

@media (max-width: 767.98px) {
  .partners-inner {
    padding: 20px 18px 22px;
  }
  .partners-title {
    font-size: 18px;
  }
  .partner-card {
    padding: 12px 10px;
  }
}

/*----------------------------------------------------
 HomeBlogSection
----------------------------------------------------*/
.theblog {
  padding: 80px 0;
}
.blog-card:hover .main-btn .main-btn__text {
  color: #fff;
}

.blog-card:hover .main-btn {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
  background: var(--secondary-c);
  border-color: transparent;
}

.blog-card:hover .main-btn::before {
  transform: translateX(130%);
  opacity: 1;
}

.blog-card:hover .main-btn .main-btn__circle {
  transform: translateX(3px) scale(1.07);
  box-shadow: 0 0 0 6px rgba(var(--primary-rgb), 0.25);
}

.blog-card:hover .main-btn .main-btn__circle i {
  transform: translateX(-1px);
}

/*----------------------------------------------------
 HomeContact Section
----------------------------------------------------*/
.contact-block {
  padding: 55px 0 100px;
  background: #fff;
}
.contact-form7 {
  margin-top: 28px;
}

.contact-form7 .contact-form-row {
  row-gap: 18px;
}

.contact-input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  border-radius: 999px;
  border: 1px solid rgba(17, 24, 39, 0.18);
  background: #fafafa;
  color: #111827;
  padding: 14px 22px;
  font-size: 16px;
  font-weight: 400;
  outline: none;
  transition: border-color 0.32s cubic-bezier(0.22, 0.61, 0.36, 1),
    box-shadow 0.32s cubic-bezier(0.22, 0.61, 0.36, 1),
    background-color 0.25s ease,
    transform 0.22s cubic-bezier(0.22, 0.61, 0.36, 1);
}

textarea {
  border-radius: 16px !important;
}

.contact-input--area {
  border-radius: 24px;
  min-height: 150px;
  padding-top: 18px;
  padding-bottom: 18px;
  resize: vertical;
  line-height: 1.8;
}

.contact-input::placeholder {
  color: #9ca3af;
  opacity: 1;
  text-align: start !important;
  transition: opacity 0.22s ease;
}

.contact-input:focus::placeholder {
  opacity: 0.45;
}

.contact-input:hover {
  background: #fafafa;
  border-color: rgba(17, 24, 39, 0.38);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
  transform: translateY(-1px);
}

.contact-input:focus,
.contact-input:focus-visible {
  border-color: var(--primary-c);
  box-shadow: 0 0 0 1px rgba(24, 20, 65, 0.35),
    0 18px 40px rgba(15, 23, 42, 0.16);
  background: #ffffff;
  transform: translateY(-2px);
}

.contact-input.wpcf7-not-valid {
  border-color: #ef4444;
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.32),
    0 14px 32px rgba(185, 28, 28, 0.28);
  animation: cInputShake 0.38s cubic-bezier(0.36, 0.07, 0.19, 0.97);
}

.wpcf7-not-valid-tip {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.06);
  color: #b91c1c;
  font-size: 13px;
  line-height: 1.6;
  text-align: right;
  animation: tipIn 0.32s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}

.wpcf7-not-valid-tip::before {
  content: "!";
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}

div.wpcf7-response-output {
  margin: 16px 0 0;
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 14px;
  border: 1px solid rgba(15, 23, 42, 0.2);
  background: var(--primary-c);
  color: #f9fafb;
  opacity: 0;
  transform: translateY(6px);
  animation: formAlertIn 0.4s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

div.wpcf7-response-output.wpcf7-mail-sent-ok {
  background: rgba(22, 163, 74, 0.1);
  color: #15803d;
  border-color: rgba(22, 163, 74, 0.5);
}

div.wpcf7-response-output.wpcf7-validation-errors,
div.wpcf7-response-output.wpcf7-aborted {
  background: rgba(239, 68, 68, 0.08);
  color: #b91c1c;
  border-color: rgba(239, 68, 68, 0.55);
}

.hold_contact .wpcf7-submit {
  border: 1px solid var(--primary-c);
  gap: 0.75rem;
  padding: 8px 16px;
  border-radius: 999px;
  display: inline-flex;
  transition: 0.5s ease;
}

html[dir=ltr] .hold_contact .wpcf7-submit {
    direction: ltr;
}

.hold_contact .wpcf7-submit:hover,
.hold_contact .wpcf7-submit:active,
.hold_contact .wpcf7-submit:focus {
  background: var(--primary-c);
  color: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  transform: translateY(-2px);
}

.hold_contact .wpcf7-submit .btn-circle {
  position: relative;
}

.hold_contact .wpcf7-submit.is-loading .btn-circle i {
  opacity: 0;
}

.hold_contact .wpcf7-submit.is-loading .btn-circle::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--primary-c);
  border-top-color: transparent;
  animation: btnSpin 0.7s linear infinite;
}

@keyframes btnSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes cInputShake {
  0% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-5px);
  }
  40% {
    transform: translateX(4px);
  }
  60% {
    transform: translateX(-3px);
  }
  80% {
    transform: translateX(2px);
  }
  100% {
    transform: translateX(0);
  }
}

@keyframes tipIn {
  from {
    opacity: 0;
    transform: translateY(-4px) translateX(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0) translateX(0);
  }
}

@keyframes formAlertIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 575.98px) {
  .contact-input {
    font-size: 14px;
    padding-inline: 16px;
  }

  .contact-input--area {
    min-height: 130px;
  }
}

/*----------------------------------------------------
Footer
----------------------------------------------------*/
.footer {
  background: #fff;
  padding: 50px 0 24px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  font-size: 14px;
}

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

.fix-icons {
    position: fixed;
    bottom: 100px;
    z-index: 3;
    width: 55px;
    height: 55px;
    inset-inline-start: 24px;
    border-radius: 100%;
}

.whatsapp-popup {
    position: fixed;
    bottom: 170px;
    inset-inline-start: 55px;
    z-index: 9999;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.whatsapp-popup-content {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.3);
    width: 320px;
    overflow: hidden;
}

.whatsapp-header {
    background: #25D366;
    color: white;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.whatsapp-header h3 {
    margin: 0;
    font-size: 16px;
}

.whatsapp-body {
    padding: 20px;
}

.whatsapp-body p {
    margin: 0 0 15px;
    color: #666;
}

#whatsapp-message {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    resize: none;
    font-family: inherit;
    margin-bottom: 15px;
}

.whatsapp-send-btn {
    display: block;
    background: #25D366;
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.whatsapp-send-btn:hover {
    background: #128C7E;
}

.whatsapp-close {
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 28px;
    color: white;
    cursor: pointer;
    z-index: 1;
}

@media (max-width: 768px) {
    .whatsapp-popup {
        right: 10px;
        bottom: 80px;
    }
    .whatsapp-popup-content {
        width: calc(100vw - 20px);
        max-width: 350px;
    }
}

.footer-heading {
  font-size: 18px;
  font-weight: 700;
  color: #000;
  margin-bottom: 18px;
  text-align: start;
}

.footer-col-brand .footer-badge img {
  max-height: 90px;
  width: auto;
}

.footer_desc {
  font-size: 16px;
  line-height: 26px;
  color: #000;
  margin: 10px 0 14px;
  text-align: start;
}

.sh-social-icons {
  display: flex;
  gap: 10px;
}
.sh-social-icon__circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #f5f7fb;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--primary-c);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.sh-social-icon:hover .sh-social-icon__circle {
  background: var(--primary-c);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.2);
}

.sh-social-icon:hover {
  color: #fff;
}

.footer-nav {
    text-align: start;
  margin: 0;
  padding: 0;
}
.footer-nav li {
  margin-bottom: 6px;
}
.footer-nav a {
  color: #000;
  text-decoration: none;
  font-size: 15px;
}
.footer-nav a:hover {
  color: var(--secondary-c);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  justify-content: start;
  text-align: start;
  font-size: 16px;
  gap: 8px;
  margin-bottom: 8px;
  color: #000;
}
.footer-contact-item a {
   direction: ltr;
  color: #000;
  text-decoration: none;
}
.footer-contact-item a:hover,
.footer-contact-item:hover {
  color: var(--secondary-c);
}
.footer-contact-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f6f7fb;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-c);
  font-size: 13px;
}

.footer-newsletter-inner {
  margin-top: 10px;
  background: #eef7ff;
  border-radius: 999px;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-newsletter-input {
  border: none;
  outline: none;
  background: transparent;
  padding: 10px 16px;
  text-align: start;
  flex: 1;
  font-size: 14px;
  color: #000;
}
.footer-newsletter-input::placeholder {
  color: #000;
  opacity: 0.65;
}
.footer-bottom {
  font-size: 13px;
  color: #000;
}
.footer-bottom-links a {
  color: #000;
  text-decoration: none;
}
.footer-bottom-links a:hover {
  color: var(--secondary-c);
}

.footer-bottom p,
.footer-bottom a  {
  font-size: 16px;
  line-height: 16px;
  color: #000;
}

@media(max-width:991.98px){
.main-btn {
  padding: 8px 13px;
}
}

/*----------------------------------------------------
loader
----------------------------------------------------*/

.site-preloader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
}

.site-preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.site-preloader__inner {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.site-preloader__logo img {
  max-width: 90px;
  height: auto;
  display: block;
  animation: preloader-logo-pulse 1.6s ease-in-out infinite;
}

.site-preloader__logo {
  font-size: 18px;
  font-weight: 700;
  color: var(--secondary-c);
  animation: preloader-logo-pulse 1.6s ease-in-out infinite;
}

.site-preloader__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 3px solid transparent;
  border-left-color: var(--primary-c);
  border-right-color: var(--primary-c);
  animation: preloader-spin 1.1s linear infinite;
}

@keyframes preloader-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes preloader-logo-pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

body.is-loading {
  overflow: hidden;
}


/*----------------------------------------------------
top button
----------------------------------------------------*/
.scroll-top{
  position:fixed;
  bottom:26px;
  right:26px; 
  width:46px;
  height:46px;
  border:none;
  padding:0;
  border-radius:50%;
  background:transparent;
  cursor:pointer;
  z-index:999;
  opacity:0;
  visibility:hidden;
  transform:translateY(10px);
  transition:opacity .25s ease,visibility .25s ease,transform .25s ease,box-shadow .25s ease;
}
.scroll-top.is-visible{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}
.scroll-top:hover{
  box-shadow:0 10px 22px rgba(0,0,0,.18);
}

.scroll-top i {
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  font-size:14px;
  color:var(--primary-c);
  pointer-events:none;
}


.scroll-top__progress{
  width:100%;
  height:100%;
  transform:rotate(-90deg);
}
.scroll-top__track{
  fill:none;
  stroke:#e5e7eb;
  stroke-width:2.5;
}
.scroll-top__indicator{
  fill:none;
  stroke:var(--primary-c);
  stroke-width:2.5;
  stroke-linecap:round;
  stroke-dasharray:0;
  stroke-dashoffset:0;
  transition:stroke-dashoffset .1s linear;
}

@media(max-width:575.98px){
  .scroll-top{
    bottom:18px;
    left:18px;
  }
}

/*----------------------------------------------------
 WhatsApp
----------------------------------------------------*/
.wa-fab {
  position: fixed;
  inset-inline-start: 18px;
  inset-block-end: 18px;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  z-index: 9999;
  text-decoration: none;
  isolation: isolate;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: wa-float 3s ease-in-out infinite,
    wa-pulse 2.6s ease-in-out infinite;
  box-shadow: none !important;
}

/*.home .wa-fab {*/
/*    display: none;*/
/*}*/
.wa-fab:hover {
  transform: translateY(-2px) scale(1.05);
}

.wa-fab::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle,
    rgba(var(--primary-rgb), 0.35) 0%,
    rgba(var(--primary-rgb), 0.25) 35%,
    rgba(var(--primary-rgb), 0) 60%
  );
  animation: wa-ring 1.6s ease-out infinite;
  z-index: -1;
}

.wa-fab img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.35s ease, filter 0.35s ease, opacity 0.35s ease;
  transform-origin: center;
}

.wa-fab:hover img {
  animation: wa-bounce 0.9s ease forwards, wa-spin 0.9s ease forwards;
  filter: hue-rotate(-15deg) brightness(1.1) saturate(1.3);
  opacity: 0.98;
}

@keyframes wa-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}
@keyframes wa-pulse {
  0%,
  100% {
    filter: drop-shadow(0 0 0 rgba(var(--primary-rgb), 0));
  }
  50% {
    filter: drop-shadow(0 0 8px rgba(var(--primary-rgb), 0.25));
  }
}

@keyframes wa-ring {
  0% {
    transform: scale(0.9);
    opacity: 0.35;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

@keyframes wa-bounce {
  0% {
    transform: scale(1) translateY(0);
  }
  30% {
    transform: scale(1.15) translateY(-4px);
  }
  50% {
    transform: scale(0.95) translateY(2px);
  }
  70% {
    transform: scale(1.1) translateY(-2px);
  }
  100% {
    transform: scale(1) translateY(0);
  }
}

@keyframes wa-spin {
  0% {
    rotate: 0deg;
  }
  40% {
    rotate: 8deg;
  }
  70% {
    rotate: -6deg;
  }
  100% {
    rotate: 0deg;
  }
}

@media (max-width: 480px) {
  .wa-fab {
    width: 56px;
    height: 56px;
    inset-inline-start: 14px;
    inset-block-end: 185px;
  }
}

/*----------------------------------------------------
 Pages Inside
----------------------------------------------------*/
/*--------------------------------------------------------------
 News Card - Base Styles
--------------------------------------------------------------*/
.news-card {
  margin-bottom: 30px;
  display: flex; /* Enable flex for equal height */
  flex-direction: column;
  height: 100%; /* Fill parent height */
}

.news-card__item {
  display: flex;
  flex-direction: column;
  height: 100%; /* Fill news-card height */
  border: none;
  border-radius: 20px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(var(--secondary-rgb), 0.12);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  position: relative;
}

.news-card__item::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--secondary-c), var(--primary-c));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s ease;
  will-change: transform; /* Performance hint */
}

.news-card__item:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(var(--secondary-rgb), 0.18);
}

.news-card__item:hover::before {
  transform: scaleY(1);
}

/*--------------------------------------------------------------
 News Card - Image
--------------------------------------------------------------*/
.news-card__thumb {
  display: block;
  position: relative;
  overflow: hidden;
  flex-shrink: 0; /* Prevent image from shrinking */
}

.news-card__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0) 55%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none; /* Don't block image interactions */
}

.news-card__thumb .card-img-top {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
  will-change: transform; /* Performance hint */
}

.news-card__item:hover .card-img-top {
  transform: scale(1.06);
}

.news-card__item:hover .news-card__thumb::after {
  opacity: 1;
}

/*--------------------------------------------------------------
 News Card - Body (Flexible Height)
--------------------------------------------------------------*/
.news-card .card-body {
  display: flex;
  flex-direction: column;
  flex: 1; /* Grow to fill remaining space */
  padding: 22px 22px 20px;
}

.news-card .card-title {
  margin: 0 0 10px 0;
  font-size: 20px;
  line-height: 1.5;
  color: #000;
  font-weight: 700;
  min-height: 60px; /* Reserve space for 2-line titles */
  display: flex;
  align-items: flex-start;
}

.news-card .card-title a {
  color: inherit;
  text-decoration: none;
  position: relative;
  display: inline-block;
  transition: color 0.25s ease;
}

.news-card .card-title a::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: -10px;
  width: 0;
  height: 2px;
  background: var(--primary-c);
  transition: width 0.3s ease;
}

.news-card__item:hover .card-title a {
  color: var(--primary-c);
}

.news-card__item:hover .card-title a::after {
  width: 100%;
}

.news-card .exc {
  flex: 1; /* Grow to fill available space */
  font-size: 14px;
  color: #000;
  line-height: 1.9;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/*--------------------------------------------------------------
 News Card - Footer (Sticky to Bottom)
--------------------------------------------------------------*/
.news-card .global-url {
  display: flex;
  justify-content: flex-start;
  border-top: 1px solid rgba(var(--secondary-rgb), 0.08);
  padding-top: 14px;
  margin-top: auto; /* Push to bottom */
}

.news-card:hover .main-btn .btn-bg {
  width: 100%;
}

.news-card:hover .main-btn .btn-text {
  color: #fff;
  transform: translateX(5px);
}

/*--------------------------------------------------------------
 News Card - Responsive
--------------------------------------------------------------*/
@media (max-width: 991px) {
  .news-card__thumb .card-img-top {
    height: 210px;
  }
  
  .news-card .card-title {
    font-size: 19px;
    min-height: 57px;
  }
}

@media (max-width: 576px) {
  .news-card__thumb .card-img-top {
    height: 200px;
  }

  .news-card .card-body {
    padding: 18px 18px 16px;
  }

  .news-card .card-title {
    font-size: 18px;
    min-height: auto; /* Remove min-height on mobile */
  }

  .news-card .exc {
    -webkit-line-clamp: 4;
  }
}

/*--------------------------------------------------------------
 Performance Optimizations
--------------------------------------------------------------*/
@media (prefers-reduced-motion: reduce) {
  .news-card__item,
  .news-card__item::before,
  .news-card__thumb::after,
  .card-img-top,
  .card-title a::after,
  .main-btn .btn-bg,
  .main-btn .btn-text {
    transition: none !important;
  }
}


.singlePage .whyus-row {
  margin-top: 0;
}

.simple-faq {
  &::before,
  &::after {
    display: none;
  }
}

.singlePage {
  margin-bottom: 70px;
}

.singlePage {
  .singlePage-img {
    inline-size: min(100%, 860px);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
    position: relative;
    transform: translateZ(0);
    margin-block-end: clamp(16px, 3vw, 28px);

    img {
      display: block;
      inline-size: 100%;
      block-size: auto;
      object-fit: cover;
      transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
        filter 0.6s ease;
    }

    &::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.06),
        transparent 30%,
        rgba(0, 0, 0, 0.1)
      );
      opacity: 0;
      transition: opacity 0.5s ease;
      pointer-events: none;
    }

    &::after {
      content: "";
      position: absolute;
      inset: -1px;
      border-radius: 18px;
      background: linear-gradient(
        120deg,
        transparent 0%,
        rgba(255, 255, 255, 0.42) 40%,
        transparent 75%
      );
      transform: translateX(-130%) skewX(-14deg);
      transition: transform 0.85s cubic-bezier(0.2, 0.8, 0.2, 1);
      pointer-events: none;
    }

    &:hover,
    &:focus-within {
      img {
        transform: scale(1.05);
        filter: saturate(1.04) contrast(1.03);
      }
      &::before {
        opacity: 0.35;
      }
      &::after {
        transform: translateX(130%) skewX(-14deg);
      }
    }
  }

  .singlePage-content {
    text-align: justify;
    max-inline-size: 78ch;
    margin-inline: auto;
    font-size: clamp(16px, 1.15vw + 0.5rem, 18.5px);
    line-height: 1.85;
    color: #000;

    p {
      color: #000;
    }

    > * {
      margin-block: clamp(12px, 1.5vw, 20px);
    }
    > :first-child {
      margin-block-start: 0;
    }
    > :last-child {
      margin-block-end: 0;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
      color: var(--c-black);
      font-weight: 800;
      line-height: 1.25;
      letter-spacing: 0.2px;
    }
    h1 {
      font-size: clamp(28px, 2.6vw + 0.5rem, 40px);
    }
    h2 {
      font-size: clamp(24px, 2.2vw + 0.4rem, 34px);
      position: relative;
    }
    h3 {
      font-size: clamp(20px, 1.6vw + 0.35rem, 28px);
    }
    h4 {
      font-size: clamp(18px, 1.2vw + 0.3rem, 22px);
    }

    a {
      color: var(--secondary-c);
      text-decoration: underline;
      text-underline-offset: 3px;
      transition: color 0.25s ease, text-underline-offset 0.25s ease,
        background 0.25s ease;
    }
    a:hover {
      color: var(--secondary-c-hover);
      text-underline-offset: 5px;
      background: color-mix(in srgb, var(--c-secondary) 12%, transparent);
    }

    ul,
    ol {
      padding-inline-start: 1.25em;
    }
    li {
      margin-block: 0.35em;
    }
    ul li::marker {
      color: var(--c-secondary);
    }
    ol li::marker {
      color: var(--secondary-c);
      font-weight: 700;
    }

    blockquote {
      margin: clamp(14px, 2vw, 20px) 0;
      padding: 16px 18px;
      border-inline-start: 4px solid var(--secondary-c);
      background: color-mix(
        in srgb,
        var(--c-secondary) 16%,
        var(--c-white) 84%
      );
      border-radius: 12px;
      color: #000;
    }

    :where(img, .wp-block-image img) {
      max-inline-size: 100%;
      height: auto;
      border-radius: 12px;
      display: block;
    }
    figure {
      margin: clamp(10px, 2vw, 18px) 0;
      text-align: center;
    }
    figcaption {
      font-size: 0.9em;
      color: #000;
      margin-top: 8px;
    }

    table {
      width: 100%;
      border-collapse: collapse;
      overflow: hidden;
      border-radius: 12px;
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
      background: var(--c-white);
    }
    thead th {
      background: color-mix(
        in srgb,
        var(--secondary-c) 14%,
        var(--c-white) 86%
      );
      color: var(--c-black);
      text-align: start;
      font-weight: 800;
    }
    th,
    td {
      padding: 12px 14px;
      border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    }
    tbody tr:hover {
      background: color-mix(
        in srgb,
        var(--c-secondary) 12%,
        var(--c-white) 88%
      );
    }

    code,
    kbd {
      font-family: ui-monospace, SFMono-Regular, Menlo, Consolas,
        "Liberation Mono", monospace;
      background: #f4f6f7;
      padding: 0.15em 0.35em;
      border-radius: 6px;
      font-size: 0.95em;
    }
    pre {
      background: #0f172a;
      color: #e2e8f0;
      padding: 16px 18px;
      border-radius: 12px;
      overflow: auto;
      box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
    }
    pre code {
      background: transparent;
      padding: 0;
      color: inherit;
    }

    hr {
      border: 0;
      height: 2px;
      background: linear-gradient(
        90deg,
        transparent,
        color-mix(in srgb, var(--c-black) 16%, transparent),
        transparent
      );
      margin-block: clamp(18px, 3vw, 28px);
      border-radius: 2px;
    }

    .wp-block-button__link,
    .button,
    .btn {
      background: var(--secondary-c);
      color: var(--c-white);
      border-radius: 999px;
      padding: 10px 18px;
      text-decoration: none;
      display: inline-block;
      transition: transform 0.2s ease, box-shadow 0.25s ease,
        background 0.25s ease;
    }
    .wp-block-button__link:hover,
    .button:hover,
    .btn:hover {
      background: var(--secondary-c-hover);
      transform: translateY(-1px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
    }
  }

  @media (max-width: 576px) {
    .singlePage-img {
      border-radius: 14px;
    }
    .singlePage-content {
      padding-inline: 6px;
    }
  }

  @media (min-width: 1400px) {
    .singlePage-content {
      max-inline-size: 82ch;
    }
  }
}

.singlePage a:focus-visible,
.singlePage .wp-block-button__link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--secondary-c) 25%, transparent);
  border-radius: 12px;
}

.svc-archive {
  .svc-archive__title {
    font-weight: 800;
  }

  .svc-card {
    background: var(--c-white);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
      box-shadow 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
    height: 100%;

    &:hover {
      transform: translateY(-6px);
      box-shadow: 0 16px 34px rgba(0, 0, 0, 0.14);
    }

    .svc-link {
      display: grid;
      color: inherit;
      text-decoration: none;
      height: 100%;
    }

    .svc-media {
      position: relative;
      aspect-ratio: 16/7;
      background: #eee;
      overflow: hidden;

      img {
        inline-size: 100%;
        block-size: 100%;
        object-fit: cover;
        transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
      }

      .svc-media__ph {
        inline-size: 100%;
        block-size: 100%;
        background: #e9ecef;
      }
    }

    &:hover .svc-media img {
      transform: scale(1.06);
    }

    .svc-body {
      text-align: center;
      padding: 18px 16px 20px;

      .svc-icon {
        inline-size: 99px;
        block-size: 99px;
        padding: 19px;
        margin: -55px auto 10px;
        border-radius: 50%;
        background: var(--c-white);
        display: grid;
        place-items: center;
        transform: translateY(0) scale(1);
        transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
          box-shadow 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.35s ease;

        img {
          max-block-size: 65px;
          filter: brightness(0) saturate(100%) invert(48%) sepia(9%)
            saturate(1063%) hue-rotate(128deg) brightness(91%) contrast(94%);
          transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
        }

        i {
          font-size: 28px;
          color: var(--c-white);
          transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
        }
      }

      .svc-title {
        font-size: 20px;
        font-weight: 800;
        color: var(--c-black);
        margin: 10px 0 16px;
      }

      .svc-excerpt {
        color: #000;
        line-height: 25px;
        font-size: 18px;
        margin: 0 0 16px;
      }

      .svc-cta {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        color: var(--secondary-c);
        font-weight: 700;
        position: relative;
        transition: color 0.3s ease;

        i {
          transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
        }
      }
    }

    &:hover .svc-icon {
      transform: translateY(-4px) scale(1.06);
    }

    &:hover .svc-icon img,
    &:hover .svc-icon i {
      transform: translateY(-1px) scale(1.06);
    }

    &:hover .svc-cta i {
      transform: translateX(-4px);
    }
  }

  [dir="ltr"] .svc-card:hover .svc-cta i {
    transform: translateX(4px);
  }
}

.singlePage.posts-section [class*="col-"] {
  margin-bottom: 30px;
}

.header-inside {
  background: #fff !important;
  margin-bottom: 80px !important;
}

.singlePage.simple-faq .contact-form,
.singlePage.consult .contact-form {
  max-width: 800px;
  margin: 0 auto;
  border: 4px solid var(--primary-c);
  border-radius: 14px;
  padding: 22px 28px 28px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
}

.form-note {
  font-size: 20px;
  font-weight: 500;
}

.singlePage.simple-faq .contact-form {
  background: #ffffff;
}

.singlePage.consult .contact-form {
  background: rgba(255, 255, 255, 0.4);
  -webkit-backdrop-filter: blur(10px) brightness(1.24);
  backdrop-filter: blur(10px) brightness(1.24);
  border: 6px solid var(--primary-c);
  border-radius: 14px;
  isolation: isolate;
}

.singlePage .wpcf7-form-control-wrap {
  max-width: 100%;
}

.singlePage.simple-faq .contact-form .form-title,
.singlePage.simple-faq .contact-form > h2,
.singlePage.consult .contact-form .form-title,
.singlePage.consult .contact-form > h2 {
  margin: 0 0 14px;
  text-align: center;
  font-weight: 900;
  font-size: clamp(20px, 3vw, 28px);
  color: var(--secondary-c);
}

.singlePage.simple-faq .contact-form .row.g-3,
.singlePage.consult .contact-form .row.g-3 {
  row-gap: 14px;
  column-gap: 18px;
}

.singlePage.simple-faq .contact-form .form-label,
.singlePage.consult .contact-form .form-label {
  display: block;
  text-align: right;
  margin-bottom: 8px;
  font-weight: 800;
  color: var(--secondary-c);
}

.singlePage.simple-faq .contact-form .contact-input.form-control,
.singlePage.consult .contact-form .contact-input.form-control {
  display: block;
  width: 100%;
  height: 44px;
  background: var(--surface-soft);
  border: 2px solid rgba(var(--primary-rgb), 0.4);
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--secondary-c);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease,
    background 0.25s ease;
}
.singlePage.simple-faq .contact-form textarea.contact-input,
.singlePage.consult .contact-form textarea.contact-input {
  min-height: 90px;
  height: auto;
  resize: vertical;
}

.singlePage.simple-faq .contact-form .contact-input:focus,
.singlePage.consult .contact-form .contact-input:focus {
  border-color: var(--primary-c);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.2);
}

.singlePage.simple-faq .contact-form .cf7-btn-wrap,
.singlePage.consult .contact-form .cf7-btn-wrap {
  text-align: center;
  margin-top: 6px;
}
.singlePage.simple-faq .contact-form .main-btn,
.singlePage.consult .contact-form .main-btn {
  width: 185px;
}

.singlePage.simple-faq .wpcf7 form .wpcf7-response-output,
.singlePage.consult .wpcf7 form .wpcf7-response-output {
  margin-top: 12px;
  border-radius: 10px;
  padding: 10px 12px;
  border: 2px solid rgba(var(--primary-rgb), 0.35);
  background: #fff;
}

.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
    border-color: var(--secondary-c);
    background: var(--secondary-c);
}
.singlePage.simple-faq .wpcf7-not-valid,
.singlePage.consult .wpcf7-not-valid {
  border-color: var(--secondary-c) !important;
  background: rgba(var(--primary-rgb), 0.12) !important;
}
.singlePage.simple-faq .wpcf7 .wpcf7-not-valid-tip,
.singlePage.consult .wpcf7 .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 0.9rem;
}

@media (max-width: 576px) {
  .singlePage.simple-faq .contact-form,
  .singlePage.consult .contact-form {
    padding: 18px 16px 22px;
    border-width: 3px;
    border-radius: 12px;
  }
  .singlePage.simple-faq .contact-form .main-btn,
  .singlePage.consult .contact-form .main-btn {
    width: 100%;
  }
}

.singlePage.simple-faq .contact-form .form-title,
.singlePage.consult .contact-form .form-title {
  margin: 0 0 14px;
  text-align: center;
  font-weight: 900;
  font-size: clamp(20px, 3vw, 28px);
  color: var(--secondary-c);
}

.hero-title {
  position: relative;
  overflow: hidden;
  isolation: isolate;

  min-height: 270px;
  display: flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  margin: 0 0 80px;
  padding: 18px 20px;

  color: #fff;
  font-weight: 900;
  font-size: clamp(22px, 4vw, 40px);
  line-height: 1.25;

  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);

  background-image: var(--hero-title-bg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-title::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 0;
  pointer-events: none;
}

.hero-title > * {
  position: relative;
  z-index: 1;
}

@media (max-width: 767.98px) {
  .hero-title {
    padding: 14px 16px;
  }
}

@media (pointer: coarse) {
  .hero-title {
    background-attachment: scroll;
  }
}

.page-id-2764 .wrap {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--consult-bg) center/cover no-repeat;
}

.page-id-2764 .wrap:after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
  pointer-events: none;
}

/*----------------------------------------------------
 Global Responsive
----------------------------------------------------*/
/* ===== MEDIA QUERIES - CLEANED & FLATTENED ===== */

/* Max-width: 1399.96px */
@media (max-width: 1399.96px) {
  .contact-card {
    left: 35% !important;
  }

  .header-logo img {
    max-block-size: 75px !important;
  }

  .main-btn span {
    font-size: 16px;
  }
}

/* Min-width: 992px */
@media (min-width: 992px) {
  .nav-list {
    display: flex;
    gap: 18px;
    align-items: center;
  }

  .site-sidebar,
  .sidebar-overlay {
    display: none !important;
  }

  .nav-list > li.menu-item {
    position: relative;
  }

  .nav-list > li > a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 12px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    line-height: 1.2;
    transition: color 0.25s ease;
  }

  .nav-list > li > a:hover,
  .nav-list > li > a:focus {
    color: var(--primary-c);
  }

  .nav-list > .menu-item-has-children > a::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
    font-weight: 900;
    display: inline-block;
    margin-inline-start: 6px;
    color: var(--c-black);
    transition: transform 0.25s ease, color 0.25s ease;
  }

  .nav-list > .menu-item-has-children:hover > a::after,
  .nav-list > .menu-item-has-children:focus-within > a::after {
    transform: rotate(180deg);
    color: var(--secondary-c);
  }

  .nav-list > .menu-item-has-children.active > a::after,
  .nav-list > .menu-item-has-children.current-menu-item > a::after,
  .nav-list > .menu-item-has-children.current_page_item > a::after,
  .nav-list > .menu-item-has-children.current-menu-ancestor > a::after,
  .nav-list > .menu-item-has-children.current_page_ancestor > a::after,
  .nav-list > .menu-item-has-children.current-menu-parent > a::after {
    color: var(--secondary-c);
  }

  .nav-list > li > .sub-menu {
    position: absolute;
    top: 100%;
    inset-inline-start: 0;
    z-index: 50;
    transform-origin: 0 0 0;
    min-width: 260px;
    padding: 10px;
    list-style: none;
    background: radial-gradient(
        600px 300px at 110% -10%,
        color-mix(in srgb, var(--secondary-c) 10%, transparent),
        transparent 60%
      ),
      linear-gradient(
        180deg,
        color-mix(in srgb, var(--c-white) 96%, transparent),
        color-mix(in srgb, var(--c-white) 88%, transparent)
      );
    border: 1px solid color-mix(in srgb, var(--c-black) 8%, transparent);
    border-radius: 16px;
    box-shadow: 0 18px 44px color-mix(in srgb, var(--c-black) 14%, transparent);
    transform-origin: top center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px) scale(0.98);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
    will-change: opacity, transform;
  }

  .nav-list > li.menu-item-has-children:hover > .sub-menu,
  .nav-list > li.menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
  }

  .nav-list .sub-menu > li {
    position: relative;
  }

  .nav-list .sub-menu > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    color: color-mix(in srgb, var(--c-black) 85%, var(--c-white) 15%);
    text-decoration: none;
    font-weight: 500;
    transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
  }

  .nav-list .sub-menu > li > a:hover,
  .nav-list .sub-menu > li > a:focus {
    background: color-mix(in srgb, var(--c-secondary) 24%, var(--c-white) 76%);
    color: var(--c-black);
    transform: translateY(-1px);
  }

  .nav-list .sub-menu > li:not(:last-child) > a {
    margin-bottom: 6px;
  }

  .nav-list .sub-menu > li.menu-item-has-children > a::after {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 13px;
    color: var(--c-black);
    transition: transform 0.2s ease, color 0.2s ease;
    margin-inline-start: 10px;
    line-height: 1;
  }

  html[dir="ltr"] .nav-list .sub-menu > li.menu-item-has-children > a::after {
    content: "\f054";
  }

  html[dir="rtl"] .nav-list .sub-menu > li.menu-item-has-children > a::after {
    content: "\f053";
  }

  .nav-list .sub-menu .sub-menu {
    position: absolute;
    top: 0;
    inset-inline-start: 100%;
    min-width: 240px;
    padding: 10px;
    background: var(--c-white);
    border: 1px solid color-mix(in srgb, var(--c-black) 8%, transparent);
    box-shadow: 0 16px 40px color-mix(in srgb, var(--c-black) 12%, transparent);
    transform-origin: top start;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px) scale(0.98);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  }

  .nav-list .sub-menu > li.menu-item-has-children:hover > .sub-menu,
  .nav-list .sub-menu > li.menu-item-has-children:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition-delay: 0s;
  }

  .btn-nav,
  .mobile-nav-list,
  .dd-trigger {
    display: none !important;
  }
}

/* Max-width: 992px */
@media (max-width: 992px) {
  .main-caption .headline-title {
    position: relative;
    font-size: clamp(45px, 5vw, 44px);
  }

  .sidebar-overlay {
    position: fixed;
    inset: 0;
    z-index: 9990;
    background: rgba(var(--secondary-rgb), 0.3);
    opacity: 0;
    pointer-events: none;
    transform: scale(1.02);
    transition: opacity 0.35s cubic-bezier(0.2, 0.8, 0.2, 1),
      transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .sidebar-overlay::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        1200px 600px at 20% -10%,
        rgba(var(--primary-rgb), 0.18),
        transparent 60%
      ),
      radial-gradient(
        900px 520px at 120% 110%,
        rgba(var(--secondary-rgb), 0.14),
        transparent 65%
      );
    opacity: 0;
    transition: opacity 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .sidebar-overlay.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }

  .sidebar-overlay.is-open::before {
    opacity: 0.12;
  }

  @supports (backdrop-filter: blur(6px)) {
    .sidebar-overlay {
      backdrop-filter: blur(3px) saturate(110%);
    }

    .sidebar-overlay.is-open {
      backdrop-filter: blur(6px) saturate(120%);
    }
  }

  .site-sidebar {
    position: fixed;
    inset-block: 0;
    inset-inline-start: 0;
    inline-size: min(100vw, 400px);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    background: radial-gradient(
        900px 420px at 120% -10%,
        rgba(var(--primary-rgb), 0.16),
        transparent 50%
      ),
      radial-gradient(
        700px 360px at -10% 110%,
        rgba(var(--secondary-rgb), 0.16),
        transparent 55%
      ),
      linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.94),
        rgba(var(--primary-rgb), 0.08)
      );
    border-inline-start: 1px solid rgba(var(--primary-rgb), 0.24);
    box-shadow: 20px 0 70px rgba(var(--secondary-rgb), 0.16);
    transform: translateX(100%);
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .site-sidebar.is-open {
    transform: translateX(0);
  }

  .site-sidebar .sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 18px;
    border-bottom: 1px solid var(--line-soft);
  }

  .site-sidebar .sidebar-head .sidebar-logo img {
    max-height: 80px;
    display: block;
  }

  .site-sidebar .sidebar-head .logo-text {
    font-weight: 800;
    color: var(--primary-c);
  }

  .site-sidebar .sidebar-head .sidebar-close {
    inline-size: 46px;
    block-size: 46px;
    border: 0;
    background: #fff;
    color: var(--secondary-c);
    display: grid;
    place-items: center;
    box-shadow: 0 8px 26px rgba(var(--secondary-rgb), 0.12);
  }

  .site-sidebar .sidebar-nav {
    padding: 12px;
    overflow: auto;
    scrollbar-width: thin;
  }

  .site-sidebar .sidebar-nav .sidebar-menu {
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
  }

  .site-sidebar .sidebar-nav .sidebar-menu > li {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line-soft);
    box-shadow: 0 14px 36px rgba(var(--secondary-rgb), 0.08);
    overflow: hidden;
    transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1),
      box-shadow 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .site-sidebar .sidebar-nav .sidebar-menu > li:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 40px rgba(var(--secondary-rgb), 0.12);
  }

  .site-sidebar .sidebar-nav .sidebar-menu > li > a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    color: var(--secondary-c);
    text-decoration: none;
    font-weight: 400;
    line-height: 1.1;
    min-block-size: 56px;
  }

  .site-sidebar .sidebar-nav .sidebar-menu > li > a:hover {
    background: rgba(var(--primary-rgb), 0.1);
  }

  .site-sidebar .sidebar-nav .sidebar-menu > li.active > a,
  .site-sidebar .sidebar-nav .sidebar-menu > li > a.active {
    background: var(--primary-c);
    color: #fff;
  }

  .site-sidebar .sidebar-nav .sidebar-menu > li.has-dropdown > a {
    padding-inline-end: 62px;
  }

  .site-sidebar .sidebar-nav .sidebar-menu > li .dd-trigger {
    appearance: none;
    -webkit-appearance: none;
    border: 1px solid var(--line-soft);
    background: #fff;
    color: var(--secondary-c);
    position: absolute;
    inset-inline-end: 12px;
    top: 50%;
    transform: translateY(-50%);
    inline-size: 38px;
    block-size: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background 0.18s cubic-bezier(0.2, 0.8, 0.2, 1),
      transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .site-sidebar .sidebar-nav .sidebar-menu > li .dd-trigger::before {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f078";
    font-size: 14px;
    line-height: 1;
    display: inline-block;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.2s;
  }

  .site-sidebar .sidebar-nav .sidebar-menu > li.is-open > a .dd-trigger {
    background: rgba(var(--primary-rgb), 0.18);
  }

  .site-sidebar .sidebar-nav .sidebar-menu > li.is-open > a .dd-trigger::before {
    transform: rotate(-180deg);
    color: #fff;
  }

  .site-sidebar .sidebar-nav .sidebar-menu > li .sub-menu {
    display: none;
    padding: 8px 10px 14px;
    margin: 0 14px 14px;
    border-inline-start: 2px solid rgba(var(--primary-rgb), 0.34);
    background: rgba(var(--primary-rgb), 0.12);
  }

  .site-sidebar .sidebar-nav .sidebar-menu > li .sub-menu li {
    border: 0;
    background: transparent;
  }

  .site-sidebar .sidebar-nav .sidebar-menu > li .sub-menu li.active span {
    color: #fff;
  }

  .site-sidebar .sidebar-nav .sidebar-menu > li .sub-menu li a {
    position: relative;
    display: block;
    font-weight: 500;
    padding: 10px 12px;
    color: rgba(var(--secondary-rgb), 0.86);
    text-decoration: none;
  }

  .site-sidebar .sidebar-nav .sidebar-menu > li .sub-menu li a:hover {
    background: rgba(var(--primary-rgb), 0.16);
    color: var(--secondary-c);
  }

  .site-sidebar .sidebar-nav .sidebar-menu > li .sub-menu li.has-dropdown > a {
    padding-inline-end: 62px;
  }

  .site-sidebar .sidebar-nav .sidebar-menu > li .sub-menu li.is-open > a .dd-trigger {
    background: rgba(var(--primary-rgb), 0.18);
  }

  .site-sidebar .sidebar-nav .sidebar-menu > li .sub-menu li.is-open > a .dd-trigger::before {
    transform: rotate(-180deg);
  }

  .site-sidebar .sidebar-cta {
    margin-top: auto;
    padding: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    display: grid;
    gap: 12px;
    background: rgba(255, 255, 255, 0.8);
  }

  .site-sidebar .sidebar-cta .ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 999px;
    text-decoration: none;
    color: var(--primary-c);
    border: 1px solid var(--primary-c);
    font-weight: 400;
    transition: background 0.2s cubic-bezier(0.2, 0.8, 0.2, 1),
      color 0.2s cubic-bezier(0.2, 0.8, 0.2, 1),
      transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .site-sidebar .sidebar-cta .ghost-btn:hover {
    background: var(--primary-c);
    color: #fff;
    transform: translateY(-1px);
  }

  .hamburger {
    inline-size: 50px;
    block-size: 46px;
    border: 0;
    background: transparent;
    display: grid;
    place-content: center;
    gap: 6px;
  }

  .hamburger span {
    display: block;
    inline-size: 24px;
    block-size: 2px;
    background: #000;
    border-radius: 2px;
  }

  header .main-menu .nav-list > li > a {
    padding-inline: 5px;
    font-size: 15px;
  }

  .service-card__overlay {
    padding: 20px;
  }
}

/* Max-width: 991.96px */
@media (max-width: 991.96px) {
  .services .services-hero .service-card {
    padding: 20px;
  }

  .contact-block {
    padding: 55px 0 50px;
  }

  .home-stats {
    padding: 71px 0 50px;
  }

  .wpcf7 .wpcf7-form-control-wrap {
    max-width: 100%;
  }

  .contact-block .hold_contact .contact-form textarea.contact-input {
    max-width: 100%;
  }

  .section-banner__image-wrap {
    display: flex;
    justify-content: center;
  }

  .section-banner__content {
    text-align: center;
  }

  .contact-row {
    flex-direction: column-reverse;
  }

  .contact-photo {
    object-fit: none;
  }

  .footer .footer-badge img {
    height: 145px;
  }

  .main-caption {
    transform: translateY(-35%);
  }
}

/* Min-width: 1200px */
@media (min-width: 1200px) {
  #main-header .main-menu,
  #fixed-header .main-menu {
    justify-self: center;
    text-align: center;
  }

  #main-header .header-actions,
  #fixed-header .header-actions {
    justify-self: end;
  }
}

/* Max-width: 768px */
@media (max-width: 768px) {
  .main-caption .headline-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 27px;
  }

  .main-caption {
    transform: translateY(0);
  }

  .greatest-background {
    min-height: 350px;
  }

  .about .about-tabs .row {
    gap: 0;
  }

  .sec-tit {
    color: #000;
    font-weight: 700;
    font-size: 26px;
    margin-bottom: 40px;
  }

  #main-header.header-on-video {
    position: relative !important;
  }
}

/* Max-width: 576px */
@media (max-width: 576px) {
  .stats .stats-wrap .stat-box {
    min-width: 160px;
  }

  .site-sidebar {
    position: fixed;
    inline-size: min(90vw, 400px);
  }

  .contact-form {
    margin-top: 40px;
  }

  .simple-faq .faq-q {
    font-size: 16px;
  }

  .txt {
    width: calc(100% - 28px);
  }


  .footer {
    margin-top: 60px;
  }

  .headline-title {
    line-height: 35px;
  }

  .whyus,
  .partners {
    margin-top: 40px;
  }

  .posts-section .post-card .post-body .post-title {
    font-size: 15px;
    line-height: 23px;
  }

  .posts-section .post-card .post-body .post-meta time {
    font-size: 15px;
  }

  .posts-section .post-card .post-body .post-cta {
    width: 36px;
    height: 36px;
  }

  .posts-section .post-card .post-body .post-cta i {
    font-size: 20px;
    line-height: 36px;
  }

  .hold_contact_photo {
    max-height: 390px !important;
  }

  .contact-photo {
    width: 100%;
    max-height: 387px;
    object-fit: cover;
    display: block;
    object-fit: cover;
  }
}

/* Max-width: 380px */
@media (max-width: 380px) {
  .main-btn span {
    font-size: 14px;
  }

  .gap-4 {
    gap: 0.9rem !important;
  }

  .posts-section .post-card .post-body .post-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 16px;
  }
}

/* Max-width: 1500px */
@media (max-width: 1500px) {
  .main-caption .headline-title {
    line-height: 1.5;
  }
}

/* Media Queries: hover support */
@media (hover: hover) {
  .sidebar-menu > li:hover .dd-trigger {
    transform: translateY(-50%) scale(1.04);
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .sidebar-overlay,
  .site-sidebar,
  .dd-trigger::before {
    transition: none !important;
  }
}

/*----------------------------------------------------
Search
----------------------------------------------------*/

/*--------------------------------------------------------------
 Custom Search - Overlay Shell
--------------------------------------------------------------*/
.custom-search-form {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: linear-gradient(135deg, var(--primary-c) 0%, var(--secondary-c) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.1);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.custom-search-form::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(237, 239, 202, 0.05) 0%,
    transparent 70%
  );
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.custom-search-form.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

/*--------------------------------------------------------------
 Custom Search - Close Button
--------------------------------------------------------------*/
.search-overlay-close {
  position: absolute;
  top: 40px;
  right: 40px;
  width: 60px;
  height: 60px;
  background: rgba(237, 239, 202, 0.1);
  border: 2px solid var(--text-on-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  opacity: 0;
  transform: rotate(-180deg) scale(0);
}

.custom-search-form.active .search-overlay-close {
  opacity: 1;
  transform: rotate(0) scale(1);
  transition-delay: 0.3s;
}

.search-overlay-close i {
  color: var(--text-on-dark);
  font-size: 24px;
  transition: all 0.3s ease;
}

.search-overlay-close:hover {
  background: var(--text-on-dark);
  transform: rotate(90deg) scale(1.1);
}

.search-overlay-close:hover i {
  color: var(--primary-c);
}

/*--------------------------------------------------------------
 Custom Search - Wrapper & Title
--------------------------------------------------------------*/
.search-wrapper {
  max-width: 800px;
  width: 90%;
  position: relative;
  z-index: 2;
  transform: translateY(50px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-search-form.active .search-wrapper {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.2s;
}

.search-overlay-title {
  color: var(--text-on-dark);
  font-size: 48px;
  font-weight: 700;
  text-align: center;
  margin: 0 0 40px 0;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-search-form.active .search-overlay-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

/*--------------------------------------------------------------
 Custom Search - Input Container
--------------------------------------------------------------*/
.search-input-container {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--text-on-dark);
  border-radius: 60px;
  padding: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transition: all 0.4s ease;
  opacity: 0;
  transform: scale(0.9);
}

.custom-search-form.active .search-input-container {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.5s;
}

.search-input-container::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(
    45deg,
    var(--primary-c),
    var(--text-on-dark),
    var(--primary-c)
  );
  border-radius: 60px;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.search-input-container:focus-within::before {
  opacity: 1;
  animation: borderGlow 3s ease infinite;
}

@keyframes borderGlow {
  0%,
  100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.search-input-container:focus-within {
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
  transform: translateY(-3px);
}

/*--------------------------------------------------------------
 Custom Search - Input + Buttons
--------------------------------------------------------------*/
.search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 22px 30px;
  font-size: 20px;
  color: var(--primary-c);
  outline: none;
  font-family: inherit;
  font-weight: 500;
}

.search-input::placeholder {
  color: rgba(var(--secondary-rgb), 0.5);
  transition: color 0.3s ease;
}

.search-input:focus::placeholder {
  color: rgba(var(--secondary-rgb), 0.3);
}

.search-submit-btn {
  background: var(--primary-c);
  border: none;
  padding: 18px 35px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
}

.search-submit-btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(237, 239, 202, 0.3);
  transition: width 0.6s ease, height 0.6s ease;
  transform: translate(-50%, -50%);
}

.search-submit-btn:hover::before {
  width: 300px;
  height: 300px;
}

.search-submit-btn i,
.search-submit-btn span {
  position: relative;
  z-index: 1;
}

.search-submit-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(var(--secondary-rgb), 0.4);
}

.search-submit-btn:active {
  transform: scale(0.98);
}

.search-clear-btn {
  background: transparent;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 8px;
  transition: all 0.3s ease;
  color: var(--primary-c);
}

.search-clear-btn:hover {
  background: rgba(var(--secondary-rgb), 0.1);
  transform: rotate(90deg);
}

.search-input:not(:placeholder-shown) ~ .search-clear-btn {
  display: flex;
}

/*--------------------------------------------------------------
 Custom Search - Suggestions Wrapper
--------------------------------------------------------------*/
.search-suggestions {
  margin-top: 20px;
  background: var(--text-on-dark);
  border-radius: 25px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.search-suggestions.active {
  max-height: 380px;
  opacity: 1;
  padding: 10px 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* Scrollbar */
.search-suggestions.active::-webkit-scrollbar {
  width: 8px;
}

.search-suggestions.active::-webkit-scrollbar-track {
  background: rgba(var(--secondary-rgb), 0.05);
  border-radius: 10px;
}

.search-suggestions.active::-webkit-scrollbar-thumb {
  background: rgba(var(--secondary-rgb), 0.4);
  border-radius: 10px;
}

.search-suggestions.active::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--secondary-rgb), 0.7);
}

/*--------------------------------------------------------------
 Custom Search - Suggestions Header & Footer
--------------------------------------------------------------*/
.suggestions-header {
  position: sticky;
  top: 0;
  z-index: 3;
  padding: 10px 22px 8px;
  background: var(--text-on-dark);
  border-bottom: 1px solid rgba(var(--secondary-rgb), 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.results-count-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(var(--secondary-rgb), 0.06);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-c);
}

.results-count-badge i {
  font-size: 13px;
}

.suggestions-footer {
  position: sticky;
  bottom: 0;
  z-index: 3;
  padding: 10px 20px 8px;
  background: var(--text-on-dark);
  border-top: 1px solid rgba(var(--secondary-rgb), 0.08);
}

.view-all-results {
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 10px 18px;
  background: var(--primary-c);
  color: var(--text-on-dark);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.view-all-results i {
  font-size: 14px;
  transition: transform 0.25s ease;
}

.view-all-results:hover {
  background: var(--secondary-deep);
  box-shadow: 0 4px 12px rgba(var(--secondary-rgb), 0.4);
  transform: translateY(-1px);
}

.view-all-results:hover i {
  transform: translateX(-3px);
}

/*--------------------------------------------------------------
 Custom Search - Suggestion Items
--------------------------------------------------------------*/
.suggestions-group {
  padding: 8px 0;
}

.suggestions-group:not(:last-of-type) {
  border-bottom: 2px solid rgba(var(--secondary-rgb), 0.08);
}

.group-label {
  padding: 8px 20px;
  background: rgba(var(--secondary-rgb), 0.03);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-c);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.group-label i {
  font-size: 14px;
  opacity: 0.7;
}

.suggestions-group:first-child .group-label {
  padding-top: 2px;
}

.suggestion-item {
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.25s ease;
  border-bottom: 1px solid rgba(var(--secondary-rgb), 0.06);
  color: var(--primary-c);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-decoration: none;
  animation: slideInLeft 0.25s ease both;
}

.suggestion-item:last-child {
  border-bottom: none;
}

.suggestion-item:hover {
  background: rgba(var(--secondary-rgb), 0.06);
  padding-inline-start: 26px;
}

.suggestion-item.selected {
  background: rgba(var(--secondary-rgb), 0.12);
}

.suggestion-thumb,
.suggestion-thumb-placeholder {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--secondary-rgb), 0.08);
}

.suggestion-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.suggestion-thumb-placeholder i {
  color: var(--primary-c);
  opacity: 0.6;
  font-size: 18px;
}

.suggestion-content {
  flex: 1;
}

.suggestion-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--primary-c);
}

.suggestion-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  margin-bottom: 4px;
}

.suggestion-date,
.suggestion-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(var(--secondary-rgb), 0.05);
  color: rgba(var(--secondary-rgb), 0.9);
}

.suggestion-meta i {
  font-size: 11px;
  opacity: 0.7;
}

.suggestion-excerpt {
  font-size: 13px;
  color: #555;
  line-height: 1.6;
  margin-top: 2px;
}

.suggestion-arrow {
  margin-inline-start: 6px;
  font-size: 14px;
  opacity: 0.5;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.suggestion-item:hover .suggestion-arrow,
.suggestion-item.selected .suggestion-arrow {
  transform: translateX(-3px);
  opacity: 0.9;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/*--------------------------------------------------------------
 Custom Search - Loading / Error / No Results
--------------------------------------------------------------*/
.loading-item,
.error-item,
.no-results-item {
  border-bottom: none;
}

.loading-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}

.error-item {
  color: #a62828;
  font-size: 14px;
}

.no-results-item {
  align-items: center;
}

.no-results-icon-small {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(var(--secondary-rgb), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-inline-end: 6px;
}

.no-results-icon-small i {
  color: var(--primary-c);
  opacity: 0.7;
}

.no-results-content strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
  color: var(--primary-c);
}

.no-results-content p {
  margin: 0;
  font-size: 13px;
  color: #666;
}

/* لودينج سبينر */
.search-loading {
  display: inline-block;
  width: 22px;
  height: 22px;
  border: 3px solid rgba(var(--secondary-rgb), 0.18);
  border-radius: 50%;
  border-top-color: var(--primary-c);
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
 Custom Search - Popular Searches
--------------------------------------------------------------*/
.popular-searches {
  margin-top: 30px;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.custom-search-form.active .popular-searches {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.7s;
}

.popular-label {
  color: var(--text-on-dark);
  font-size: 16px;
  opacity: 0.8;
  margin-left: 15px;
}

.popular-tag {
  display: inline-block;
  background: rgba(237, 239, 202, 0.15);
  color: var(--text-on-dark);
  padding: 10px 20px;
  border-radius: 25px;
  margin: 5px;
  text-decoration: none;
  border: 1px solid rgba(237, 239, 202, 0.3);
  transition: all 0.3s ease;
  font-size: 14px;
}

.popular-tag:hover {
  background: var(--text-on-dark);
  color: var(--primary-c);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(237, 239, 202, 0.3);
}

/*--------------------------------------------------------------
 Custom Search - Responsive
--------------------------------------------------------------*/
@media (max-width: 768px) {
  .search-overlay-title {
    font-size: 32px;
    margin-bottom: 30px;
  }

  .search-input {
    font-size: 16px;
    padding: 18px 20px;
  }

  .search-submit-btn {
    padding: 15px 25px;
    font-size: 16px;
  }

  .search-submit-btn span {
    display: none;
  }

  .search-overlay-close {
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }

  .search-suggestions.active {
    max-height: 320px;
  }
}

@media (max-width: 480px) {
  .search-overlay-title {
    font-size: 24px;
  }

  .search-input {
    font-size: 14px;
    padding: 15px;
  }

  .search-submit-btn {
    padding: 12px 20px;
  }
}

/*--------------------------------------------------------------
 Search Results Page
--------------------------------------------------------------*/
.search-results-page {
  background: var(--surface-soft);
  min-height: 100vh;
  padding: 40px 0 70px;
}

/*--------------------------------------------------------------
 Search Results Header
--------------------------------------------------------------*/
.search-results-header {
  background: linear-gradient(135deg, var(--primary-c) 0%, var(--secondary-deep) 100%);
  padding: 60px 0;
  margin-bottom: 50px;
  box-shadow: 0 10px 40px rgba(var(--secondary-rgb), 0.2);
  position: relative;
  overflow: hidden;
}

.search-results-header::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 420px;
  height: 420px;
  background: radial-gradient(
    circle,
    rgba(237, 239, 202, 0.14) 0%,
    transparent 70%
  );
  border-radius: 50%;
}

.search-title {
  color: var(--text-on-dark);
  font-size: 38px;
  margin: 0 0 20px 0;
  font-weight: 700;
  animation: fadeInDown 0.6s ease;
}

.search-meta {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 25px;
  animation: fadeIn 0.8s ease;
}

.search-meta span {
  color: var(--text-on-dark);
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0.95;
  background: rgba(237, 239, 202, 0.12);
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid rgba(237, 239, 202, 0.25);
}

.search-meta i {
  font-size: 16px;
}

.search-query {
  background: rgba(237, 239, 202, 0.2);
  padding: 3px 12px;
  border-radius: 12px;
  font-weight: 700;
  border: 2px solid rgba(237, 239, 202, 0.35);
}

/*--------------------------------------------------------------
 Search Results - Inline Search Form
--------------------------------------------------------------*/
.search-again .custom-search-form {
  position: static;
  background: transparent;
  opacity: 1;
  visibility: visible;
  transform: none;
  height: auto;
}

.search-again .search-wrapper {
  max-width: 680px;
  margin: 0;
  opacity: 1;
  transform: none;
}

.search-again .search-input-container {
  opacity: 1;
  transform: none;
}

.search-again .search-overlay-close,
.search-again .search-overlay-title,
.search-again .popular-searches {
  display: none;
}

/*--------------------------------------------------------------
 Search Results List
--------------------------------------------------------------*/
.search-results-body .container {
  max-width: 1200px;
}

.search-results-list {
  display: grid;
  gap: 30px;
}

/*--------------------------------------------------------------
 Search Result Card
--------------------------------------------------------------*/
.search-result-item {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(var(--secondary-rgb), 0.08);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  animation: slideUpFade 0.6s ease both;
  position: relative;
}

.search-result-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--primary-c);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.35s ease;
}

.search-result-item:hover::before {
  transform: scaleY(1);
}

.search-result-item:hover {
  transform: translateX(4px);
  box-shadow: 0 10px 35px rgba(var(--secondary-rgb), 0.16);
}

.result-content {
  display: flex;
  gap: 30px;
  padding: 30px;
}

/* thumbnail */
.result-thumbnail {
  flex-shrink: 0;
  width: 260px;
  height: 180px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: #f3f3f3;
}

.result-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.result-thumbnail:hover img {
  transform: scale(1.12);
}

.thumbnail-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(var(--secondary-rgb), 0.8),
    rgba(var(--secondary-rgb), 0.3)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.result-thumbnail:hover .thumbnail-overlay {
  opacity: 1;
}

.thumbnail-overlay i {
  color: var(--text-on-dark);
  font-size: 30px;
  transform: translateX(-10px);
  transition: transform 0.35s ease;
}

.result-thumbnail:hover .thumbnail-overlay i {
  transform: translateX(0);
}

/* content */
.result-details {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.result-meta-top {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.result-meta-top span {
  color: var(--primary-c);
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0.8;
  background: rgba(var(--secondary-rgb), 0.05);
  padding: 4px 10px;
  border-radius: 999px;
}

.result-meta-top i {
  font-size: 11px;
  opacity: 0.7;
}

.result-title {
  margin: 0 0 15px 0;
  font-size: 26px;
  line-height: 1.4;
  color: var(--primary-c);
}

.result-title a {
  color: inherit;
  text-decoration: none;
  position: relative;
  display: inline-block;
  transition: color 0.25s ease;
}

.result-title a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--primary-c);
  transition: width 0.3s ease;
}

.result-title a:hover::after {
  width: 100%;
}

.result-excerpt {
  color: var(--text-muted);
  line-height: 1.9;
  margin-bottom: 20px;
  flex-grow: 1;
}

.highlight-term {
  background: rgba(var(--primary-rgb), 0.18);
  color: var(--secondary-c);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

/* footer */
.result-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid rgba(var(--secondary-rgb), 0.1);
  margin-top: auto;
}

.result-author {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-c);
  font-size: 14px;
}

.result-author img {
  border-radius: 50%;
  border: 2px solid var(--text-on-dark);
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-c);
  color: var(--text-on-dark);
  padding: 11px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.read-more-btn i {
  transition: transform 0.3s ease;
}

.read-more-btn:hover {
  background: var(--secondary-deep);
  transform: translateX(-4px);
  box-shadow: 0 5px 15px rgba(var(--secondary-rgb), 0.3);
}

.read-more-btn:hover i {
  transform: translateX(-4px);
}

/*--------------------------------------------------------------
 Search Pagination
--------------------------------------------------------------*/
.search-pagination {
  margin-top: 55px;
  text-align: center;
}

.search-pagination ul {
  display: inline-flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.search-pagination a,
.search-pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 48px;
  background: #ffffff;
  color: var(--primary-c);
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.25s ease;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(var(--secondary-rgb), 0.08);
  padding: 0 14px;
  gap: 6px;
  font-size: 14px;
}

.search-pagination a:hover {
  background: var(--primary-c);
  color: var(--text-on-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(var(--secondary-rgb), 0.18);
}

.search-pagination .current {
  background: var(--primary-c);
  color: var(--text-on-dark);
}

/*--------------------------------------------------------------
 Search - No Results
--------------------------------------------------------------*/
.no-results {
  text-align: center;
  padding: 80px 20px;
  background: #ffffff;
  border-radius: 25px;
  box-shadow: 0 10px 40px rgba(var(--secondary-rgb), 0.12);
  animation: fadeIn 0.6s ease;
}

.no-results-icon {
  margin-bottom: 35px;
}

.no-results-icon i {
  font-size: 90px;
  color: var(--primary-c);
  opacity: 0.18;
  animation: float 3s ease-in-out infinite;
}

.no-results h2 {
  color: var(--primary-c);
  font-size: 30px;
  margin: 0 0 15px 0;
}

.no-results p {
  color: #666;
  font-size: 17px;
  margin-bottom: 35px;
}

/*--------------------------------------------------------------
 Search Results Animations
--------------------------------------------------------------*/
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

/*--------------------------------------------------------------
 Search Results Responsive
--------------------------------------------------------------*/
@media (max-width: 992px) {
  .result-content {
    flex-direction: column;
    padding: 22px;
    gap: 20px;
  }

  .result-thumbnail {
    width: 100%;
    height: 220px;
  }

  .result-title {
    font-size: 22px;
  }

  .search-results-header {
    padding: 45px 0;
  }

  .search-title {
    font-size: 30px;
  }
}

@media (max-width: 576px) {
  .search-results-page {
    padding-top: 25px;
  }

  .search-results-header {
    padding: 35px 0 30px;
    margin-bottom: 35px;
  }

  .search-title {
    font-size: 24px;
  }

  .search-meta span {
    font-size: 13px;
    width: 100%;
  }

  .result-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .read-more-btn {
    width: 100%;
    justify-content: center;
  }
}

.hidden-fields-container { display: none; }
.wpcf7-response-output:empty { display: none; }

.wpcf7 .screen-reader-response {
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  position: absolute !important;
  pointer-events: none !important;
}

html[dir='ltr'] .wpcf7 {
    direction: ltr;
}

/*----------------------------------------------------
Palette Lock
----------------------------------------------------*/
::selection {
  background: rgba(var(--primary-rgb), 0.22);
  color: var(--secondary-c);
}

.contact-input[type="file"],
.contact-input,
.search-pagination a,
.search-pagination span,
.gallery-pagination .page-numbers,
.wp-pagenavi .pages,
.wp-pagenavi a,
.wp-pagenavi span.current,
.wp-pagenavi span.extend {
  border-color: var(--line-soft) !important;
  color: var(--secondary-c);
}

.contact-input[type="file"],
.contact-input,
.search-pagination a,
.search-pagination span {
  background: #fff !important;
  box-shadow: var(--shadow-soft);
}

.contact-input::placeholder {
  color: var(--text-muted) !important;
}

.contact-input:hover,
.contact-input[type="file"]:hover,
.search-pagination a:hover,
.search-pagination span.current {
  border-color: rgba(var(--primary-rgb), 0.45) !important;
  box-shadow: var(--shadow-medium) !important;
}

.contact-input:focus,
.contact-input:focus-visible,
.search-pagination a:focus,
.search-pagination a:hover {
  background: var(--surface-soft) !important;
  color: var(--secondary-c) !important;
}

.contact-input.wpcf7-not-valid,
.singlePage.simple-faq .wpcf7-not-valid,
.singlePage.consult .wpcf7-not-valid {
  border-color: var(--secondary-c) !important;
  background: rgba(var(--primary-rgb), 0.12) !important;
  box-shadow: 0 0 0 1px rgba(var(--secondary-rgb), 0.22),
    0 14px 32px rgba(var(--secondary-rgb), 0.16) !important;
}

.wpcf7-not-valid-tip {
  background: rgba(var(--primary-rgb), 0.14) !important;
  color: var(--secondary-c) !important;
}

div.wpcf7-response-output,
div.wpcf7-response-output.wpcf7-mail-sent-ok,
div.wpcf7-response-output.wpcf7-validation-errors,
div.wpcf7-response-output.wpcf7-aborted {
  background: var(--secondary-c) !important;
  color: var(--text-on-dark) !important;
  border-color: rgba(var(--primary-rgb), 0.32) !important;
}

.result-excerpt,
.search-meta span,
.singlePage figcaption,
.singlePage .article-content figcaption {
  color: #000 !important;
}

.singlePage code,
.singlePage kbd,
code,
kbd {
  background: rgba(var(--primary-rgb), 0.12) !important;
  color: var(--secondary-c) !important;
}

.singlePage pre,
pre {
  background: var(--secondary-c) !important;
  color: var(--text-on-dark) !important;
  box-shadow: var(--shadow-medium) !important;
}

.singlePage table,
.svc-archive .svc-card,
.search-result-card,
.result-card {
  box-shadow: var(--shadow-soft) !important;
}

.singlePage table,
.singlePage th,
.singlePage td {
  border-color: var(--line-soft) !important;
}

.singlePage thead th,
.svc-archive .svc-card .svc-media,
.svc-archive .svc-card .svc-media__ph,
.svc-archive .svc-card .svc-body {
  background: var(--surface-soft) !important;
}

.singlePage .btn,
.singlePage .button,
.singlePage .wp-block-button__link,
.search-pagination .current,
.popular-tag:hover,
.popular-tag:focus {
  background: var(--secondary-c) !important;
  color: var(--text-on-dark) !important;
}

.search-pagination .current {
  border-color: transparent !important;
}
/*----------------------------------------------------
End of CSS
----------------------------------------------------*/


