:root {
  --imf-blue: #174B8D;
  --imf-blue-hover: #123D73;
  --imf-blue-dark: #081728;
  --imf-green: #129038;
  --imf-green-hover: #0E742D;
  --imf-green-secondary: #4AA933;
  --imf-light-bg: #F4F7FB;
  --imf-light-bg-secondary: #EAF0F7;
  --imf-light-surface: #FFFFFF;
  --imf-light-surface-elevated: #F9FCFC;
  --imf-light-header: rgba(255, 255, 255, 0.96);
  --imf-light-footer: #081728;
  --imf-light-text: #0C1B2D;
  --imf-light-muted: #5B6B7D;
  --imf-light-border: rgba(23, 75, 141, 0.16);
  --imf-light-shadow: 0 18px 44px rgba(8, 23, 40, 0.08);
  --imf-dark-bg: #081728;
  --imf-dark-bg-secondary: #0D223B;
  --imf-dark-surface: #112F51;
  --imf-dark-surface-hover: #163B63;
  --imf-dark-header: rgba(7, 19, 33, 0.96);
  --imf-dark-footer: #050F1B;
  --imf-dark-text: #F5F8FC;
  --imf-dark-muted: #B7C3D3;
  --imf-dark-border: rgba(139, 172, 211, 0.18);
  --imf-dark-link: #2B6CB0;
  --imf-dark-link-hover: #347CC8;
  --imf-fixed-dark-bg: #081728;
  --imf-fixed-dark-bg-secondary: #0D223B;
  --imf-fixed-dark-surface: #112F51;
  --imf-fixed-dark-surface-hover: #163B63;
  --imf-fixed-dark-text: #F5F8FC;
  --imf-fixed-dark-muted: #B7C3D3;
  --imf-fixed-dark-border: rgba(139, 172, 211, 0.18);
  --imf-control-size: 38px;
}

html.is-i18n-loading body {
  visibility: hidden;
}

.site_logo img,
.hamburger_logo img,
.mobile_logo img,
.subscribe-logo img,
.footer-logo img {
  height: auto;
  object-fit: contain;
  display: block;
}

.site_logo img {
  width: clamp(105px, 8vw, 145px);
  max-height: 64px;
}

.header-area.header-sticky .site_logo img,
.header-area.header-duplicate.header-sticky .site_logo img {
  width: clamp(95px, 7vw, 130px);
  max-height: 52px;
}

.hamburger_logo img,
.mobile_logo img {
  width: 130px;
  max-height: 64px;
}

.subscribe-logo img {
  width: clamp(130px, 14vw, 200px);
  max-height: 82px;
}

.footer-logo img {
  width: clamp(120px, 12vw, 175px);
  max-height: 72px;
}

.subscribe-logo,
.footer-logo a {
  display: inline-flex;
  align-items: center;
  max-width: none;
}

.site-preferences-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.header-right-item .site-preferences-controls {
  margin-inline-end: 6px;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: var(--imf-control-size);
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: var(--tj-color-common-white);
  line-height: 1;
  backdrop-filter: blur(10px);
}

.header-area.header-1 .language-switcher,
.header-sticky .language-switcher,
.theme-light .header-duplicate .language-switcher {
  border-color: var(--tj-color-border-1);
  background: var(--tj-color-common-white);
  color: var(--tj-color-heading-primary);
}

.language-switcher i {
  font-size: 14px;
  color: var(--tj-color-theme-primary);
}

.language-option {
  border: 0;
  padding: 0;
  background: transparent;
  color: currentColor;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  opacity: 0.56;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.language-option:hover,
.language-option:focus-visible,
.language-option.is-active {
  color: var(--tj-color-theme-primary);
  opacity: 1;
}

.language-option:focus-visible,
.theme-toggle:focus-visible {
  outline: 2px solid var(--tj-color-theme-primary);
  outline-offset: 3px;
}

.language-divider {
  color: currentColor;
  opacity: 0.36;
}

.theme-toggle {
  width: var(--imf-control-size);
  height: var(--imf-control-size);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--tj-color-common-white);
  line-height: 1;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  backdrop-filter: blur(10px);
}

.header-area.header-1 .theme-toggle,
.header-sticky .theme-toggle,
.theme-light .header-duplicate .theme-toggle {
  border-color: var(--tj-color-border-1);
  background: var(--tj-color-common-white);
  color: var(--tj-color-heading-primary);
}

.theme-toggle:hover {
  border-color: var(--tj-color-theme-primary);
  background: var(--tj-color-theme-primary);
  color: var(--tj-color-common-white);
}

.hamburger-preferences,
.offcanvas-preferences {
  display: flex;
  justify-content: flex-start;
  margin: 18px 0 10px;
}

.hamburger-preferences .language-switcher,
.hamburger-preferences .theme-toggle,
.offcanvas-preferences .language-switcher,
.offcanvas-preferences .theme-toggle {
  border-color: var(--tj-color-border-1);
  background: var(--tj-color-common-white);
  color: var(--tj-color-heading-primary);
}

html.theme-light {
  --tj-color-heading-primary: var(--imf-light-text);
  --tj-color-text-body: var(--imf-light-muted);
  --tj-color-text-body-2: var(--imf-light-muted);
  --tj-color-text-body-3: var(--imf-light-muted);
  --tj-color-text-body-4: var(--imf-light-text);
  --tj-color-theme-primary: var(--imf-blue);
  --tj-color-theme-bg: var(--imf-light-bg-secondary);
  --tj-color-theme-bg-2: var(--imf-light-surface-elevated);
  --tj-color-theme-bg-3: var(--imf-light-bg);
  --tj-color-theme-dark: var(--imf-blue-dark);
  --tj-color-theme-dark-2: #0D223B;
  --tj-color-theme-dark-3: var(--imf-blue);
  --tj-color-theme-dark-4: var(--imf-light-muted);
  --tj-color-theme-dark-5: var(--imf-light-muted);
  --tj-color-grey-1: var(--imf-light-bg);
  --tj-color-grey-2: var(--imf-light-bg-secondary);
  --tj-color-grey-3: rgba(23, 75, 141, 0.1);
  --tj-color-border-1: var(--imf-light-border);
  --tj-color-border-2: rgba(23, 75, 141, 0.24);
  --tj-color-border-3: rgba(23, 75, 141, 0.12);
  --tj-color-border-4: rgba(23, 75, 141, 0.18);
  --tj-color-border-5: rgba(18, 144, 56, 0.18);
}

html.theme-light body {
  color: var(--imf-light-muted);
  background: var(--imf-light-bg);
}

html.theme-light p,
html.theme-light .desc,
html.theme-light .count-text,
html.theme-light .designation,
html.theme-light .blog-meta span,
html.theme-light .contact-link,
html.theme-light .subtitle {
  color: var(--imf-light-muted);
}

html.theme-light a,
html.theme-light .text-btn .btn-text,
html.theme-light .read-more {
  color: var(--imf-light-text);
}

html.theme-light a:hover,
html.theme-light .text-btn:hover .btn-text,
html.theme-light .mainmenu ul > li:hover > a,
html.theme-light .mainmenu ul > li.current-menu-ancestor > a,
html.theme-light .mega-menu-list a:hover {
  color: var(--imf-blue-hover);
}

html.theme-light h1,
html.theme-light h2,
html.theme-light h3,
html.theme-light h4,
html.theme-light h5,
html.theme-light h6,
html.theme-light .title,
html.theme-light .sec-title,
html.theme-light .package-name,
html.theme-light .package-price,
html.theme-light .mainmenu ul > li > a,
html.theme-light .mainmenu ul > li > .sub-menu > li > a,
html.theme-light .mega-menu-title,
html.theme-light .mega-menu-list a {
  color: var(--imf-light-text);
}

html.theme-light .header-area,
html.theme-light .header-area.header-1,
html.theme-light .header-area.header-1 .header-wrapper,
html.theme-light .header-area.header-2.header-sticky,
html.theme-light .header-area.header-2.header-sticky .header-wrapper {
  border-color: var(--imf-light-border);
  background-color: var(--imf-light-header);
}

html.theme-light .header-area.header-2.header-absolute .header-wrapper,
html.theme-light .header-area.header-2.header-absolute .search_popup {
  border: 1px solid rgba(139, 172, 211, 0.18);
  background-color: rgba(8, 23, 40, 0.82);
  backdrop-filter: blur(14px);
}

html.theme-light .header-area.header-duplicate .header-wrapper {
  border: 1px solid var(--imf-light-border);
  border-bottom: 1px solid var(--imf-light-border);
  box-shadow: var(--imf-light-shadow);
}

html.theme-light .header-area.header-2.header-absolute .mainmenu > ul > li > a,
html.theme-light .header-area.header-2.header-absolute .header-search .search,
html.theme-light .header-area.header-2.header-absolute .search_close_btn,
html.theme-light .header-area.header-2.header-absolute .menu_bar span,
html.theme-light .header-area.header-2.header-absolute .mobile_menu_bar span {
  color: var(--imf-fixed-dark-text);
}

html.theme-light .header-area.header-2.header-absolute .menu_bar span,
html.theme-light .header-area.header-2.header-absolute .mobile_menu_bar span {
  background-color: var(--imf-fixed-dark-text);
}

html.theme-light .header-area.header-2.header-absolute .language-switcher,
html.theme-light .header-area.header-2.header-absolute .theme-toggle {
  border-color: var(--imf-fixed-dark-border);
  background: rgba(17, 47, 81, 0.72);
  color: var(--imf-fixed-dark-text);
}

html.theme-light .header-area.header-duplicate .mainmenu > ul > li > a {
  color: var(--imf-light-text);
}

html.theme-light .header-area.header-duplicate .header-search .search,
html.theme-light .header-area.header-duplicate .search_close_btn {
  color: var(--imf-blue);
}

html.theme-light .header-area.header-duplicate .menu_bar span,
html.theme-light .header-area.header-duplicate .mobile_menu_bar span {
  background-color: var(--imf-blue);
}

html.theme-light .language-switcher,
html.theme-light .theme-toggle,
html.theme-light .hamburger-preferences .language-switcher,
html.theme-light .hamburger-preferences .theme-toggle,
html.theme-light .offcanvas-preferences .language-switcher,
html.theme-light .offcanvas-preferences .theme-toggle {
  border-color: var(--imf-light-border);
  background: var(--imf-light-surface);
  color: var(--imf-light-text);
}

html.theme-light .language-switcher i,
html.theme-light .language-option:hover,
html.theme-light .language-option:focus-visible,
html.theme-light .language-option.is-active {
  color: var(--imf-green);
}

html.theme-light .theme-toggle:hover {
  border-color: var(--imf-blue-hover);
  background: var(--imf-blue-hover);
  color: var(--tj-color-common-white);
}

html.theme-light .language-option:focus-visible,
html.theme-light .theme-toggle:focus-visible {
  outline-color: var(--imf-green);
}

html.theme-light .header-search .search,
html.theme-light .search_close_btn,
html.theme-light .menu_bar span,
html.theme-light .mobile_menu_bar span,
html.theme-light .hamburger_close_btn {
  color: var(--imf-light-text);
}

html.theme-light .menu_bar span,
html.theme-light .mobile_menu_bar span {
  background-color: var(--imf-light-text);
}

html.theme-light .mainmenu ul > li > .sub-menu,
html.theme-light .mainmenu ul > li > .mega-menu,
html.theme-light .mega-menu-wrapper,
html.theme-light .mean-container .mean-nav,
html.theme-light .mean-container .mean-nav ul li a {
  border-color: var(--imf-light-border);
  background: var(--imf-light-surface);
  box-shadow: var(--imf-light-shadow);
}

html.theme-light .mainmenu ul > li > .sub-menu > li > a:hover,
html.theme-light .mean-container .mean-nav ul li a:hover {
  color: var(--imf-blue-hover);
  background: var(--imf-light-bg-secondary);
}

html.theme-light .mega-menu-pages-single {
  border-color: var(--imf-light-border) !important;
}

html.theme-light .tj-offcanvas-area .hamburger_wrapper,
html.theme-light .hamburger-area .hamburger_wrapper {
  background: var(--imf-light-surface);
}

html.theme-light .hamburger_bg,
html.theme-light .body-overlay {
  background: rgba(8, 23, 40, 0.42);
}

html.theme-light .hamburger-title,
html.theme-light .hamburger_search button,
html.theme-light .hamburger_close_btn {
  color: var(--imf-light-text);
}

html.theme-light input:not([type=submit]):not([type=radio]):not([type=checkbox]),
html.theme-light input[type=email],
html.theme-light input[type=search],
html.theme-light input[type=text],
html.theme-light textarea,
html.theme-light .search-box input {
  border-color: var(--imf-light-border);
  background-color: var(--imf-light-surface);
  color: var(--imf-light-text);
}

html.theme-light input:not([type=submit]):not([type=radio]):not([type=checkbox]):focus,
html.theme-light input[type=email]:focus,
html.theme-light input[type=search]:focus,
html.theme-light input[type=text]:focus,
html.theme-light textarea:focus,
html.theme-light .search-box input:focus {
  border-color: var(--imf-blue);
  background-color: var(--imf-light-surface-elevated);
}

html.theme-light input::placeholder,
html.theme-light textarea::placeholder {
  color: var(--imf-light-muted);
}

html.theme-light .tj-about-section,
html.theme-light .tj-project-section-2,
html.theme-light .tj-pricing-section,
html.theme-light .tj-team-section {
  background-color: var(--imf-light-bg);
}

html.theme-light .tj-client-section,
html.theme-light .tj-testimonial-section-2,
html.theme-light .tj-blog-section-2,
html.theme-light .tj-service-section:not(.service-2):not(.imf-section-dark),
html.theme-light .tj-contact-section,
html.theme-light .tj-career-section,
html.theme-light .tj-portfolio-section,
html.theme-light .tj-faq-section,
html.theme-light .tj-choose-section,
html.theme-light .tj-mission-vision-section,
html.theme-light .tj-service-details,
html.theme-light .tj-project-details {
  background-color: var(--imf-light-bg-secondary);
}

html.theme-light .tj-page-header {
  background-color: var(--imf-blue-dark);
}

html.theme-light .tj-page-header .page-header-overlay {
  background-color: rgba(8, 23, 40, 0.28);
}

html.theme-light .countup-item,
html.theme-light .customers-box:not(.style-2):not(.imf-section-dark),
html.theme-light .service-item.style-2,
html.theme-light .service-item,
html.theme-light .process-item,
html.theme-light .testimonial-item,
html.theme-light .team-item .mail-at,
html.theme-light .pricing-box,
html.theme-light .blog-item,
html.theme-light .choose-box,
html.theme-light .mission-vision-box,
html.theme-light .portfolio-item,
html.theme-light .project-item,
html.theme-light .project-info,
html.theme-light .contact-form,
html.theme-light .contact-info,
html.theme-light .contact-info-item,
html.theme-light .career-item,
html.theme-light .faq-item,
html.theme-light .accordion-item,
html.theme-light .search_popup,
html.theme-light .tj_search_wrapper {
  border-color: var(--imf-light-border);
  background-color: var(--imf-light-surface);
  box-shadow: var(--imf-light-shadow);
}

html.theme-light .countup-item:hover,
html.theme-light .customers-box:not(.style-2):not(.imf-section-dark):hover,
html.theme-light .service-item.style-2:hover,
html.theme-light .service-item:hover,
html.theme-light .process-item:hover,
html.theme-light .testimonial-item:hover,
html.theme-light .pricing-box:hover,
html.theme-light .blog-item:hover,
html.theme-light .choose-box:hover,
html.theme-light .mission-vision-box:hover,
html.theme-light .portfolio-item:hover,
html.theme-light .project-item:hover,
html.theme-light .career-item:hover,
html.theme-light .faq-item:hover,
html.theme-light .team-item:hover .team-content,
html.theme-light .tj_search_wrapper:hover {
  border-color: rgba(23, 75, 141, 0.28);
  background-color: var(--imf-light-surface-elevated);
}

html.theme-light .pricing-box.active {
  background-color: var(--imf-blue);
}

html.theme-light .pricing-box.active .list-items ul li,
html.theme-light .pricing-box.active .package-name,
html.theme-light .pricing-box.active .package-desc p,
html.theme-light .pricing-box.active .package-price,
html.theme-light .pricing-box.active .package-currency,
html.theme-light .pricing-box.active .package-period {
  color: var(--tj-color-common-white);
}

html.theme-light .text-btn .btn-text,
html.theme-light .text-btn .btn-text span,
html.theme-light .pricing-btn a .btn-text,
html.theme-light .list-items ul li {
  color: var(--imf-light-text);
}

html.theme-light .tj-primary-btn {
  background-color: var(--imf-blue);
}

html.theme-light .tj-primary-btn:hover {
  background-color: var(--imf-blue-hover);
}

html.theme-light .tj-primary-btn .btn-icon,
html.theme-light .text-btn .btn-icon {
  background-color: var(--imf-blue-dark);
}

html.theme-light .tj-primary-btn:hover .btn-icon,
html.theme-light .text-btn:hover .btn-icon {
  background-color: var(--imf-blue-hover);
}

html.theme-light .list-items ul li i,
html.theme-light .sub-title,
html.theme-light .categories a,
html.theme-light .service-icon i,
html.theme-light .count-icon i,
html.theme-light .contact-item i,
html.theme-light .client-numbers {
  color: var(--imf-green);
}

html.theme-light .footer-2,
html.theme-light .tj-footer-section,
html.theme-light .footer-top,
html.theme-light .footer-main-area,
html.theme-light .tj-copyright-area,
html.theme-light .tj-copyright-area-2 {
  border-color: rgba(139, 172, 211, 0.18);
  background-color: var(--imf-light-footer);
}

html.theme-light .tj-footer-section h1,
html.theme-light .tj-footer-section h2,
html.theme-light .tj-footer-section h3,
html.theme-light .tj-footer-section h4,
html.theme-light .tj-footer-section h5,
html.theme-light .tj-footer-section h6,
html.theme-light .tj-footer-section .title,
html.theme-light .tj-footer-section a,
html.theme-light .tj-footer-section .copyright-menu a,
html.theme-light .tj-footer-section .copyright-text p {
  color: var(--imf-dark-text);
}

html.theme-light .tj-footer-section p,
html.theme-light .tj-footer-section span,
html.theme-light .tj-footer-section li {
  color: var(--imf-dark-muted);
}

html.theme-light .social-links ul li a {
  border-color: var(--imf-light-border);
  color: var(--imf-light-text);
}

html.theme-light .tj-footer-section .social-links ul li a {
  border-color: rgba(139, 172, 211, 0.24);
  color: var(--imf-dark-text);
}

html.theme-light .social-links ul li a:hover {
  border-color: var(--imf-green);
  background-color: var(--imf-green);
  color: var(--tj-color-common-white);
}

html.theme-light .client-logo,
html.theme-light .award-logo {
  border-color: var(--imf-light-border);
}

html.theme-dark {
  --tj-color-heading-primary: var(--imf-dark-text);
  --tj-color-text-body: var(--imf-dark-muted);
  --tj-color-text-body-2: var(--imf-dark-muted);
  --tj-color-text-body-3: var(--imf-dark-muted);
  --tj-color-text-body-4: var(--imf-dark-text);
  --tj-color-theme-primary: var(--imf-dark-link);
  --tj-color-theme-bg: var(--imf-dark-bg-secondary);
  --tj-color-theme-bg-2: var(--imf-dark-surface);
  --tj-color-theme-bg-3: var(--imf-dark-bg);
  --tj-color-theme-dark: var(--imf-dark-header);
  --tj-color-theme-dark-2: var(--imf-dark-bg-secondary);
  --tj-color-theme-dark-3: var(--imf-dark-surface);
  --tj-color-theme-dark-4: var(--imf-dark-muted);
  --tj-color-theme-dark-5: var(--imf-dark-muted);
  --tj-color-grey-1: var(--imf-dark-bg);
  --tj-color-grey-2: var(--imf-dark-bg-secondary);
  --tj-color-grey-3: rgba(139, 172, 211, 0.1);
  --tj-color-border-1: var(--imf-dark-border);
  --tj-color-border-2: rgba(139, 172, 211, 0.28);
  --tj-color-border-3: rgba(139, 172, 211, 0.14);
  --tj-color-border-4: rgba(139, 172, 211, 0.2);
  --tj-color-border-5: rgba(74, 169, 51, 0.18);
}

html.theme-dark body {
  color: var(--imf-dark-muted);
  background: var(--imf-dark-bg);
}

html.theme-dark p,
html.theme-dark .desc,
html.theme-dark .count-text,
html.theme-dark .designation,
html.theme-dark .footer-text p,
html.theme-dark .blog-meta span,
html.theme-dark .contact-link,
html.theme-dark .subtitle {
  color: var(--imf-dark-muted);
}

html.theme-dark a,
html.theme-dark .text-btn .btn-text,
html.theme-dark .read-more {
  color: var(--imf-dark-text);
}

html.theme-dark a:hover,
html.theme-dark .text-btn:hover .btn-text,
html.theme-dark .mainmenu ul > li:hover > a,
html.theme-dark .mainmenu ul > li.current-menu-ancestor > a,
html.theme-dark .mega-menu-list a:hover {
  color: var(--imf-dark-link-hover);
}

html.theme-dark h1,
html.theme-dark h2,
html.theme-dark h3,
html.theme-dark h4,
html.theme-dark h5,
html.theme-dark h6,
html.theme-dark .title,
html.theme-dark .sec-title,
html.theme-dark .package-name,
html.theme-dark .package-price,
html.theme-dark .mainmenu ul > li > a,
html.theme-dark .mainmenu ul > li > .sub-menu > li > a,
html.theme-dark .mega-menu-title,
html.theme-dark .mega-menu-list a {
  color: var(--imf-dark-text);
}

html.theme-dark .header-area,
html.theme-dark .header-area.header-1,
html.theme-dark .header-area.header-1 .header-wrapper,
html.theme-dark .header-area.header-2.header-sticky,
html.theme-dark .header-area.header-2.header-sticky .header-wrapper {
  background-color: var(--imf-dark-header);
}

html.theme-dark .header-area.header-2.header-absolute .header-wrapper,
html.theme-dark .header-area.header-2.header-absolute .search_popup {
  border: 1px solid var(--imf-dark-border);
  background-color: rgba(7, 19, 33, 0.84);
}

html.theme-dark .header-area.header-duplicate .header-wrapper {
  border: 1px solid var(--imf-dark-border);
}

html.theme-dark .language-switcher,
html.theme-dark .theme-toggle,
html.theme-dark .hamburger-preferences .language-switcher,
html.theme-dark .hamburger-preferences .theme-toggle {
  border-color: var(--imf-dark-border);
  background: var(--imf-dark-surface);
  color: var(--imf-dark-text);
}

html.theme-dark .language-switcher i,
html.theme-dark .language-option:hover,
html.theme-dark .language-option:focus-visible,
html.theme-dark .language-option.is-active {
  color: var(--imf-green-secondary);
}

html.theme-dark .theme-toggle:hover {
  border-color: var(--imf-dark-link-hover);
  background: var(--imf-dark-link-hover);
  color: var(--imf-dark-text);
}

html.theme-dark .language-option:focus-visible,
html.theme-dark .theme-toggle:focus-visible {
  outline-color: var(--imf-green-secondary);
}

html.theme-dark .header-search .search,
html.theme-dark .search_close_btn,
html.theme-dark .menu_bar span,
html.theme-dark .mobile_menu_bar span,
html.theme-dark .hamburger_close_btn {
  color: var(--imf-dark-text);
}

html.theme-dark .menu_bar span,
html.theme-dark .mobile_menu_bar span {
  background-color: var(--imf-dark-text);
}

html.theme-dark .mainmenu ul > li > .sub-menu,
html.theme-dark .mainmenu ul > li > .mega-menu,
html.theme-dark .mega-menu-wrapper,
html.theme-dark .mean-container .mean-nav,
html.theme-dark .mean-container .mean-nav ul li a {
  border-color: var(--imf-dark-border);
  background: var(--imf-dark-header);
}

html.theme-dark .mainmenu ul > li > .sub-menu > li > a:hover,
html.theme-dark .mean-container .mean-nav ul li a:hover {
  color: var(--imf-dark-link-hover);
  background: var(--imf-dark-bg-secondary);
}

html.theme-dark .mega-menu-pages-single {
  border-color: var(--imf-dark-border) !important;
}

html.theme-dark .tj-offcanvas-area .hamburger_wrapper,
html.theme-dark .hamburger-area .hamburger_wrapper {
  background: var(--imf-dark-header);
}

html.theme-dark .hamburger_bg,
html.theme-dark .body-overlay {
  background: rgba(5, 15, 27, 0.82);
}

html.theme-dark .hamburger-title,
html.theme-dark .hamburger_search button,
html.theme-dark .hamburger_close_btn {
  color: var(--imf-dark-text);
}

html.theme-dark input:not([type=submit]):not([type=radio]):not([type=checkbox]),
html.theme-dark input[type=email],
html.theme-dark input[type=search],
html.theme-dark input[type=text],
html.theme-dark textarea,
html.theme-dark .search-box input {
  border-color: var(--imf-dark-border);
  background-color: var(--imf-dark-surface);
  color: var(--imf-dark-text);
}

html.theme-dark input:not([type=submit]):not([type=radio]):not([type=checkbox]):focus,
html.theme-dark input[type=email]:focus,
html.theme-dark input[type=search]:focus,
html.theme-dark input[type=text]:focus,
html.theme-dark textarea:focus,
html.theme-dark .search-box input:focus {
  border-color: var(--imf-dark-link-hover);
  background-color: var(--imf-dark-surface-hover);
}

html.theme-dark input::placeholder,
html.theme-dark textarea::placeholder {
  color: var(--imf-dark-muted);
}

html.theme-dark .tj-about-section,
html.theme-dark .tj-project-section-2,
html.theme-dark .tj-pricing-section,
html.theme-dark .tj-team-section,
html.theme-dark .tj-working-process {
  background-color: var(--imf-dark-bg);
}

html.theme-dark .tj-client-section,
html.theme-dark .tj-testimonial-section-2,
html.theme-dark .tj-blog-section-2,
html.theme-dark .tj-service-section,
html.theme-dark .tj-contact-section,
html.theme-dark .tj-career-section,
html.theme-dark .tj-portfolio-section,
html.theme-dark .tj-faq-section,
html.theme-dark .tj-choose-section,
html.theme-dark .tj-mission-vision-section,
html.theme-dark .tj-service-details,
html.theme-dark .tj-project-details,
html.theme-dark .footer-top,
html.theme-dark .footer-main-area {
  background-color: var(--imf-dark-bg-secondary);
}

html.theme-dark .tj-page-header {
  background-color: var(--imf-dark-header);
}

html.theme-dark .tj-page-header .page-header-overlay {
  background-color: rgba(8, 23, 40, 0.46);
}

html.theme-dark .countup-item,
html.theme-dark .customers-box,
html.theme-dark .service-item.style-2,
html.theme-dark .service-item,
html.theme-dark .process-item,
html.theme-dark .testimonial-item,
html.theme-dark .team-item .mail-at,
html.theme-dark .pricing-box,
html.theme-dark .blog-item,
html.theme-dark .choose-box,
html.theme-dark .mission-vision-box,
html.theme-dark .portfolio-item,
html.theme-dark .project-item,
html.theme-dark .project-info,
html.theme-dark .contact-form,
html.theme-dark .contact-info,
html.theme-dark .contact-info-item,
html.theme-dark .career-item,
html.theme-dark .faq-item,
html.theme-dark .accordion-item,
html.theme-dark .search_popup,
html.theme-dark .tj_search_wrapper {
  border-color: var(--imf-dark-border);
  background-color: var(--imf-dark-surface);
}

html.theme-dark .countup-item:hover,
html.theme-dark .customers-box:hover,
html.theme-dark .service-item.style-2:hover,
html.theme-dark .service-item:hover,
html.theme-dark .process-item:hover,
html.theme-dark .testimonial-item:hover,
html.theme-dark .pricing-box:hover,
html.theme-dark .blog-item:hover,
html.theme-dark .choose-box:hover,
html.theme-dark .mission-vision-box:hover,
html.theme-dark .portfolio-item:hover,
html.theme-dark .project-item:hover,
html.theme-dark .career-item:hover,
html.theme-dark .faq-item:hover,
html.theme-dark .team-item:hover .team-content,
html.theme-dark .tj_search_wrapper:hover {
  border-color: rgba(52, 124, 200, 0.42);
  background-color: var(--imf-dark-surface-hover);
}

html.theme-dark .pricing-box.active {
  background-color: var(--imf-dark-link);
}

html.theme-dark .pricing-box.active .list-items ul li,
html.theme-dark .pricing-box.active .package-name,
html.theme-dark .pricing-box.active .package-desc p,
html.theme-dark .pricing-box.active .package-price,
html.theme-dark .pricing-box.active .package-currency,
html.theme-dark .pricing-box.active .package-period {
  color: var(--tj-color-common-white);
}

html.theme-dark .text-btn .btn-text,
html.theme-dark .text-btn .btn-text span,
html.theme-dark .pricing-btn a .btn-text,
html.theme-dark .list-items ul li,
html.theme-dark .copyright-menu a,
html.theme-dark .copyright-text p {
  color: var(--imf-dark-text);
}

html.theme-dark .tj-primary-btn .btn-icon,
html.theme-dark .text-btn .btn-icon {
  background-color: var(--imf-dark-header);
}

html.theme-dark .tj-primary-btn:hover .btn-icon,
html.theme-dark .text-btn:hover .btn-icon {
  background-color: var(--imf-dark-link-hover);
}

html.theme-dark .tj-primary-btn {
  background-color: var(--imf-dark-link);
}

html.theme-dark .tj-primary-btn:hover {
  background-color: var(--imf-dark-link-hover);
}

html.theme-dark .list-items ul li i,
html.theme-dark .sub-title,
html.theme-dark .categories a,
html.theme-dark .service-icon i,
html.theme-dark .count-icon i,
html.theme-dark .contact-item i {
  color: var(--imf-green-secondary);
}

html.theme-dark .footer-2,
html.theme-dark .tj-footer-section {
  background-color: var(--imf-dark-footer);
}

html.theme-dark .footer-top,
html.theme-dark .footer-main-area,
html.theme-dark .tj-copyright-area,
html.theme-dark .tj-copyright-area-2 {
  border-color: var(--imf-dark-border);
  background-color: var(--imf-dark-footer);
}

html.theme-dark .social-links ul li a {
  border-color: var(--imf-dark-border);
  color: var(--imf-dark-text);
}

html.theme-dark .social-links ul li a:hover {
  border-color: var(--imf-green);
  background-color: var(--imf-green);
  color: var(--imf-dark-text);
}

html.theme-dark .client-logo,
html.theme-dark .award-logo {
  border-color: var(--imf-dark-border);
}

.imf-section-dark,
html.theme-light .imf-section-dark,
html.theme-dark .imf-section-dark {
  color: var(--imf-fixed-dark-muted);
  background-color: var(--imf-fixed-dark-bg);
}

.imf-section-dark p,
.imf-section-dark .desc,
.imf-section-dark .count-text,
.imf-section-dark .designation,
.imf-section-dark .blog-meta span,
.imf-section-dark .contact-link,
.imf-section-dark .subtitle,
.imf-section-dark .footer-text p {
  color: var(--imf-fixed-dark-muted);
}

.imf-section-dark h1,
.imf-section-dark h2,
.imf-section-dark h3,
.imf-section-dark h4,
.imf-section-dark h5,
.imf-section-dark h6,
.imf-section-dark .title,
.imf-section-dark .sec-title,
.imf-section-dark .text-white,
.imf-section-dark .mainmenu ul > li > a {
  color: var(--imf-fixed-dark-text) !important;
}

.imf-section-dark a,
.imf-section-dark .text-btn .btn-text,
.imf-section-dark .text-btn .btn-text span,
.imf-section-dark .list-items ul li,
.imf-section-dark .copyright-menu a,
.imf-section-dark .copyright-text p {
  color: var(--imf-fixed-dark-text);
}

.imf-section-dark a:hover,
.imf-section-dark .text-btn:hover .btn-text {
  color: var(--imf-dark-link-hover);
}

.imf-section-dark .service-item,
.imf-section-dark .service-item.style-2,
.imf-section-dark .process-item,
.imf-section-dark .search_popup,
.imf-section-dark .tj_search_wrapper {
  border-color: var(--imf-fixed-dark-border);
  background-color: var(--imf-fixed-dark-surface);
}

.imf-section-dark .service-item:hover,
.imf-section-dark .service-item.style-2:hover,
.imf-section-dark .process-item:hover,
.imf-section-dark .tj_search_wrapper:hover {
  border-color: rgba(52, 124, 200, 0.42);
  background-color: var(--imf-fixed-dark-surface-hover);
}

.imf-section-dark .tj-primary-btn {
  background-color: var(--imf-dark-link);
}

.imf-section-dark .tj-primary-btn:hover {
  background-color: var(--imf-dark-link-hover);
}

.imf-section-dark .tj-primary-btn .btn-icon,
.imf-section-dark .text-btn .btn-icon {
  background-color: var(--imf-fixed-dark-bg-secondary);
}

.imf-section-dark .tj-primary-btn:hover .btn-icon,
.imf-section-dark .text-btn:hover .btn-icon {
  background-color: var(--imf-dark-link-hover);
}

.imf-section-dark .list-items ul li i,
.imf-section-dark .sub-title,
.imf-section-dark .categories a,
.imf-section-dark .service-icon i,
.imf-section-dark .count-icon i,
.imf-section-dark .contact-item i,
.imf-section-dark .client-numbers {
  color: var(--imf-green-secondary);
}

.tj-service-section.service-2.imf-section-dark,
.tj-working-process.imf-section-dark {
  background-color: var(--imf-fixed-dark-bg);
}

.tj-service-section.service-2.imf-section-dark .content-wrap,
.tj-service-section.service-2.imf-section-dark .service-wrapper-2 {
  color: var(--imf-fixed-dark-muted);
}

.customers-box.style-2.imf-section-dark {
  background-color: var(--imf-fixed-dark-bg-secondary);
  box-shadow: none;
}

.customers-box.style-2.imf-section-dark .customers-bg {
  opacity: 0.32;
  background-blend-mode: luminosity;
}

.customers-box.style-2.imf-section-dark .customers-text,
.customers-box.style-2.imf-section-dark .customers ul li span {
  color: var(--imf-fixed-dark-text);
}

.customers-box.style-2.imf-section-dark .customers ul li span {
  background-color: var(--imf-green);
}

.tj-footer-section.imf-section-dark,
.tj-footer-section.imf-section-dark .footer-top,
.tj-footer-section.imf-section-dark .footer-main-area,
.tj-footer-section.imf-section-dark .tj-copyright-area,
.tj-footer-section.imf-section-dark .tj-copyright-area-2,
.footer-marquee.imf-section-dark {
  border-color: var(--imf-fixed-dark-border);
  background-color: var(--imf-dark-footer);
}

.tj-footer-section.imf-section-dark .social-links ul li a {
  border-color: var(--imf-fixed-dark-border);
  color: var(--imf-fixed-dark-text);
}

.tj-footer-section.imf-section-dark .social-links ul li a:hover {
  border-color: var(--imf-green);
  background-color: var(--imf-green);
  color: var(--imf-fixed-dark-text);
}

html.theme-light .tj-footer-section.imf-section-dark,
html.theme-dark .tj-footer-section.imf-section-dark {
  background-color: #050F1B;
}

html.theme-light .tj-footer-section.imf-section-dark .footer-top,
html.theme-light .tj-footer-section.imf-section-dark .footer-main-area,
html.theme-light .tj-footer-section.imf-section-dark .tj-copyright-area,
html.theme-light .tj-footer-section.imf-section-dark .tj-copyright-area-2,
html.theme-dark .tj-footer-section.imf-section-dark .footer-top,
html.theme-dark .tj-footer-section.imf-section-dark .footer-main-area,
html.theme-dark .tj-footer-section.imf-section-dark .tj-copyright-area,
html.theme-dark .tj-footer-section.imf-section-dark .tj-copyright-area-2 {
  border-color: var(--imf-fixed-dark-border);
  background-color: #050F1B;
}

html.theme-light .tj-footer-section.imf-section-dark .footer-top,
html.theme-dark .tj-footer-section.imf-section-dark .footer-top {
  background-color: #081728;
}

.tj-footer-section.imf-section-dark .footer-subscribe {
  border: 1px solid rgba(255, 255, 255, 0.10);
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.06)
  );
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.tj-footer-section.imf-section-dark .subscribe-logo {
  max-width: 225px;
  flex: 0 0 auto;
}

.tj-footer-section.imf-section-dark .subscribe-logo img {
  display: block;
  width: clamp(130px, 14vw, 200px);
  max-width: 100%;
  max-height: 82px;
  height: auto;
  object-fit: contain;
}

.tj-footer-section.imf-section-dark .subscribe-form form {
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.tj-footer-section.imf-section-dark .footer-subscribe .subscribe-form input[type=email] {
  color: #F5F8FC;
  background-color: transparent;
  border: 0;
  outline-color: transparent;
}

.tj-footer-section.imf-section-dark .footer-subscribe .subscribe-form input[type=email]::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.tj-footer-section.imf-section-dark .footer-subscribe .subscribe-form input[type=email]:focus {
  outline-color: #174B8D;
}

.tj-footer-section.imf-section-dark .footer-subscribe .subscribe-form .tj-primary-btn,
.tj-footer-section.imf-section-dark .footer-subscribe .subscribe-form button {
  background-color: #174B8D;
  color: #F5F8FC;
}

.tj-footer-section.imf-section-dark .footer-subscribe .subscribe-form .tj-primary-btn:hover,
.tj-footer-section.imf-section-dark .footer-subscribe .subscribe-form button:hover {
  background-color: #129038;
}

.tj-footer-section.imf-section-dark .footer-subscribe .subscribe-form .tj-primary-btn .btn-text,
.tj-footer-section.imf-section-dark .footer-subscribe .subscribe-form .tj-primary-btn .btn-text span,
.tj-footer-section.imf-section-dark .footer-subscribe .subscribe-form button i {
  color: #F5F8FC;
}

@media (max-width: 1199px) {
  .header-right-item .site-preferences-controls {
    gap: 8px;
    margin-inline-end: 0;
  }

  .language-switcher {
    padding-inline: 9px;
  }
}

/* Mobile QA overrides: keep the hamburger panel legible in both themes. */
.menu_bar.mobile_menu_bar {
  width: 50px;
  min-width: 44px;
  height: 50px;
  min-height: 44px;
  padding: 12px;
  gap: 5px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  opacity: 1;
  visibility: visible;
}

.menu_bar.mobile_menu_bar span,
.menu_bar.mobile_menu_bar span:first-child,
.menu_bar.mobile_menu_bar span:last-child {
  width: 24px;
  height: 2px;
  margin-inline-end: 0;
  opacity: 1;
  visibility: visible;
  border-radius: 999px;
}

.menu_bar.mobile_menu_bar:hover span,
.menu_bar.mobile_menu_bar:focus-visible span {
  width: 24px;
}

.menu_bar.mobile_menu_bar:focus-visible,
.hamburger_close_btn:focus-visible,
.hamburger_menu .mean-container .mean-nav ul li a:focus-visible,
.hamburger_menu .mean-container .mean-nav ul li a.mean-expand:focus-visible {
  outline: 2px solid var(--imf-green);
  outline-offset: 3px;
}

html.theme-light .menu_bar.mobile_menu_bar {
  border-color: var(--imf-blue);
  background: var(--imf-blue);
}

html.theme-light .menu_bar.mobile_menu_bar span,
html.theme-light .header-area.header-duplicate .menu_bar.mobile_menu_bar span,
html.theme-light .header-area.header-2.header-absolute .menu_bar.mobile_menu_bar span {
  background-color: #FFFFFF;
}

html.theme-dark .menu_bar.mobile_menu_bar {
  border-color: var(--imf-dark-border);
  background: var(--imf-dark-surface);
}

html.theme-dark .menu_bar.mobile_menu_bar:hover,
html.theme-dark .menu_bar.mobile_menu_bar:focus-visible {
  background: var(--imf-dark-surface-hover);
}

html.theme-dark .menu_bar.mobile_menu_bar span {
  background-color: var(--imf-dark-text);
}

.hamburger-area .hamburger_wrapper,
.tj-offcanvas-area .hamburger_wrapper {
  height: 100dvh;
  max-height: 100dvh;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
}

.hamburger_top {
  position: sticky;
  top: 0;
  z-index: 3;
  gap: 16px;
  padding-bottom: 16px;
}

html.theme-light .hamburger_top {
  background: #FFFFFF;
}

html.theme-dark .hamburger_top {
  background: var(--imf-dark-header);
}

.hamburger_logo,
.hamburger_logo .mobile_logo {
  min-width: 0;
  max-width: calc(100% - 60px);
}

.hamburger_logo img,
.mobile_logo img {
  width: clamp(105px, 32vw, 140px);
  height: auto;
  max-height: 68px;
  object-fit: contain;
  display: block;
}

.hamburger_close_btn {
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  border-radius: 999px;
}

html.theme-light .hamburger_close_btn {
  color: var(--imf-blue-dark);
}

html.theme-dark .hamburger_close_btn {
  color: var(--imf-dark-text);
}

.hamburger-preferences,
.offcanvas-preferences {
  flex-wrap: wrap;
  gap: 12px;
  margin: 16px 0 22px;
}

.hamburger-preferences .language-switcher,
.offcanvas-preferences .language-switcher {
  min-height: 44px;
  padding-inline: 12px;
}

.hamburger-preferences .theme-toggle,
.offcanvas-preferences .theme-toggle {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
}

.hamburger-preferences .language-option.is-active,
.offcanvas-preferences .language-option.is-active {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.hamburger_menu .mean-container .mean-bar,
.hamburger_menu .mean-container .mean-nav,
.hamburger_menu .mean-container .mean-nav ul,
.hamburger_menu .mean-container .mean-nav ul li,
.hamburger_menu .mean-container .mean-nav ul li a {
  box-shadow: none;
}

.hamburger_menu .mean-container .mean-nav,
.hamburger_menu .mean-container .mean-nav ul,
.hamburger_menu .mean-container .mean-nav ul li {
  background: transparent;
}

.hamburger_menu .mean-container .mean-nav ul li a,
.hamburger_menu .mean-container .mean-nav ul li li a,
.hamburger_menu .mean-container .mean-nav ul li .mega-menu-pages li a:not(.tj-primary-btn),
.hamburger_menu .mean-container .mean-nav ul li .mega-menu-service li a {
  background: transparent;
  border-color: currentColor;
}

.hamburger_menu .mean-container .mean-nav ul li a.mean-expand {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

html.theme-light .hamburger-area .hamburger_wrapper,
html.theme-light .tj-offcanvas-area .hamburger_wrapper {
  background: #FFFFFF;
}

html.theme-light .hamburger_menu .mean-container .mean-nav,
html.theme-light .hamburger_menu .mean-container .mean-nav ul li a {
  color: var(--imf-blue-dark);
  border-color: var(--imf-light-border);
}

html.theme-light .hamburger_menu .mean-container .mean-nav ul li li a,
html.theme-light .hamburger_menu .mean-container .mean-nav ul li .mega-menu-pages li a:not(.tj-primary-btn),
html.theme-light .hamburger_menu .mean-container .mean-nav ul li .mega-menu-service li a {
  color: var(--imf-blue);
}

html.theme-light .hamburger_menu .mean-container .mean-nav ul li a.mean-expand {
  color: var(--imf-blue);
  border-color: var(--imf-light-border);
}

html.theme-light .hamburger_menu .mean-container .mean-nav ul li a:hover,
html.theme-light .hamburger_menu .mean-container .mean-nav ul li a:focus-visible,
html.theme-light .hamburger_menu .mean-container .mean-nav ul li.dropdown-opened > a,
html.theme-light .hamburger_menu .mean-container .mean-nav ul li a.mean-expand.mean-clicked {
  color: var(--imf-green);
  background: transparent;
}

html.theme-dark .hamburger-area .hamburger_wrapper,
html.theme-dark .tj-offcanvas-area .hamburger_wrapper {
  background: var(--imf-dark-header);
}

html.theme-dark .hamburger_menu .mean-container .mean-nav,
html.theme-dark .hamburger_menu .mean-container .mean-nav ul li a {
  color: var(--imf-dark-text);
  border-color: var(--imf-dark-border);
}

html.theme-dark .hamburger_menu .mean-container .mean-nav ul li li a,
html.theme-dark .hamburger_menu .mean-container .mean-nav ul li .mega-menu-pages li a:not(.tj-primary-btn),
html.theme-dark .hamburger_menu .mean-container .mean-nav ul li .mega-menu-service li a {
  color: var(--imf-dark-muted);
}

html.theme-dark .hamburger_menu .mean-container .mean-nav ul li a.mean-expand {
  color: var(--imf-dark-text);
  border-color: var(--imf-dark-border);
}

html.theme-dark .hamburger_menu .mean-container .mean-nav ul li a:hover,
html.theme-dark .hamburger_menu .mean-container .mean-nav ul li a:focus-visible,
html.theme-dark .hamburger_menu .mean-container .mean-nav ul li.dropdown-opened > a,
html.theme-dark .hamburger_menu .mean-container .mean-nav ul li a.mean-expand.mean-clicked {
  color: var(--imf-green-secondary);
  background: transparent;
}

.hamburger_wrapper .hamburger-infos,
.hamburger_wrapper .contact-info,
.hamburger_wrapper .contact-item {
  background: transparent;
  box-shadow: none;
}

.hamburger_wrapper .contact-info {
  border: 0;
}

.hamburger_wrapper .contact-info .contact-item {
  border-bottom: 1px solid;
}

.hamburger_wrapper .contact-info .contact-item:last-child {
  border-bottom: 0;
}

.hamburger_wrapper .contact-link {
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
}

html.theme-light .hamburger_wrapper .hamburger-title {
  color: var(--imf-blue-dark);
}

html.theme-light .hamburger_wrapper .contact-info .contact-item {
  border-color: rgba(23, 75, 141, 0.14);
}

html.theme-light .hamburger_wrapper .contact-info .contact-item .subtitle {
  color: var(--imf-light-muted);
}

html.theme-light .hamburger_wrapper .contact-info .contact-item .contact-link,
html.theme-light .hamburger_wrapper .contact-info .contact-item a.contact-link {
  color: var(--imf-blue);
}

html.theme-light .hamburger_wrapper .contact-info .contact-item a.contact-link:hover,
html.theme-light .hamburger_wrapper .contact-info .contact-item a.contact-link:focus-visible {
  color: var(--imf-green);
}

html.theme-dark .hamburger_wrapper .hamburger-title {
  color: var(--imf-dark-text);
}

html.theme-dark .hamburger_wrapper .contact-info .contact-item {
  border-color: var(--imf-dark-border);
}

html.theme-dark .hamburger_wrapper .contact-info .contact-item .subtitle {
  color: var(--imf-dark-muted);
}

html.theme-dark .hamburger_wrapper .contact-info .contact-item .contact-link,
html.theme-dark .hamburger_wrapper .contact-info .contact-item a.contact-link {
  color: var(--imf-dark-text);
}

html.theme-dark .hamburger_wrapper .contact-info .contact-item a.contact-link:hover,
html.theme-dark .hamburger_wrapper .contact-info .contact-item a.contact-link:focus-visible {
  color: var(--imf-green-secondary);
}

@media (max-width: 360px) {
  .hamburger_wrapper {
    padding-inline: 16px;
  }

  .hamburger-preferences,
  .offcanvas-preferences {
    gap: 10px;
  }

  .hamburger-preferences .language-switcher,
  .offcanvas-preferences .language-switcher {
    gap: 6px;
    padding-inline: 9px;
  }

  .hamburger_logo img,
  .mobile_logo img {
    width: clamp(105px, 34vw, 128px);
  }
}

/* Header/footer QA corrections: search contrast, frameless header, subscription flow. */
.header-area,
.header-area .container-fluid,
.header-area .row,
.header-area .col-12,
.header-area .header-wrapper {
  border: 0;
  outline: 0;
}

.header-area::before,
.header-area::after,
.header-area .header-wrapper::before,
.header-area .header-wrapper::after,
.header-area .container-fluid::before,
.header-area .container-fluid::after {
  border: 0;
  box-shadow: none;
}

html.theme-light .header-area,
html.theme-dark .header-area {
  background: transparent;
  box-shadow: none;
}

html.theme-light .header-area .header-wrapper,
html.theme-light .header-area.header-1 .header-wrapper,
html.theme-light .header-area.header-2 .header-wrapper {
  border: 0;
  outline: 0;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: none;
}

html.theme-dark .header-area .header-wrapper,
html.theme-dark .header-area.header-1 .header-wrapper,
html.theme-dark .header-area.header-2 .header-wrapper {
  border: 0;
  outline: 0;
  background: rgba(8, 23, 40, 0.94);
  box-shadow: none;
}

html.theme-light .header-area.header-2.header-absolute .header-wrapper {
  border: 0;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: none;
  backdrop-filter: blur(14px);
}

html.theme-dark .header-area.header-2.header-absolute .header-wrapper {
  border: 0;
  background: rgba(8, 23, 40, 0.94);
  box-shadow: none;
  backdrop-filter: blur(14px);
}

html.theme-light .header-area.header-sticky .header-wrapper,
html.theme-light .header-area.header-duplicate .header-wrapper {
  border: 0;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 8px 24px rgba(8, 23, 40, 0.08);
}

html.theme-dark .header-area.header-sticky .header-wrapper,
html.theme-dark .header-area.header-duplicate .header-wrapper {
  border: 0;
  background: rgba(8, 23, 40, 0.94);
  box-shadow: 0 8px 24px rgba(8, 23, 40, 0.08);
}

html.theme-light .header-area .mainmenu > ul > li > a,
html.theme-light .header-area.header-2.header-absolute .mainmenu > ul > li > a,
html.theme-light .header-area .header-navigation ul > li > a,
html.theme-light .header-area .header-right-item > a,
html.theme-light .header-area .menu_bar:not(.mobile_menu_bar) span {
  color: var(--imf-blue-dark);
}

html.theme-light .header-area .menu_bar:not(.mobile_menu_bar) span {
  background-color: var(--imf-blue);
}

html.theme-dark .header-area .mainmenu > ul > li > a,
html.theme-dark .header-area.header-2.header-absolute .mainmenu > ul > li > a,
html.theme-dark .header-area .header-navigation ul > li > a,
html.theme-dark .header-area .header-right-item > a,
html.theme-dark .header-area .menu_bar:not(.mobile_menu_bar) span {
  color: var(--imf-dark-text);
}

html.theme-dark .header-area .menu_bar:not(.mobile_menu_bar) span {
  background-color: var(--imf-dark-text);
}

.header-search .search,
.header-search .search_close_btn {
  min-width: 44px;
  min-height: 44px;
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.header-search .search i,
.header-search .search .tji-search,
.header-search .search_close_btn i,
.header-search .search_close_btn svg {
  color: currentColor;
  opacity: 1;
  visibility: visible;
  font-size: 20px;
  line-height: 1;
  z-index: 2;
}

html.theme-light .header-search .search,
html.theme-light .header-search .search_close_btn,
html.theme-light .header-area.header-2.header-absolute .header-search .search,
html.theme-light .header-area.header-2.header-absolute .header-search .search_close_btn,
html.theme-light .header-area.header-sticky .header-search .search,
html.theme-light .header-area.header-sticky .header-search .search_close_btn {
  border: 0;
  background: #F4F7FB;
  color: var(--imf-blue);
}

html.theme-dark .header-search .search,
html.theme-dark .header-search .search_close_btn,
html.theme-dark .header-area.header-2.header-absolute .header-search .search,
html.theme-dark .header-area.header-2.header-absolute .header-search .search_close_btn,
html.theme-dark .header-area.header-sticky .header-search .search,
html.theme-dark .header-area.header-sticky .header-search .search_close_btn {
  border: 0;
  background: var(--imf-dark-surface);
  color: var(--imf-dark-text);
}

html.theme-light .header-search .search:hover,
html.theme-light .header-search .search:focus-visible,
html.theme-light .header-search .search_close_btn:hover,
html.theme-light .header-search .search_close_btn:focus-visible {
  background: #EAF0F7;
  color: var(--imf-blue-hover);
}

html.theme-dark .header-search .search:hover,
html.theme-dark .header-search .search:focus-visible,
html.theme-dark .header-search .search_close_btn:hover,
html.theme-dark .header-search .search_close_btn:focus-visible {
  background: var(--imf-dark-surface-hover);
  color: var(--imf-dark-text);
}

.tj-footer-section.imf-section-dark .footer-subscribe,
.tj-footer-section.imf-section-dark .subscribe-form form,
.tj-footer-section.imf-section-dark .subscribe-form {
  overflow: visible;
}

.tj-footer-section.imf-section-dark .footer-subscribe::before,
.tj-footer-section.imf-section-dark .footer-subscribe::after,
.tj-footer-section.imf-section-dark .subscribe-form form::before,
.tj-footer-section.imf-section-dark .subscribe-form form::after {
  content: none;
  display: none;
}

.tj-footer-section.imf-section-dark .subscribe-form form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.tj-footer-section.imf-section-dark .subscribe-form input[type=email] {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  width: 100%;
  height: 64px;
  padding: 15px 24px;
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.tj-footer-section.imf-section-dark .subscribe-form button,
.tj-footer-section.imf-section-dark .subscribe-form .tj-primary-btn {
  position: static;
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  min-height: 54px;
  white-space: nowrap;
  transform: none;
}

.tj-footer-section.imf-section-dark .subscribe-form button::before,
.tj-footer-section.imf-section-dark .subscribe-form button::after,
.tj-footer-section.imf-section-dark .subscribe-form .tj-primary-btn::before,
.tj-footer-section.imf-section-dark .subscribe-form .tj-primary-btn::after {
  display: none;
}

.tj-footer-section.imf-section-dark .subscribe-form label,
.tj-footer-section.imf-section-dark .subscribe-form .form-check,
.tj-footer-section.imf-section-dark .subscribe-form .checkbox,
.tj-footer-section.imf-section-dark .subscribe-form .terms,
.tj-footer-section.imf-section-dark .subscribe-form .agree {
  position: static;
  grid-column: 1 / -1;
  grid-row: 2;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  max-width: 100%;
  color: var(--imf-fixed-dark-muted);
  line-height: 1.45;
  transform: none;
}

.tj-footer-section.imf-section-dark .subscribe-form label a {
  color: var(--imf-fixed-dark-text);
}

.tj-footer-section.imf-section-dark .subscribe-form label a:hover {
  color: var(--imf-green);
}

.tj-footer-section.imf-section-dark .subscribe-form input[type=checkbox] {
  position: static;
  flex: 0 0 auto;
  margin: 2px 0 0;
}

@media (max-width: 480px) {
  .tj-footer-section.imf-section-dark .subscribe-form form {
    grid-template-columns: 1fr;
  }

  .tj-footer-section.imf-section-dark .subscribe-form input[type=email],
  .tj-footer-section.imf-section-dark .subscribe-form button,
  .tj-footer-section.imf-section-dark .subscribe-form .tj-primary-btn,
  .tj-footer-section.imf-section-dark .subscribe-form label,
  .tj-footer-section.imf-section-dark .subscribe-form .form-check,
  .tj-footer-section.imf-section-dark .subscribe-form .checkbox,
  .tj-footer-section.imf-section-dark .subscribe-form .terms,
  .tj-footer-section.imf-section-dark .subscribe-form .agree {
    grid-column: 1;
  }

  .tj-footer-section.imf-section-dark .subscribe-form button,
  .tj-footer-section.imf-section-dark .subscribe-form .tj-primary-btn {
    grid-row: 2;
    justify-self: stretch;
  }

  .tj-footer-section.imf-section-dark .subscribe-form label,
  .tj-footer-section.imf-section-dark .subscribe-form .form-check,
  .tj-footer-section.imf-section-dark .subscribe-form .checkbox,
  .tj-footer-section.imf-section-dark .subscribe-form .terms,
  .tj-footer-section.imf-section-dark .subscribe-form .agree {
    grid-row: 3;
  }
}

/* IMF restore: blue identity, permanent dark mobile/offcanvas menu, visible search icon. */
.header-search .search:not(.search-hide) {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.header-search .search_close_btn:not(.close-show) {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.header-search .search_close_btn.close-show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.header-search .search:not(.search-hide) .tji-search,
.header-search .search:not(.search-hide) i {
  color: currentColor;
  opacity: 1;
  visibility: visible;
}

html.theme-light .header-search .search:not(.search-hide),
html.theme-light .header-area.header-2.header-absolute .header-search .search:not(.search-hide),
html.theme-light .header-area.header-sticky .header-search .search:not(.search-hide) {
  background: #F4F7FB;
  color: #174B8D;
}

html.theme-dark .header-search .search:not(.search-hide),
html.theme-dark .header-area.header-2.header-absolute .header-search .search:not(.search-hide),
html.theme-dark .header-area.header-sticky .header-search .search:not(.search-hide) {
  background: #112F51;
  color: #F5F8FC;
}

html.theme-light .hamburger-area .hamburger_wrapper,
html.theme-light .tj-offcanvas-area .hamburger_wrapper,
html.theme-dark .hamburger-area .hamburger_wrapper,
html.theme-dark .tj-offcanvas-area .hamburger_wrapper,
html.theme-light .hamburger_top,
html.theme-dark .hamburger_top {
  background: #071321;
  color: #F5F8FC;
}

html.theme-light .hamburger_menu .mean-container .mean-nav,
html.theme-light .hamburger_menu .mean-container .mean-nav ul,
html.theme-light .hamburger_menu .mean-container .mean-nav ul li,
html.theme-dark .hamburger_menu .mean-container .mean-nav,
html.theme-dark .hamburger_menu .mean-container .mean-nav ul,
html.theme-dark .hamburger_menu .mean-container .mean-nav ul li {
  background: transparent;
}

html.theme-light .hamburger_menu .mean-container .mean-nav ul li a,
html.theme-light .hamburger_menu .mean-container .mean-nav ul li a.mean-expand,
html.theme-dark .hamburger_menu .mean-container .mean-nav ul li a,
html.theme-dark .hamburger_menu .mean-container .mean-nav ul li a.mean-expand {
  color: #F5F8FC;
  border-color: rgba(139, 172, 211, 0.18);
  background: transparent;
}

html.theme-light .hamburger_menu .mean-container .mean-nav ul li li a,
html.theme-light .hamburger_menu .mean-container .mean-nav ul li .mega-menu-pages li a:not(.tj-primary-btn),
html.theme-light .hamburger_menu .mean-container .mean-nav ul li .mega-menu-service li a,
html.theme-dark .hamburger_menu .mean-container .mean-nav ul li li a,
html.theme-dark .hamburger_menu .mean-container .mean-nav ul li .mega-menu-pages li a:not(.tj-primary-btn),
html.theme-dark .hamburger_menu .mean-container .mean-nav ul li .mega-menu-service li a {
  color: #B7C3D3;
}

html.theme-light .hamburger_menu .mean-container .mean-nav ul li a:hover,
html.theme-light .hamburger_menu .mean-container .mean-nav ul li a:focus-visible,
html.theme-light .hamburger_menu .mean-container .mean-nav ul li.dropdown-opened > a,
html.theme-light .hamburger_menu .mean-container .mean-nav ul li a.mean-expand.mean-clicked,
html.theme-dark .hamburger_menu .mean-container .mean-nav ul li a:hover,
html.theme-dark .hamburger_menu .mean-container .mean-nav ul li a:focus-visible,
html.theme-dark .hamburger_menu .mean-container .mean-nav ul li.dropdown-opened > a,
html.theme-dark .hamburger_menu .mean-container .mean-nav ul li a.mean-expand.mean-clicked {
  color: #4AA933;
  background: transparent;
}

html.theme-light .hamburger-title,
html.theme-light .hamburger_close_btn,
html.theme-dark .hamburger-title,
html.theme-dark .hamburger_close_btn {
  color: #F5F8FC;
}

html.theme-light .hamburger-preferences .language-switcher,
html.theme-light .hamburger-preferences .theme-toggle,
html.theme-light .offcanvas-preferences .language-switcher,
html.theme-light .offcanvas-preferences .theme-toggle,
html.theme-dark .hamburger-preferences .language-switcher,
html.theme-dark .hamburger-preferences .theme-toggle,
html.theme-dark .offcanvas-preferences .language-switcher,
html.theme-dark .offcanvas-preferences .theme-toggle {
  border-color: rgba(139, 172, 211, 0.18);
  background: #112F51;
  color: #F5F8FC;
}

html.theme-light .hamburger_search input[type=search],
html.theme-dark .hamburger_search input[type=search] {
  border-color: rgba(139, 172, 211, 0.18);
  background: #FFFFFF;
  color: #081728;
}

html.theme-light .hamburger_search button,
html.theme-dark .hamburger_search button {
  color: #081728;
}

html.theme-light .hamburger_wrapper .contact-info .contact-item,
html.theme-dark .hamburger_wrapper .contact-info .contact-item {
  border-color: rgba(139, 172, 211, 0.18);
}

html.theme-light .hamburger_wrapper .contact-info .contact-item .subtitle,
html.theme-dark .hamburger_wrapper .contact-info .contact-item .subtitle {
  color: #B7C3D3;
}

html.theme-light .hamburger_wrapper .contact-info .contact-item .contact-link,
html.theme-light .hamburger_wrapper .contact-info .contact-item a.contact-link,
html.theme-dark .hamburger_wrapper .contact-info .contact-item .contact-link,
html.theme-dark .hamburger_wrapper .contact-info .contact-item a.contact-link {
  color: #F5F8FC;
}

html.theme-light .hamburger_wrapper .contact-info .contact-item a.contact-link:hover,
html.theme-light .hamburger_wrapper .contact-info .contact-item a.contact-link:focus-visible,
html.theme-dark .hamburger_wrapper .contact-info .contact-item a.contact-link:hover,
html.theme-dark .hamburger_wrapper .contact-info .contact-item a.contact-link:focus-visible {
  color: #4AA933;
}

/* Desktop offcanvas opened by .menu_offcanvas: fixed IMF blue in every theme. */
.tj-offcanvas-area {
  background: #081728;
  color: #F5F8FC;
}

.tj-offcanvas-area .hamburger_wrapper,
html.theme-light .tj-offcanvas-area .hamburger_wrapper,
html.theme-dark .tj-offcanvas-area .hamburger_wrapper,
.tj-offcanvas-area .hamburger_top,
html.theme-light .tj-offcanvas-area .hamburger_top,
html.theme-dark .tj-offcanvas-area .hamburger_top {
  background: #081728;
  color: #F5F8FC;
}

.tj-offcanvas-area .hamburger_wrapper::before {
  background: #174B8D;
  opacity: 0.22;
}

.tj-offcanvas-area .offcanvas-text p,
html.theme-light .tj-offcanvas-area .offcanvas-text p,
html.theme-dark .tj-offcanvas-area .offcanvas-text p {
  color: #B7C3D3;
}

.tj-offcanvas-area .hamburger-title,
.tj-offcanvas-area .hamburger_close_btn,
html.theme-light .tj-offcanvas-area .hamburger-title,
html.theme-light .tj-offcanvas-area .hamburger_close_btn,
html.theme-dark .tj-offcanvas-area .hamburger-title,
html.theme-dark .tj-offcanvas-area .hamburger_close_btn {
  color: #F5F8FC;
}

.tj-offcanvas-area .hamburger-preferences .language-switcher,
.tj-offcanvas-area .offcanvas-preferences .language-switcher,
.tj-offcanvas-area .hamburger-preferences .theme-toggle,
.tj-offcanvas-area .offcanvas-preferences .theme-toggle,
html.theme-light .tj-offcanvas-area .hamburger-preferences .language-switcher,
html.theme-light .tj-offcanvas-area .offcanvas-preferences .language-switcher,
html.theme-light .tj-offcanvas-area .hamburger-preferences .theme-toggle,
html.theme-light .tj-offcanvas-area .offcanvas-preferences .theme-toggle,
html.theme-dark .tj-offcanvas-area .hamburger-preferences .language-switcher,
html.theme-dark .tj-offcanvas-area .offcanvas-preferences .language-switcher,
html.theme-dark .tj-offcanvas-area .hamburger-preferences .theme-toggle,
html.theme-dark .tj-offcanvas-area .offcanvas-preferences .theme-toggle {
  border-color: rgba(139, 172, 211, 0.22);
  background: #112F51;
  color: #F5F8FC;
}

.tj-offcanvas-area .hamburger_search input[type=search],
html.theme-light .tj-offcanvas-area .hamburger_search input[type=search],
html.theme-dark .tj-offcanvas-area .hamburger_search input[type=search] {
  border-color: rgba(139, 172, 211, 0.22);
  background: #FFFFFF;
  color: #081728;
}

.tj-offcanvas-area .hamburger_search input[type=search]::placeholder,
html.theme-light .tj-offcanvas-area .hamburger_search input[type=search]::placeholder,
html.theme-dark .tj-offcanvas-area .hamburger_search input[type=search]::placeholder {
  color: #5B6B7D;
}

.tj-offcanvas-area .hamburger_search button,
html.theme-light .tj-offcanvas-area .hamburger_search button,
html.theme-dark .tj-offcanvas-area .hamburger_search button {
  color: #081728;
  border-color: rgba(23, 75, 141, 0.16);
}

.tj-offcanvas-area .hamburger-infos,
.tj-offcanvas-area .contact-info,
.tj-offcanvas-area .contact-info .contact-item,
html.theme-light .tj-offcanvas-area .hamburger-infos,
html.theme-light .tj-offcanvas-area .contact-info,
html.theme-light .tj-offcanvas-area .contact-info .contact-item,
html.theme-dark .tj-offcanvas-area .hamburger-infos,
html.theme-dark .tj-offcanvas-area .contact-info,
html.theme-dark .tj-offcanvas-area .contact-info .contact-item {
  background: transparent;
  box-shadow: none;
}

.tj-offcanvas-area .contact-info {
  border: 0;
}

.tj-offcanvas-area .contact-info .contact-item,
html.theme-light .tj-offcanvas-area .contact-info .contact-item,
html.theme-dark .tj-offcanvas-area .contact-info .contact-item {
  border-bottom: 0;
}

.tj-offcanvas-area .contact-info .contact-item .subtitle,
html.theme-light .tj-offcanvas-area .contact-info .contact-item .subtitle,
html.theme-dark .tj-offcanvas-area .contact-info .contact-item .subtitle {
  color: #B7C3D3;
}

.tj-offcanvas-area .contact-info .contact-item .contact-link,
.tj-offcanvas-area .contact-info .contact-item a.contact-link,
html.theme-light .tj-offcanvas-area .contact-info .contact-item .contact-link,
html.theme-light .tj-offcanvas-area .contact-info .contact-item a.contact-link,
html.theme-dark .tj-offcanvas-area .contact-info .contact-item .contact-link,
html.theme-dark .tj-offcanvas-area .contact-info .contact-item a.contact-link {
  color: #F5F8FC;
}

.tj-offcanvas-area .contact-info .contact-item a.contact-link:hover,
.tj-offcanvas-area .contact-info .contact-item a.contact-link:focus-visible,
html.theme-light .tj-offcanvas-area .contact-info .contact-item a.contact-link:hover,
html.theme-light .tj-offcanvas-area .contact-info .contact-item a.contact-link:focus-visible,
html.theme-dark .tj-offcanvas-area .contact-info .contact-item a.contact-link:hover,
html.theme-dark .tj-offcanvas-area .contact-info .contact-item a.contact-link:focus-visible {
  color: #4AA933;
}

.tj-offcanvas-area .social-links ul li a,
html.theme-light .tj-offcanvas-area .social-links ul li a,
html.theme-dark .tj-offcanvas-area .social-links ul li a {
  border-color: rgba(139, 172, 211, 0.22);
  background: rgba(245, 248, 252, 0.12);
  color: #F5F8FC;
}

.tj-offcanvas-area .social-links ul li a:hover,
html.theme-light .tj-offcanvas-area .social-links ul li a:hover,
html.theme-dark .tj-offcanvas-area .social-links ul li a:hover {
  border-color: #4AA933;
  background: #4AA933;
  color: #F5F8FC;
}

/* Final contrast fixes: inactive language, dark arrows, subscribe checkbox border. */
html.theme-dark .language-option:not(.is-active),
.imf-section-dark .language-option:not(.is-active),
.tj-offcanvas-area .language-option:not(.is-active),
.hamburger_wrapper .language-option:not(.is-active) {
  color: #B7C3D3;
  opacity: 0.82;
}

html.theme-dark .theme-toggle,
.imf-section-dark .theme-toggle,
.tj-offcanvas-area .theme-toggle,
.hamburger_wrapper .theme-toggle {
  color: #B7C3D3;
}

html.theme-dark .theme-toggle i,
html.theme-dark .theme-toggle svg,
html.theme-dark [data-theme-toggle] [data-theme-icon],
.imf-section-dark .theme-toggle i,
.imf-section-dark .theme-toggle svg,
.imf-section-dark [data-theme-toggle] [data-theme-icon],
.tj-offcanvas-area .theme-toggle i,
.tj-offcanvas-area .theme-toggle svg,
.tj-offcanvas-area [data-theme-toggle] [data-theme-icon],
.hamburger_wrapper .theme-toggle i,
.hamburger_wrapper .theme-toggle svg,
.hamburger_wrapper [data-theme-toggle] [data-theme-icon] {
  color: #B7C3D3;
  -webkit-text-fill-color: #B7C3D3;
  stroke: #B7C3D3;
  opacity: 1;
  visibility: visible;
}

html.theme-dark .theme-toggle:hover,
html.theme-dark .theme-toggle:focus-visible,
.imf-section-dark .theme-toggle:hover,
.imf-section-dark .theme-toggle:focus-visible,
.tj-offcanvas-area .theme-toggle:hover,
.tj-offcanvas-area .theme-toggle:focus-visible,
.hamburger_wrapper .theme-toggle:hover,
.hamburger_wrapper .theme-toggle:focus-visible {
  color: #F5F8FC;
}

html.theme-dark .theme-toggle:hover [data-theme-icon],
html.theme-dark .theme-toggle:focus-visible [data-theme-icon],
.imf-section-dark .theme-toggle:hover [data-theme-icon],
.imf-section-dark .theme-toggle:focus-visible [data-theme-icon],
.tj-offcanvas-area .theme-toggle:hover [data-theme-icon],
.tj-offcanvas-area .theme-toggle:focus-visible [data-theme-icon],
.hamburger_wrapper .theme-toggle:hover [data-theme-icon],
.hamburger_wrapper .theme-toggle:focus-visible [data-theme-icon] {
  color: #F5F8FC;
  -webkit-text-fill-color: #F5F8FC;
  stroke: #F5F8FC;
  opacity: 1;
  visibility: visible;
}

.imf-section-dark .tj-primary-btn .btn-icon,
.imf-section-dark .text-btn .btn-icon,
html.theme-dark .tj-primary-btn .btn-icon,
html.theme-dark .text-btn .btn-icon,
.tj-footer-section.imf-section-dark .tj-primary-btn .btn-icon,
.tj-footer-section.imf-section-dark .text-btn .btn-icon,
.tj-slider-section .tj-primary-btn .btn-icon,
.tj-slider-section .text-btn .btn-icon,
.tj-service-section.service-2 .tj-primary-btn .btn-icon,
.tj-service-section.service-2 .text-btn .btn-icon,
.tj-working-process .tj-primary-btn .btn-icon,
.tj-working-process .text-btn .btn-icon {
  background-color: #071321;
}

.imf-section-dark .tj-primary-btn:hover .btn-icon,
.imf-section-dark .text-btn:hover .btn-icon,
html.theme-dark .tj-primary-btn:hover .btn-icon,
html.theme-dark .text-btn:hover .btn-icon,
.tj-footer-section.imf-section-dark .tj-primary-btn:hover .btn-icon,
.tj-footer-section.imf-section-dark .text-btn:hover .btn-icon,
.tj-slider-section .tj-primary-btn:hover .btn-icon,
.tj-slider-section .text-btn:hover .btn-icon,
.tj-service-section.service-2 .tj-primary-btn:hover .btn-icon,
.tj-service-section.service-2 .text-btn:hover .btn-icon,
.tj-working-process .tj-primary-btn:hover .btn-icon,
.tj-working-process .text-btn:hover .btn-icon {
  background-color: #163B63;
}

.tj-primary-btn .btn-icon i,
.tj-primary-btn .btn-icon svg,
.text-btn .btn-icon i,
.text-btn .btn-icon svg,
.tj-careers-btn .btn-icon i,
.tj-careers-btn .btn-icon svg,
html.theme-dark .mega-menu-service-nav i,
.tj-offcanvas-area .mega-menu-service-nav i,
.hamburger_wrapper .mega-menu-service-nav i,
.imf-section-dark .tj-primary-btn .btn-icon i,
.imf-section-dark .tj-primary-btn .btn-icon svg,
.imf-section-dark .text-btn .btn-icon i,
.imf-section-dark .text-btn .btn-icon svg,
html.theme-dark .tj-primary-btn .btn-icon i,
html.theme-dark .tj-primary-btn .btn-icon svg,
html.theme-dark .text-btn .btn-icon i,
html.theme-dark .text-btn .btn-icon svg,
.tj-footer-section.imf-section-dark .tj-primary-btn .btn-icon i,
.tj-footer-section.imf-section-dark .tj-primary-btn .btn-icon svg,
.tj-footer-section.imf-section-dark .text-btn .btn-icon i,
.tj-footer-section.imf-section-dark .text-btn .btn-icon svg,
.tj-slider-section .tj-primary-btn .btn-icon i,
.tj-slider-section .tj-primary-btn .btn-icon svg,
.tj-slider-section .text-btn .btn-icon i,
.tj-slider-section .text-btn .btn-icon svg,
.tj-service-section.service-2 .tj-primary-btn .btn-icon i,
.tj-service-section.service-2 .tj-primary-btn .btn-icon svg,
.tj-service-section.service-2 .text-btn .btn-icon i,
.tj-service-section.service-2 .text-btn .btn-icon svg,
.tj-working-process .tj-primary-btn .btn-icon i,
.tj-working-process .tj-primary-btn .btn-icon svg,
.tj-working-process .text-btn .btn-icon i,
.tj-working-process .text-btn .btn-icon svg {
  color: #FFFFFF;
  stroke: #FFFFFF;
}

.tj-primary-btn:hover .btn-icon i,
.tj-primary-btn:hover .btn-icon svg,
.text-btn:hover .btn-icon i,
.text-btn:hover .btn-icon svg,
.tj-careers-btn:hover .btn-icon i,
.tj-careers-btn:hover .btn-icon svg,
html.theme-dark .mega-menu-service-nav:hover i,
html.theme-dark .mega-menu-service-single:hover .mega-menu-service-nav i,
.tj-offcanvas-area .mega-menu-service-nav:hover i,
.tj-offcanvas-area .mega-menu-service-single:hover .mega-menu-service-nav i,
.hamburger_wrapper .mega-menu-service-nav:hover i,
.hamburger_wrapper .mega-menu-service-single:hover .mega-menu-service-nav i,
.imf-section-dark .tj-primary-btn:hover .btn-icon i,
.imf-section-dark .tj-primary-btn:hover .btn-icon svg,
.imf-section-dark .text-btn:hover .btn-icon i,
.imf-section-dark .text-btn:hover .btn-icon svg,
html.theme-dark .tj-primary-btn:hover .btn-icon i,
html.theme-dark .tj-primary-btn:hover .btn-icon svg,
html.theme-dark .text-btn:hover .btn-icon i,
html.theme-dark .text-btn:hover .btn-icon svg,
.tj-footer-section.imf-section-dark .tj-primary-btn:hover .btn-icon i,
.tj-footer-section.imf-section-dark .tj-primary-btn:hover .btn-icon svg,
.tj-footer-section.imf-section-dark .text-btn:hover .btn-icon i,
.tj-footer-section.imf-section-dark .text-btn:hover .btn-icon svg,
.tj-slider-section .tj-primary-btn:hover .btn-icon i,
.tj-slider-section .tj-primary-btn:hover .btn-icon svg,
.tj-slider-section .text-btn:hover .btn-icon i,
.tj-slider-section .text-btn:hover .btn-icon svg,
.tj-service-section.service-2 .tj-primary-btn:hover .btn-icon i,
.tj-service-section.service-2 .tj-primary-btn:hover .btn-icon svg,
.tj-service-section.service-2 .text-btn:hover .btn-icon i,
.tj-service-section.service-2 .text-btn:hover .btn-icon svg,
.tj-working-process .tj-primary-btn:hover .btn-icon i,
.tj-working-process .tj-primary-btn:hover .btn-icon svg,
.tj-working-process .text-btn:hover .btn-icon i,
.tj-working-process .text-btn:hover .btn-icon svg {
  color: #FFFFFF;
  stroke: #FFFFFF;
}

.subscribe-form input[type="checkbox"],
.tj-footer-section.imf-section-dark .subscribe-form input[type="checkbox"] {
  border: 1px solid #989a9e;
}

.tj-footer-section.imf-section-dark .subscribe-form label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin-top: 0;
}

.tj-footer-section.imf-section-dark .subscribe-form input[type="checkbox"] {
  position: relative;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  min-width: 22px;
  margin: 0;
  border: 1px solid #989a9e;
  border-radius: 4px;
  background: transparent;
  vertical-align: middle;
  transform: none;
}

.tj-footer-section.imf-section-dark .subscribe-form input[type="checkbox"]::before {
  inset: 0;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  line-height: 1;
  text-align: center;
}

.tj-footer-section.imf-section-dark .subscribe-form input[type="checkbox"]:checked {
  background-color: var(--imf-blue);
  border-color: var(--imf-blue);
}

/* Service page contact form keeps the IMF dark composition in both themes. */
.imf-service-contact .contact-form.style-2 {
  background: #112F51 !important;
  color: #F5F8FC;
  border: 1px solid rgba(139, 172, 211, 0.18);
  box-shadow: 0 22px 54px rgba(8, 23, 40, 0.22);
}

.imf-service-contact .contact-form.style-2 .sec-title,
.imf-service-contact .contact-form.style-2 .sub-title,
.imf-service-contact .contact-form.style-2 .sub-title span,
.imf-service-contact .contact-form.style-2 .form-input .cf-label {
  color: #F5F8FC !important;
}

.imf-service-contact .contact-form.style-2 .form-input input[type="text"],
.imf-service-contact .contact-form.style-2 .form-input input[type="email"],
.imf-service-contact .contact-form.style-2 .form-input input[type="tel"],
.imf-service-contact .contact-form.style-2 .form-input textarea,
.imf-service-contact .contact-form.style-2 .form-input select,
.imf-service-contact .contact-form.style-2 .form-input .nice-select {
  width: 100%;
  color: #F5F8FC !important;
  background: transparent !important;
  border-color: rgba(139, 172, 211, 0.34) !important;
}

.imf-service-contact .contact-form.style-2 .form-input input::placeholder,
.imf-service-contact .contact-form.style-2 .form-input textarea::placeholder {
  color: #B7C3D3 !important;
  opacity: 1;
}

.imf-service-contact .contact-form.style-2 .form-input .nice-select {
  display: block;
  height: 58px;
  line-height: 58px;
  padding: 0 42px 0 0;
}

.imf-service-contact .contact-form.style-2 .form-input .nice-select .current {
  color: #F5F8FC !important;
}

.imf-service-contact .contact-form.style-2 .form-input .nice-select::after {
  border-color: #F5F8FC;
  right: 10px;
}

.imf-service-contact .contact-form.style-2 .form-input .nice-select.open {
  border-color: #4AA933 !important;
}

.imf-service-contact .contact-form.style-2 .form-input .nice-select .list {
  z-index: 50;
  width: 100%;
  margin-top: 10px;
  color: #F5F8FC;
  background: #081728;
  border: 1px solid rgba(139, 172, 211, 0.22);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
}

.imf-service-contact .contact-form.style-2 .form-input .nice-select .list .option {
  min-height: 44px;
  line-height: 44px;
  color: #F5F8FC;
  background: transparent;
}

.imf-service-contact .contact-form.style-2 .form-input .nice-select .list .option:hover,
.imf-service-contact .contact-form.style-2 .form-input .nice-select .list .option.focus,
.imf-service-contact .contact-form.style-2 .form-input .nice-select .list .option.selected {
  color: #FFFFFF;
  background: #174B8D;
}

.imf-service-contact .contact-form.style-2 .form-input select option {
  color: #F5F8FC;
  background: #081728;
}

/* Home featured projects keep image-overlay typography consistent in both themes. */
html.theme-light .tj-project-section-2 .project-slider .project-item,
html.theme-dark .tj-project-section-2 .project-slider .project-item,
.tj-project-section-2 .project-slider .project-item {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

html.theme-light .tj-project-section-2 .project-slider .project-item:hover,
html.theme-dark .tj-project-section-2 .project-slider .project-item:hover,
.tj-project-section-2 .project-slider .project-item:hover {
  background: transparent;
  border-color: transparent;
}

.tj-project-section-2 .project-slider .project-content,
.tj-project-section-2 .project-slider .project-content .project-text,
.tj-project-section-2 .project-slider .project-content .title,
.tj-project-section-2 .project-slider .project-content .title a,
.tj-project-section-2 .project-slider .project-content .categories a {
  color: #FFFFFF !important;
}

.tj-project-section-2 .project-slider .project-content .title a,
.tj-project-section-2 .project-slider .project-content .categories a {
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
}

.tj-project-section-2 .project-slider .project-content .categories a {
  background: rgba(8, 23, 40, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.tj-project-section-2 .project-slider .project-content .categories a:hover,
.tj-project-section-2 .project-slider .project-content .title a:hover {
  color: #4AA933 !important;
}

.tj-project-section-2 .project-slider .project-content .project-btn {
  background: #174B8D;
  color: #FFFFFF;
}

.tj-project-section-2 .project-slider .project-content .project-btn i {
  color: #FFFFFF;
}

.tj-project-section-2 .project-slider .project-content .project-btn:hover {
  background: #129038;
}

/* Home hero vertical balance without changing Swiper structure. */
body[data-header-variant="home"] .tj-slider-section {
  height: clamp(760px, 84vh, 900px);
  min-height: 0;
  overflow: hidden;
}

body[data-header-variant="home"] .tj-slider-section .hero-slider,
body[data-header-variant="home"] .tj-slider-section .hero-slider > .swiper-wrapper,
body[data-header-variant="home"] .tj-slider-section .hero-slider .swiper-slide {
  height: 100%;
}

body[data-header-variant="home"] .tj-slider-section .tj-slider-item {
  height: 100%;
  min-height: 0;
  overflow: hidden;
}

body[data-header-variant="home"] .tj-slider-section .slider-bg-image {
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

body[data-header-variant="home"] .tj-slider-section .tj-slider-item .slider-wrapper {
  height: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  padding: clamp(126px, 15vh, 172px) 0 160px;
}

body[data-header-variant="home"] .tj-slider-section .slider-content {
  width: min(100%, 780px);
  max-width: 780px;
}

body[data-header-variant="home"] .tj-slider-section .slider-title {
  max-width: 760px;
  margin-bottom: 22px;
  color: #FFFFFF;
  font-size: clamp(44px, 4.6vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

body[data-header-variant="home"] .tj-slider-section .slider-desc {
  max-width: 620px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(16px, 1.15vw, 19px);
  line-height: 1.55;
}

body[data-header-variant="home"] .tj-slider-section .slider-btn {
  margin-top: 0;
}

body[data-header-variant="home"] .tj-slider-section .hero-thumb {
  bottom: 54px;
}

body[data-header-variant="home"] .tj-slider-section .hero-thumb .thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body[data-header-variant="home"] .tj-slider-section .circle-text-wrap {
  bottom: 66px;
}

@media only screen and (min-width: 1400px) and (max-width: 1600px) {
  body[data-header-variant="home"] .tj-slider-section {
    height: clamp(760px, 86vh, 920px);
  }

  body[data-header-variant="home"] .tj-slider-section .tj-slider-item .slider-wrapper {
    padding-top: 158px;
    padding-bottom: 156px;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1399px) {
  body[data-header-variant="home"] .tj-slider-section {
    height: 760px;
  }

  body[data-header-variant="home"] .tj-slider-section .tj-slider-item .slider-wrapper {
    padding: 138px 0 150px 30px;
  }

  body[data-header-variant="home"] .tj-slider-section .slider-content {
    width: min(100%, 700px);
    max-width: 700px;
  }

  body[data-header-variant="home"] .tj-slider-section .slider-title {
    max-width: 690px;
    font-size: clamp(54px, 5vw, 66px);
  }

  body[data-header-variant="home"] .tj-slider-section .slider-desc {
    max-width: 560px;
  }

  body[data-header-variant="home"] .tj-slider-section .hero-thumb,
  body[data-header-variant="home"] .tj-slider-section .circle-text-wrap {
    bottom: 56px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  body[data-header-variant="home"] .tj-slider-section {
    height: 720px;
  }

  body[data-header-variant="home"] .tj-slider-section .tj-slider-item .slider-wrapper {
    padding: 128px 0 142px;
  }

  body[data-header-variant="home"] .tj-slider-section .slider-content {
    width: min(75%, 560px);
    max-width: 560px;
  }

  body[data-header-variant="home"] .tj-slider-section .slider-title {
    max-width: 560px;
    font-size: clamp(44px, 6.4vw, 54px);
    line-height: 1.03;
  }

  body[data-header-variant="home"] .tj-slider-section .slider-desc {
    max-width: 500px;
    font-size: clamp(16px, 2.1vw, 18px);
  }

  body[data-header-variant="home"] .tj-slider-section .hero-thumb,
  body[data-header-variant="home"] .tj-slider-section .circle-text-wrap {
    bottom: 44px;
  }

  body[data-header-variant="home"] .tj-slider-section .circle-text-wrap {
    width: 140px;
    height: 140px;
  }
}

@media only screen and (max-width: 767px) {
  body[data-header-variant="home"] .tj-slider-section {
    height: auto;
    min-height: 100svh;
  }

  body[data-header-variant="home"] .tj-slider-section .hero-slider,
  body[data-header-variant="home"] .tj-slider-section .hero-slider > .swiper-wrapper,
  body[data-header-variant="home"] .tj-slider-section .hero-slider .swiper-slide {
    height: auto;
  }

  body[data-header-variant="home"] .tj-slider-section .tj-slider-item {
    height: auto;
    min-height: 100svh;
  }

  body[data-header-variant="home"] .tj-slider-section .tj-slider-item .slider-wrapper {
    height: auto;
    min-height: 100svh;
    align-items: center;
    padding: 118px 0 124px;
  }

  body[data-header-variant="home"] .tj-slider-section .slider-content {
    width: min(100%, 520px);
    max-width: 520px;
  }

  body[data-header-variant="home"] .tj-slider-section .slider-title {
    max-width: 100%;
    margin-bottom: 18px;
    font-size: clamp(36px, 8vw, 46px);
    line-height: 1.04;
    letter-spacing: -0.028em;
  }

  body[data-header-variant="home"] .tj-slider-section .slider-desc {
    max-width: 100%;
    margin-bottom: 22px;
    font-size: clamp(15px, 3.2vw, 17px);
    line-height: 1.5;
  }

  body[data-header-variant="home"] .tj-slider-section .hero-thumb {
    bottom: 24px;
  }

  body[data-header-variant="home"] .tj-slider-section .hero-thumb .swiper-wrapper {
    max-width: 190px;
  }

  body[data-header-variant="home"] .tj-slider-section .hero-thumb .thumb-item {
    width: 56px !important;
    height: 56px;
  }

  body[data-header-variant="home"] .tj-slider-section .circle-text-wrap {
    width: 112px;
    height: 112px;
    inset-inline-end: 16px;
    bottom: 24px;
  }

  body[data-header-variant="home"] .tj-slider-section .circle-text-wrap .circle-text {
    width: 94px;
    height: 92px;
  }

  body[data-header-variant="home"] .tj-slider-section .circle-text-wrap .circle-icon {
    width: 112px;
    height: 112px;
    font-size: 42px;
  }
}

@media only screen and (max-width: 430px) {
  body[data-header-variant="home"] .tj-slider-section .tj-slider-item .slider-wrapper {
    padding: 108px 0 108px;
  }

  body[data-header-variant="home"] .tj-slider-section .slider-title {
    font-size: clamp(32px, 9.4vw, 39px);
  }

  body[data-header-variant="home"] .tj-slider-section .hero-thumb .swiper-wrapper {
    max-width: 172px;
  }

  body[data-header-variant="home"] .tj-slider-section .hero-thumb .thumb-item {
    width: 50px !important;
    height: 50px;
  }

  body[data-header-variant="home"] .tj-slider-section .circle-text-wrap {
    width: 96px;
    height: 96px;
  }

  body[data-header-variant="home"] .tj-slider-section .circle-text-wrap .circle-text {
    width: 82px;
    height: 80px;
  }

  body[data-header-variant="home"] .tj-slider-section .circle-text-wrap .circle-icon {
    width: 96px;
    height: 96px;
    font-size: 36px;
  }
}

/* Home institutional metrics. */
.tj-about-section .countup-item .count-desc {
  margin: 10px 0 0;
  color: var(--imf-light-muted);
  font-size: 16px;
  line-height: 1.45;
}

html.theme-dark .tj-about-section .countup-item .count-desc {
  color: var(--imf-dark-muted);
}

.tj-about-section .countup-item.style-2 .imf-year-number {
  color: var(--tj-color-heading-primary);
  font-size: inherit;
  line-height: inherit;
}

.clientes-box.style-2.imf-about-forest-card {
  position: relative;
  isolation: isolate;
  min-height: 315px;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 30px;
  text-align: center;
  border: 1px solid rgba(139, 172, 211, 0.18);
}

.clientes-box.style-2.imf-about-forest-card .clientes-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  border-radius: inherit;
  opacity: 0.82;
  background-image: url("../images/bg/historiav2.jpg");
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

.clientes-box.style-2.imf-about-forest-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(8, 23, 40, 0.521), rgba(13, 34, 59, 0.411));
  pointer-events: none;
}

.clientes-box.style-2.imf-about-forest-card .clientes-text,
.clientes-box.style-2.imf-about-forest-card .star-icon {
  position: relative;
  z-index: 2;
}

.clientes-box.style-2.imf-about-forest-card .clientes-text {
  max-width: 300px;
  margin: 0 auto;
  color: var(--imf-fixed-dark-text);
  text-align: center;
}

.tj-service-section.service-2 .imf-service-link-btn {
  margin-top: 22px;
  width: max-content;
  min-height: 46px;
  padding: 12px 14px 12px 22px;
}

.tj-service-section.service-2 .imf-service-link-btn .btn-icon {
  color: var(--imf-fixed-dark-text);
}

.tj-footer-section.imf-section-dark {
  padding-top: 0 !important;
}

.tj-footer-section.imf-section-dark .footer-main-area {
  padding: 56px 0 34px !important;
}

.tj-footer-section.imf-section-dark .imf-footer-certifications {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.tj-footer-section.imf-section-dark .imf-footer-certifications img {
  display: block;
  width: auto;
  height: 58px;
  max-width: 118px;
  object-fit: contain;
  opacity: 0.92;
}

.tj-footer-section.imf-section-dark .tj-copyright-area {
  padding: 0;
}

.tj-footer-section.imf-section-dark .imf-footer-bottom {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  align-items: center;
  gap: 14px;
  padding: 18px 0 20px;
  text-align: center;
}

.tj-footer-section.imf-section-dark .imf-footer-contact-grid {
  order: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 24px;
  column-gap: 32px;
}

.tj-footer-section.imf-section-dark .imf-footer-contact-row,
.tj-footer-section.imf-section-dark .imf-footer-email-grid {
  display: grid;
  width: 100%;
  column-gap: 32px;
  row-gap: 16px;
}

.tj-footer-section.imf-section-dark .imf-footer-main-contact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tj-footer-section.imf-section-dark .imf-footer-email-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.tj-footer-section.imf-section-dark .imf-footer-contact-item,
.tj-footer-section.imf-section-dark .imf-footer-email-item,
.tj-footer-section.imf-section-dark .imf-footer-schedule {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--imf-fixed-dark-muted);
  line-height: 1.35;
  min-width: 0;
}

.tj-footer-section.imf-section-dark .imf-footer-contact-item {
  justify-content: center;
}

.tj-footer-section.imf-section-dark .imf-footer-email-item {
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 8px;
}

.tj-footer-section.imf-section-dark .imf-footer-schedule {
  justify-content: center;
}

.tj-footer-section.imf-section-dark .imf-footer-contact-icon,
.tj-footer-section.imf-section-dark .imf-footer-email-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--imf-blue);
  color: var(--imf-fixed-dark-text);
  font-size: 16px;
  line-height: 1;
}

.tj-footer-section.imf-section-dark .imf-footer-contact-icon i,
.tj-footer-section.imf-section-dark .imf-footer-email-icon i {
  color: var(--imf-fixed-dark-text);
}

.tj-footer-section.imf-section-dark .imf-footer-email-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  max-width: 100%;
  text-align: left;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tj-footer-section.imf-section-dark .imf-footer-email-content .text {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tj-footer-section.imf-section-dark .imf-footer-email-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  opacity: 0.72;
}

.tj-footer-section.imf-section-dark .imf-footer-bottom .copyright-text {
  order: 2;
  text-align: center;
}

.tj-footer-section.imf-section-dark .imf-footer-copyright {
  max-width: 100%;
}

.tj-footer-section.imf-section-dark .imf-footer-bottom .social-links {
  order: 3;
  justify-self: center;
}

.tj-footer-section.imf-section-dark .imf-footer-bottom .social-links ul {
  justify-content: center;
}

.tj-footer-section.imf-section-dark .imf-footer-bottom .social-links ul li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--imf-fixed-dark-text);
}

.tj-footer-section.imf-section-dark .imf-footer-bottom .social-links ul li a:hover,
.tj-footer-section.imf-section-dark .imf-footer-bottom .social-links ul li a:focus-visible {
  background: var(--imf-blue);
  color: var(--imf-fixed-dark-text);
}

@media (max-width: 991px) {
  .tj-footer-section.imf-section-dark .footer-main-area {
    padding: 42px 0 28px !important;
  }

  .tj-footer-section.imf-section-dark .imf-footer-bottom {
    grid-template-columns: 1fr;
  }

  .tj-footer-section.imf-section-dark .imf-footer-bottom .social-links {
    justify-self: center;
  }

  .tj-footer-section.imf-section-dark .imf-footer-email-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tj-footer-section.imf-section-dark .imf-footer-email-item:last-child {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 360px);
  }
}

@media (max-width: 575px) {
  .tj-about-section .countup-item.style-2,
  .clientes-box.style-2.imf-about-forest-card {
    min-height: 260px;
  }

  .tj-footer-section.imf-section-dark .imf-footer-main-contact,
  .tj-footer-section.imf-section-dark .imf-footer-email-grid {
    grid-template-columns: 1fr;
  }

  .tj-footer-section.imf-section-dark .imf-footer-contact-item,
  .tj-footer-section.imf-section-dark .imf-footer-email-item,
  .tj-footer-section.imf-section-dark .imf-footer-schedule {
    justify-content: flex-start;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .tj-footer-section.imf-section-dark .imf-footer-email-item:last-child {
    width: 100%;
  }

  .tj-footer-section.imf-section-dark .imf-footer-email-content {
    text-align: left;
  }

  .tj-footer-section.imf-section-dark .imf-footer-copyright {
    max-width: 250px;
  }

  .tj-footer-section.imf-section-dark .imf-footer-certifications {
    justify-content: center;
  }
}

/* Prevent stale global overlays from dimming the page. */
.body-overlay.opened {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.imf-panel-open .body-overlay.opened {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body[data-header-variant="inner"] .tj-footer-section.imf-section-dark {
  padding-top: 195px !important;
}

body[data-header-variant="inner"] .tj-footer-section.imf-section-dark .footer-main-area {
  padding: 100px 0 90px !important;
}

/* Mensura detail: readable service list and navigation labels. */
.post-details-wrapper .blog-text ul.imf-service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(24px, 5vw, 72px);
  row-gap: 14px;
  margin: 0 0 50px;
  padding: 0;
  columns: initial;
}

.post-details-wrapper .blog-text ul.imf-service-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: start;
  column-gap: 12px;
  min-width: 0;
  margin: 0;
  color: var(--imf-light-text);
  font-weight: 700;
  line-height: 1.35;
}

.post-details-wrapper .blog-text ul.imf-service-list li > span:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  flex: 0 0 20px;
  color: #FFFFFF;
  background: var(--imf-blue);
  border-radius: 50%;
  font-size: 8px;
  line-height: 1;
}

.post-details-wrapper .blog-text ul.imf-service-list li > span[data-i18n] {
  display: block;
  width: auto;
  height: auto;
  min-width: 0;
  margin: 0;
  color: inherit;
  background: transparent;
  border-radius: 0;
  font-size: inherit;
  line-height: inherit;
  overflow-wrap: anywhere;
}

html.theme-dark .post-details-wrapper .blog-text ul.imf-service-list li {
  color: var(--imf-dark-text);
}

html.theme-dark .post-details-wrapper .blog-text ul.imf-service-list li > span:first-child {
  background: var(--imf-blue);
}

.tj-post__navigation {
  min-width: 0;
}

.tj-post__navigation .tj-nav__post {
  flex: 1 1 0;
  min-width: 0;
}

.tj-post__navigation .tj-nav-post__grid {
  flex: 0 0 auto;
}

.tj-post__navigation .tj-nav-post__nav a {
  width: 100%;
  min-width: 0;
}

.tj-post__navigation .tj-nav-post__nav a .nav-post-title {
  display: block;
  width: auto;
  height: auto;
  min-width: 0;
  max-width: 100%;
  padding: 0;
  color: var(--imf-light-text);
  background: transparent;
  border: 0;
  border-radius: 0;
  font-size: clamp(16px, 1.35vw, 22px);
  line-height: 1.08;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
}

.tj-post__navigation .next_post a {
  justify-content: flex-end;
}

.tj-post__navigation .next_post a .nav-post-title {
  text-align: right;
}

.tj-post__navigation .tj-nav-post__nav a:hover .nav-post-title {
  color: var(--imf-blue);
  background: transparent;
}

html.theme-dark .tj-post__navigation {
  background: var(--imf-dark-surface);
  box-shadow: none;
}

html.theme-dark .tj-post__navigation .tj-nav-post__nav a .nav-post-title {
  color: var(--imf-dark-text);
}

html.theme-dark .tj-post__navigation .tj-nav-post__nav a:hover .nav-post-title {
  color: var(--imf-green-secondary);
}

html.theme-dark .tj-post__navigation .tj-nav-post__grid {
  color: var(--imf-dark-text);
}

html.theme-dark .tj-post__navigation .tj-nav-post__nav a span:not(.nav-post-title),
html.theme-dark .tj-post__navigation .tj-nav-post__grid a {
  border-color: var(--imf-dark-border);
}

html.theme-dark .tj-sidebar-widget.service-categories {
  background: var(--imf-dark-surface);
  border: 1px solid var(--imf-dark-border);
}

html.theme-dark .tj-sidebar-widget.service-categories .widget-title {
  color: var(--imf-dark-text);
}

html.theme-dark .service-categories ul li a {
  background: rgba(245, 248, 252, 0.08);
  color: var(--imf-dark-text);
  border: 1px solid var(--imf-dark-border);
}

html.theme-dark .service-categories ul li a span,
html.theme-dark .service-categories ul li a .icon {
  color: var(--imf-dark-text);
}

html.theme-dark .service-categories ul li a:hover,
html.theme-dark .service-categories ul li a.active {
  background: var(--imf-blue);
  border-color: var(--imf-blue);
  color: #FFFFFF;
}

html.theme-dark .service-categories ul li a:hover span,
html.theme-dark .service-categories ul li a.active span,
html.theme-dark .service-categories ul li a:hover .icon,
html.theme-dark .service-categories ul li a.active .icon {
  color: #FFFFFF;
}

@media (max-width: 767px) {
  .post-details-wrapper .blog-text ul.imf-service-list {
    grid-template-columns: 1fr;
    margin-bottom: 34px;
  }

  .tj-post__navigation {
    gap: 14px;
    padding: 16px;
  }

  .tj-post__navigation .tj-nav-post__nav a {
    gap: 8px;
  }

  .tj-post__navigation .tj-nav-post__nav a .nav-post-title {
    font-size: 15px;
    line-height: 1.12;
  }
}

@media (max-width: 480px) {
  .tj-post__navigation {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
  }

  .tj-post__navigation .tj-nav-post__nav a span:not(.nav-post-title) {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
  }

  .tj-post__navigation .tj-nav-post__nav a .nav-post-title {
    font-size: 13px;
  }
}

/* Centralized IMF header component. */
#site-header {
  position: relative;
  z-index: 99;
}

.mainmenu a.current-menu-item,
.mainmenu li.current-menu-item > a,
.mainmenu li.current-menu-ancestor > a,
.offcanvas-nav a.current-menu-item,
.offcanvas-nav li.current-menu-item > a {
  color: var(--imf-blue);
}

html.theme-dark .mainmenu a.current-menu-item,
html.theme-dark .mainmenu li.current-menu-item > a,
html.theme-dark .mainmenu li.current-menu-ancestor > a {
  color: var(--imf-green-secondary);
}

.offcanvas-nav {
  margin: 28px 0 26px;
}

.offcanvas-nav ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.offcanvas-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid rgba(139, 172, 211, 0.14);
  border-radius: 8px;
  color: var(--imf-fixed-dark-text);
  background: rgba(255, 255, 255, 0.03);
  font-weight: 700;
  line-height: 1.25;
}

.offcanvas-nav a:hover,
.offcanvas-nav a:focus-visible,
.offcanvas-nav a.current-menu-item {
  border-color: rgba(74, 169, 51, 0.35);
  color: #FFFFFF;
  background: rgba(23, 75, 141, 0.42);
}

.offcanvas-nav a[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.58;
}

.mainmenu a:focus-visible,
.header-search button:focus-visible,
.menu_bar:focus-visible,
.hamburger_close_btn:focus-visible,
.offcanvas-nav a:focus-visible {
  outline: 3px solid var(--imf-green-secondary);
  outline-offset: 3px;
}

/* Inner page hero titles stay readable over image overlays. */
.tj-page-header .tj-page-title,
html.theme-light .tj-page-header .tj-page-title,
html.theme-dark .tj-page-header .tj-page-title {
  color: #FFFFFF;
}

/* Functional site search results. */
.site-search-results {
  width: 100%;
  margin-top: 16px;
  color: var(--imf-light-text);
}

.search_popup .site-search-results {
  max-height: min(44vh, 420px);
  overflow-y: auto;
  padding-right: 4px;
}

.hamburger_search .site-search-results {
  margin-top: 14px;
}

.site-search-heading,
.site-search-empty {
  margin: 0 0 10px;
  color: var(--imf-light-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.site-search-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-search-link {
  display: grid;
  gap: 5px;
  padding: 13px 14px;
  border: 1px solid var(--imf-light-border);
  border-radius: 10px;
  background: var(--imf-light-surface);
  color: var(--imf-light-text);
  box-shadow: 0 10px 24px rgba(8, 23, 40, 0.08);
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.site-search-link:hover,
.site-search-link:focus-visible {
  border-color: rgba(23, 75, 141, 0.34);
  background: var(--imf-light-surface-elevated);
  color: var(--imf-light-text);
  transform: translateY(-1px);
}

.site-search-title {
  color: inherit;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}

.site-search-meta {
  color: var(--imf-blue);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.site-search-excerpt {
  color: var(--imf-light-muted);
  font-size: 13px;
  line-height: 1.42;
}

html.theme-dark .site-search-results,
.imf-section-dark .site-search-results,
.tj-offcanvas-area .site-search-results,
.hamburger_wrapper .site-search-results {
  color: var(--imf-fixed-dark-text);
}

html.theme-dark .site-search-heading,
html.theme-dark .site-search-empty,
.imf-section-dark .site-search-heading,
.imf-section-dark .site-search-empty,
.tj-offcanvas-area .site-search-heading,
.tj-offcanvas-area .site-search-empty,
.hamburger_wrapper .site-search-heading,
.hamburger_wrapper .site-search-empty {
  color: var(--imf-fixed-dark-muted);
}

html.theme-dark .site-search-link,
.imf-section-dark .site-search-link,
.tj-offcanvas-area .site-search-link,
.hamburger_wrapper .site-search-link {
  border-color: var(--imf-fixed-dark-border);
  background: rgba(17, 47, 81, 0.88);
  color: var(--imf-fixed-dark-text);
  box-shadow: none;
}

html.theme-dark .site-search-link:hover,
html.theme-dark .site-search-link:focus-visible,
.imf-section-dark .site-search-link:hover,
.imf-section-dark .site-search-link:focus-visible,
.tj-offcanvas-area .site-search-link:hover,
.tj-offcanvas-area .site-search-link:focus-visible,
.hamburger_wrapper .site-search-link:hover,
.hamburger_wrapper .site-search-link:focus-visible {
  border-color: rgba(74, 169, 51, 0.42);
  background: rgba(22, 59, 99, 0.94);
  color: var(--imf-fixed-dark-text);
}

html.theme-dark .site-search-meta,
.imf-section-dark .site-search-meta,
.tj-offcanvas-area .site-search-meta,
.hamburger_wrapper .site-search-meta {
  color: var(--imf-green-secondary);
}

html.theme-dark .site-search-excerpt,
.imf-section-dark .site-search-excerpt,
.tj-offcanvas-area .site-search-excerpt,
.hamburger_wrapper .site-search-excerpt {
  color: var(--imf-fixed-dark-muted);
}

@media (max-width: 575px) {
  .search_popup .site-search-results {
    max-height: 46vh;
  }

  .site-search-link {
    padding: 12px;
  }
}

/* Targeted fixes: top offcanvas trigger, CTA arrow, dark-mode light cards, preloader copy. */
.header-area.header-2.header-absolute .menu_bar.menu_offcanvas span,
.header-area.header-2.header-sticky .menu_bar.menu_offcanvas span,
.header-area.header-duplicate.header-sticky .menu_bar.menu_offcanvas span,
html.theme-light .header-area.header-2.header-absolute .menu_bar.menu_offcanvas span,
html.theme-dark .header-area.header-2.header-absolute .menu_bar.menu_offcanvas span {
  background-color: var(--imf-blue);
  opacity: 1;
  visibility: visible;
}

.header-area.header-2.header-absolute .menu_bar.menu_offcanvas:hover span,
.header-area.header-2.header-absolute .menu_bar.menu_offcanvas:focus-visible span,
.header-area.header-2.header-sticky .menu_bar.menu_offcanvas:hover span,
.header-area.header-2.header-sticky .menu_bar.menu_offcanvas:focus-visible span,
.header-area.header-duplicate.header-sticky .menu_bar.menu_offcanvas:hover span,
.header-area.header-duplicate.header-sticky .menu_bar.menu_offcanvas:focus-visible span {
  background-color: var(--imf-blue-hover);
}

.tj-cta-section .cta-area .cta-btn .tj-primary-btn.btn-dark .btn-icon {
  background-color: var(--imf-blue-dark);
}

.tj-cta-section .cta-area .cta-btn .tj-primary-btn.btn-dark:hover .btn-icon {
  background-color: var(--imf-dark-surface-hover);
}

.tj-cta-section .cta-area .cta-btn .tj-primary-btn.btn-dark .btn-icon i,
.tj-cta-section .cta-area .cta-btn .tj-primary-btn.btn-dark:hover .btn-icon i {
  color: #FFFFFF;
  opacity: 1;
  visibility: visible;
}

/* Shared institutional CTA (about, history, identidad-institucional). */
.imf-shared-cta .cta-content .imf-cta-text {
  max-width: 46ch;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 16px;
  line-height: 1.6;
}

.imf-shared-cta .cta-content .imf-cta-highlights {
  display: grid;
  gap: 10px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.imf-shared-cta .cta-content .imf-cta-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  line-height: 1.5;
}

.imf-shared-cta .cta-content .imf-cta-highlights i {
  margin-top: 3px;
  color: #FFFFFF;
  font-size: 14px;
}

html.theme-dark .details-content-box .service-details-item,
html.theme-dark .contact-item.style-2 {
  background-color: #FFFFFF;
  color: var(--imf-light-text);
}

html.theme-dark .details-content-box .service-details-item .title,
html.theme-dark .details-content-box .service-details-item h1,
html.theme-dark .details-content-box .service-details-item h2,
html.theme-dark .details-content-box .service-details-item h3,
html.theme-dark .details-content-box .service-details-item h4,
html.theme-dark .details-content-box .service-details-item h5,
html.theme-dark .details-content-box .service-details-item h6,
html.theme-dark .contact-item.style-2 .contact-title,
html.theme-dark .contact-item.style-2 h1,
html.theme-dark .contact-item.style-2 h2,
html.theme-dark .contact-item.style-2 h3,
html.theme-dark .contact-item.style-2 h4,
html.theme-dark .contact-item.style-2 h5,
html.theme-dark .contact-item.style-2 h6 {
  color: var(--imf-light-text);
}

html.theme-dark .details-content-box .service-details-item .desc,
html.theme-dark .details-content-box .service-details-item .desc p,
html.theme-dark .details-content-box .service-details-item p,
html.theme-dark .contact-item.style-2 p,
html.theme-dark .contact-item.style-2 .contact-list li a {
  color: var(--imf-light-muted);
}

html.theme-dark .contact-item.style-2 .contact-list li.active a,
html.theme-dark .contact-item.style-2 .contact-list li a:hover {
  color: var(--imf-blue);
}

.tj-preloader-text[data-i18n="Loading..."] {
  color: inherit;
}

/* Centralized header refinements: sticky CTA, service icons and offcanvas layering. */
#site-header {
  position: static;
  z-index: auto;
}

#site-header .header-area {
  z-index: 1002;
}

#site-header .tj-offcanvas-area,
#site-header .hamburger-area {
  z-index: 10060;
}

#site-header .tj-offcanvas-area.opened,
#site-header .hamburger-area.opened {
  pointer-events: auto;
}

.body-overlay.opened {
  z-index: 10040;
}

#site-header .header-area.header-sticky .header-right-item,
#site-header .header-area.header-duplicate.header-sticky .header-right-item {
  display: inline-flex;
  align-items: center;
  opacity: 1;
  visibility: visible;
}

#site-header .header-area.header-sticky .header-button,
#site-header .header-area.header-duplicate.header-sticky .header-button,
#site-header .header-area.header-sticky .header-button .tj-primary-btn,
#site-header .header-area.header-duplicate.header-sticky .header-button .tj-primary-btn {
  display: inline-flex;
  opacity: 1;
  visibility: visible;
}

#site-header .header-area.header-sticky .header-button .tj-primary-btn .btn-text,
#site-header .header-area.header-duplicate.header-sticky .header-button .tj-primary-btn .btn-text {
  color: #FFFFFF;
  overflow: visible;
}

#site-header .header-area.header-sticky .header-button .tj-primary-btn .btn-text span,
#site-header .header-area.header-duplicate.header-sticky .header-button .tj-primary-btn .btn-text span {
  display: inline-flex;
  color: inherit;
  text-shadow: none;
  transform: none;
  opacity: 1;
  visibility: visible;
}

#site-header .header-area.header-sticky .header-button .tj-primary-btn:hover .btn-text span,
#site-header .header-area.header-duplicate.header-sticky .header-button .tj-primary-btn:hover .btn-text span {
  transform: none;
}

#site-header .header-area.header-sticky .header-button .tj-primary-btn,
#site-header .header-area.header-duplicate.header-sticky .header-button .tj-primary-btn {
  background-color: var(--imf-blue);
}

#site-header .header-area.header-sticky .header-button .tj-primary-btn:hover,
#site-header .header-area.header-duplicate.header-sticky .header-button .tj-primary-btn:hover {
  background-color: var(--imf-blue-hover);
}

#site-header .mainmenu .imf-service-submenu {
  min-width: min(360px, calc(100vw - 48px));
  padding: 10px;
}

#site-header .mainmenu ul > li > .sub-menu.imf-service-submenu > li:not(:last-child) {
  border-bottom: 1px solid rgba(23, 75, 141, 0.12);
}

#site-header .mainmenu ul > li > .sub-menu.imf-service-submenu > li > a {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 62px;
  padding: 10px 12px;
  white-space: normal;
  line-height: 1.25;
}

#site-header .imf-service-icon,
#site-header .imf-nav-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  color: var(--imf-blue);
  background: linear-gradient(135deg, rgba(23, 75, 141, 0.12), rgba(74, 169, 51, 0.10));
}

#site-header .imf-service-icon i,
#site-header .imf-nav-icon i {
  font-size: 17px;
  line-height: 1;
}

#site-header .mainmenu ul > li > .sub-menu.imf-service-submenu > li > a:hover .imf-service-icon,
#site-header .mainmenu ul > li > .sub-menu.imf-service-submenu > li > a:focus-visible .imf-service-icon,
#site-header .offcanvas-nav a:hover .imf-nav-icon,
#site-header .offcanvas-nav a:focus-visible .imf-nav-icon {
  color: #FFFFFF;
  background: var(--imf-blue);
}

html.theme-dark #site-header .mainmenu ul > li > .sub-menu.imf-service-submenu > li:not(:last-child) {
  border-bottom-color: rgba(139, 172, 211, 0.18);
}

html.theme-dark #site-header .imf-service-icon,
html.theme-dark #site-header .imf-nav-icon {
  color: var(--imf-green-secondary);
  background: rgba(255, 255, 255, 0.08);
}

#site-header .offcanvas-nav a {
  gap: 12px;
}

/* Header action consistency in both themes. */
#site-header .header-button .tj-primary-btn .btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  color: #FFFFFF;
  background-color: var(--imf-blue-dark);
  opacity: 1;
  visibility: visible;
}

#site-header .header-button .tj-primary-btn .btn-icon i,
#site-header .header-button .tj-primary-btn .btn-icon .tji-arrow-right-long {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  -webkit-text-fill-color: #FFFFFF;
  font-size: 18px;
  line-height: 1;
  opacity: 1;
  visibility: visible;
}

#site-header .header-button .tj-primary-btn:hover .btn-icon {
  background-color: var(--imf-dark-surface-hover);
}

#site-header .header-button .tj-primary-btn:hover .btn-icon i,
#site-header .header-button .tj-primary-btn:hover .btn-icon .tji-arrow-right-long {
  color: #FFFFFF;
  -webkit-text-fill-color: #FFFFFF;
}

#site-header .menu_bar.menu_offcanvas,
html.theme-light #site-header .menu_bar.menu_offcanvas,
html.theme-dark #site-header .menu_bar.menu_offcanvas {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid rgba(139, 172, 211, 0.22);
  border-radius: 50%;
  background-color: var(--imf-blue-dark);
  box-shadow: 0 8px 18px rgba(8, 23, 40, 0.16);
  opacity: 1;
  visibility: visible;
}

#site-header .menu_bar.menu_offcanvas span,
html.theme-light #site-header .menu_bar.menu_offcanvas span,
html.theme-dark #site-header .menu_bar.menu_offcanvas span,
#site-header .header-area.header-2.header-absolute .menu_bar.menu_offcanvas span,
#site-header .header-area.header-sticky .menu_bar.menu_offcanvas span,
#site-header .header-area.header-duplicate.header-sticky .menu_bar.menu_offcanvas span {
  display: block;
  width: 18px;
  height: 2px;
  min-height: 2px;
  border-radius: 999px;
  background-color: #FFFFFF;
  color: #FFFFFF;
  opacity: 1;
  visibility: visible;
}

#site-header .menu_bar.menu_offcanvas:hover,
#site-header .menu_bar.menu_offcanvas:focus-visible,
html.theme-light #site-header .menu_bar.menu_offcanvas:hover,
html.theme-light #site-header .menu_bar.menu_offcanvas:focus-visible,
html.theme-dark #site-header .menu_bar.menu_offcanvas:hover,
html.theme-dark #site-header .menu_bar.menu_offcanvas:focus-visible {
  border-color: rgba(74, 169, 51, 0.42);
  background-color: var(--imf-blue);
}

#site-header .menu_bar.menu_offcanvas:hover span,
#site-header .menu_bar.menu_offcanvas:focus-visible span,
html.theme-light #site-header .menu_bar.menu_offcanvas:hover span,
html.theme-light #site-header .menu_bar.menu_offcanvas:focus-visible span,
html.theme-dark #site-header .menu_bar.menu_offcanvas:hover span,
html.theme-dark #site-header .menu_bar.menu_offcanvas:focus-visible span {
  background-color: #FFFFFF;
}

#site-header .hamburger-area .mean-container .mean-nav ul li a,
#site-header .hamburger-area .hamburger_menu a,
#site-header .tj-offcanvas-area .offcanvas-nav a,
html.theme-light #site-header .hamburger-area .mean-container .mean-nav ul li a,
html.theme-light #site-header .hamburger-area .hamburger_menu a,
html.theme-light #site-header .tj-offcanvas-area .offcanvas-nav a,
html.theme-dark #site-header .hamburger-area .mean-container .mean-nav ul li a,
html.theme-dark #site-header .hamburger-area .hamburger_menu a,
html.theme-dark #site-header .tj-offcanvas-area .offcanvas-nav a {
  color: var(--imf-fixed-dark-text);
  -webkit-text-fill-color: var(--imf-fixed-dark-text);
}

#site-header .hamburger-area .mean-container .mean-nav ul li a:hover,
#site-header .hamburger-area .mean-container .mean-nav ul li a:focus-visible,
#site-header .hamburger-area .mean-container .mean-nav ul li.dropdown-opened > a,
#site-header .tj-offcanvas-area .offcanvas-nav a:hover,
#site-header .tj-offcanvas-area .offcanvas-nav a:focus-visible,
#site-header .tj-offcanvas-area .offcanvas-nav a.current-menu-item,
html.theme-light #site-header .hamburger-area .mean-container .mean-nav ul li a:hover,
html.theme-light #site-header .hamburger-area .mean-container .mean-nav ul li a:focus-visible,
html.theme-light #site-header .hamburger-area .mean-container .mean-nav ul li.dropdown-opened > a,
html.theme-light #site-header .tj-offcanvas-area .offcanvas-nav a:hover,
html.theme-light #site-header .tj-offcanvas-area .offcanvas-nav a:focus-visible,
html.theme-light #site-header .tj-offcanvas-area .offcanvas-nav a.current-menu-item,
html.theme-dark #site-header .hamburger-area .mean-container .mean-nav ul li a:hover,
html.theme-dark #site-header .hamburger-area .mean-container .mean-nav ul li a:focus-visible,
html.theme-dark #site-header .hamburger-area .mean-container .mean-nav ul li.dropdown-opened > a,
html.theme-dark #site-header .tj-offcanvas-area .offcanvas-nav a:hover,
html.theme-dark #site-header .tj-offcanvas-area .offcanvas-nav a:focus-visible,
html.theme-dark #site-header .tj-offcanvas-area .offcanvas-nav a.current-menu-item {
  color: #FFFFFF;
  -webkit-text-fill-color: #FFFFFF;
  background-color: rgba(23, 75, 141, 0.45);
}

#site-header .hamburger-area .mean-container .mean-nav ul li a[aria-disabled="true"],
#site-header .tj-offcanvas-area .offcanvas-nav a[aria-disabled="true"],
html.theme-light #site-header .hamburger-area .mean-container .mean-nav ul li a[aria-disabled="true"],
html.theme-light #site-header .tj-offcanvas-area .offcanvas-nav a[aria-disabled="true"],
html.theme-dark #site-header .hamburger-area .mean-container .mean-nav ul li a[aria-disabled="true"],
html.theme-dark #site-header .tj-offcanvas-area .offcanvas-nav a[aria-disabled="true"] {
  color: var(--imf-fixed-dark-muted);
  -webkit-text-fill-color: var(--imf-fixed-dark-muted);
  opacity: 0.68;
}

/* Restore the original desktop offcanvas trigger: no filled circle, animated lines. */
#site-header .menu_bar.menu_offcanvas,
html.theme-light #site-header .menu_bar.menu_offcanvas,
html.theme-dark #site-header .menu_bar.menu_offcanvas {
  width: 25px;
  height: 25px;
  min-width: 25px;
  min-height: 25px;
  padding: 0;
  gap: 6px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

#site-header .menu_bar.menu_offcanvas span,
html.theme-light #site-header .menu_bar.menu_offcanvas span,
html.theme-dark #site-header .menu_bar.menu_offcanvas span,
#site-header .header-area.header-2.header-absolute .menu_bar.menu_offcanvas span,
#site-header .header-area.header-sticky .menu_bar.menu_offcanvas span,
#site-header .header-area.header-duplicate.header-sticky .menu_bar.menu_offcanvas span {
  display: block;
  height: 2px;
  min-height: 2px;
  border-radius: 10px;
  margin-inline-end: auto;
  background-color: var(--imf-blue-dark);
  opacity: 1;
  visibility: visible;
  transition: all 0.3s ease;
}

#site-header .menu_bar.menu_offcanvas span:first-child,
#site-header .menu_bar.menu_offcanvas span:last-child,
html.theme-light #site-header .menu_bar.menu_offcanvas span:first-child,
html.theme-light #site-header .menu_bar.menu_offcanvas span:last-child,
html.theme-dark #site-header .menu_bar.menu_offcanvas span:first-child,
html.theme-dark #site-header .menu_bar.menu_offcanvas span:last-child {
  width: 25px;
}

#site-header .menu_bar.menu_offcanvas span:nth-child(2),
html.theme-light #site-header .menu_bar.menu_offcanvas span:nth-child(2),
html.theme-dark #site-header .menu_bar.menu_offcanvas span:nth-child(2) {
  width: 18px;
}

html.theme-dark #site-header .menu_bar.menu_offcanvas span,
html.theme-dark #site-header .header-area.header-2.header-absolute .menu_bar.menu_offcanvas span,
html.theme-dark #site-header .header-area.header-sticky .menu_bar.menu_offcanvas span,
html.theme-dark #site-header .header-area.header-duplicate.header-sticky .menu_bar.menu_offcanvas span {
  background-color: #FFFFFF;
}

#site-header .menu_bar.menu_offcanvas:hover,
#site-header .menu_bar.menu_offcanvas:focus-visible,
html.theme-light #site-header .menu_bar.menu_offcanvas:hover,
html.theme-light #site-header .menu_bar.menu_offcanvas:focus-visible,
html.theme-dark #site-header .menu_bar.menu_offcanvas:hover,
html.theme-dark #site-header .menu_bar.menu_offcanvas:focus-visible {
  background: transparent;
  box-shadow: none;
}

#site-header .menu_bar.menu_offcanvas:hover span,
#site-header .menu_bar.menu_offcanvas:focus-visible span,
html.theme-light #site-header .menu_bar.menu_offcanvas:hover span,
html.theme-light #site-header .menu_bar.menu_offcanvas:focus-visible span,
html.theme-dark #site-header .menu_bar.menu_offcanvas:hover span,
html.theme-dark #site-header .menu_bar.menu_offcanvas:focus-visible span {
  width: 25px;
  background-color: var(--imf-blue);
}

html.theme-dark #site-header .menu_bar.menu_offcanvas:hover span,
html.theme-dark #site-header .menu_bar.menu_offcanvas:focus-visible span {
  background-color: #FFFFFF;
}

/* About IMF institutional page. */
.imf-about-copy {
  display: grid;
  gap: 14px;
  margin-bottom: 30px;
}

.imf-about-copy p,
.imf-section-lead {
  color: var(--imf-light-muted);
  font-size: 18px;
  line-height: 1.65;
}

html.theme-dark .imf-about-copy p,
html.theme-dark .imf-section-lead {
  color: var(--imf-dark-muted);
}

.imf-mvv-section,
.imf-approach-section,
.imf-quality-section {
  background: var(--imf-light-bg);
}

.imf-values-section,
.imf-founder-section {
  background: var(--imf-light-bg-secondary);
}

.imf-founder-section {
  padding-top: clamp(42px, 5vw, 72px);
}

html.theme-dark .imf-mvv-section,
html.theme-dark .imf-approach-section,
html.theme-dark .imf-quality-section {
  background: var(--imf-dark-bg);
}

html.theme-dark .imf-values-section,
html.theme-dark .imf-founder-section {
  background: var(--imf-dark-bg-secondary);
}

.imf-info-card,
.imf-value-card,
.imf-approach-card,
.imf-founder-message,
.imf-quality-panel {
  height: 100%;
  border: 1px solid var(--imf-light-border);
  border-radius: 8px;
  background: var(--imf-light-surface);
  box-shadow: 0 18px 44px rgba(8, 23, 40, 0.08);
}

.imf-info-card,
.imf-value-card,
.imf-approach-card {
  padding: 30px;
}

.imf-info-card h3,
.imf-value-card h3,
.imf-approach-card h3,
.imf-quality-panel h2,
.imf-founder-message .title {
  color: var(--imf-light-text);
}

.imf-info-card p,
.imf-value-card p,
.imf-approach-card p,
.imf-quality-panel p,
.imf-founder-message p {
  color: var(--imf-light-muted);
  line-height: 1.65;
}

.imf-card-icon {
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 22px;
  border-radius: 50%;
  color: var(--imf-blue);
  background: rgba(23, 75, 141, 0.10);
  font-size: 22px;
}

.imf-value-card .imf-card-icon {
  color: var(--imf-green);
  background: rgba(18, 144, 56, 0.10);
}

.imf-approach-card span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--imf-blue);
  font-size: clamp(46px, 6vw, 82px);
  font-weight: 800;
  line-height: 0.9;
  opacity: 0.26;
}

.imf-founder-message {
  padding: clamp(30px, 5vw, 58px);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-start;
  gap: clamp(24px, 4vw, 46px);
  transform: translateY(10px);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.imf-founder-message::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(23, 75, 141, 0.08), rgba(18, 144, 56, 0.06));
  pointer-events: none;
}

.imf-founder-message > * {
  position: relative;
}

.imf-founder-message:hover {
  transform: translateY(4px);
  box-shadow: 0 24px 60px rgba(8, 23, 40, 0.12);
  border-color: rgba(23, 75, 141, 0.26);
}

.imf-founder-photo {
  flex: 0 0 clamp(112px, 12vw, 164px);
  width: clamp(112px, 12vw, 164px);
  height: clamp(112px, 12vw, 164px);
  margin: 4px 0 0;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, var(--imf-blue), var(--imf-green));
  box-shadow: 0 18px 34px rgba(8, 23, 40, 0.18);
}

.imf-founder-photo img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  border: 4px solid var(--imf-light-surface);
}

.imf-founder-copy {
  flex: 1 1 auto;
  min-width: 0;
}

.imf-founder-signature {
  display: grid;
  gap: 4px;
  margin-top: 26px;
}

.imf-founder-signature strong {
  color: var(--imf-light-text);
  font-size: 20px;
}

.imf-founder-signature span {
  color: var(--imf-blue);
  font-weight: 700;
}

.imf-quality-panel {
  padding: clamp(28px, 5vw, 52px);
}

.imf-quality-panel .sub-title,
.imf-founder-message .sub-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: var(--imf-blue);
  font-weight: 800;
}

html.theme-dark .imf-info-card,
html.theme-dark .imf-value-card,
html.theme-dark .imf-approach-card,
html.theme-dark .imf-founder-message,
html.theme-dark .imf-quality-panel {
  border-color: var(--imf-dark-border);
  background: var(--imf-dark-surface);
  box-shadow: none;
}

html.theme-dark .imf-info-card h3,
html.theme-dark .imf-value-card h3,
html.theme-dark .imf-approach-card h3,
html.theme-dark .imf-quality-panel h2,
html.theme-dark .imf-founder-message .title,
html.theme-dark .imf-founder-signature strong {
  color: var(--imf-dark-text);
}

html.theme-dark .imf-info-card p,
html.theme-dark .imf-value-card p,
html.theme-dark .imf-approach-card p,
html.theme-dark .imf-quality-panel p,
html.theme-dark .imf-founder-message p {
  color: var(--imf-dark-muted);
}

html.theme-dark .imf-founder-signature span,
html.theme-dark .imf-quality-panel .sub-title,
html.theme-dark .imf-founder-message .sub-title {
  color: var(--imf-green-secondary);
}

html.theme-dark .imf-founder-message:hover {
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.22);
  border-color: rgba(139, 172, 211, 0.28);
}

html.theme-dark .imf-founder-photo img {
  border-color: var(--imf-dark-surface);
}

html.theme-dark .imf-card-icon {
  color: var(--imf-green-secondary);
  background: rgba(255, 255, 255, 0.08);
}

.imf-mvv-section .sec-heading {
  margin-bottom: clamp(28px, 4vw, 46px);
}

.imf-mvv-section .imf-policy-card {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 4.4vw, 54px);
  border: 1px solid var(--imf-light-border);
  border-radius: 8px;
  background: var(--imf-light-surface);
  box-shadow: 0 20px 54px rgba(8, 23, 40, 0.10);
}

.imf-mvv-section .imf-policy-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--imf-blue), var(--imf-green));
}

.imf-mvv-section .imf-policy-emblem {
  position: absolute;
  right: clamp(18px, 4vw, 48px);
  top: clamp(18px, 4vw, 42px);
  width: 120px;
  height: 120px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(23, 75, 141, 0.10);
  border-radius: 50%;
  color: rgba(23, 75, 141, 0.22);
  background: rgba(18, 144, 56, 0.05);
  font-size: 48px;
  pointer-events: none;
}

.imf-mvv-section .imf-policy-header,
.imf-mvv-section .imf-policy-grid {
  position: relative;
  z-index: 1;
}

.imf-mvv-section .imf-policy-header {
  display: flex;
  align-items: flex-start;
  gap: clamp(16px, 3vw, 26px);
  margin-bottom: clamp(28px, 4.4vw, 44px);
  padding: clamp(4px, 1vw, 10px) clamp(92px, 13vw, 150px) clamp(24px, 3.4vw, 38px) 0;
  border-bottom: 1px solid var(--imf-light-border);
}

.imf-mvv-section .imf-policy-header .imf-card-icon {
  flex: 0 0 auto;
  margin-bottom: 0;
}

.imf-mvv-section .imf-policy-label {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--imf-green);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.imf-mvv-section .imf-policy-header h3,
.imf-mvv-section .imf-policy-content h3,
.imf-mvv-section .imf-identity-card h3 {
  color: var(--imf-light-text);
}

.imf-mvv-section .imf-policy-header h3 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.16;
}

.imf-mvv-section .imf-policy-header p {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--imf-light-muted);
  font-size: 17px;
  line-height: 1.68;
}

.imf-mvv-section .imf-policy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 22px);
}

.imf-mvv-section .imf-policy-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin-top: clamp(20px, 3vw, 30px);
  padding-top: clamp(16px, 2.4vw, 22px);
  border-top: 1px solid var(--imf-light-border);
  color: var(--imf-light-muted);
  font-size: 14px;
  font-weight: 700;
}

.imf-mvv-section .imf-policy-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  min-width: 0;
  padding: clamp(20px, 2.6vw, 28px);
  border: 1px solid rgba(23, 75, 141, 0.12);
  border-radius: 8px;
  background: var(--imf-light-surface-elevated);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.imf-mvv-section .imf-policy-item:hover {
  border-color: rgba(18, 144, 56, 0.26);
  background: #ffffff;
}

.imf-mvv-section .imf-policy-item-wide {
  grid-column: 1 / -1;
}

.imf-mvv-section .imf-policy-number {
  display: inline-grid;
  place-items: center;
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  color: var(--imf-blue);
  background: rgba(23, 75, 141, 0.12);
  box-shadow: inset 0 0 0 1px rgba(23, 75, 141, 0.10);
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.imf-mvv-section .imf-policy-content {
  min-width: 0;
}

.imf-mvv-section .imf-policy-content h3 {
  margin: 0 0 14px;
  font-size: clamp(19px, 1.6vw, 22px);
  font-weight: 800;
  line-height: 1.24;
}

.imf-mvv-section .imf-policy-content p {
  margin: 0;
  color: var(--imf-light-muted);
  font-size: 16.5px;
  line-height: 1.74;
}

.imf-mvv-section .imf-policy-content p + p {
  margin-top: 12px;
}

.imf-mvv-section .imf-identity-secondary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 26px);
  margin-top: clamp(22px, 4vw, 34px);
  align-items: stretch;
}

.imf-mvv-section .imf-identity-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 250px;
  min-width: 0;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--imf-light-border);
  border-radius: 8px;
  background: var(--imf-light-surface);
  box-shadow: 0 16px 40px rgba(8, 23, 40, 0.08);
}

.imf-mvv-section .imf-identity-card .imf-card-icon {
  margin-bottom: 18px;
}

.imf-mvv-section .imf-identity-card h3 {
  margin: 0 0 14px;
  font-size: clamp(21px, 2vw, 26px);
  font-weight: 800;
}

.imf-mvv-section .imf-identity-card p {
  margin: 0;
  color: var(--imf-light-muted);
  font-size: 17px;
  line-height: 1.72;
}

html.theme-dark .imf-mvv-section .imf-policy-card,
html.theme-dark .imf-mvv-section .imf-identity-card {
  border-color: var(--imf-dark-border);
  background: var(--imf-dark-surface);
  box-shadow: none;
}

html.theme-dark .imf-mvv-section .imf-policy-emblem {
  border-color: rgba(139, 172, 211, 0.14);
  color: rgba(245, 248, 252, 0.24);
  background: rgba(18, 144, 56, 0.08);
}

html.theme-dark .imf-mvv-section .imf-policy-header {
  border-bottom-color: var(--imf-dark-border);
}

html.theme-dark .imf-mvv-section .imf-policy-header h3,
html.theme-dark .imf-mvv-section .imf-policy-content h3,
html.theme-dark .imf-mvv-section .imf-identity-card h3 {
  color: var(--imf-dark-text);
}

html.theme-dark .imf-mvv-section .imf-policy-header p,
html.theme-dark .imf-mvv-section .imf-policy-content p,
html.theme-dark .imf-mvv-section .imf-identity-card p {
  color: var(--imf-dark-muted);
}

html.theme-dark .imf-mvv-section .imf-policy-label {
  color: var(--imf-green-secondary);
}

html.theme-dark .imf-mvv-section .imf-policy-meta {
  border-top-color: var(--imf-dark-border);
  color: var(--imf-dark-muted);
}

html.theme-dark .imf-mvv-section .imf-policy-item {
  border-color: rgba(139, 172, 211, 0.16);
  background: var(--imf-dark-surface-hover);
}

html.theme-dark .imf-mvv-section .imf-policy-item:hover {
  border-color: rgba(18, 144, 56, 0.34);
  background: var(--imf-dark-surface-hover);
}

html.theme-dark .imf-mvv-section .imf-policy-number {
  color: var(--imf-dark-text);
  background: rgba(23, 75, 141, 0.34);
}

@media (max-width: 991px) {
  .imf-mvv-section .imf-policy-grid {
    grid-template-columns: 1fr;
  }

  .imf-mvv-section .imf-policy-item-wide {
    grid-column: auto;
  }
}

@media (max-width: 767px) {
  .imf-mvv-section .imf-policy-header,
  .imf-mvv-section .imf-policy-item {
    flex-direction: column;
  }

  .imf-mvv-section .imf-policy-header {
    padding-right: 0;
  }

  .imf-mvv-section .imf-policy-emblem {
    width: 86px;
    height: 86px;
    font-size: 36px;
    opacity: 0.58;
  }

  .imf-mvv-section .imf-policy-number {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  .imf-mvv-section .imf-identity-secondary-grid {
    grid-template-columns: 1fr;
  }
}

/* Institutional identity page - section rhythm and reading comfort. */
.imf-identity-page .imf-identity-policy-section {
  padding-bottom: clamp(40px, 6vw, 70px);
}

.imf-identity-page .imf-identity-mv-section {
  padding-top: clamp(40px, 6vw, 70px);
  background: var(--imf-light-bg-secondary);
  border-top: 1px solid var(--imf-light-border);
}

html.theme-dark .imf-identity-page .imf-identity-mv-section {
  background: var(--imf-dark-bg-secondary);
  border-top-color: var(--imf-dark-border);
}

.imf-identity-page .imf-quality-panel p {
  max-width: 68ch;
  margin-left: auto;
  margin-right: auto;
}

.imf-info-card,
.imf-value-card,
.imf-approach-card,
.imf-quality-panel {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.imf-info-card:hover,
.imf-value-card:hover,
.imf-approach-card:hover,
.imf-quality-panel:hover {
  transform: translateY(-6px);
  border-color: rgba(23, 75, 141, 0.24);
  box-shadow: 0 24px 54px rgba(8, 23, 40, 0.12);
}

html.theme-dark .imf-info-card:hover,
html.theme-dark .imf-value-card:hover,
html.theme-dark .imf-approach-card:hover,
html.theme-dark .imf-quality-panel:hover {
  border-color: rgba(139, 172, 211, 0.28);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2);
}

@media (prefers-reduced-motion: reduce) {
  .imf-founder-message,
  .imf-info-card,
  .imf-value-card,
  .imf-approach-card,
  .imf-quality-panel {
    transition: none;
    transform: none;
  }

  .imf-founder-message:hover,
  .imf-info-card:hover,
  .imf-value-card:hover,
  .imf-approach-card:hover,
  .imf-quality-panel:hover {
    transform: none;
  }
}

/* About page choose cards: scoped contrast fixes. */
html.theme-light #choose.imf-about-choose .choose-box {
  position: relative;
  border: 1px solid rgba(23, 75, 141, 0.12);
  background: #FFFFFF;
  box-shadow: 0 18px 44px rgba(8, 23, 40, 0.08);
  overflow: hidden;
}

html.theme-light #choose.imf-about-choose .choose-content {
  position: relative;
  z-index: 2;
}

html.theme-light #choose.imf-about-choose .choose-content .title {
  color: #081728;
}

html.theme-light #choose.imf-about-choose .choose-content .desc {
  color: #5B6B7D;
}

html.theme-light #choose.imf-about-choose .choose-icon,
html.theme-light #choose.imf-about-choose .choose-icon i {
  color: #174B8D;
}

html.theme-light #choose.imf-about-choose .right-swipe::before,
html.theme-light #choose.imf-about-choose .right-swipe::after {
  z-index: 1;
  background: #174B8D;
}

html.theme-light #choose.imf-about-choose .choose-box:hover,
html.theme-light #choose.imf-about-choose .choose-box.active {
  background: #174B8D;
}

html.theme-light #choose.imf-about-choose .choose-box:hover .title,
html.theme-light #choose.imf-about-choose .choose-box.active .title {
  color: #FFFFFF;
}

html.theme-light #choose.imf-about-choose .choose-box:hover .desc,
html.theme-light #choose.imf-about-choose .choose-box.active .desc {
  color: rgba(255, 255, 255, 0.82);
}

html.theme-light #choose.imf-about-choose .choose-box:hover .choose-icon,
html.theme-light #choose.imf-about-choose .choose-box:hover .choose-icon i,
html.theme-light #choose.imf-about-choose .choose-box.active .choose-icon,
html.theme-light #choose.imf-about-choose .choose-box.active .choose-icon i {
  color: #FFFFFF;
}

html.theme-dark #choose.imf-about-choose .choose-box {
  position: relative;
  border: 1px solid rgba(139, 172, 211, 0.18);
  background: #112F51;
  box-shadow: none;
  overflow: hidden;
}

html.theme-dark #choose.imf-about-choose .choose-content {
  position: relative;
  z-index: 2;
}

html.theme-dark #choose.imf-about-choose .choose-content .title {
  color: #F5F8FC;
}

html.theme-dark #choose.imf-about-choose .choose-content .desc {
  color: #B7C3D3;
}

html.theme-dark #choose.imf-about-choose .choose-icon,
html.theme-dark #choose.imf-about-choose .choose-icon i {
  color: #4AA933;
}

html.theme-dark #choose.imf-about-choose .right-swipe::before,
html.theme-dark #choose.imf-about-choose .right-swipe::after {
  z-index: 1;
  background: #163B63;
}

/* History page timeline: scoped theme contrast. */
.imf-history-intro .desc p {
  color: var(--imf-light-muted);
}

html.theme-dark .imf-history-intro .desc p {
  color: var(--imf-dark-muted);
}

.tj-history-area.imf-history-timeline .timeline::after {
  border-inline-end-color: rgba(23, 75, 141, 0.25);
}

.tj-history-area.imf-history-timeline .timeline-inner::after {
  background: #FFFFFF;
  border-color: #174B8D;
}

.tj-history-area.imf-history-timeline .timeline-inner .content {
  border: 1px solid rgba(23, 75, 141, 0.14);
  background: #FFFFFF;
  box-shadow: 0 18px 45px rgba(8, 23, 40, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.tj-history-area.imf-history-timeline .timeline-inner .content:hover {
  transform: translateY(-4px);
  border-color: rgba(23, 75, 141, 0.24);
  box-shadow: 0 24px 56px rgba(8, 23, 40, 0.12);
}

html.theme-light .tj-history-area.imf-history-timeline .timeline-inner .date {
  color: #174B8D;
}

html.theme-light .tj-history-area.imf-history-timeline .timeline-inner .content .top span {
  color: #174B8D;
}

html.theme-light .tj-history-area.imf-history-timeline .timeline-inner .title {
  color: #081728;
}

html.theme-light .tj-history-area.imf-history-timeline .timeline-inner p {
  color: #5B6B7D;
}

html.theme-dark .tj-history-area.imf-history-timeline .timeline::after {
  border-inline-end-color: rgba(139, 172, 211, 0.25);
}

html.theme-dark .tj-history-area.imf-history-timeline .timeline-inner::after {
  background: #4AA933;
  border-color: #112F51;
}

html.theme-dark .tj-history-area.imf-history-timeline .timeline-inner .content {
  border-color: rgba(139, 172, 211, 0.18);
  background: #112F51;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

html.theme-dark .tj-history-area.imf-history-timeline .timeline-inner .content:hover {
  border-color: rgba(139, 172, 211, 0.28);
  background: #163B63;
}

html.theme-dark .tj-history-area.imf-history-timeline .timeline-inner .date {
  color: #F5F8FC;
}

html.theme-dark .tj-history-area.imf-history-timeline .timeline-inner .content .top span {
  color: #4AA933;
}

html.theme-dark .tj-history-area.imf-history-timeline .timeline-inner .title {
  color: #F5F8FC;
}

html.theme-dark .tj-history-area.imf-history-timeline .timeline-inner p {
  color: #B7C3D3;
}

.tj-history-area.imf-history-timeline .timeline-inner .bottom img {
  width: 100%;
  aspect-ratio: 1 / 0.84;
  object-fit: cover;
  display: block;
  background: rgba(23, 75, 141, 0.08);
}

.tj-history-area.imf-history-timeline .timeline-inner .bottom img[src$=".svg"] {
  object-fit: contain;
  padding: 18px;
}

@media (max-width: 767.98px) {
  .tj-history-area.imf-history-timeline .timeline {
    gap: 72px;
  }

  .tj-history-area.imf-history-timeline .timeline-inner .content .top {
    padding-inline-start: 34px;
  }

  .tj-history-area.imf-history-timeline .timeline-inner .bottom {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tj-history-area.imf-history-timeline .timeline-inner .content {
    transition: none;
  }

  .tj-history-area.imf-history-timeline .timeline-inner .content:hover {
    transform: none;
  }
}

/* Services page: four IMF services and single office map marker. */
.imf-services-page .sec-heading {
  margin-bottom: 42px;
}

.imf-services-page .sec-heading .sub-title {
  color: #174B8D;
  background: rgba(23, 75, 141, 0.08);
  border: 1px solid rgba(23, 75, 141, 0.14);
}

.imf-services-page .sec-heading .sub-title i,
.imf-services-page .sec-heading .sub-title span {
  color: #174B8D;
}

html.theme-dark .imf-services-page .sec-heading .sub-title {
  color: #4AA933;
  background: rgba(17, 47, 81, 0.9);
  border-color: rgba(139, 172, 211, 0.18);
}

html.theme-dark .imf-services-page .sec-heading .sub-title i,
html.theme-dark .imf-services-page .sec-heading .sub-title span {
  color: #4AA933;
}

.imf-services-page .imf-section-lead {
  max-width: 760px;
  margin: 18px auto 0;
}

.imf-services-page .imf-service-card {
  height: 100%;
  border: 1px solid rgba(23, 75, 141, 0.14);
  background: #FFFFFF;
  box-shadow: 0 18px 42px rgba(8, 23, 40, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background-color 220ms ease;
  display: flex;
  flex-direction: column;
  min-height: 560px;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
}

.imf-services-page .imf-service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(23, 75, 141, 0.24);
  box-shadow: 0 24px 56px rgba(8, 23, 40, 0.12);
  background: #FFFFFF;
}

.imf-services-page .imf-service-card .service-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
}

.imf-services-page .imf-service-card .service-content .desc {
  flex: 0 0 auto;
}

.imf-services-page .imf-service-card .title,
.imf-services-page .imf-service-card .title a {
  color: #081728;
}

.imf-services-page .imf-service-card .desc {
  color: #5B6B7D;
}

.imf-services-page .imf-service-card .service-icon {
  color: #174B8D;
  margin-bottom: clamp(46px, 5vw, 76px);
}

.imf-services-page .imf-service-card:hover .title,
.imf-services-page .imf-service-card:hover .title a {
  color: #081728 !important;
}

.imf-services-page .imf-service-card:hover .desc {
  color: #5B6B7D !important;
}

.imf-services-page .imf-service-card:hover .service-icon {
  background: linear-gradient(-45deg, rgba(23, 75, 141, 0.18) 0%, rgba(23, 75, 141, 0) 50%, rgba(18, 144, 56, 0.18) 100%);
}

.imf-services-page .imf-service-card:hover .service-icon i {
  color: #174B8D;
}

.imf-services-page .imf-service-btn {
  width: fit-content;
  margin-top: auto;
  padding: 0 6px 0 22px;
  min-height: 50px;
}

.imf-services-page .imf-service-btn .btn-text {
  color: #FFFFFF;
}

.imf-services-page .imf-service-btn .btn-icon {
  background-color: #081728;
  color: #FFFFFF;
}

.imf-services-page .imf-service-btn:hover {
  background-color: #123D73;
}

.imf-services-page .imf-service-btn:hover .btn-icon {
  background-color: #050F1B;
  color: #FFFFFF;
}

html.theme-dark .imf-services-page .imf-service-card {
  border-color: rgba(139, 172, 211, 0.18);
  background: #112F51;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

html.theme-dark .imf-services-page .imf-service-card:hover {
  border-color: rgba(139, 172, 211, 0.28);
  background: #163B63;
}

html.theme-dark .imf-services-page .imf-service-card .title,
html.theme-dark .imf-services-page .imf-service-card .title a {
  color: #F5F8FC;
}

html.theme-dark .imf-services-page .imf-service-card .desc {
  color: #B7C3D3;
}

html.theme-dark .imf-services-page .imf-service-card .service-icon {
  color: #4AA933;
}

html.theme-dark .imf-services-page .imf-service-card:hover .title,
html.theme-dark .imf-services-page .imf-service-card:hover .title a {
  color: #F5F8FC !important;
}

html.theme-dark .imf-services-page .imf-service-card:hover .desc {
  color: #B7C3D3 !important;
}

html.theme-dark .imf-services-page .imf-service-card:hover .service-icon i {
  color: #4AA933;
}

.imf-service-contact .global-map {
  width: 100%;
  inset-inline-start: 0;
}

.imf-service-contact .global-map-img > img {
  opacity: 0.58;
}

.imf-service-contact .imf-office-marker {
  top: 80%;
  inset-inline-start: 25.5%;
  width: 20px;
  height: 20px;
  border: 0;
  padding: 0;
  background-color: #FFFFFF;
  box-shadow: 0 0 0 8px rgba(23, 75, 141, 0.22), 0 0 0 16px rgba(74, 169, 51, 0.12);
}

.imf-service-contact .imf-office-marker::before {
  content: "";
  position: absolute;
  inset: -7px;
  border: 2px solid rgba(74, 169, 51, 0.7);
  border-radius: 50%;
}

.imf-service-contact .imf-office-marker .location-tooltip {
  background-color: #174B8D;
  text-align: start;
}

.imf-service-contact .imf-office-marker .location-tooltip::after {
  background-color: #174B8D;
}

.imf-service-contact .imf-office-marker:hover .location-tooltip,
.imf-service-contact .imf-office-marker:focus-visible .location-tooltip,
.imf-service-contact .imf-office-marker:focus .location-tooltip {
  opacity: 1;
  visibility: visible;
  margin-bottom: 42px;
}

.imf-service-contact .imf-office-marker:focus-visible {
  outline: 3px solid #4AA933;
  outline-offset: 8px;
}

.imf-service-contact .contact-form.style-2 {
  background: #112F51;
  border: 1px solid rgba(139, 172, 211, 0.18);
}

.imf-service-contact .contact-form.style-2 .sec-title,
.imf-service-contact .contact-form.style-2 .sub-title,
.imf-service-contact .contact-form.style-2 .sub-title span {
  color: #F5F8FC;
}

.imf-service-contact .contact-form.style-2 input,
.imf-service-contact .contact-form.style-2 select,
.imf-service-contact .contact-form.style-2 textarea,
.imf-service-contact .contact-form.style-2 .nice-select {
  color: #F5F8FC;
  background-color: transparent;
  border-color: rgba(139, 172, 211, 0.28);
}

.imf-service-contact .contact-form.style-2 input::placeholder,
.imf-service-contact .contact-form.style-2 textarea::placeholder {
  color: #B7C3D3;
}

.imf-service-contact .contact-form.style-2 .nice-select {
  display: block;
  width: 100%;
  line-height: 1.5;
}

.imf-service-contact .contact-form.style-2 .nice-select .current {
  color: #F5F8FC;
}

.imf-service-contact .contact-form.style-2 .nice-select::after {
  color: #F5F8FC;
}

.imf-service-contact .contact-form.style-2 .nice-select .list {
  z-index: 20;
  border: 1px solid rgba(139, 172, 211, 0.18);
  background: #FFFFFF;
  box-shadow: 0 18px 36px rgba(8, 23, 40, 0.18);
}

.imf-service-contact .contact-form.style-2 .nice-select .list .option {
  color: #081728;
}

.imf-service-contact .contact-form.style-2 .nice-select .list .option:hover,
.imf-service-contact .contact-form.style-2 .nice-select .list .option.focus,
.imf-service-contact .contact-form.style-2 .nice-select .list .option.selected {
  color: #081728;
  background: #EAF0F7;
}

.imf-service-contact .contact-form.style-2 label.error {
  color: #70E08B;
}

html.theme-dark .imf-service-contact .imf-office-marker {
  background-color: #F5F8FC;
  box-shadow: 0 0 0 8px rgba(74, 169, 51, 0.22), 0 0 0 16px rgba(43, 108, 176, 0.18);
}

html.theme-dark .imf-service-contact .imf-office-marker .location-tooltip,
html.theme-dark .imf-service-contact .imf-office-marker .location-tooltip::after {
  background-color: #112F51;
}

@media (max-width: 575px) {
  .imf-services-page .imf-service-card {
    min-height: auto;
  }

  .imf-services-page .imf-service-card .service-icon {
    margin-bottom: 34px;
  }

  .imf-services-page .imf-service-btn {
    margin-top: 26px;
  }

  .imf-service-contact .global-map {
    width: 680px;
    inset-inline-start: -105px;
  }

  .imf-service-contact .imf-office-marker {
    top: 80%;
    inset-inline-start: 25.5%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .imf-services-page .imf-service-card {
    transition: none;
  }

  .imf-services-page .imf-service-card:hover {
    transform: none;
  }
}

@media (max-width: 575px) {
  .imf-founder-message {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
    gap: 22px;
    transform: none;
  }

  .imf-founder-photo {
    width: 118px;
    height: 118px;
    flex-basis: 118px;
  }

  .imf-info-card,
  .imf-value-card,
  .imf-approach-card {
    padding: 24px;
  }

  .imf-about-copy p,
  .imf-section-lead {
    font-size: 16px;
  }
}

/* Working process: permanent dark composition in both themes. */
.tj-working-process.imf-section-dark .sec-title,
.tj-working-process.imf-section-dark .sec-title span,
.tj-working-process.imf-section-dark .process-item .title {
  color: var(--imf-fixed-dark-text);
}

.tj-working-process.imf-section-dark .heading-wrap-content > .desc,
.tj-working-process.imf-section-dark .process-item .desc {
  color: var(--imf-fixed-dark-muted);
}

.tj-working-process.imf-section-dark .process-item {
  border: 1px solid var(--imf-fixed-dark-border);
  background-color: var(--imf-fixed-dark-surface);
  box-shadow: none;
}

.tj-working-process.imf-section-dark .process-item:hover {
  border-color: rgba(74, 169, 51, 0.28);
  background-color: var(--imf-fixed-dark-surface-hover);
}

.tj-working-process.imf-section-dark .process-item .process-step {
  background: linear-gradient(180deg, #8AB7E8 0%, #F5F8FC 88%);
  background-clip: text;
  -webkit-background-clip: text;
  color: #8AB7E8;
  -webkit-text-fill-color: transparent;
}

.tj-working-process.imf-section-dark .process-item:not(:last-child)::after {
  color: var(--imf-blue);
  background-color: #FFFFFF;
  border-color: var(--imf-fixed-dark-bg);
}

.tj-working-process.imf-section-dark .process-item:not(:last-child):hover::after {
  color: var(--imf-blue-hover);
}

/* Preloader cyan accent. */
.tj-preloader .tj-preloader-ball-inner,
.tj-preloader .tj-preloader-ball {
  background-color: #00D5FF;
}

.tj-preloader .tj-preloader-ball-shadow {
  background-color: #00D5FF;
  box-shadow: 0 4px 20px 0 rgba(0, 213, 255, 0.82);
}

.tj-preloader .tj-preloader-ball {
  box-shadow: 0 0 20px 0 rgba(0, 213, 255, 0.82);
}

.tj-preloader .tj-preloader-ball-inner {
  box-shadow: 0 0 14px 0 rgba(0, 213, 255, 0.95);
}

/* Global WhatsApp access. */
.imf-whatsapp-float {
  position: fixed;
  right: 41px;
  bottom: 112px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  z-index: 999;
  background: #FFFFFF;
  border: 1px solid rgba(8, 23, 40, 0.08);
  box-shadow: 0 10px 28px rgba(8, 23, 40, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  animation: imf-whatsapp-bounce 8s ease-in-out infinite;
}

.imf-whatsapp-float img {
  width: 68%;
  height: 68%;
  object-fit: contain;
  display: block;
}

.imf-whatsapp-float:hover,
.imf-whatsapp-float:focus-visible {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 34px rgba(8, 23, 40, 0.30);
}

.imf-whatsapp-float:focus-visible {
  outline: 3px solid var(--imf-green-secondary);
  outline-offset: 4px;
}

.imf-whatsapp-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  max-width: min(180px, calc(100vw - 116px));
  padding: 8px 11px;
  border-radius: 8px;
  background: #081728;
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  white-space: normal;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translate(8px, -50%);
  transition: opacity 160ms ease, visibility 160ms ease, transform 160ms ease;
}

.imf-whatsapp-float:hover .imf-whatsapp-tooltip,
.imf-whatsapp-float:focus-visible .imf-whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%);
}

html.theme-dark .imf-whatsapp-float {
  background: #F5F8FC;
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
}

html.theme-dark .imf-whatsapp-tooltip {
  background: #112F51;
}

.contact-item.style-2.imf-whatsapp-card {
  display: block;
  height: 100%;
  cursor: pointer;
  text-decoration: none;
}

.contact-item.style-2.imf-whatsapp-card:focus-visible {
  outline: 3px solid var(--imf-green-secondary);
  outline-offset: 4px;
}

.contact-item.style-2.imf-whatsapp-card .contact-list span {
  color: var(--tj-color-text-body);
}

.contact-item.style-2.imf-whatsapp-card .contact-list .active span {
  color: var(--tj-color-theme-primary);
  font-weight: var(--tj-fw-sbold);
}

.contact-item.style-2.imf-whatsapp-card:hover .contact-list .active span,
.contact-item.style-2.imf-whatsapp-card:focus-visible .contact-list .active span {
  color: var(--imf-green);
}

@keyframes imf-whatsapp-bounce {
  0%,
  88%,
  100% {
    transform: translateY(0);
  }

  91% {
    transform: translateY(-5px);
  }

  94% {
    transform: translateY(0);
  }

  97% {
    transform: translateY(-3px);
  }
}

@media (max-width: 991px) {
  .imf-whatsapp-float {
    right: 18px;
    bottom: 88px;
    width: 54px;
    height: 54px;
  }
}

@media (max-width: 575px) {
  .imf-whatsapp-float {
    right: 20px;
    bottom: 82px;
    width: 50px;
    height: 50px;
  }

  .imf-whatsapp-tooltip {
    display: none;
  }
}

@media (hover: none) {
  .imf-whatsapp-tooltip {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .imf-whatsapp-float {
    animation: none;
  }

  .imf-whatsapp-float,
  .imf-whatsapp-tooltip {
    transition: none;
  }
}

/* Final guard: never show a stale body overlay unless an IMF panel is open. */
.body-overlay.opened {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

body.imf-panel-open .body-overlay.opened {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body[data-header-variant="home"]:not(.imf-panel-open) .body-overlay.opened {
  display: block !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body[data-header-variant="home"].imf-panel-open .body-overlay.opened {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

/* Footer subscribe consent alignment. */
.tj-footer-section.imf-section-dark .subscribe-form label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  margin-top: 0;
}

.tj-footer-section.imf-section-dark .subscribe-form input[type="checkbox"] {
  position: relative;
  flex: 0 0 22px;
  width: 22px;
  height: 22px;
  min-width: 22px;
  margin: 0;
  border: 1px solid #989a9e;
  border-radius: 4px;
  background: transparent;
  vertical-align: middle;
  transform: none;
}

.tj-footer-section.imf-section-dark .subscribe-form input[type="checkbox"]::before {
  inset: 0;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  line-height: 1;
  text-align: center;
}

.tj-footer-section.imf-section-dark .subscribe-form input[type="checkbox"]:checked {
  background-color: var(--imf-blue);
  border-color: var(--imf-blue);
}

/* IMF search: stable interaction in desktop and hamburger menu. */
body.imf-search-open {
  overflow: hidden;
}

body.imf-search-open #site-header .header-area {
  z-index: 10040;
}

#site-search-popup {
  position: fixed;
  inset-inline: 0;
  top: var(--imf-search-top, 96px);
  width: 100%;
  max-height: calc(100vh - var(--imf-search-top, 96px) - 24px);
  padding: 28px 0 30px;
  overflow-y: auto;
  z-index: 10030;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0s linear 0.16s;
  border-radius: 0 0 12px 12px;
}

#site-search-popup.search-opened {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition-delay: 0s;
}

#site-search-popup.search-opened .search_form .search_input,
#site-search-popup.search-opened .search_form .search_input::after {
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}

#site-search-popup .container {
  max-width: 1200px;
}

#site-search-popup .col-8 {
  flex: 0 0 auto;
  width: min(900px, calc(100% - 32px));
  max-width: 900px;
}

#site-search-popup .tj_search_wrapper {
  min-height: auto;
  box-shadow: none;
}

#site-search-popup .tj_search_wrapper .search_form form .search_input .search-box input[type="search"] {
  width: 100%;
  height: 65px;
  padding: 16px 90px 16px 24px;
  border: 1px solid var(--tj-color-border-1);
  border-radius: 10px;
  background: transparent;
  color: var(--tj-color-text-body);
  font-family: var(--tj-ff-body);
  font-size: 20px;
}

html.theme-dark #site-search-popup .tj_search_wrapper .search_form form .search_input .search-box input[type="search"] {
  border-color: var(--imf-dark-border);
  color: var(--imf-dark-text);
}

.search-popup-overlay {
  z-index: 10020;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: none;
  background-color: rgba(8, 23, 40, 0.24);
  backdrop-filter: blur(2px);
  transition: opacity 0.16s ease, visibility 0s linear 0.16s;
}

.search-popup-overlay.search-popup-overlay-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition-delay: 0s;
}

.header-search .search,
.header-search .search_close_btn {
  transition: color 0.16s ease, background-color 0.16s ease, opacity 0.1s ease;
}

.header-search .search.search-hide {
  transform: none;
  pointer-events: none;
}

.header-search .search:hover i,
.header-search .search:focus-visible i {
  animation: none !important;
  transform: none !important;
}

.hamburger-search-area {
  position: relative;
  z-index: 20;
}

.tj-offcanvas-area .offcanvas-search-area {
  margin: 20px 0 4px;
}

.hamburger_search,
.hamburger_search form {
  position: relative;
}

.hamburger_search button {
  top: 50%;
}

.hamburger_search .site-search-results {
  position: absolute;
  inset-inline: 0;
  top: calc(100% + 8px);
  z-index: 100;
  max-height: min(42vh, 360px);
  margin: 0;
  padding: 10px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--imf-fixed-dark-border);
  border-radius: 12px;
  background: var(--imf-fixed-dark-bg-secondary);
  box-shadow: 0 18px 38px rgba(2, 9, 16, 0.34);
}

.hamburger_search .site-search-heading,
.hamburger_search .site-search-empty {
  margin: 0 2px 8px;
}

.site-search-results[hidden] {
  display: none !important;
}

.site-search-link,
.site-search-link:hover,
.site-search-link:focus-visible {
  position: relative;
  z-index: 1;
  transform: none;
}

.hamburger-area .mobile-search-area {
  margin: 18px 0 20px;
}

.hamburger-area .mobile-search-area .hamburger-title,
.tj-offcanvas-area .offcanvas-search-area .hamburger-title {
  margin-bottom: 12px;
  font-size: 18px;
}

.hamburger-area .mobile-search-area .hamburger_search,
.tj-offcanvas-area .offcanvas-search-area .hamburger_search {
  margin-bottom: 0;
}

.hamburger-area .mobile-search-area .hamburger_search input[type="search"] {
  height: 54px;
  line-height: 54px;
  padding-inline-end: 56px;
  font-size: 16px;
}

.hamburger-area .mobile-search-area .hamburger_search button {
  width: 54px;
  height: 52px;
  font-size: 21px;
}

@media (max-width: 991px) {
  #site-search-popup {
    display: none !important;
  }
}

@media (max-width: 575px) {
  .hamburger-area .mobile-search-area {
    margin-top: 14px;
  }

  .hamburger-area .mobile-search-area .site-search-excerpt {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  #site-search-popup,
  .search-popup-overlay,
  .header-search .search,
  .header-search .search_close_btn {
    transition: none;
  }
}

/* ==========================================================================
   IMF INSTITUTIONAL FORM ACCESS CARDS (CONTACT PAGE)
   ========================================================================== */

/* Grid container */
.imf-form-access-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 50px;
  width: 100%;
}

/* Base card styling (Light mode default) */
.imf-form-access-card {
  width: 100%;
  min-height: 100%;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  align-items: stretch;
  gap: 30px;
  padding: 44px 48px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(23, 75, 141, 0.12);
  background-color: #ffffff;
  box-shadow: 0 18px 42px rgba(8, 23, 40, 0.08);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

/* Card hover - subtle light mode adjustment, no translate/motion */
.imf-form-access-card:hover {
  border-color: rgba(23, 75, 141, 0.24);
  box-shadow: 0 24px 56px rgba(8, 23, 40, 0.12);
}

/* Icon container */
.imf-form-access-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 80px;
  height: 80px;
  font-size: 36px;
  border-radius: 50%;
  background: linear-gradient(-45deg, rgba(23, 75, 141, 0.12) 0%, rgba(23, 75, 141, 0) 50%, rgba(23, 75, 141, 0.12) 100%);
  border: 1px solid rgba(23, 75, 141, 0.15);
  color: #174B8D;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

/* Content area */
.imf-form-access-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  height: 100%;
}

.imf-form-access-content h3 {
  font-size: 22px;
  font-weight: 600;
  color: #081728;
  margin-bottom: 12px;
  line-height: 1.3;
}

.imf-form-access-content p {
  color: #5B6B7D;
  margin-bottom: 24px;
  line-height: 1.6;
}

/* Align buttons at the bottom */
.imf-form-access-content .tj-primary-btn {
  margin-top: auto;
}

/* ==========================================================================
   Dark Mode override for Institutional Form Access Cards
   ========================================================================== */
html.theme-dark .imf-form-access-card {
  background-color: var(--imf-dark-surface);
  border-color: var(--imf-dark-border);
  box-shadow: none;
}

html.theme-dark .imf-form-access-card:hover {
  border-color: rgba(23, 75, 141, 0.4);
}

html.theme-dark .imf-form-access-icon {
  background: linear-gradient(-45deg, rgba(23, 75, 141, 0.25) 0%, rgba(23, 75, 141, 0) 50%, rgba(23, 75, 141, 0.25) 100%);
  border-color: rgba(23, 75, 141, 0.3);
  color: #ffffff;
}

html.theme-dark .imf-form-access-content h3 {
  color: var(--tj-color-common-white);
}

html.theme-dark .imf-form-access-content p {
  color: var(--tj-color-text-body-2);
}

/* ==========================================================================
   Responsive design overrides
   ========================================================================== */
@media only screen and (max-width: 991px) {
  .imf-form-access-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media only screen and (max-width: 575px) {
  .imf-form-access-card {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px 24px;
  }
  
  .imf-form-access-icon {
    align-self: flex-start;
  }
}

/* ==========================================================================
   IMF COMPLAINT PAGE STYLES (.imf-complaint-page)
   ========================================================================== */
.imf-complaint-page .contact-form {
  padding: 40px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(23, 75, 141, 0.1);
  box-shadow: 0 18px 42px rgba(8, 23, 40, 0.06);
}

html.theme-dark .imf-complaint-page .contact-form {
  background: var(--imf-dark-surface);
  border-color: var(--imf-dark-border);
  box-shadow: none;
}

.imf-complaint-page .imf-complaint-intro {
  color: #5b6b7d;
  line-height: 1.7;
}

html.theme-dark .imf-complaint-page .imf-complaint-intro {
  color: var(--tj-color-text-body-2);
}

.imf-complaint-page .imf-complaint-intro .lead-text {
  font-size: 17px;
  font-weight: 500;
  color: #081728;
  margin-bottom: 12px;
}

html.theme-dark .imf-complaint-page .imf-complaint-intro .lead-text {
  color: var(--tj-color-common-white);
}

/* Notice about Karin Law */
.imf-complaint-page .imf-karin-notice {
  padding: 20px;
  border-radius: 10px;
  background-color: rgba(23, 75, 141, 0.04);
  border: 1px solid rgba(23, 75, 141, 0.15);
  color: #081728;
  font-size: 15px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

html.theme-dark .imf-complaint-page .imf-karin-notice {
  background-color: rgba(255, 255, 255, 0.03);
  border-color: var(--imf-dark-border);
  color: var(--tj-color-common-white);
}

.imf-complaint-page .imf-inline-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #174b8d;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
  font-size: 15px;
}

.imf-complaint-page .imf-inline-action i {
  font-size: 14px;
}

.imf-complaint-page .imf-inline-action:hover {
  color: #0c3366;
  text-decoration: none;
}

html.theme-dark .imf-complaint-page .imf-inline-action {
  color: var(--tj-color-common-white);
}

html.theme-dark .imf-complaint-page .imf-inline-action:hover {
  color: var(--tj-color-text-body-2);
}

/* Form Fields */
.imf-complaint-page .form-input label {
  font-weight: 600;
  color: #081728;
  margin-bottom: 8px;
  display: block;
}

html.theme-dark .imf-complaint-page .form-input label {
  color: var(--tj-color-common-white);
}

.imf-complaint-page input[type="text"],
.imf-complaint-page input[type="email"],
.imf-complaint-page input[type="date"],
.imf-complaint-page select,
.imf-complaint-page textarea {
  width: 100% !important;
  background-color: #ffffff;
  color: #081728;
  border: 1px solid rgba(8, 23, 40, 0.2);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 15px;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  outline: none;
  box-sizing: border-box;
}

/* Date input */
.imf-complaint-page input[type="date"] {
  min-height: 52px;
  display: block;
}

/* Textarea input */
.imf-complaint-page textarea {
  min-height: 180px;
  resize: vertical;
}

/* Checkbox container */
.imf-complaint-page .form-input-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 15px;
}

.imf-complaint-page .form-input-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(8, 23, 40, 0.3);
  border-radius: 4px;
  margin-top: 3px;
  flex-shrink: 0;
  cursor: pointer;
}

.imf-complaint-page .form-input-check label {
  font-size: 14px;
  line-height: 1.5;
  color: #5b6b7d;
  cursor: pointer;
  margin-bottom: 0;
}

html.theme-dark .imf-complaint-page .form-input-check label {
  color: var(--tj-color-text-body-2);
}

/* Focus and input states */
.imf-complaint-page input[type="text"]:focus,
.imf-complaint-page input[type="email"]:focus,
.imf-complaint-page input[type="date"]:focus,
.imf-complaint-page select:focus,
.imf-complaint-page textarea:focus {
  border-color: #174b8d;
  box-shadow: 0 0 0 2px rgba(23, 75, 141, 0.1);
}

/* Placeholders */
.imf-complaint-page input::placeholder,
.imf-complaint-page textarea::placeholder {
  color: #718096;
  opacity: 1;
}

/* Instructions */
.imf-complaint-page .imf-complaint-instructions {
  color: #5b6b7d;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 15px;
}

html.theme-dark .imf-complaint-page .imf-complaint-instructions {
  color: var(--imf-dark-muted);
}

/* Character counter */
.imf-complaint-page .char-counter {
  margin-top: 8px;
  font-size: 13px;
  color: #5b6b7d;
  text-align: right;
}

html.theme-dark .imf-complaint-page .char-counter {
  color: var(--imf-dark-muted);
}

.imf-complaint-page .char-counter.limit-reached {
  color: #d9534f;
  font-weight: 600;
}

/* File input customization */
.imf-complaint-page input[type="file"] {
  border: 1px solid rgba(8, 23, 40, 0.2);
  background-color: #ffffff;
  padding: 10px;
}

/* File info container */
.imf-complaint-page #file-info-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  border-radius: 8px;
  background-color: #f3f6f9;
  border: 1px solid #e1e7ec;
  font-size: 14px;
  color: #081728;
}

.imf-complaint-page #remove-file-btn {
  background: none;
  border: none;
  color: #d9534f;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

.imf-complaint-page #remove-file-btn:hover {
  color: #c9302c;
}

/* Dark Mode Overrides */
html.theme-dark .imf-complaint-page input[type="text"],
html.theme-dark .imf-complaint-page input[type="email"],
html.theme-dark .imf-complaint-page input[type="date"],
html.theme-dark .imf-complaint-page select,
html.theme-dark .imf-complaint-page textarea,
html.theme-dark .imf-complaint-page input[type="file"] {
  background-color: #102238; /* elevated surface */
  color: #ffffff;
  border: 1px solid var(--imf-dark-border);
}

html.theme-dark .imf-complaint-page input[type="text"]:focus,
html.theme-dark .imf-complaint-page input[type="email"]:focus,
html.theme-dark .imf-complaint-page input[type="date"]:focus,
html.theme-dark .imf-complaint-page select:focus,
html.theme-dark .imf-complaint-page textarea:focus {
  border-color: #129038; /* green accent focus */
  box-shadow: 0 0 0 2px rgba(18, 144, 56, 0.2);
}

html.theme-dark .imf-complaint-page input::placeholder,
html.theme-dark .imf-complaint-page textarea::placeholder {
  color: #a0aec0;
}

html.theme-dark .imf-complaint-page input[type="checkbox"] {
  background-color: #102238;
  border-color: var(--imf-dark-border);
}

html.theme-dark .imf-complaint-page #file-info-container {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: var(--tj-color-common-white);
}

/* Ensure Webkit calendar indicator is visible in dark mode */
html.theme-dark .imf-complaint-page input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(1);
  cursor: pointer;
}

.imf-form-feedback-modal .modal-content {
  border: 0;
  border-radius: 18px;
  overflow: hidden;
}

.imf-form-feedback-modal .modal-header {
  border-bottom: 1px solid rgba(8, 23, 40, 0.08);
}

.imf-form-feedback-modal .modal-footer {
  border-top: 1px solid rgba(8, 23, 40, 0.08);
  justify-content: flex-end;
}

.imf-form-feedback-modal .imf-feedback-accept-btn {
  min-width: 160px;
  padding: 10px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--imf-blue);
  color: #ffffff;
  font-weight: 700;
  line-height: 1;
}

.imf-form-feedback-modal .imf-feedback-accept-btn:hover,
.imf-form-feedback-modal .imf-feedback-accept-btn:focus-visible {
  background: var(--imf-blue-hover);
  color: #ffffff;
}

html.theme-dark .imf-form-feedback-modal .modal-content {
  background: var(--imf-dark-surface);
}

html.theme-dark .imf-form-feedback-modal .modal-header,
html.theme-dark .imf-form-feedback-modal .modal-footer {
  border-color: var(--imf-dark-border);
}

html.theme-dark .imf-form-feedback-modal .imf-feedback-accept-btn {
  background: var(--imf-green-secondary);
  color: #081728;
}

html.theme-dark .imf-form-feedback-modal .imf-feedback-accept-btn:hover,
html.theme-dark .imf-form-feedback-modal .imf-feedback-accept-btn:focus-visible {
  background: var(--imf-green);
  color: #081728;
}

/* ==========================================================================
   IMF KARIN LAW PAGE STYLES (.imf-karin-page)
   ========================================================================== */
.imf-karin-page .contact-form {
  padding: 40px;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(23, 75, 141, 0.1);
  box-shadow: 0 18px 42px rgba(8, 23, 40, 0.06);
}

html.theme-dark .imf-karin-page .contact-form {
  background: var(--imf-dark-surface);
  border-color: var(--imf-dark-border);
  box-shadow: none;
}

.imf-karin-page .imf-section {
  border-bottom: 1px solid rgba(23, 75, 141, 0.1);
  padding-bottom: 25px;
  margin-bottom: 25px;
}

html.theme-dark .imf-karin-page .imf-section {
  border-bottom-color: var(--imf-dark-border);
}

.imf-karin-page .imf-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.imf-karin-page .imf-section-title {
  font-size: 18px;
  font-weight: 700;
  color: #174b8d;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

html.theme-dark .imf-karin-page .imf-section-title {
  color: var(--tj-color-common-white);
}

.imf-karin-page .imf-intro-text {
  font-size: 14px;
  line-height: 1.6;
  color: #5b6b7d;
  margin-bottom: 12px;
}

html.theme-dark .imf-karin-page .imf-intro-text {
  color: var(--imf-dark-muted);
}

/* Form Fields */
.imf-karin-page .form-input label {
  font-weight: 600;
  color: #081728;
  margin-bottom: 8px;
  display: block;
}

html.theme-dark .imf-karin-page .form-input label {
  color: var(--tj-color-common-white);
}

.imf-karin-page input[type="text"],
.imf-karin-page input[type="email"],
.imf-karin-page input[type="date"],
.imf-karin-page input[type="time"],
.imf-karin-page select,
.imf-karin-page textarea {
  width: 100% !important;
  background-color: #ffffff;
  color: #081728;
  border: 1px solid rgba(8, 23, 40, 0.2);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 15px;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  outline: none;
  box-sizing: border-box;
}

/* Date and Time inputs */
.imf-karin-page input[type="date"],
.imf-karin-page input[type="time"] {
  min-height: 52px;
  display: block;
}

/* Textarea input */
.imf-karin-page textarea {
  min-height: 180px;
  resize: vertical;
}

/* Focus and input states */
.imf-karin-page input[type="text"]:focus,
.imf-karin-page input[type="email"]:focus,
.imf-karin-page input[type="date"]:focus,
.imf-karin-page input[type="time"]:focus,
.imf-karin-page select:focus,
.imf-karin-page textarea:focus {
  border-color: #174b8d;
  box-shadow: 0 0 0 2px rgba(23, 75, 141, 0.1);
}

/* Placeholders */
.imf-karin-page input::placeholder,
.imf-karin-page textarea::placeholder {
  color: #718096;
  opacity: 1;
}

/* Checkbox and Radio lists */
.imf-karin-page .form-input-check,
.imf-karin-page .form-input-radio {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.imf-karin-page .form-input-check input[type="checkbox"],
.imf-karin-page .form-input-radio input[type="radio"] {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(8, 23, 40, 0.3);
  margin-top: 3px;
  flex-shrink: 0;
  cursor: pointer;
}

.imf-karin-page .form-input-radio input[type="radio"] {
  border-radius: 50%;
}

.imf-karin-page .form-input-check label,
.imf-karin-page .form-input-radio label {
  font-size: 14px;
  line-height: 1.5;
  color: #5b6b7d;
  cursor: pointer;
  margin-bottom: 0;
}

html.theme-dark .imf-karin-page .form-input-check label,
html.theme-dark .imf-karin-page .form-input-radio label {
  color: var(--tj-color-text-body-2);
}

/* Signature field */
.imf-karin-page .imf-signature-field {
  width: 100%;
  max-width: 500px;
  margin-top: 10px;
}

.imf-karin-page #karin-signature-pad {
  border: 1px dashed rgba(23, 75, 141, 0.3);
  border-radius: 8px;
  background-color: #f8fafc;
  width: 100%;
  height: 220px;
  cursor: crosshair;
  touch-action: none; /* Disables browser scrolling when drawing */
}

@media (max-width: 575px) {
  .imf-karin-page #karin-signature-pad {
    height: 180px;
  }
}

.imf-karin-page .imf-signature-actions {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.imf-karin-page .imf-signature-actions button {
  background: none;
  border: 1px solid #174b8d;
  color: #174b8d;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.imf-karin-page .imf-signature-actions button:hover {
  background-color: #174b8d;
  color: #ffffff;
}

/* Scoped form styles for IMF Forms */

/* General inputs inside contact-form, complaint page, and karin page */
#contact-form input,
#contact-form textarea,
#contact-form select,
.imf-complaint-page input,
.imf-complaint-page textarea,
.imf-complaint-page select,
.imf-karin-page input,
.imf-karin-page textarea,
.imf-karin-page select {
  font-family: inherit;
  font-size: 15px;
  border-radius: 6px;
  width: 100%;
  transition: border-color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

/* Light theme styles */
html.theme-light #contact-form input:not([type="submit"]),
html.theme-light #contact-form textarea,
html.theme-light #contact-form select,
html.theme-light .imf-complaint-page input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
html.theme-light .imf-complaint-page textarea,
html.theme-light .imf-complaint-page select,
html.theme-light .imf-karin-page input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
html.theme-light .imf-karin-page textarea,
html.theme-light .imf-karin-page select {
  background-color: var(--imf-light-surface) !important;
  color: var(--imf-light-text) !important;
  border: 1px solid var(--imf-light-border) !important;
}

html.theme-light #contact-form input::placeholder,
html.theme-light #contact-form textarea::placeholder,
html.theme-light .imf-complaint-page input::placeholder,
html.theme-light .imf-complaint-page textarea::placeholder,
html.theme-light .imf-karin-page input::placeholder,
html.theme-light .imf-karin-page textarea::placeholder {
  color: var(--imf-light-muted) !important;
  opacity: 0.8;
}

/* Dark theme styles */
html.theme-dark #contact-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
html.theme-dark #contact-form textarea,
html.theme-dark #contact-form select,
html.theme-dark .imf-complaint-page input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
html.theme-dark .imf-complaint-page textarea,
html.theme-dark .imf-complaint-page select,
html.theme-dark .imf-karin-page input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
html.theme-dark .imf-karin-page textarea,
html.theme-dark .imf-karin-page select {
  background-color: var(--imf-dark-surface-elevated) !important;
  color: var(--imf-dark-text) !important;
  border: 1px solid var(--imf-dark-border) !important;
}

html.theme-dark #contact-form input::placeholder,
html.theme-dark #contact-form textarea::placeholder,
html.theme-dark .imf-complaint-page input::placeholder,
html.theme-dark .imf-complaint-page textarea::placeholder,
html.theme-dark .imf-karin-page input::placeholder,
html.theme-dark .imf-karin-page textarea::placeholder {
  color: var(--imf-dark-muted) !important;
  opacity: 0.6;
}

/* Focus styles */
#contact-form input:focus,
#contact-form textarea:focus,
#contact-form select:focus,
.imf-complaint-page input:focus,
.imf-complaint-page textarea:focus,
.imf-complaint-page select:focus,
.imf-karin-page input:focus,
.imf-karin-page textarea:focus,
.imf-karin-page select:focus {
  border-color: var(--imf-blue) !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(23, 75, 141, 0.25) !important;
}

/* Native select styling */
select.imf-native-select {
  display: block !important;
  visibility: visible !important;
  width: 100% !important;
  height: 55px !important;
  padding: 0 20px !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  border-radius: 6px !important;
  background-position: right 20px center !important;
  background-repeat: no-repeat !important;
  background-size: 12px !important;
  cursor: pointer !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  transition: all 0.2s ease-in-out !important;
}

/* Light mode arrow */
html.theme-light select.imf-native-select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230c1b2d'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") !important;
}

/* Dark mode arrow */
html.theme-dark select.imf-native-select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f5f8fc'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") !important;
}

/* Labels and helper texts readability in Dark Mode */
html.theme-dark .imf-complaint-page label,
html.theme-dark .imf-karin-page label,
html.theme-dark .imf-complaint-page .imf-complaint-instructions,
html.theme-dark .imf-complaint-page .help-block,
html.theme-dark .imf-complaint-page .char-counter,
html.theme-dark .imf-karin-page .form-text,
html.theme-dark .imf-karin-page #char-count,
html.theme-dark .imf-karin-page .small.text-muted,
html.theme-dark .imf-karin-page .alert-warning p {
  color: var(--imf-dark-muted) !important;
}

/* Checkboxes and Radios styling */
.imf-complaint-page input[type="checkbox"],
.imf-complaint-page input[type="radio"],
.imf-karin-page input[type="checkbox"],
.imf-karin-page input[type="radio"] {
  width: 18px !important;
  height: 18px !important;
  margin-right: 8px !important;
  cursor: pointer !important;
  vertical-align: middle !important;
}

html.theme-dark .imf-complaint-page input[type="checkbox"],
html.theme-dark .imf-complaint-page input[type="radio"],
html.theme-dark .imf-karin-page input[type="checkbox"],
html.theme-dark .imf-karin-page input[type="radio"] {
  border: 1px solid var(--imf-dark-border) !important;
  background-color: var(--imf-dark-bg-secondary) !important;
}

/* Date and Time custom calendar/clock icon colors in dark mode */
html.theme-dark .imf-complaint-page input[type="date"]::-webkit-calendar-picker-indicator,
html.theme-dark .imf-karin-page input[type="date"]::-webkit-calendar-picker-indicator,
html.theme-dark .imf-karin-page input[type="time"]::-webkit-calendar-picker-indicator {
  filter: invert(1) !important;
  cursor: pointer !important;
}

/* File upload styling */
html.theme-dark .imf-complaint-page input[type="file"],
html.theme-dark .imf-karin-page input[type="file"] {
  background-color: var(--imf-dark-surface-elevated) !important;
  color: var(--imf-dark-text) !important;
}

/* Character counters and errors styles */
.imf-form-help {
  font-size: 13px;
  margin-top: 4px;
}

.imf-char-counter {
  font-size: 13px;
  transition: color 0.2s ease;
}

.imf-char-counter.limit-reached,
.imf-char-counter.text-danger,
.imf-form-error {
  color: #dc3545 !important;
}

/* Error highlighting on inputs */
input[aria-invalid="true"],
textarea[aria-invalid="true"],
select[aria-invalid="true"] {
  border-color: #dc3545 !important;
}

/* Canvas signature pad border */
.imf-karin-page #karin-signature-pad {
  border: 2px dashed var(--imf-light-border);
  background-color: var(--imf-light-surface-elevated);
}
html.theme-dark .imf-karin-page #karin-signature-pad {
  border-color: var(--imf-dark-border);
  background-color: var(--imf-dark-surface);
}

/* Modal feedback styles */
.imf-form-feedback-modal .modal-content {
  border-radius: 8px;
  border: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

html.theme-light .imf-form-feedback-modal .modal-content {
  background-color: var(--imf-light-surface);
  color: var(--imf-light-text);
}

html.theme-dark .imf-form-feedback-modal .modal-content {
  background-color: var(--imf-dark-surface);
  color: var(--imf-dark-text);
  border: 1px solid var(--imf-dark-border);
}

html.theme-dark .imf-form-feedback-modal .modal-header {
  border-bottom: 1px solid var(--imf-dark-border);
}

html.theme-dark .imf-form-feedback-modal .modal-footer {
  border-top: 1px solid var(--imf-dark-border);
}

/* Contact form field alignment fix (scoped to #contact-form) */
#contact-form .row {
  --bs-gutter-x: 24px;
}

#contact-form .form-input {
  margin-bottom: 24px;
}

#contact-form .form-input input,
#contact-form .form-input select {
  width: 100%;
  min-height: 62px;
  padding: 0 20px;
  border-radius: 8px;
  line-height: 1.3;
  box-sizing: border-box;
}

/* select.imf-native-select carries its own !important height/border-radius
   elsewhere for the karin/complaint forms; override locally so the contact
   form's four top controls line up without touching those other pages */
#contact-form .form-input select.imf-native-select {
  height: auto !important;
  min-height: 62px !important;
  border-radius: 8px !important;
}

#contact-form #conSubject,
#contact-form #conSubject:focus {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: 62px !important;
  min-height: 62px !important;
  padding: 0 20px !important;
  line-height: 1.3 !important;
  border-width: 1px !important;
  transform: none !important;
  animation: none !important;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out, background-color 0.2s ease-in-out, color 0.2s ease-in-out !important;
}

#contact-form .form-input textarea {
  width: 100%;
  min-height: 190px;
  padding: 18px 20px;
  line-height: 1.5;
  resize: vertical;
  box-sizing: border-box;
}

/* Service SVG icons (Mensura, Geomatica, Genetica, Logisticos, Informatica, Calidad).
   Single black SVG per service, recolored via mask + currentColor so light/dark
   themes only ever change color, never the source file. */
.imf-service-svg-icon {
  --service-icon: none;
  display: block;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  background-color: currentColor;
  -webkit-mask-image: var(--service-icon);
  mask-image: var(--service-icon);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.imf-icon-mensura {
  --service-icon: url("../images/icons/services/mensura.svg");
}

.imf-icon-geomatica {
  --service-icon: url("../images/icons/services/geomatica.svg");
}

.imf-icon-genetica {
  --service-icon: url("../images/icons/services/genetica.svg");
}

.imf-icon-logisticos {
  --service-icon: url("../images/icons/services/logisticos.svg");
}

.imf-icon-informatica {
  --service-icon: url("../images/icons/services/informatica.svg");
}

.imf-icon-calidad {
  --service-icon: url("../images/icons/services/calidad-operacional.svg");
}

html.theme-light .imf-service-svg-icon {
  color: var(--imf-blue);
}

html.theme-dark .imf-service-svg-icon {
  color: var(--imf-green-secondary);
}

/* index.html service cards (.service-item.style-2, 80px circle / 65px on small screens) */
.service-item.style-2 .service-icon .imf-service-svg-icon {
  width: 48px;
  height: 48px;
}

@media only screen and (min-width: 576px) and (max-width: 767px),
(max-width: 575px) {
  .service-item.style-2 .service-icon .imf-service-svg-icon {
    width: 38px;
    height: 38px;
  }
}

/* service.html service cards (.service-item.style-4, 100px circle / 80px / 70px) */
.service-item.style-4 .service-icon .imf-service-svg-icon {
  width: 58px;
  height: 58px;
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .service-item.style-4 .service-icon .imf-service-svg-icon {
    width: 48px;
    height: 48px;
  }
}

@media only screen and (min-width: 576px) and (max-width: 767px),
(max-width: 575px) {
  .service-item.style-4 .service-icon .imf-service-svg-icon {
    width: 40px;
    height: 40px;
  }
}

/* Sidebar "Mas servicios" widget on area pages */
.imf-sidebar-service-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.service-categories .imf-service-svg-icon {
  width: 30px;
  height: 30px;
}

html.theme-dark .service-categories .imf-service-svg-icon {
  color: var(--imf-green-secondary);
}

.service-categories ul li a:hover .imf-service-svg-icon,
.service-categories ul li a.active .imf-service-svg-icon {
  color: #FFFFFF;
}

/* Header desktop dropdown + hamburger/offcanvas submenu (42px circle) */
#site-header .imf-nav-icon .imf-service-svg-icon,
#site-header .imf-service-icon .imf-service-svg-icon {
  width: 24px;
  height: 24px;
  color: inherit;
}

/* Contact page institutional access cards (Canal de denuncias / Ley Karin).
   Same single-SVG-as-mask technique as the service icons; color is inherited
   from .imf-form-access-icon, which already sets blue (light) / white (dark). */
.imf-access-svg-icon {
  --access-icon: none;
  display: block;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  background-color: currentColor;
  -webkit-mask-image: var(--access-icon);
  mask-image: var(--access-icon);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.imf-access-icon-denuncias {
  --access-icon: url("../images/icons/contact/denuncias.svg");
}

.imf-access-icon-karin {
  --access-icon: url("../images/icons/contact/karin.svg");
}
