/*********************************************defult_css*************************************************/
@font-face {
  font-family: GothamNarrow-Medium;
  src: url(../font/GothamNarrow-Medium.otf);
}

/* ── Design Tokens ─────────────────────────────────────────────────────── */
:root {
  --primary:        #059669;
  --primary-dark:   #047857;
  --primary-hover:  #10b981;
  --primary-bg:     #ecfdf5;
  --text-heading:   #1e293b;
  --text-body:      #334155;
  --text-muted:     #64748b;
  --border:         #e2e8f0;
  --card-bg:        #ffffff;
  --page-bg:        #f8fafc;
  --footer-bg:      #1e293b;
  --footer-text:    #94a3b8;
  --footer-heading: #f1f5f9;
  --nav-bg:         #ffffff;
  --max-width:      1140px;
  --radius:         12px;
  --radius-sm:      8px;
  --shadow-card:    0 2px 12px rgba(0,0,0,0.08);
  --shadow-nav:     0 1px 0 #e2e8f0;
  --font-xs:        12px;
  --font-sm:        13px;
  --font-base:      15px;
  --font-md:        17px;
  --font-lg:        20px;
  --font-xl:        24px;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--page-bg);
  height: 100%;
  font-family: "Montserrat", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a,
span,
a:hover,
a:active,
button {
  text-decoration: none;
}

a,
div a:hover,
div a:active,
div a:focus,
button {
  text-decoration: none;
  -webkit-transition: all 0.5s ease 0s;
  -moz-transition: all 0.5s ease 0s;
  -ms-transition: all 0.5s ease 0s;
  -o-transition: all 0.5s ease 0s;
  transition: all 0.5s ease 0s;
}

p {
  margin: 0;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body h6 {
  margin: 0;
}

ul,
a {
  list-style: none;
  margin: 0;
  padding: 15px;
}

img {
  max-width: 100%;
}

.cm-overflow {
  overflow: hidden;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: transparent;
}

/* ── Scrollbar — theme colored ───────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: var(--border);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--primary);
  border-radius: 10px;
  transition: background 0.2s;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--primary) var(--border);
}

/*******************************************************header*********************************************************/
.services-label .active {
  background-color: rgb(47, 156, 217);
}

.main_title_text {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.app_wrapper {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background-color: var(--page-bg);
}

.navbar {
  background-color: rgba(5, 150, 105, 0.08);
  /* background-color: rgb(66, 31, 24,0.8); */
}

.site_heading {
  font-size: 25px;
}

.site_logo {
  /* width: 150px; */
  object-fit: cover;
  /* height: 60px; */
}

.adBG {
  background-color: var(--primary-bg);
  border-radius: 10px;
  border: 1px solid var(--primary);
}

.ad_Text {
  position: absolute;
  top: 2px;
  font-size: 8px !important;
  right: -14px;
  color: var(--primary) !important;
}

.cusBtnOption {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--primary);
  font-size: 17px;
  padding: 10px 20px;
  border-radius: 10px;
  transition: all 0.3s ease-in-out;
  box-shadow: 2px 2px 14px rgb(0 0 0 / 40%);
  color: white !important;
  border: none;
  font-weight: 600;
  line-height: 21px;
}

.cusBtnOption:hover,
.playcusBtnOption:hover {
  text-decoration: none;
  background-color: var(--primary-hover) !important;
}

.sport_text {
  margin-left: -10px;
}

.search_icon {
  background-color: #3079ed;
  border-color: #3079ed;
  border: none;
  padding: 6px 27px;
}

.search_icon svg {
  fill: #fff;
}

.input_text {
  padding: 5px 0px 0 0;
}

.categories_box {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.blog-list {
  display: flex;
  flex-wrap: wrap;
  margin-right: -5px;
  margin-left: -5px;
}

.categories {
  font-size: 18px;
  color: var(--primary);
  font-weight: 600;
}

.blogs_main_title {
  font-size: 22px;
  color: #62362D;
  text-align: center;
}

.blog_box {
  padding-right: 7px;
  padding-left: 7px;
}

.padding_box {
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 12px;
  border: 1px solid var(--primary);
  background-color: var(--primary-bg);
}

.blog_title {
  text-align: center;
  font-size: 13px;
  line-height: 23px;
  color: var(--primary);
  padding: 9px 0 0px 0;
}

.blog_box img {
  border-radius: 12px;
}

.blog_description {
  font-size: 15px;
  color: #421F18;
  padding-top: 11px;
  line-height: 23px;
}

.readmore_btn {
  background-color: var(--primary);
  border-radius: 12px;
  padding: 6px 20px;
  border: none;
  margin: 10px auto 0 auto;
  width: 100%;
  align-items: center;
}

.readmore_btn:hover {
  background-color: var(--primary-hover);
}

.readmore_btn a {
  padding: 0px;
}

.footer_text {
  font-size: 17px;
  font-weight: 500;
  color: #62362D;
  padding: 12px 0 7px 0;
  display: flex;
  justify-content: center;
}

.footer_text:hover {
  text-decoration: underline;
}

.cusBtnOption.active {
  background-color: var(--primary);
  color: white;
}

.blog_box {
  display: block;
  /* Hide all blogs initially */
}

.shimmer-effect {
  text-align: center;
}

.categories_arcade {
  font-size: 28px;
  font-weight: 600;
  color: var(--primary);
}

i.fa-brands.fa-facebook-f,
i.fa-brands.fa-instagram,
i.fa-brands.fa-threads,
i.fa-brands.fa-x-twitter {
  color: #ffffff;
  font-size: 23px;
}

i.fa-brands.fa-facebook-f:hover,
i.fa-brands.fa-instagram:hover,
i.fa-brands.fa-threads:hover,
i.fa-brands.fa-x-twitter:hover {
  /* color: #10b981; */
  transition: all 0.7s ease-out;
  /* Increased duration to 1 second */
}



/* Popup Content */
.popup-content {
  background: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  /* max-width: 500px; */
  max-width: 100%;
  margin: 0 10px;
  /* width: 100%; */
  /* height: 30%; */
}

.close-btn {
  background: none;
  border: none;
  font-size: 20px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
  position: absolute;
  top: -12px;
  right: -12px;
}

.close-btn:hover {
  color: #ff0000;
}


.ad_3 {
  max-width: 1200px;
  margin: 0 auto;
}

.ads_container {
  height: auto;
}

.ad_title {
  display: block;
  font-size: 12px;
  text-align: center;
  color: black;
  padding-top: 10px;
}


.blog_post_title {
  font-size: 20px;
  font-weight: 600;
  line-height: 26.6px;
  padding: 0;
}

.blog_post_subtext {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-body);
  padding: 0;
}

.blog_subpost_img {
  margin: 6px 0;
  border-radius: 15px;
}

.dynamic_card {
  padding: 12px;
  background-color: var(--card-bg);
  border: 1px solid var(--primary);
  border-radius: 10px;
  margin-top: 18px;
}

.blog_detalis {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 5px;
}

.blog_dynamic_title {
  font-size: 16px;
  color: #000000;
  font-weight: 700;
  line-height: 20px;
  text-align: left;
  padding-top: 12px;
}

.blog_text {
  font-size: 13px;
  font-weight: 500;
  color: #545454;
  line-height: 18px;
  padding-top: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.blog_btn {
  background: linear-gradient(180deg, #66BFF1 0%, #359DD9 100%);
  padding: 12px 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  transition: all 0.5s ease-in-out;
}

i.fa-solid.fa-chevron-right {
  font-size: 20px;
  color: white;
}

/* Blog content headings — semantic size per tag level */
.blog_paragraph_text {
  margin: 28px 0 10px;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.35;
}

h2.blog_paragraph_text { font-size: 22px; }
h3.blog_paragraph_text { font-size: 19px; }
h4.blog_paragraph_text { font-size: 17px; }
h5.blog_paragraph_text { font-size: 16px; }
h6.blog_paragraph_text { font-size: 15px; font-weight: 600; }

.car_travel {
  border-radius: 15px;
}

.insurance_number {
  list-style-type: decimal;
  padding-top: 5px;
  padding-bottom: 0px;
}

.insurance_number li {
  padding-bottom: 10px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
}

.insurance_point {
  list-style-type: disc;
  padding-top: 5px;
  padding-bottom: 0px;
}

.insurance_point li {
  padding-bottom: 10px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
}



.header_ads {
  padding-top: 0px !important;
  display: flex;
  justify-content: center;
}



/* *********************************************************** New Navbar *********************************************************** */
.header_logo_link {
  padding: 0;
  text-decoration: none !important;
}

.wrapper {
  background-color: var(--nav-bg);
  width: 100%;
  position: sticky;
  top: 0;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  z-index: 999 !important;
}

.wrapper nav {
  position: relative;
  display: flex;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  z-index: 999;
  gap: 24px;
}

nav .nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 1;
}

/* Desktop: links shown as a horizontal row by default */
nav .nav-content .links {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  position: static;
  background: transparent;
  height: auto;
  width: auto;
  overflow: visible;
  clip-path: none !important;
  -webkit-clip-path: none !important;
  opacity: 1;
  visibility: visible;
  flex-flow: row;
  pointer-events: auto;
}

.nav-content .logo img,
.site-logo-img {
  max-height: 40px;
  width: auto;
  display: block;
}

.nav-content .logo a {
  color: var(--text-heading);
  font-size: 22px;
  font-weight: 700;
}

.header_brand_name {
  display: inline-block;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.2;
  color: var(--text-heading);
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.header_brand_name .accent {
  color: var(--primary);
}

.nav-content .links li {
  list-style: none;
  line-height: normal;
  position: relative;
}

.nav-content .links li a,
.nav-content .links li label {
  color: var(--text-heading);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
  display: block;
}

.nav-content .links li label {
  display: none;
}

.nav-content .links li a:hover,
.nav-content .links li label:hover {
  background: var(--primary-bg);
  color: var(--primary);
}

/* .nav-content .links li.active a, */
.nav-content .links li.active label,
.nav-content .links li.active ul li.active a {
  background: var(--primary);
  color: #fff;
}

a.active_health,
a.active_carro,
a.active_contact,
a.active_about,
a.active_privacy {
  background: var(--primary);
  color: #fff !important;
}

.wrapper .search-icon,
.wrapper .menu-icon {
  color: var(--text-heading);
  font-size: 18px;
  cursor: pointer;
  line-height: 0px;
  width: 30px;
  text-align: center;
}

/* Drawer header only visible inside mobile drawer */
.mobile-drawer-header {
  display: none;
}

.wrapper .menu-icon {
  display: none;
}

.wrapper #show-search:checked~.search-icon i::before {
  content: "\f00d";
}

.wrapper .search-box {
  position: absolute;
  height: 100%;
  max-width: calc(100% - 50px);
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.wrapper #show-search:checked~.search-box {
  opacity: 1;
  pointer-events: auto;
}

.search-box input {
  width: 100%;
  height: 100%;
  border: none;
  outline: none;
  font-size: 17px;
  color: #000;
  background: #ffff;
  padding: 0 100px 0 15px;
}

.search-box input::placeholder {
  color: #545252;
}

.search-box .go-icon {
  position: absolute;
  display: flex;
  right: 10px;
  top: 50%;
  align-items: center;
  transform: translateY(-50%);
  line-height: 60px;
  width: 51px;
  height: 50px;
  justify-content: center;
  border: none;
  outline: none;
  color: #000;
  font-size: 20px;
  border-radius: 50%;
  cursor: pointer;
  background: transparent;
}

.wrapper input[type="checkbox"] {
  display: none;
}

/* Dropdown Menu — desktop hover */
.nav-content .links ul {
  position: absolute;
  background: var(--card-bg);
  top: 80px;              /* start below nav, animate up on hover */
  left: 0;
  min-width: 200px;
  z-index: 500;
  opacity: 0;
  visibility: hidden;
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 32px rgba(0,0,0,0.14);
  border: 1px solid var(--border);
  padding: 0;
  overflow: hidden;       /* clips hover bg to rounded corners */
  transition: opacity 0.18s ease, top 0.18s ease, visibility 0.18s ease;
  list-style: none;
  margin: 0;
}

#services-menu {
  position: relative;
}

.nav-content .links #services-menu:hover > ul {
  top: 54px;
  opacity: 1;
  visibility: visible;
}

.nav-content .links ul li {
  position: relative;
  margin: 0;
  padding: 0;
}

.nav-content .links ul li a {
  color: var(--text-body);
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  line-height: 1.4;
  border-radius: 0;
  margin: 0;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.15s, color 0.15s;
}

/* colored dot before each category item */
.nav-content .links ul li a::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  flex-shrink: 0;
  opacity: 0.5;
  transition: opacity 0.15s;
}

.nav-content .links ul li a:hover {
  background: var(--primary-bg);
  color: var(--primary);
}

.nav-content .links ul li a:hover::before {
  opacity: 1;
}

/* divider between items */
.nav-content .links ul li + li {
  border-top: 1px solid var(--border);
}

label.services-label.active {
  background-color: transparent !important;
  color: var(--primary) !important;
  border-left: 3px solid var(--primary) !important;
}

/* desktop Category trigger — highlight on hover */
.nav-content .links #services-menu > .desktop-link {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-content .links #services-menu:hover > .desktop-link {
  color: var(--primary);
}

/* (mobile override lives in @media max-width:768px below) */

i.fas.fa-bars {
  font-size: 23px;
  color: var(--primary);
}

/* *********************************************************** New Navbar End *********************************************************** */
.logo {
  display: flex;
  align-items: center;
  margin-right: 0;
  flex-shrink: 0;
}

/* *********************************************************** Footer Start *********************************************************** */
.tabbar_scroll_wrap {
  position: relative;
  margin-top: 24px;
  margin-bottom: 20px;
}

/* fade-out edge on the right to hint scrollability */
.tabbar_scroll_wrap::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 100%;
  background: linear-gradient(to right, transparent, #f5f5f5);
  pointer-events: none;
  border-radius: 0 12px 12px 0;
}

.tabbar_section {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  flex-wrap: nowrap;
  padding-bottom: 6px;
  /* hide scrollbar but keep scroll functional */
  scrollbar-width: none;       /* Firefox */
  -ms-overflow-style: none;    /* IE/Edge */
}

.tabbar_section::-webkit-scrollbar {
  display: none;               /* Chrome/Safari */
}

.tabbar_btn {
  padding: 8px 18px;
  background-color: var(--card-bg);
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  font-weight: 500;
  font-size: 14px;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
}

.tabbar_btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: var(--primary-bg);
}

.tabbar_btn.active {
  background-color: var(--primary);
  border-color: var(--primary);
  color: white;
  font-weight: 600;
}

.blog_card {
  padding: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-left: 3px solid var(--primary);
  background: var(--card-bg);
  margin-top: 24px;
  display: flex;
  align-items: start;
  gap: 7px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.blog_card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  border-left-color: var(--primary-dark);
}

.blog_card:hover i.fa-solid.fa-angle-right {
  transform: translateX(4px);
}

i.fa-solid.fa-angle-right {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog_card:last-child {
  margin-bottom: 30px;
}

.blog_text_part {
  width: 65%;
}

.blog_images_part {
  width: 35%;
}

.blog_images_part img {
  border-radius: 12px;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.blog_card_title {
  font-size: 15px;
  color: var(--text-heading);
  line-height: 23px;
  font-weight: 700;
}

.blog_card_desc {
  font-weight: 400;
  color: var(--text-body);
  font-size: 14px;
  margin: 6px 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.blog_card_more_detalis {
  font-size: 13px;
  color: var(--primary);
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  font-weight: 600;
}

.blog_hover {
  cursor: pointer;
  padding: 0;
}

i.fa-solid.fa-angle-right {}

/* ── Footer (dark) ──────────────────────────────────────────────────── */
.footer_bg {
  background: var(--footer-bg);
  padding: 52px 0 0;
  margin-top: 48px;
  color: var(--footer-text);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.footer-logo {
  width: auto;
  margin-bottom: 0;
}

.footer-logo a {
  padding: 0;
}

.footer-logo .header_brand_name {
  color: #ffffff;
  font-size: 22px;
}

.footer-logo .header_brand_name .accent {
  color: var(--primary-hover);
}

.footer-logo .mobile-logo {
  filter: brightness(0) invert(1);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.desktop-logo {
  display: none;
  width: 200px;
}

.mobile-logo {
  display: block;
  width: 135px;
}

.footer-text {
  margin: 16px 0 20px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--footer-text);
  font-weight: 400;
}

.social-icons {
  display: flex;
  gap: 10px;
}

i.fa-brands.fa-facebook-f,
i.fa-brands.fa-instagram,
i.fa-brands.fa-threads,
i.fa-brands.fa-x-twitter {
  color: #ffffff;
  font-size: 18px;
}

.icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  text-decoration: none;
  color: white;
  transition: 0.2s;
}

.icon:hover {
  background: var(--primary);
}

.footer-links {
  width: auto;
  margin-bottom: 0;
}

.footer-links:last-child {
  margin-bottom: 0;
}

.footer-title {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--footer-heading);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin: 0;
}

.footer-links a {
  color: var(--footer-text);
  text-decoration: none;
  transition: color 0.2s;
  padding: 5px 0;
  display: block;
  font-weight: 400;
  font-size: 14px;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  margin-top: 48px;
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 13px;
  color: var(--footer-text);
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

/* .sticky_ads {
  position: sticky;
  bottom: 0px;
  right: auto;
  left: auto;
  overflow: hidden;
  padding: 0px 5px 0px 5px;
  margin: 0 auto 10px auto;
  background-color: #000000c2;
  max-width: 360px;
} */
.mobile-logo {
  width: 135px;
}

.header_sub_pages {
  padding-top: 40px;
}

.blog_detalis_paragarph {
  padding: 10px 0;
  font-size: 14px;
  line-height: 20px;
  color: #545454;
  font-weight: 400;
}


/* ── Mobile nav (hamburger) ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .wrapper .menu-icon {
    display: flex;
  }

  .wrapper #show-menu:checked~.menu-icon i::before {
    content: "\f00d";
  }

  nav .nav-content .links {
    position: fixed;
    top: 64px;
    left: 0;
    height: calc(100vh - 64px);
    width: 100%;
    max-width: 100vw;        /* prevent horizontal overflow */
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--nav-bg);
    border-top: 2px solid var(--primary);
    clip-path: circle(0px at calc(100% - 28px) 0px);
    -webkit-clip-path: circle(0px at calc(100% - 28px) 0px);
    transition: 0.4s ease all;
    -webkit-transition: 0.4s ease all;
    z-index: 200;
    padding: 8px 0 40px;
    display: flex;
    align-items: flex-start;
    flex-flow: column;
    opacity: 0;
    visibility: hidden;
    transform: none;
    box-sizing: border-box;
  }

  nav #show-menu:checked~.nav-content .links {
    clip-path: circle(150% at calc(100% - 28px) 0px);
    -webkit-clip-path: circle(150% at calc(100% - 28px) 0px);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  /* ── Mobile nav drawer items ── */
  .nav-content .links li {
    margin: 0;
    width: 100%;
    padding: 0 20px;
    line-height: normal;
    list-style: none;
  }


  /* Every top-level nav link and the category label */
  .nav-content .links > li > a,
  .nav-content .links > li > label.services-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 4px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-heading);
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    border-radius: 0;
    white-space: normal;
    line-height: 1.4;
    transition: color 0.15s;
    width: 100%;
    box-sizing: border-box;
  }

  .nav-content .links > li > a:hover,
  .nav-content .links > li > label.services-label:hover {
    color: var(--primary);
  }

  /* Hide desktop-only Category anchor — label handles mobile */
  .nav-content .links li a.desktop-link {
    display: none !important;
  }

  /* Show the label toggle */
  .nav-content .links li label.services-label {
    display: flex;
  }

  /* Chevron icon always visible, rotates when open */
  .nav-content .links li label.services-label i {
    font-size: 13px;
    color: var(--text-muted);
    transition: transform 0.25s ease;
    flex-shrink: 0;
  }

  .nav-content .links #show-services:checked ~ label.services-label i {
    transform: rotate(180deg);
    color: var(--primary);
  }

  /* Category label: pill highlight when open */
  .nav-content .links #show-services:checked ~ label.services-label,
  .nav-content .links label.services-label.active {
    color: var(--primary) !important;
    background: transparent !important;
  }

  /* ── Sub-items: collapsible accordion ── */
  .nav-content .links .category-dropdown {
    position: static !important;
    top: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    background: transparent;     /* no green rectangle */
    max-height: 0;
    overflow: hidden;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    transition: max-height 0.35s ease;
    margin: 0 !important;
    list-style: none;
    min-width: unset !important;
    width: 100% !important;
    box-sizing: border-box;
    border-left: 3px solid var(--primary) !important; /* left accent line */
  }

  .nav-content .links #show-services:checked ~ .category-dropdown {
    max-height: 400px;
  }

  .nav-content .links ul li {
    margin: 0;
    padding: 0;
    border-bottom: none;
    width: 100%;
  }

  /* Sub-item links: clean indented, no background */
  .nav-content .links ul li a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-body);
    padding: 13px 20px 13px 20px;
    border-bottom: 1px solid var(--border);
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.4;
    width: 100%;
    box-sizing: border-box;
    transition: color 0.15s, background 0.15s;
  }

  .nav-content .links ul li a:hover {
    color: var(--primary);
    background: var(--primary-bg);
  }

  /* Simple chevron — reset desktop dot styles */
  .nav-content .links ul li a::before {
    content: '›';
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    flex-shrink: 0;
    opacity: 0.8;
    width: auto;
    height: auto;
    background: none;
    border-radius: 0;
  }

  .nav-content .links ul li a:hover {
    color: var(--primary);
    background: var(--primary-bg);
  }

  .nav-content .links ul li a:hover::before {
    opacity: 1;
  }

  .nav-content .links ul li:last-child a {
    border-bottom: none;
  }
}

/* Responsive code start */
@media screen and (max-width: 1200px) {
  .ad_title {
    display: block !important;
    padding-top: 10px;
  }
}

@media (max-width: 1200px) {
  .ad_title {
    display: block !important;
    padding-top: 10px;
  }
}

/* Responsive styles */
@media screen and (max-width: 1024px) {
  .footer-logo {
    max-width: 100%;
    text-align: center;
  }

  .footer-text {
    text-align: left;
  }

  .social-icons {
    /* justify-content: center; */
  }
}

@media (max-width: 849px) {
  .ad_1 {
    height: auto !important;
    display: block !important;
  }
}

@media screen and (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
  }

  .footer-links {
    max-width: 100%;
  }
}

@media screen and (max-width: 576px) {
  .logo-container {
    flex-direction: column;
  }

  .desktop-logo {
    display: block;
    margin-bottom: 10px;
  }
}

@media (max-width: 480px) {
  .wrapper nav {
    padding: 0 16px;
  }

  .container {
    padding: 0 14px;
  }
}

/* ── Desktop blog card grid ──────────────────────────────────────────── */
@media (min-width: 768px) {
  .blog_cards_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    align-items: stretch;
    margin-top: 8px;
  }

  .blog_cards_grid > .ads {
    grid-column: 1 / -1;
  }

  /* Vertical card on grid — equal height per row */
  .blog_cards_grid .blog_card {
    flex-direction: column;
    align-items: stretch;
    height: 100%;
    margin-top: 0;
    border-radius: var(--radius);
    border-bottom: none;
    border: 1px solid var(--border);
    padding: 0;
    overflow: hidden;
    box-sizing: border-box;
    background: var(--card-bg);
    box-shadow: var(--shadow-card);
  }

  .blog_cards_grid .blog_text_part {
    width: 100%;
    flex: 1;
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    min-width: 0;
  }

  .blog_cards_grid .blog_images_part {
    width: 100%;
    flex-shrink: 0;
    order: -1;
  }

  .blog_cards_grid .blog_images_part img {
    aspect-ratio: 16 / 9;
    border-radius: 0;
    width: 100%;
  }

  .blog_cards_grid .blog_card_title {
    font-size: 16px;
    line-height: 1.45;
    word-break: break-word;
  }

  .blog_cards_grid .blog_card_desc {
    -webkit-line-clamp: 3;
    font-size: 13px;
    margin: 8px 0 10px;
    flex: 1;
    word-break: break-word;
  }

  /* Tabbar: wrap on desktop */
  .tabbar_section {
    flex-wrap: wrap;
    overflow-x: visible;
    padding-bottom: 0;
  }

  .tabbar_scroll_wrap::after {
    display: none;
  }
}

@media (min-width: 1024px) {
  .blog_cards_grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Featured first card — full-width hero, image right, text left */
  .blog_cards_grid .blog_card:first-child {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: stretch;
    height: auto;          /* not 100% — hero spans own row */
    max-height: 360px;
    border-left-width: 1px;
    padding: 0;
    overflow: hidden;
  }

  /* Image on the RIGHT for hero — reset the order:-1 from 768px rule */
  .blog_cards_grid .blog_card:first-child .blog_images_part {
    width: 52%;
    order: 1;
    flex-shrink: 0;
    flex: unset;
  }

  .blog_cards_grid .blog_card:first-child .blog_images_part img {
    aspect-ratio: unset;
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 0 var(--radius) var(--radius) 0;
  }

  /* Text on the LEFT, vertically centered */
  .blog_cards_grid .blog_card:first-child .blog_text_part {
    order: 0;
    width: 48%;
    flex: unset;
    padding: 36px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
  }

  .blog_cards_grid .blog_card:first-child .blog_card_title {
    font-size: 24px;
    line-height: 1.35;
    font-weight: 700;
    color: var(--text-heading);
  }

  .blog_cards_grid .blog_card:first-child .blog_card_desc {
    flex: unset;            /* cancel the flex:1 from grid card rule */
    -webkit-line-clamp: 4;
    font-size: 15px;
    line-height: 1.65;
    margin: 12px 0 20px;
    color: var(--text-body);
  }

  .blog_cards_grid .blog_card:first-child .blog_card_more_detalis {
    flex: unset;
    font-size: 15px;
    font-weight: 600;
    margin-top: 0;
  }
}

@media (max-width: 767px) {
  /* Footer single column on mobile */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ── Mobile layout overhaul (< 768px) ───────────────────────────────── */
@media (max-width: 767px) {

  /* Page background */
  .app_wrapper {
    background: var(--page-bg);
  }

  /* Container side padding */
  .container {
    padding: 0 16px;
  }

  /* ── Nav ── */
  .wrapper nav {
    height: 56px;
    padding: 0 16px;
  }

  .header_brand_name {
    font-size: 18px;
  }

  /* ── Ad banner: constrain height so it doesn't dominate ── */
  .ads.mb-4 {
    margin: 12px 0;
  }

  /* ── Tabbar ── */
  .tabbar_section {
    gap: 8px;
    padding: 4px 0 12px;
  }

  .tabbar_btn {
    font-size: 13px;
    padding: 7px 16px;
    white-space: nowrap;
  }

  /* ── Blog cards: vertical layout on mobile ── */
  .blog_card {
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    overflow: hidden;
    border-left: 1px solid var(--border); /* reset green left accent */
    border-top: 3px solid var(--primary); /* accent only on top */
    border-radius: var(--radius);
    margin-top: 16px;
    gap: 0;
  }

  /* Image on top */
  .blog_images_part {
    width: 100%;
    order: -1;
    flex-shrink: 0;
  }

  .blog_images_part img {
    width: 100%;
    height: 190px;
    aspect-ratio: unset;
    object-fit: cover;
    border-radius: 0;         /* card already has border-radius */
    display: block;
  }

  /* Text below image */
  .blog_text_part {
    width: 100%;
    padding: 14px 16px 16px;
    box-sizing: border-box;
  }

  .blog_card_title {
    font-size: 15px;
    line-height: 1.45;
    margin-bottom: 6px;
  }

  .blog_card_desc {
    font-size: 13px;
    -webkit-line-clamp: 2;
    margin: 6px 0 10px;
  }

  .blog_card_more_detalis {
    font-size: 13px;
  }

  /* Ads between cards: full-width, reduced margin */
  .blog_cards_grid > .ads,
  .ads {
    margin: 12px 0;
  }

  /* ── Section heading (category title on page) ── */
  .blog_section_title,
  .section-title {
    font-size: 18px;
  }

  /* ── Footer ── */
  .footer_bg {
    padding: 28px 0 0;
    margin-top: 24px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-logo {
    text-align: left;
  }

  .footer-bottom {
    font-size: 13px;
    padding: 16px 0;
    text-align: center;
  }
}

/* ─────────────────────────────────────────
   Blog Detail Hero Image + Title
───────────────────────────────────────── */
.blog-hero-image {
  width: 100%;
  margin: 12px 0 20px;
  border-radius: 10px;
  overflow: hidden;
  line-height: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
}

.blog-hero-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
}

.blog-detail-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-heading, #1e293b);
  line-height: 1.35;
  margin: 14px 0 4px;
  padding: 0;
}

/* Ad that immediately follows the hero image gets extra breathing room */
.blog-hero-image + .ads {
  margin-top: 0 !important;
}

@media (min-width: 768px) {
  .blog-hero-image img {
    height: 320px;
  }
  .blog-detail-title {
    font-size: 26px;
  }
}

/* ─────────────────────────────────────────
   Test Ad Block — theme-based, clean
───────────────────────────────────────── */
.test-ad-block {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 300px;
  height: 250px;
  margin: 0 auto;
  padding: 28px 20px 22px;
  background: var(--card-bg, #ffffff);
  border: 1px solid var(--border, #e2e8f0);
  border-top: 3px solid var(--primary, #059669);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  text-align: center;
  box-sizing: border-box;
  /* Remove browser default <a> tag styling */
  outline: none;
  -webkit-tap-highlight-color: transparent;
  text-decoration: none;
}

.test-ad-badge {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--text-muted, #64748b);
  text-transform: uppercase;
  background: var(--primary-bg, #ecfdf5);
  padding: 2px 6px;
  border-radius: 4px;
  line-height: 1.4;
}

.test-ad-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.test-ad-icon {
  margin-bottom: 6px;
  line-height: 0;
}

.test-ad-icon svg {
  width: 40px;
  height: 40px;
}

.test-ad-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-heading, #1e293b);
  line-height: 1.3;
}

.test-ad-sub {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted, #64748b);
  line-height: 1.4;
}

.test-ad-btn {
  display: inline-block;
  margin-top: 14px;
  padding: 9px 28px;
  background: var(--primary, #059669);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.2s;
  letter-spacing: .02em;
}

.test-ad-btn:hover {
  background: var(--primary-dark, #047857);
  color: #ffffff;
  text-decoration: none;
}

/* ── Test ad inside flow7 dark overlay ───────────────────────────────────── */
.details_wrapper .test-ad-block {
  background: #1c1c1c;
  border-color: #333333;
  border-top-color: #059669;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  /* Keep full width so the entire area remains a valid click target for flow7 ad detection */
  width: 100%;
  height: 250px;
  padding: 28px 20px 22px;
  gap: 6px;
  border-radius: 8px;
}
.details_wrapper .test-ad-badge {
  background: #2a2a2a;
  color: #888888;
  top: 7px;
  right: 8px;
}
.details_wrapper .test-ad-body {
  gap: 4px;
}
.details_wrapper .test-ad-icon {
  margin-bottom: 2px;
}
.details_wrapper .test-ad-icon svg {
  width: 28px;
  height: 28px;
}
.details_wrapper .test-ad-icon svg rect {
  fill: #2a2a2a;
}
.details_wrapper .test-ad-title {
  color: #f1f5f9;
  font-size: 13px;
}
.details_wrapper .test-ad-sub {
  color: #94a3b8;
  font-size: 11px;
}
.details_wrapper .test-ad-btn {
  margin-top: 8px;
  padding: 6px 18px;
  font-size: 11px;
  border-radius: 5px;
}
.details_wrapper .ads.no_space {
  background-color: #000000;
  min-height: 120px;
  padding: 0 !important;   /* Remove top/bottom padding that creates gap before ad */
}

/* Mid ad gap above video — applied via .mid-ad class on page1 mid ad container */
.details_wrapper .ads.no_space.mid-ad {
  margin-top: 12px;
}