/* ==========================================================================
   SIM KOL 77 - site styles
   Layout rebuilt from the "Excon / Pexcon" construction template,
   recoloured with the SIM KOL 77 brand palette (green, blue, yellow, red).
   Image slots are plain colour blocks (.ph) - swap them for <img> tags later.

   Contract: js/nav.js, js/footer.js, js/main.js and build_blog.py write markup
   that uses these class names. Rename a class here = change it there too.
   ========================================================================== */

:root {
  /* brand colours (sampled from the SIM KOL 77 logo).
     Contrast measured against white unless noted (WCAG: 4.5:1 text, 3:1 icons). */
  --red: #d90518;          /* 5.3:1 - buttons with white text, links on hover */
  --red-dark: #b00414;     /* 7.3:1 */
  --green: #068a37;        /* 4.5:1 - small labels and icons; just passes for text */
  --green-dark: #04702c;   /* 6.3:1 */
  --blue: #2496f5;         /* 3.1:1 - icons and borders only, never text */
  --blue-dark: #1670c4;    /* 5.1:1 - blue text and buttons */
  --yellow: #fbc508;       /* 1.6:1 on white - backgrounds only; 8.6:1 under --ink text, 10.8:1 on the footer */
  --yellow-dark: #a88000;  /* 3.65:1 - yellow icons on white (was #d9a800 = 2.2:1, measured 2026-10-06) */

  /* text */
  --ink: #0c2b5e;          /* 13.8:1 - headings, nav */
  --body: #717171;         /* 4.9:1 - paragraphs */
  --muted: #6f7278;        /* 4.8:1 */

  /* surfaces */
  --line: #e8e9eb;
  --soft: #f9f9ff;
  --soft-2: #fbf9ff;
  --soft-line: #f0e9ff;
  --hatch: #e6e9ef;
  --footer: #0b1a33;
  --footer-bottom: #071328;
  --footer-text: #8b93a3;  /* 5.6:1 on --footer */

  /* image placeholders */
  --ph-blue: #c9e1f9;
  --ph-green: #c6e4d1;
  --ph-yellow: #fce9a9;
  --ph-red: #f5c4c8;
  --ph-gray: #e1e5eb;

  --header-height: 0px;
}

/* ---------- base ---------- */
.container, .container-fluid, .row { --bs-gutter-x: 30px; }
@media (min-width: 1200px) { .container { max-width: 1170px; } }

body {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  margin: 0;
  padding: 0;
  color: var(--body);
  background: #fff;
}
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  color: var(--ink);
  font-family: "Roboto", sans-serif;
  line-height: 1.2em;
}
h1, .h1 { font-size: 36px; }
h2, .h2 { font-size: 30px; font-weight: 600; }
h3, .h3 { font-size: 24px; }
h4, .h4 { font-size: 18px; }
h5, .h5 { font-size: 16px; }
h6, .h6 { font-size: 14px; }
p { color: var(--body); font-family: "Roboto", sans-serif; line-height: 1.929; font-size: 14px; margin-bottom: 0; }
a { text-decoration: none; transition: .5s; }
a:hover { text-decoration: none; }
img { max-width: 100%; height: auto; }
ul { list-style: none; margin: 0; padding: 0; }
b, sup, sub, u, del { color: var(--red); }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.nav-link:focus-visible, .btn:focus-visible, .page-link:focus-visible, .form-control:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; box-shadow: none; }
.navbar-toggler:focus { box-shadow: none; }
.skip-link:focus { position: absolute !important; top: 8px; left: 8px; z-index: 10000; padding: 10px 18px; background: #fff; color: var(--ink); font-weight: 500; box-shadow: 0 2px 10px #00000026; }
#main, [id] { scroll-margin-top: var(--header-height); }

.icon { display: inline-block; width: 1em; height: 1em; vertical-align: -.125em; }

/* image placeholder blocks */
.ph { display: block; width: 100%; background-color: var(--ph-gray); }
.ph-blue { background-color: var(--ph-blue); }
.ph-green { background-color: var(--ph-green); }
.ph-yellow { background-color: var(--ph-yellow); }
.ph-red { background-color: var(--ph-red); }
.ph-gray { background-color: var(--ph-gray); }

/* spacing helpers */
.section_padding { padding: 140px 0; }
.padding_top { padding-top: 140px; }
.padding_bottom { padding-bottom: 140px; }
.margin_bottom { margin-bottom: 140px; }
@media (min-width: 992px) and (max-width: 1200px) {
  .section_padding { padding: 80px 0; }
  .padding_top { padding-top: 80px; }
  .padding_bottom { padding-bottom: 80px; }
  .margin_bottom { margin-bottom: 80px; }
}
@media (max-width: 991px) {
  .section_padding { padding: 70px 0; }
  .padding_top { padding-top: 70px; }
  .padding_bottom { padding-bottom: 70px; }
  .margin_bottom { margin-bottom: 70px; }
}
.mt-10 { margin-top: 10px; }
.mt-30 { margin-top: 30px; }
.mb-30 { margin-bottom: 30px; }

/* section titles */
.section_tittle { margin-bottom: 80px; }
.section_tittle h2 { font-size: 52px; color: var(--ink); line-height: 62px; font-weight: 700; text-transform: uppercase; margin: 0; }
@media (min-width: 992px) and (max-width: 1200px) { .section_tittle { margin-bottom: 50px; } .section_tittle h2 { font-size: 35px; line-height: 40px; } }
@media (min-width: 768px) and (max-width: 991px) { .section_tittle h2 { font-size: 30px; line-height: 40px; } }
@media (max-width: 767px) { .section_tittle { margin-bottom: 50px; } .section_tittle h2 { font-size: 25px; line-height: 35px; } }

/* buttons */
.btn_1 {
  display: inline-block;
  padding: 13.5px 45px;
  background-color: var(--red);
  font-size: 14px;
  color: #fff;
  transition: .5s;
  text-transform: none;
  border: 1px solid transparent;
  cursor: pointer;
}
.btn_1:hover { color: #fff !important; background-color: var(--ink); }
.btn_1:focus-visible { outline-color: #fff; outline-offset: -4px; }
@media (max-width: 991px) { .btn_1 { padding: 10px 30px; margin-top: 30px; } }
@media (max-width: 576px) { .btn_1 { margin-top: 25px; } }

.btn_3 { color: var(--ink); text-transform: none; font-size: 14px; position: relative; display: inline-block; transition: .5s; }
.btn_3::after { position: absolute; content: ""; left: 0; bottom: -8px; width: 100%; height: 2px; background-color: var(--line); transition: .5s; }
.btn_3:hover { color: var(--red); }
.btn_3:hover::after { left: 15px; background-color: var(--yellow); }

.button { display: inline-block; font-size: 15px; font-weight: 500; padding: 12px 54px; border-radius: 4px; color: #fff; border: 1px solid #edeff2; text-transform: uppercase; background-color: var(--red); cursor: pointer; transition: .5s; }
.button:hover { color: #fff; }
.button-contactForm { color: #fff; border-color: #edeff2; padding: 12px 25px; }
@media (max-width: 767px) { .button { font-size: 13px; padding: 9px 24px; } }

/* ==========================================================================
   Header
   ========================================================================== */
.main_menu { background: #fff; position: relative; z-index: 999; }
.main_menu .navbar { padding: 20px 0; }
.main_menu .navbar-brand { padding: 0 !important; margin-right: 0; }

/* brand mark (drawn from the logo's colours, not the logo file) */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand_mark { width: 44px; height: 46px; flex: none; }
.brand_divider { width: 1px; height: 40px; background: #c8ccd4; }
.brand_text { display: flex; flex-direction: column; line-height: 1; }
.brand_name { font-size: 27px; font-weight: 700; letter-spacing: .02em; color: var(--red); white-space: nowrap; }
.brand_tag { margin-top: 6px; font-size: 9.5px; font-weight: 500; letter-spacing: .32em; color: #83868c; text-transform: uppercase; }
.footer-area .brand_name { color: #fff; }
.footer-area .brand_name em { color: var(--red); font-style: normal; }
.footer-area .brand_divider { background: #3a4760; }
@media (max-width: 991px) {
  .brand_mark { width: 36px; height: 38px; }
  .brand_name { font-size: 21px; }
  .brand_tag { font-size: 8px; }
}

.main_menu .main-menu-item { text-align: right; justify-content: right; }
.main_menu .main-menu-item ul li .nav-link { color: var(--ink); font-size: 15px; padding: 0 24px; text-transform: none; }
.main_menu .main-menu-item ul li .nav-link:hover { color: var(--red); }
.main_menu .main-menu-item ul .btn_1 { color: #fff; font-size: 14px; padding: 11.5px 28px; margin-left: 40px; margin-top: 0; }
.main_menu .navbar-toggler { border: 0; padding: 4px; color: var(--ink); font-size: 30px; line-height: 1; }
@media (min-width: 992px) and (max-width: 1200px) {
  .main_menu .main-menu-item { padding-left: 25px; }
  .main_menu .main-menu-item ul li .nav-link { padding: 0 16px; }
  .main_menu .main-menu-item ul .btn_1 { margin-left: 30px; }
}

.dropdown-menu { border: 0 !important; background-color: #fafafa; border-radius: 0; }
.dropdown .dropdown-item { text-transform: none; font-size: 14px; padding: 9px 18px !important; color: #000 !important; }
.dropdown .dropdown-item:hover, .dropdown .dropdown-item:focus { color: var(--red) !important; background: transparent; }
@media (min-width: 992px) {
  .dropdown .dropdown-menu { transition: all .5s; overflow: hidden; transform-origin: top center; transform: scaleY(0); display: block; margin-top: 32px !important; top: 100%; left: 0; }
  .dropdown:hover .dropdown-menu, .dropdown .dropdown-menu.show, .dropdown .dropdown-menu:focus-within { transform: scale(1); }
}
@media (max-width: 991px) {
  .navbar-collapse { z-index: 9999 !important; position: absolute; left: 0; top: 71px; width: 100%; background-color: #fff; text-align: center !important; box-shadow: 0 10px 15px #0000000d; }
  .main_menu .main-menu-item { text-align: left !important; }
  .main_menu .main-menu-item .nav-item { padding: 10px 15px !important; }
  .main_menu .main-menu-item .nav-item a { padding: 5px 15px !important; }
  .navbar-nav { align-items: start !important; }
  .dropdown .dropdown-menu { margin-top: 10px; }
}

@keyframes fadeInDown {
  0% { opacity: 0; transform: translate3d(0, -100%, 0); }
  to { opacity: 1; transform: translateZ(0); }
}
.menu_fixed { padding-top: env(safe-area-inset-top, 0px); animation: fadeInDown 1s both; position: fixed; z-index: 9999 !important; width: 100%; background-color: #fff; box-shadow: 0 10px 15px #0000000d; top: 0; }

/* ==========================================================================
   Home banner
   ========================================================================== */
.banner_part { position: relative; overflow: hidden; }
.banner_slide { position: relative; height: 800px; overflow: hidden; background: #fff; }
.banner_slide > .container { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; }

/* diagonal photo area (slide 2 placeholder) and diagonal backdrop (flyer slide) */
.banner_slide .banner_img,
.banner_slide .banner_shape {
  position: absolute;
  right: 0;
  top: 0;
  width: 995px;
  height: 804px;
  clip-path: polygon(46% 0, 100% 0, 100% 100%, 0 100%);
}
.banner_slide .banner_shape { background: linear-gradient(160deg, #d9ebfd 0%, #a9d1f8 100%); }

.banner_part .banner_text .banner_title { font-size: 58px; text-transform: none; font-weight: 700; margin-bottom: 27px; line-height: 68px; }
.banner_part .banner_text .banner_title span { color: var(--green); }
.banner_part .banner_text p { font-size: 15px; line-height: 1.8; color: var(--body); }
.banner_part .banner_text .btn_1 { margin-top: 44px; }

.banner_contacts { margin-top: 22px; }
.banner_contacts li { position: relative; padding-left: 18px; font-size: 15px; line-height: 1.6; color: var(--body); }
.banner_contacts li + li { margin-top: 6px; }
.banner_contacts li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 2px; background: var(--yellow); }
.banner_contacts strong { color: var(--ink); font-weight: 500; }
.banner_contacts a { color: var(--ink); font-weight: 500; white-space: nowrap; }
.banner_contacts a:hover { color: var(--red); }


/* carousel controls */
.banner_nav { position: absolute; left: 0; right: 0; bottom: 64px; z-index: 5; pointer-events: none; }
.banner_nav_inner { display: flex; align-items: center; gap: 18px; pointer-events: auto; width: max-content; }
.banner_nav button { background: none; border: 0; padding: 4px; color: var(--ink); font-size: 20px; line-height: 1; cursor: pointer; transition: .3s; }
.banner_nav button:hover { color: var(--red); }
.banner_nav .icon { width: 1.3em; height: 1.3em; }
.banner_pagination { display: flex; gap: 8px; }
.banner_pagination .swiper-pagination-bullet { width: 30px; height: 4px; margin: 0 !important; border-radius: 2px; background: var(--ink); opacity: .2; transition: .3s; }
.banner_pagination .swiper-pagination-bullet-active { background: var(--red); opacity: 1; }

@media (min-width: 992px) and (max-width: 1200px) {
  .banner_slide { height: 650px; background-color: #f7f7f7; }
  .banner_slide .banner_img, .banner_slide .banner_shape { display: none; }
  .banner_part .banner_text .banner_title { font-size: 40px; margin-bottom: 15px; line-height: 1.4; }
  .banner_nav { bottom: 40px; }
}
@media (max-width: 991px) {
  .banner_slide { height: auto; min-height: 650px; padding: 70px 0 110px; background-color: #f7f7f7; }
  .banner_slide .banner_img, .banner_slide .banner_shape { display: none; }
  .banner_part .banner_text { text-align: center; }
  .banner_part .banner_text .banner_title { font-size: 30px; margin-bottom: 15px; line-height: 1.3; }
  .banner_contacts { display: table; margin-left: auto; margin-right: auto; text-align: left; }
  .banner_nav { bottom: 40px; }
  .banner_nav_inner { margin: 0 auto; }
}
@media (max-width: 575px) {
  .banner_contacts li { font-size: 14px; }
}

/* ==========================================================================
   Breadcrumb (inner page hero)
   ========================================================================== */
.breadcrumb_part { position: relative; z-index: 1; height: 450px; display: flex; align-items: center; background-color: #5b86b8; }
.breadcrumb_part::after { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background-color: var(--ink); content: ""; opacity: .7; z-index: -1; }
.breadcrumb_part .breadcrumb_tittle h1,
.breadcrumb_part .breadcrumb_tittle .breadcrumb_heading { color: #fff; font-size: 50px; font-weight: 600; margin-bottom: 10px; text-transform: none; line-height: 1.222; }
.breadcrumb_part .breadcrumb_content p { font-size: 15px; color: #fff; text-transform: none; }
.breadcrumb_part .breadcrumb_content p a { color: #fff; }
.breadcrumb_part .breadcrumb_content p a:hover { color: var(--yellow); }
.breadcrumb_part .breadcrumb_content span { margin: 0 5px; font-size: 12px; }
@media (max-width: 991px) { .breadcrumb_part .breadcrumb_tittle h1, .breadcrumb_part .breadcrumb_tittle .breadcrumb_heading { font-size: 40px; } }
@media (max-width: 767px) { .breadcrumb_part .breadcrumb_tittle h1, .breadcrumb_part .breadcrumb_tittle .breadcrumb_heading { font-size: 35px; line-height: 1.3; } }
@media (max-width: 575px) {
  .breadcrumb_part { height: 300px; }
  .breadcrumb_part .breadcrumb_content { text-align: left !important; }
}

/* ==========================================================================
   About / experience
   ========================================================================== */
.hatch {
  background-color: #f7f8fa;
  background-image: repeating-linear-gradient(135deg, var(--hatch) 0 1px, transparent 1px 7px);
}
.about_part { position: relative; z-index: 99; margin-top: 170px; }
.about_part::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 734px;
  height: 836px;
  transform: translateY(-50%);
  z-index: -1;
  clip-path: polygon(0 0, 87% 0, 100% 100%, 0 96%);
  background-color: #f7f8fa;
  background-image: repeating-linear-gradient(135deg, var(--hatch) 0 1px, transparent 1px 7px);
}
.about_part .about_part_text h2 { font-size: 48px; font-weight: 600; line-height: 58px; margin-bottom: 30px; position: relative; }
.about_part .about_part_text p { line-height: 1.929; margin-bottom: 7px; }
.about_part .about_part_text ul { list-style: none; padding: 0; margin: 42px 0 0; }
.about_part .about_part_text ul li { display: inline-block; margin-bottom: 10px; font-size: 14px; padding-left: 80px; padding-top: 30px; color: var(--body); position: relative; }
.about_part .about_part_text ul li h3 { font-size: 24px; margin-bottom: 8px; }
.about_part .about_part_text ul li .feature-icon { font-size: 50px; line-height: inherit; position: absolute; left: 0; top: 20px; color: var(--green); }
.about_part .about_part_img .ph { aspect-ratio: 555 / 634; }

@media (min-width: 992px) and (max-width: 1200px) {
  .about_part { margin-top: 80px; }
  .about_part::before { display: none; }
  .about_part .about_part_text h2 { font-size: 28px; margin-bottom: 20px; line-height: 40px; }
  .about_part .about_part_text ul li { padding-left: 41px; padding-top: 5px; margin-bottom: 0; }
  .about_part .about_part_text ul li .feature-icon { top: 0; font-size: 35px; }
}
@media (max-width: 991px) {
  .about_part { margin-top: 0; padding: 70px 0 0; }
  .about_part::before { display: none; }
  .about_part .about_part_text h2 { font-size: 25px; margin-bottom: 10px; line-height: 35px; margin-top: 15px; }
  .about_part .about_part_text p { margin-bottom: 20px; }
  .about_part .about_part_text ul { margin-bottom: 20px; }
  .about_part .about_part_text ul li { padding-left: 46px; padding-top: 5px; margin-bottom: 0; }
  .about_part .about_part_text ul li .feature-icon { top: 0; font-size: 35px; }
}

.experiance_part::before { left: auto; right: 0; clip-path: polygon(13% 3%, 100% 0, 100% 97%, 0 100%); }
.experiance_part .about_text_iner { margin-top: 72px; display: flex; align-items: center; }
.experiance_part .about_text_iner .about_text_counter { position: relative; }
.experiance_part .about_text_iner .about_text_counter::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 105px;
  height: 120px;
  transform: translateY(-50%);
  clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%);
  background-image: repeating-linear-gradient(135deg, rgba(251, 197, 8, .45) 0 1px, transparent 1px 7px);
}
.experiance_part .about_text_iner .about_text_counter h2 { position: relative; font-size: 150px; line-height: 120px; display: inline-block; color: var(--red); padding-right: 35px; border-right: 1px solid #83868c; font-weight: 700; margin-bottom: 0; }
.experiance_part .about_text_iner .about_iner_content { text-transform: none; margin-left: 35px; }
.experiance_part .about_text_iner .about_iner_content h3 { color: var(--muted); display: inline-block; margin: 0; }
.experiance_part .about_text_iner .about_iner_content span { color: var(--ink); display: block; }
.single_experiance_section { margin-top: 0; margin-bottom: 140px; }
@media (max-width: 1200px) { .experiance_part .about_part_img { margin-top: 20px; } }
@media (min-width: 992px) and (max-width: 1200px) { .single_experiance_section { margin-bottom: 80px; } }
@media (max-width: 991px) {
  .experiance_part .about_text_iner .about_text_counter h2 { font-size: 75px; line-height: 80px; }
  .experiance_part .about_text_iner .about_text_counter::before { width: 60px; height: 80px; }
  .experiance_part .about_text_iner .about_iner_content h3 { font-size: 20px; }
  .single_experiance_section { margin-bottom: 70px; }
}

/* ==========================================================================
   Services
   ========================================================================== */
.our_service .single_service { padding: 46px 20px 60px; border: 1px solid var(--line); text-align: center; transition: .6s; background: #fff; }
.our_service .single_service:hover { box-shadow: 0 20px 30px rgba(12, 43, 94, .1); border-color: transparent; }
.our_service .single_service .feature-icon { font-size: 50px; line-height: inherit; margin-bottom: 17px; display: inline-block; color: var(--green); }
.our_service .single_service h4 { font-weight: 600; font-size: 24px; margin-bottom: 30px; }
.our_service .single_service p { color: var(--body); line-height: 1.8; font-size: 15px; }
.our_service .btn_3 { margin-top: 38px; }
.single_page_services .section_tittle { margin-bottom: 50px; }
.single_page_services .single_feature { margin-top: 30px; }
@media (min-width: 992px) and (max-width: 1200px) { .our_service .single_service { margin-top: 25px; } .single_page_services .section_tittle { margin-bottom: 20px; } }
@media (max-width: 991px) {
  .our_service .section_tittle { margin-bottom: 25px; }
  .our_service .single_service { padding: 25px 10px 35px; margin-top: 25px; }
  .our_service .single_service h4 { margin-bottom: 15px; }
  .our_service .btn_3 { margin-top: 15px; }
  .single_page_services .section_tittle { margin-bottom: 20px; }
}

/* ==========================================================================
   Projects
   ========================================================================== */
.our_project .project_menu_item { float: right; margin-top: 25px; }
.our_project .project_menu_item ul li { display: inline-block; color: var(--muted); font-weight: 500; font-size: 15px; text-transform: none; margin-left: 45px; }
.our_project .project_menu_item ul li button { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-transform: inherit; cursor: pointer; transition: .3s; }
.our_project .project_menu_item ul li button:hover, .our_project .project_menu_item .active { color: var(--red); }
@media (max-width: 991px) {
  .our_project .project_menu_item { margin: 0 0 20px; float: left; }
  .our_project .project_menu_item ul li { margin: 0 16px 0 0; }
}

.portfolio-grid > div { transition: opacity .4s ease, transform .4s ease; }
.portfolio-grid > div.is-hiding { opacity: 0; transform: scale(.96); }
.portfolio-grid > div.is-hidden { display: none; }


/* ==========================================================================
   Counters
   ========================================================================== */
.member_counter .single_counter_icon { color: var(--blue); }
.member_counter .single_counter_icon svg { width: 60px; height: 60px; display: block; }
.member_counter .row > div:nth-child(2) .single_counter_icon { color: var(--green); }
.member_counter .row > div:nth-child(3) .single_counter_icon { color: var(--yellow-dark); }
.member_counter .row > div:nth-child(4) .single_counter_icon { color: var(--red); }
.member_counter .single_member_counter { margin-top: 35px; display: flex; flex-wrap: wrap; align-items: center; row-gap: 8px; }
.member_counter .single_member_counter .counter_value { font-size: 60px; font-weight: 700; color: var(--red); display: inline-block; padding-right: 30px; line-height: 57px; }
.member_counter .single_member_counter h4 { font-size: 30px; font-weight: 600; text-transform: none; margin: 0; display: grid; }
.member_counter .single_member_counter h4 span { font-size: 16px; color: var(--muted); display: block; line-height: 20px; margin-bottom: 4px; }
@media (max-width: 1200px) { .member_counter .single_member_counter .counter_value { line-height: 67px; font-size: 40px; } }
@media (max-width: 991px) {
  .member_counter .single_member_counter { margin: 10px 0 20px; }
  .member_counter .single_member_counter h4 { font-size: 25px; }
}

/* ==========================================================================
   Reviews
   ========================================================================== */
.review_part { position: relative; overflow: hidden; }
.review_part::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 734px;
  height: 836px;
  transform: translateY(-50%);
  clip-path: polygon(13% 0, 100% 0, 100% 100%, 0 100%);
  background-color: #f7f8fa;
  background-image: repeating-linear-gradient(135deg, var(--hatch) 0 1px, transparent 1px 7px);
}
.review_part .container-fluid { position: relative; z-index: 1; }
.review_part .tour_pack_text { width: 81%; padding-left: 10%; }
.review_part .tour_pack_text h2 { font-size: 52px; margin-bottom: 30px; text-transform: none; }
.review_part .review_part_cotent { position: relative; }
.review_part .swiper { padding: 0 2px; }
.review_part .single_review_part { position: relative; margin: 70px 0 40px; padding: 100px 50px 50px; box-shadow: 0 0 40px rgba(12, 43, 94, .1); background-color: #fff; border-radius: 5px; text-align: center; }
.review_part .swiper-slide { padding-top: 0; }
.review_part .review_avatar { width: 130px; height: 130px; border-radius: 50%; position: absolute; left: 0; right: 0; margin: 0 auto; top: -65px; }
.review_part .single_review_part h4 { font-size: 24px; text-transform: none; margin-bottom: 10px; margin-top: 40px; }
.review_part .owl-nav { position: absolute; left: -62%; bottom: 8px; display: flex; gap: 40px; }
.review_part .owl-nav button { background: none; border: 0; padding: 0; color: #222; font-size: 20px; line-height: 1; cursor: pointer; transition: .5s; }
.review_part .owl-nav button:hover { color: var(--red); }
.review_part .owl-nav .icon { width: 1.5em; height: 1.5em; }
@media (min-width: 992px) and (max-width: 1200px) {
  .review_part::before { display: none; }
  .review_part .tour_pack_text { width: 100%; padding-left: 0; }
  .review_part .tour_pack_text h2 { font-size: 30px; }
  .review_part .owl-nav { left: -80%; bottom: 50px; }
}
@media (max-width: 991px) {
  .review_part { padding: 0; }
  .review_part::before { display: none; }
  .review_part .container-fluid { max-width: 720px; }
  .review_part .tour_pack_text { margin-bottom: 30px; width: 100%; padding-left: 0; }
  .review_part .tour_pack_text h2 { margin-bottom: 15px; font-size: 30px; }
  .review_part .single_review_part { padding: 80px 25px 25px; margin: 70px 0 30px; }
  .review_part .owl-nav { position: static; justify-content: center; margin-top: 10px; }
}
@media (max-width: 767px) { .review_part .container-fluid { max-width: 540px; } }

/* ==========================================================================
   Home blog cards
   ========================================================================== */
.blog_part .card { border: 0; border-radius: 0; background-color: transparent; position: relative; }
.blog_part .single-home-blog .ph { aspect-ratio: 360 / 389; }
.blog_part .single-home-blog .card .card-body { padding: 30px 0 23px; background-color: #fff; transition: .5s; }
.blog_part .single-home-blog .card .card-body a { text-transform: none; transition: .8s; }
.blog_part .single-home-blog .card ul { margin-bottom: 13px; }
.blog_part .single-home-blog .card ul li { display: inline-block; color: var(--body); margin-right: 39px; }
.blog_part .single-home-blog .card ul li .icon { margin-right: 10px; color: var(--green); }
.blog_part .single-home-blog .card h5 { font-weight: 600; line-height: 1.5; font-size: 19px; transition: .8s; text-transform: none; margin-bottom: 15px; margin-top: 10px; }
.blog_part .single-home-blog .card h5:hover { color: var(--red); }
@media (max-width: 1200px) {
  .blog_part { padding-bottom: 50px; }
  .blog_part .single-home-blog .card ul li { margin-right: 10px; }
  .blog_part .single-home-blog .card h5 { margin-bottom: 10px; font-size: 18px; }
}
@media (max-width: 991px) { .blog_part .single-home-blog { margin-bottom: 20px; } .blog_part .single-home-blog .card .card-body { padding: 15px 0; } }

/* ==========================================================================
   Blog list + sidebar
   ========================================================================== */
.blog_area a { color: var(--muted); text-decoration: none; transition: .5s; }
.blog_area a:hover { color: var(--red); }
.blog_item { margin-bottom: 50px; }
.blog_item_img { position: relative; }
.blog_item_img .ph { aspect-ratio: 750 / 375; }
.blog_item_img .blog_item_date { position: absolute; bottom: -20px; left: 40px; display: block; color: var(--ink) !important; background-color: var(--yellow); padding: 13px 30px; border-radius: 5px; text-align: center; }
.blog_item_img .blog_item_date h3 { font-size: 30px; font-weight: 600; color: var(--ink); margin-bottom: 0; line-height: 1.2; }
.blog_item_img .blog_item_date p { font-size: 18px; margin-bottom: 0; color: var(--ink); }
.blog_details { padding: 60px 30px 35px 35px; box-shadow: 0 10px 20px rgba(221, 221, 221, .3); }
.blog_details p { margin-bottom: 30px; }
.blog_details h2 { font-size: 24px; font-weight: 600; margin-bottom: 15px; transition: .3s; }
.blog_details a:hover h2 { color: var(--red); }
@media (max-width: 767px) {
  .blog_item_img .blog_item_date { bottom: -10px; left: 10px; padding: 8px 15px; }
  .blog_item_img .blog_item_date h3 { font-size: 22px; }
  .blog_details { padding: 30px 0 20px 10px; }
  .blog_details h2 { font-size: 18px; margin-bottom: 8px; }
}

.blog-info-link li { float: left; font-size: 14px; }
.blog-info-link li a { color: var(--body); }
.blog-info-link li .icon { font-size: 13px; margin-right: 5px; }
.blog-info-link li::after { content: "|"; padding-left: 10px; padding-right: 10px; }
.blog-info-link li:last-child::after { display: none; }
.blog-info-link::after { content: ""; display: table; clear: both; }

.blog-pagination { margin-top: 80px; }
.blog-pagination .page-link { font-size: 14px; position: relative; display: block; padding: 0; text-align: center; margin-left: -1px; line-height: 45px; width: 45px; height: 45px; border-radius: 0 !important; color: var(--body); border: 1px solid var(--soft-line); margin-right: 10px; }
.blog-pagination .page-link:hover { color: var(--red); background: var(--soft-2); }
.blog-pagination .page-item.active .page-link { background-color: var(--soft-2); border-color: var(--soft-line); color: var(--red); }
.blog-pagination .page-item:last-child .page-link { margin-right: 0; }

.blog_right_sidebar .single_sidebar_widget { background: var(--soft-2); padding: 30px; margin-bottom: 30px; }
.blog_right_sidebar .widget_title { font-size: 20px; margin-bottom: 40px; }
.blog_right_sidebar .widget_title::after { content: ""; display: block; padding-top: 15px; border-bottom: 1px solid var(--soft-line); }
.blog_right_sidebar .search_widget .form-control,
.blog_right_sidebar .newsletter_widget .form-control { height: 50px; border-color: var(--soft-line); font-size: 13px; color: var(--body); padding-left: 20px; border-radius: 0; }
.blog_right_sidebar .search_widget .form-control { border-right: 0; }
.blog_right_sidebar .form-control::placeholder { color: var(--body); }
.blog_right_sidebar .form-control:focus { border-color: var(--soft-line); box-shadow: none; }
.blog_right_sidebar .search_widget .input-group .btn { background: #fff; border: 1px solid var(--soft-line); padding: 4px 15px; border-left: 0; border-radius: 0; color: var(--body); }
.blog_right_sidebar .btn_1 { margin-top: 0; text-transform: uppercase; font-size: 12px; font-weight: 500; }
.blog_right_sidebar .newsletter_widget .form-field { margin-bottom: 16px; }
.blog_right_sidebar .post_category_widget .cat-list li { border-bottom: 1px solid var(--soft-line); transition: all .3s ease 0s; padding-bottom: 12px; }
.blog_right_sidebar .post_category_widget .cat-list li:last-child { border-bottom: 0; }
.blog_right_sidebar .post_category_widget .cat-list li + li { padding-top: 15px; }
.blog_right_sidebar .post_category_widget .cat-list li a { font-size: 14px; line-height: 20px; color: var(--body); }
.blog_right_sidebar .post_category_widget .cat-list li a p { margin-bottom: 0; color: inherit; }
.blog_right_sidebar .post_category_widget .cat-list li a:hover { color: var(--red); }
.blog_right_sidebar .popular_post_widget .post_item .ph,
.blog_right_sidebar .popular_post_widget .post_item .post_thumb { width: 80px; height: 80px; flex: none; object-fit: cover; }
.blog_right_sidebar .popular_post_widget .post_item .media-body { align-self: center; padding-left: 20px; }
.blog_right_sidebar .popular_post_widget .post_item .media-body h3 { font-size: 16px; line-height: 20px; margin-bottom: 6px; transition: all .3s linear; }
.blog_right_sidebar .popular_post_widget .post_item .media-body a:hover h3 { color: var(--red); }
.blog_right_sidebar .popular_post_widget .post_item .media-body p { font-size: 14px; line-height: 21px; margin-bottom: 0; }
.blog_right_sidebar .popular_post_widget .post_item + .post_item { margin-top: 20px; }
.blog_right_sidebar .tag_cloud_widget ul li { display: inline-block; }
.blog_right_sidebar .tag_cloud_widget ul li a { display: inline-block; border: 1px solid #eee; background: #fff; padding: 4px 20px; margin-bottom: 8px; margin-right: 3px; transition: all .3s ease 0s; color: var(--body); font-size: 13px; }
.blog_right_sidebar .tag_cloud_widget ul li a:hover { background: var(--green); border-color: var(--green); color: #fff !important; }
.blog_right_sidebar .instagram_feeds .instagram_row { display: flex; flex-wrap: wrap; margin-right: -6px; margin-left: -6px; }
.blog_right_sidebar .instagram_feeds .instagram_row li { width: 33.33%; padding-right: 6px; padding-left: 6px; margin-bottom: 15px; }
.blog_right_sidebar .instagram_feeds .instagram_row img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; transition: opacity .3s; }
.blog_right_sidebar .instagram_feeds .instagram_row a:hover img { opacity: .75; }

.form-status { margin-top: 12px; font-size: 14px; }
.form-status.is-ok { color: var(--green); }
.form-status.is-error { color: var(--red); }

/* ==========================================================================
   Single post
   ========================================================================== */
.single-post-area .feature-img .ph { aspect-ratio: 750 / 375; }
.single-post-area .blog_details { box-shadow: none; padding: 26px 0 0; }
.single-post-area .blog_details p { margin-bottom: 20px; font-size: 15px; }
.single-post-area .quote-wrapper { background: rgba(36, 150, 245, .08); padding: 30px; line-height: 1.733; color: var(--body); font-style: italic; margin-top: 25px; margin-bottom: 25px; }
.single-post-area .quotes { background: #fff; padding: 25px 25px 25px 30px; border-left: 2px solid var(--blue); }
.single-post-area .navigation-top { padding-top: 15px; border-top: 1px solid var(--soft-line); }
.single-post-area .navigation-top p { margin-bottom: 0; }
.single-post-area .navigation-top .like-info { font-size: 14px; }
.single-post-area .navigation-top .like-info .icon { font-size: 16px; margin-right: 5px; color: var(--red); }
.single-post-area .navigation-top .social-icons li { display: inline-block; margin-right: 15px; }
.single-post-area .navigation-top .social-icons li:last-child { margin: 0; }
.single-post-area .navigation-top .social-icons li a { color: var(--body); font-size: 14px; }
.single-post-area .navigation-top .social-icons li a:hover { color: var(--blue); }
.single-post-area .navigation-area { border-bottom: 1px solid #eee; padding-bottom: 30px; margin-top: 55px; }
.single-post-area .navigation-area p { margin-bottom: 0; }
.single-post-area .navigation-area h4 { font-size: 18px; line-height: 25px; margin: 0; }
.single-post-area .navigation-area .thumb { position: relative; flex: none; }
.single-post-area .navigation-area .thumb .ph,
.single-post-area .navigation-area .thumb .nav_thumb { display: block; width: 60px; height: 60px; object-fit: cover; transition: .5s; }
.single-post-area .navigation-area .nav-left .thumb { margin-right: 20px; }
.single-post-area .navigation-area .nav-right .thumb { margin-left: 20px; }
.single-post-area .navigation-area .arrow { position: absolute; width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; opacity: 0; transition: .5s; pointer-events: none; color: #fff; font-size: 20px; }
.single-post-area .navigation-area .thumb:hover .ph,
.single-post-area .navigation-area .thumb:hover .nav_thumb { filter: brightness(.55); }
.single-post-area .navigation-area .thumb:hover .arrow { opacity: 1; }
@media (max-width: 767px) { .single-post-area .navigation-area .nav-left { margin-bottom: 30px; } }

.single-post-area .blog-author { padding: 40px 30px; background: var(--soft-2); margin-top: 50px; }
.single-post-area .blog-author .ph { width: 90px; height: 90px; border-radius: 50%; margin-right: 30px; flex: none; }
.single-post-area .blog-author a { display: inline-block; }
.single-post-area .blog-author a:hover h4 { color: var(--red); }
.single-post-area .blog-author p { margin-bottom: 0; font-size: 15px; }
.single-post-area .blog-author h4 { font-size: 16px; }
@media (max-width: 600px) {
  .single-post-area .blog-author { padding: 20px 8px; }
  .single-post-area .blog-author .ph { margin-right: 15px; width: 45px; height: 45px; }
}

.comments-area { background: transparent; border-top: 1px solid #eee; padding: 45px 0; margin-top: 50px; }
.comments-area h4 { margin-bottom: 35px; font-size: 18px; }
.comments-area h5 { font-size: 16px; margin-bottom: 0; }
.comments-area h5 a { color: var(--ink) !important; }
.comments-area .comment-list { padding-bottom: 48px; }
.comments-area .comment-list:last-child { padding-bottom: 0; }
.comments-area .thumb { margin-right: 20px; flex: none; }
.comments-area .thumb .ph { width: 70px; height: 70px; border-radius: 50%; }
.comments-area .desc { flex: 1; }
.comments-area .date { font-size: 14px; color: var(--body); margin-bottom: 0; margin-left: 20px; }
.comments-area .comment { margin-bottom: 10px; color: var(--body); font-size: 15px; }
.comments-area .btn-reply { background-color: transparent; color: var(--body); padding: 5px 18px; font-size: 14px; display: block; font-weight: 400; }
.comments-area .btn-reply:hover { color: var(--red); }

.comment-form { border-top: 1px solid #eee; padding-top: 45px; margin-top: 50px; margin-bottom: 20px; }
.comment-form h4 { margin-bottom: 40px; font-size: 18px; line-height: 22px; }

/* shared form styling (comment form + contact form) */
.form-contact .form-field { margin-bottom: 30px; }
.form-contact .form-control { border: 1px solid var(--soft-line); border-radius: 5px; height: 48px; padding-left: 18px; font-size: 13px; background: transparent; }
.form-contact .form-control:focus { box-shadow: none; border-color: var(--blue); }
.form-contact .form-control::placeholder { font-weight: 300; color: var(--body); }
.form-contact textarea.form-control { height: auto; padding-top: 18px; border-radius: 12px; }
.form-contact .form-control.is-invalid { border-color: var(--red); background-image: none; }
.form-contact .btn_1 { margin-top: 0; }

/* ==========================================================================
   Project details
   ========================================================================== */
.project_details .detail_grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.project_details .detail_grid img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
@media (max-width: 575px) { .project_details .detail_grid { grid-template-columns: 1fr; } }
.project_details .project_details_content h3 { font-size: 32px; font-weight: 600; line-height: 1.406; margin-bottom: 20px; }
.project_details .project_details_content p { color: var(--muted); font-weight: 400; }
.project_details .project_details_widget { padding: 40px 0 0; }
.project_details .project_details_widget .single_project_details_widget { position: relative; padding-left: 36px; margin-bottom: 40px; }
.project_details .project_details_widget .single_project_details_widget .widget_icon { color: var(--green); font-size: 20px; position: absolute; left: 0; top: 2px; }
.project_details .project_details_widget .single_project_details_widget h5 { font-size: 16px; font-weight: 500; margin-bottom: 1px; }
.project_details .project_details_widget .single_project_details_widget h6 { font-weight: 500; font-size: 14px; margin-top: 5px; }
.project_details .project_details_widget .single_project_details_widget p { font-weight: 300; color: var(--body); }
.project_details .project_contoler { margin-top: 20px; }
.project_details .project_contoler a { text-transform: none; color: var(--ink); }
.project_details .project_contoler a:hover { color: var(--red); }
@media (max-width: 1200px) {
  .project_details .project_details_content h3 { font-size: 28px; }
  .project_details .project_details_widget { padding-top: 20px; }
  .project_details .project_details_widget .single_project_details_widget { margin-bottom: 20px; }
}
@media (max-width: 991px) { .project_details .project_details_content { margin-top: 40px; } }
@media (max-width: 576px) { .project_details .project_details_content h3 { font-size: 22px; } }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact-map { position: relative; height: 480px; overflow: hidden; background: #f0f4f6; }
.contact-map__placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; padding: 1.5rem; text-align: center; }
.contact-map__placeholder[hidden] { display: none; }
.contact-map__address { margin: 0; font-size: 16px; color: var(--ink); }
.contact-map__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem 1.5rem; }
.contact-map__actions .btn_1 { margin-top: 0; }
.contact-map__actions a:not(.btn_1) { color: var(--ink); text-decoration: underline; }
.contact-map__actions a:not(.btn_1):hover { color: var(--red); }
.contact-map__frame { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; filter: grayscale(.9) brightness(1.05); }

.contact-title { font-size: 27px; font-weight: 600; margin-bottom: 20px; }
.contact-info { margin-bottom: 25px; }
.contact-info__icon { margin-right: 20px; color: #8f9195; font-size: 27px; line-height: 1; }
.contact-info:nth-child(1) .contact-info__icon { color: var(--green); }
.contact-info:nth-child(2) .contact-info__icon { color: var(--blue); }
.contact-info:nth-child(3) .contact-info__icon { color: var(--red); }
.contact-info h3 { margin-bottom: 0; font-size: 16px; color: #2a2a2a; }
.contact-info p { color: var(--body); }
@media (max-width: 991px) { .contact-section .col-lg-4 { margin-top: 50px; } }

/* ==========================================================================
   Elements (style guide page)
   ========================================================================== */
.sample-text-area { background: #fff; padding: 100px 0 70px; }
.text-heading { margin-bottom: 30px; font-size: 24px; }
.button-area { background: #fff; }
.button-area .border-top-generic { padding: 70px 15px; border-top: 1px dotted #eee; }
.button-group-area .genric-btn { margin-right: 10px; margin-top: 10px; }
.button-group-area .genric-btn:last-child { margin-right: 0; }

.genric-btn { display: inline-block; line-height: 40px; padding: 0 30px; font-size: .8em; text-align: center; text-decoration: none; font-weight: 500; cursor: pointer; transition: all .3s ease 0s; }
.genric-btn.e-large { padding: 0 40px; line-height: 50px; }
.genric-btn.large { line-height: 45px; }
.genric-btn.medium { line-height: 30px; }
.genric-btn.small { line-height: 25px; }
.genric-btn.radius { border-radius: 3px; }
.genric-btn.circle { border-radius: 20px; }
.genric-btn.arrow { display: inline-flex; align-items: center; }
.genric-btn.arrow span { margin-left: 10px; display: inline-flex; }

.genric-btn.default { color: var(--ink); background: var(--soft); border: 1px solid transparent; }
.genric-btn.default:hover { border: 1px solid var(--soft); background: #fff; }
.genric-btn.default-border { color: var(--ink); border: 1px solid var(--soft); background: #fff; }
.genric-btn.default-border:hover { background: var(--soft); border: 1px solid transparent; }
.genric-btn.primary { color: #fff; background: var(--red); border: 1px solid transparent; }
.genric-btn.primary:hover, .genric-btn.primary-border { color: var(--red); border: 1px solid var(--red); background: #fff; }
.genric-btn.primary-border:hover { color: #fff; background: var(--red); border: 1px solid transparent; }
.genric-btn.success { color: #fff; background: var(--green); border: 1px solid transparent; }
.genric-btn.success:hover, .genric-btn.success-border { color: var(--green); border: 1px solid var(--green); background: #fff; }
.genric-btn.success-border:hover { color: #fff; background: var(--green); border: 1px solid transparent; }
.genric-btn.info { color: #fff; background: var(--blue-dark); border: 1px solid transparent; }
.genric-btn.info:hover, .genric-btn.info-border { color: var(--blue-dark); border: 1px solid var(--blue); background: #fff; }
.genric-btn.info-border:hover { color: #fff; background: var(--blue-dark); border: 1px solid transparent; }
.genric-btn.warning { color: #222; background: var(--yellow); border: 1px solid transparent; }
.genric-btn.warning:hover { color: #7b6200; border: 1px solid var(--yellow); background: #fff; }
.genric-btn.warning-border { color: #7b6200; border: 1px solid var(--yellow); background: #fff; }
.genric-btn.warning-border:hover { color: #222; background: var(--yellow); border: 1px solid transparent; }
.genric-btn.danger { color: #fff; background: #9e0b1a; border: 1px solid transparent; }
.genric-btn.danger:hover, .genric-btn.danger-border { color: #9e0b1a; border: 1px solid #9e0b1a; background: #fff; }
.genric-btn.danger-border:hover { color: #fff; background: #9e0b1a; border: 1px solid transparent; }
.genric-btn.link { color: var(--ink); background: var(--soft); text-decoration: underline; border: 1px solid transparent; }
.genric-btn.link:hover { border: 1px solid var(--soft); background: #fff; }
.genric-btn.link-border { color: var(--ink); border: 1px solid var(--soft); background: #fff; text-decoration: underline; }
.genric-btn.link-border:hover { background: var(--soft); border: 1px solid transparent; }
.genric-btn.disable { color: #8b93a3; background: var(--soft); border: 1px solid transparent; cursor: not-allowed; }

.section-top-border { padding: 50px 0; border-top: 1px dotted #eee; }
.section-top-border .aligned_img { display: block; width: 100%; height: auto; aspect-ratio: 263 / 180; object-fit: cover; }
.single-defination h4 { margin-bottom: 20px; }
.generic-blockquote { padding: 30px 50px 30px 30px; background: var(--soft); border-left: 2px solid var(--red); margin: 0; }

.progress-table-wrap { overflow-x: auto; }
.progress-table { background: var(--soft); padding: 15px 0 30px; min-width: 800px; }
.progress-table .serial { width: 11.83%; padding-left: 30px; }
.progress-table .country { width: 28.07%; }
.progress-table .visit { width: 19.74%; }
.progress-table .percentage { width: 40.36%; padding-right: 50px; }
.progress-table .table-head { display: flex; }
.progress-table .table-head > div { color: var(--ink); line-height: 40px; text-transform: uppercase; font-weight: 500; }
.progress-table .table-row { padding: 15px 0; border-top: 1px solid #edf3fd; display: flex; }
.progress-table .table-row > div { display: flex; align-items: center; }
.progress-table .table-row .flag { width: 50px; height: 30px; margin-right: 15px; flex: none; }
.progress-table .table-row .percentage .progress { width: 80%; border-radius: 0; background: transparent; height: 5px; }
.progress-table .table-row .percentage .progress-bar { height: 5px; }
.progress-bar.color-1 { background-color: var(--blue); }
.progress-bar.color-2 { background-color: var(--red); }
.progress-bar.color-3 { background-color: var(--yellow); }
.progress-bar.color-4, .progress-bar.color-5 { background-color: var(--green); }
.progress-bar.color-6 { background-color: var(--blue-dark); }
.progress-bar.color-7 { background-color: var(--ink); }
.progress-bar.color-8 { background-color: var(--red); }

.single-gallery-image { margin-top: 30px; height: 200px; transition: filter .3s; }
.img-pop-up:hover .single-gallery-image { filter: brightness(.92); }

.typography h1, .typography .h1, .typography h2, .typography h3, .typography h4, .typography h5, .typography h6 { color: #4f6a9e; }
.unordered-list li { position: relative; padding-left: 30px; line-height: 1.82em !important; }
.unordered-list li::before { content: ""; position: absolute; width: 14px; height: 14px; border: 3px solid var(--green); background: #fff; top: 4px; left: 0; border-radius: 50%; }
.unordered-list ul { margin-left: 0; }
.ordered-list { margin-left: 30px; padding-left: 0; }
.ordered-list li { list-style-type: decimal-leading-zero; color: var(--red); font-weight: 500; line-height: 1.82em !important; }
.ordered-list li span { font-weight: 300; color: #4f6a9e; }
.ordered-list-alpha li { margin-left: 30px; list-style-type: lower-alpha; color: var(--red); font-weight: 500; line-height: 1.82em !important; }
.ordered-list-roman li { margin-left: 30px; list-style-type: lower-roman; color: var(--red); font-weight: 500; line-height: 1.82em !important; }
.ordered-list-alpha, .ordered-list-roman { padding-left: 0; }

.single-input, .single-textarea, .single-input-primary, .single-input-accent, .single-input-secondary { display: block; width: 100%; line-height: 40px; border: 1px solid transparent; background: var(--soft); padding: 0 20px; outline: none; }
.single-textarea { height: 100px; resize: none; }
.single-input:focus, .single-textarea:focus { border-color: #dfe3ec; }
.single-input-primary:focus { border-color: var(--red); }
.single-input-accent:focus { border-color: var(--green); }
.single-input-secondary:focus { border-color: var(--blue); }
.input-group-icon { position: relative; }
.input-group-icon .icon-wrap { position: absolute; left: 20px; top: 0; line-height: 40px; z-index: 3; color: #797979; pointer-events: none; }
.input-group-icon .single-input, .input-group-icon .nice-select { padding-left: 45px; }

.nice-select {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 40px;
  border: none;
  border-radius: 0;
  background-color: var(--soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='9' viewBox='0 0 16 9'%3E%3Cpath d='M1 1l7 7 7-7' fill='none' stroke='%23999' stroke-width='2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  background-size: 12px 7px;
  padding: 0 40px 0 20px;
  font-weight: 300;
  color: #555;
  cursor: pointer;
}
.default-select .nice-select { width: auto; min-width: 180px; padding-right: 90px; }

.switch-wrap { margin-bottom: 10px; align-items: center; }
.primary-switch, .confirm-switch { width: 35px; height: 17px; border-radius: 8.5px; background: #e9ebf3; position: relative; cursor: pointer; flex: none; }
.primary-switch input, .confirm-switch input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; z-index: 2; }
.primary-switch label, .confirm-switch label { position: absolute; inset: 0; }
.primary-switch label::before, .confirm-switch label::before { content: ""; position: absolute; inset: 0; border-radius: 8.5px; background: transparent; transition: all .2s; }
.primary-switch label::after, .confirm-switch label::after { content: ""; position: absolute; top: 1px; left: 1px; width: 15px; height: 15px; border-radius: 50%; background: #fff; transition: all .2s; box-shadow: 0 4px 5px #0003; }
.primary-switch input:checked + label::after, .confirm-switch input:checked + label::after { left: 19px; }
.primary-switch input:checked + label::before { background: var(--red); }
.confirm-switch input:checked + label::before { background: var(--green); }

.primary-checkbox, .confirm-checkbox, .disabled-checkbox, .primary-radio, .confirm-radio, .disabled-radio { width: 16px; height: 16px; border-radius: 3px; background: var(--soft); position: relative; cursor: pointer; flex: none; }
.primary-radio, .confirm-radio, .disabled-radio { border-radius: 50%; }
.primary-checkbox input, .confirm-checkbox input, .disabled-checkbox input,
.primary-radio input, .confirm-radio input, .disabled-radio input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; z-index: 2; }
.primary-checkbox label, .confirm-checkbox label, .disabled-checkbox label { position: absolute; inset: 0; border-radius: 3px; border: 1px solid #e3e3e3; transition: .2s; }
.primary-radio label, .confirm-radio label, .disabled-radio label { position: absolute; inset: 0; border-radius: 50%; border: 1px solid #e3e3e3; transition: .2s; }
.primary-checkbox input:checked + label { background: var(--red); border-color: var(--red); }
.confirm-checkbox input:checked + label { background: var(--green); border-color: var(--green); }
.disabled-checkbox input:checked + label { background: #c9ccd4; border-color: #c9ccd4; }
.primary-checkbox input:checked + label::after, .confirm-checkbox input:checked + label::after, .disabled-checkbox input:checked + label::after {
  content: ""; position: absolute; left: 5px; top: 2px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.primary-radio input:checked + label { border: 5px solid var(--red); }
.confirm-radio input:checked + label { border: 5px solid var(--green); }
.disabled-radio input:checked + label { border: 5px solid #c9ccd4; }
.disabled-checkbox input:disabled, .disabled-radio input:disabled { cursor: not-allowed; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer-area { background-color: var(--footer); padding: 100px 0 0; }
.footer-area .single-footer-widget p { font-size: 14px; line-height: 1.8; color: var(--footer-text); }
.footer-area .single-footer-widget h4 { margin-bottom: 33px; font-weight: 700; font-size: 24px; color: #fff; text-transform: none; }
.footer-area .single-footer-widget ul li { margin-bottom: 10px; }
.footer-area .single-footer-widget ul li:last-child { margin-bottom: 0; }
.footer-area .single-footer-widget ul li a { color: var(--footer-text); transition: .5s; font-size: 15px; }
.footer-area .single-footer-widget ul li a:hover { color: var(--yellow); }
.footer-area .footer_1 .brand { margin-bottom: 35px; }
.footer-area .footer_1 p { margin-bottom: 15px; }
.footer-area .footer_img { display: grid; grid-template-columns: repeat(3, minmax(0, 76px)); gap: 6px; }
.footer-area .footer_img a { display: block; }
.footer-area .footer_img img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; transition: opacity .3s; }
.footer-area .footer_img a:hover img { opacity: .7; }
.footer-area .contact_info { position: relative; margin-bottom: 20px; }
.footer-area .contact_info p { margin-bottom: 10px; }
.footer-area .contact_info p span { color: var(--footer-text); font-size: 16px; }
.footer-area .copyright_part_text { padding: 26px 0; margin-top: 112px; background-color: var(--footer-bottom); }
.footer-area .copyright_part_text p { font-size: 15px; color: #888; }
.footer-area .copyright_part_text a { color: var(--yellow); text-decoration: underline; }
.footer-area .copyright_part_text .icon { font-size: 13px; margin: 0 2px; color: var(--red); vertical-align: -.1em; }
.footer-area .container-fluid { padding-right: 0; padding-left: 0; overflow: hidden; }
.footer-area :focus-visible { outline-color: #fff; }
@media (max-width: 1024px) { .footer-area .single-footer-widget h4 { font-size: 18px; } }
@media (max-width: 991px) {
  .footer-area { padding: 70px 0 0; }
  .footer-area .single-footer-widget { margin-bottom: 30px; }
  .footer-area .single-footer-widget h4 { margin-bottom: 15px; }
  .footer-area .copyright_part_text { margin-top: 42px; text-align: center; }
}
@media (max-width: 767px) {
  .footer-area .copyright_part_text { margin-top: 20px; }
  .footer-area .copyright_part_text p { font-size: 13px; }
}

/* ==========================================================================
   Additions: Bulgarian layout, real project photos, generated blog
   ========================================================================== */
h1, h2, h3, .h1, .h2, .h3 { text-wrap: balance; }

.our_project .portfolio-grid > div { margin-bottom: 30px; }
.projects_more { text-align: center; margin-top: 20px; }

/* featured national project (projects page) */
.featured_box { position: relative; overflow: hidden; background: var(--ink); padding: 60px; border-radius: 4px; }
.featured_box::before {
  content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 45%;
  clip-path: polygon(25% 0, 100% 0, 100% 100%, 0 100%);
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 7px);
}
.featured_box .row { position: relative; }
.featured_box .featured_eyebrow { color: var(--yellow); font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 12px; }
.featured_box h2 { color: #fff; font-size: 44px; font-weight: 700; margin-bottom: 20px; }
.featured_box p { color: #c5cfe2; font-size: 15px; line-height: 1.8; }
.featured_box .btn_1 { margin-top: 30px; }
.featured_box .btn_1:hover { background: var(--yellow); color: var(--ink) !important; }
.featured_facts li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.featured_facts li:last-child { border-bottom: 0; }
.featured_facts .icon { font-size: 28px; color: var(--yellow); flex: none; margin-top: 2px; }
.featured_facts strong { display: block; color: #fff; font-size: 18px; font-weight: 500; }
.featured_facts span { color: #c5cfe2; font-size: 14px; }
@media (max-width: 991px) {
  .featured_box { padding: 40px 24px; }
  .featured_box::before { display: none; }
  .featured_box h2 { font-size: 30px; }
  .featured_facts { margin-top: 30px; }
}

/* ---------- blog listing (generated by build_blog.py) ---------- */
.blog_item_img img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }
.blog_item_img .ph { aspect-ratio: 2 / 1; }
.blog_empty { padding: 40px; background: var(--soft-2); text-align: center; }
.blog_filter_status { margin-bottom: 30px; padding: 14px 20px; background: var(--soft-2); border-left: 3px solid var(--yellow); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.blog_area .blog_filter_status a { color: var(--red); }
.blog_item.is-hidden { display: none; }
.single-home-blog .card > a > img { display: block; width: 100%; height: auto; aspect-ratio: 360 / 389; object-fit: cover; }

/* ---------- article (generated by build_blog.py) ---------- */
.post_eyebrow { display: inline-block; margin-bottom: 14px; padding: 4px 12px; background: var(--yellow); color: var(--ink); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; border-radius: 2px; }
.blog_area a.post_eyebrow { color: var(--ink); }
.post_title { font-size: 36px; font-weight: 700; line-height: 1.25; margin-bottom: 14px; }
.post_meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--body); font-size: 14px; margin-bottom: 28px; }
.post_meta .icon { margin-right: 6px; color: var(--green); }
.post_cover { margin: 0 0 32px; }
.post_cover img { display: block; width: 100%; height: auto; border-radius: 4px; }
.prose { color: #4f5359; font-size: 16px; line-height: 1.85; max-width: 72ch; }
.prose > * + * { margin-top: 1.1em; }
.prose p { color: inherit; font-size: inherit; line-height: inherit; margin: 0; }
.prose h2 { font-size: 26px; font-weight: 600; margin-top: 1.8em; margin-bottom: .2em; }
.prose h3 { font-size: 20px; font-weight: 600; margin-top: 1.5em; margin-bottom: .2em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 10px; border: 3px solid var(--green); border-radius: 50%; }
.prose ol { list-style: decimal; padding-left: 1.3em; }
.prose ol li::marker { color: var(--red); font-weight: 500; }
.prose li + li { margin-top: .45em; }
.prose strong { color: var(--ink); font-weight: 500; }
.blog_area .prose a { color: var(--blue-dark); text-decoration: underline; }
.blog_area .prose a:hover { color: var(--red); }
.prose blockquote { margin: 1.6em 0; padding: 22px 26px; background: rgba(36, 150, 245, .08); border-left: 3px solid var(--blue); font-style: italic; }
.prose blockquote p { margin: 0; }
.prose img { display: block; max-width: 100%; height: auto; border-radius: 4px; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { color: var(--ink); font-weight: 500; background: var(--soft-2); }

.post_faq { margin-top: 48px; }
.post_faq h2 { font-size: 26px; font-weight: 600; margin-bottom: 18px; }
.post_faq details { border: 1px solid var(--line); border-radius: 4px; background: #fff; }
.post_faq details + details { margin-top: 10px; }
.post_faq summary { cursor: pointer; padding: 16px 20px; color: var(--ink); font-weight: 500; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.post_faq summary::-webkit-details-marker { display: none; }
.post_faq summary::after { content: "+"; color: var(--red); font-size: 20px; line-height: 1; transition: transform .2s; }
.post_faq details[open] summary::after { transform: rotate(45deg); }
.post_faq details p { padding: 0 20px 18px; font-size: 15px; }

.post_tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.blog_area .post_tags a { display: inline-block; padding: 4px 14px; border: 1px solid #e3e6ec; color: var(--body); font-size: 13px; transition: .3s; }
.blog_area .post_tags a:hover { background: var(--green); border-color: var(--green); color: #fff; }
.post_share { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--soft-line); color: var(--body); }
.blog_area .post_share a { color: var(--body); font-size: 18px; line-height: 1; }
.blog_area .post_share a:hover { color: var(--blue); }

.post_related { margin-top: 60px; padding-top: 40px; border-top: 1px solid #eee; }
.post_related > h2 { font-size: 24px; font-weight: 600; margin-bottom: 24px; }
.post_related_grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.post_related_grid article { min-width: 0; }
.post_related_grid .ph, .post_related_grid img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: 14px; }
.post_related_grid h3 { font-size: 17px; font-weight: 600; line-height: 1.4; margin-bottom: 6px; }
.blog_area .post_related_grid h3 a { color: var(--ink); }
.blog_area .post_related_grid h3 a:hover { color: var(--red); }
.post_related_grid p { font-size: 14px; line-height: 1.7; }
@media (max-width: 767px) { .post_title { font-size: 28px; } .prose { font-size: 15px; } }

/* phone links in the footer and on the contact page */
.footer-area .contact_info p a { color: #fff; font-weight: 500; }
.footer-area .contact_info p a:hover { color: var(--yellow); }
.contact-info p a { color: var(--ink); font-weight: 500; }
.contact-info p a:hover { color: var(--red); }

/* ---------- header: keep one row on laptop widths ---------- */
.main_menu .main-menu-item ul .btn_1 { white-space: nowrap; }
@media (min-width: 992px) and (max-width: 1199px) {
  .main_menu .main-menu-item ul li .nav-link { padding: 0 11px; }
  .main_menu .main-menu-item ul .btn_1 { margin-left: 16px; padding: 11.5px 18px; }
  .main_menu .main-menu-item { padding-left: 10px; }
}

/* ---------- certificates page ---------- */
.about_part .about_part_text .about_certs_link { margin-top: 26px; }
.cert_intro { margin-bottom: 50px; }
.cert_intro .section_tittle { margin-bottom: 20px; }
.cert_intro p { font-size: 15px; line-height: 1.8; }
.cert_part .row > div { margin-bottom: 30px; }
.cert_card { height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); transition: .4s; }
.cert_card:hover { box-shadow: 0 20px 30px rgba(12, 43, 94, .1); border-color: transparent; }
.cert_doc { padding: 26px 26px 0; background: var(--soft-2); }
.cert_doc img,
.cert_ph { display: block; width: 100%; aspect-ratio: 1 / 1.414; background: #fff; box-shadow: 0 6px 18px rgba(12, 43, 94, .12); }
.cert_doc img { height: auto; object-fit: contain; }
.cert_ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; border-top: 6px solid var(--tone, var(--green)); color: var(--ink); }
.cert_ph .icon { font-size: 52px; color: var(--tone, var(--green)); }
.cert_ph span { font-size: 14px; color: var(--muted); max-width: 18ch; }
.cert_body { flex: 1; display: flex; flex-direction: column; padding: 26px 26px 34px; border-top: 1px solid var(--line); }
.cert_issuer { color: var(--green); font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.cert_body h3 { font-size: 22px; font-weight: 600; margin-bottom: 12px; }
.cert_body .btn_3 { margin-top: auto; padding-top: 20px; align-self: flex-start; }
@media (min-width: 992px) { .featured_box .text-lg-end .btn_1 { margin-top: 0; } }

/* ---------- partners (page generated by build_blog.py) ---------- */
.partner_name_mark { display: inline-block; color: var(--ink); font-size: 22px; font-weight: 700; line-height: 1.25; text-align: center; }

.partner_featured { margin-bottom: 70px; padding: 50px; border: 1px solid var(--line); background: #fff; }
.partner_featured_logo { display: flex; align-items: center; justify-content: center; min-height: 200px; padding: 30px; background: var(--soft-2); }
.partner_featured_logo img { display: block; width: 100%; max-width: 380px; height: auto; }
.partner_featured h3 { font-size: 32px; font-weight: 700; margin-bottom: 8px; }
.partner_eyebrow { color: var(--green); font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 10px; }
.partner_role { color: var(--ink); font-size: 16px; font-weight: 500; margin-bottom: 12px; }
.partner_featured p:not(.partner_eyebrow):not(.partner_role) { font-size: 15px; line-height: 1.8; }
.partner_featured .btn_3, .partner_card .btn_3 { margin-top: 20px; }

.partner_group + .partner_group { margin-top: 30px; }
.partner_group_title { font-size: 26px; font-weight: 600; margin-bottom: 28px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.partner_group .row > div { margin-bottom: 30px; }
.partner_card { height: 100%; display: flex; flex-direction: column; border: 1px solid var(--line); background: #fff; transition: .4s; }
.partner_card:hover { box-shadow: 0 20px 30px rgba(12, 43, 94, .1); border-color: transparent; }
.partner_card_logo { display: flex; align-items: center; justify-content: center; height: 150px; padding: 24px 30px; background: var(--soft-2); }
.partner_card_logo img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; }
.partner_card_body { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: 24px 26px 30px; }
.partner_card_body h3 { font-size: 20px; font-weight: 600; margin-bottom: 6px; }
.partner_card_body .btn_3 { margin-top: auto; padding-top: 18px; }

@media (max-width: 991px) {
  .partner_featured { padding: 24px; margin-bottom: 50px; }
  .partner_featured_logo { min-height: 150px; margin-bottom: 26px; }
  .partner_featured h3 { font-size: 26px; }
}

/* home page logo strip */
.partners_strip_inner { display: flex; align-items: center; gap: 24px 48px; flex-wrap: wrap; padding: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.partners_strip_title { color: var(--muted); font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; margin: 0; }
.partners_strip_logos { flex: 1; min-width: 0; display: flex; align-items: center; flex-wrap: wrap; gap: 20px 44px; }
.partners_strip_logo { display: block; }
.partners_strip_logo img { display: block; height: 56px; width: auto; max-width: 100%; transition: opacity .3s; }
.partners_strip_logo:hover img { opacity: .75; }
.partners_strip_logo .partner_name_mark { font-size: 18px; }
@media (max-width: 575px) {
  .partners_strip_inner { flex-direction: column; align-items: flex-start; }
  .partners_strip_logo img { height: 44px; }
}

/* certificates: issuer logo on the card */
.cert_logo { display: block; height: 40px; width: auto; max-width: 100%; margin-bottom: 14px; }

/* copyright line: keep a side gutter on phones */
.footer-area .copyright_part_text { padding-left: 16px; padding-right: 16px; }

/* ---------- hero: large photo collage ---------- */
.banner_media { margin: 0; }
.banner_media picture, .banner_media img { display: block; width: 100%; height: auto; }
@media (min-width: 992px) {
  /* collage runs to the right edge of the screen, text sits on the left */
  .banner_media { position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: min(56vw, 960px); z-index: 2; }
  .banner_media img { border-radius: 6px 0 0 6px; box-shadow: 0 30px 60px rgba(12, 43, 94, .28); }
  .banner_slide--media > .container { z-index: 3; }
}
@media (max-width: 991px) {
  /* collage first, edge to edge, text under it */
  .banner_slide--media { min-height: 0; padding: 0 0 70px; }
  .banner_slide--media .banner_text { padding-top: 40px; }
}
@media (max-width: 991px) { .banner_slide--media > .container { height: auto; display: block; } }

/* home news cards: Bootstrap card-title inherits the link blue, use the heading colour */
.blog_part .single-home-blog .card .card-title { color: var(--ink); }
.blog_part .single-home-blog .card a:hover .card-title { color: var(--red); }

/* ---------- project cards: type + title under the photo, zoom on hover ---------- */
.project_card { display: block; color: inherit; }
a.project_card { cursor: pointer; }
.project_card_img { overflow: hidden; border-radius: 4px; background: var(--soft-2); }
.project_card_img img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s ease; }
.project_card:hover .project_card_img img,
a.project_card:focus-visible .project_card_img img { transform: scale(1.08); }
.project_card_type { margin: 16px 0 4px; color: var(--green); font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; }
.project_card_title { margin: 0; color: var(--ink); font-size: 20px; font-weight: 600; line-height: 1.35; transition: color .3s; }
a.project_card:hover .project_card_title { color: var(--red); }
@media (prefers-reduced-motion: reduce) {
  .project_card_img img { transition: none; }
  .project_card:hover .project_card_img img { transform: none; }
}

/* home: projects carousel */
.projects_slider_nav { display: flex; align-items: center; gap: 24px; margin-top: 34px; }
.projects_arrows { display: flex; gap: 10px; flex: none; }
.projects_arrows button { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid #dfe3ea; border-radius: 50%; background: #fff; color: var(--ink); font-size: 18px; cursor: pointer; transition: .3s; }
.projects_arrows button:hover { background: var(--red); border-color: var(--red); color: #fff; }
.projects_arrows button.swiper-button-disabled { opacity: .35; cursor: default; pointer-events: none; }
.projects_slider_nav .projects_scrollbar,
.projects_slider_nav .projects_scrollbar.swiper-scrollbar-horizontal { position: relative; left: auto; bottom: auto; flex: 1; width: auto; height: 4px; border-radius: 2px; background: var(--line); }
.projects_scrollbar .swiper-scrollbar-drag { background: var(--red); border-radius: 2px; cursor: grab; }
.projects_scrollbar.swiper-scrollbar-lock { visibility: hidden; }
.projects_slider_nav .btn_3 { flex: none; }
@media (max-width: 575px) { .projects_slider_nav { gap: 16px; } }

/* ---------- photo viewer (same behaviour as the Rivikon showcase) ---------- */
.lb_trigger { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.lb_trigger img { display: block; }
.lb_trigger::after {
  content: ""; position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255, 255, 255, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230c2b5e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6M9 21H3v-6M21 3l-7 7M3 21l7-7'/%3E%3C/svg%3E") center / 16px no-repeat;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .15); opacity: 0; transition: opacity .2s;
}
.lb_trigger:hover::after, .lb_trigger:focus-visible::after { opacity: 1; }
@media (hover: none) { .lb_trigger::after { opacity: 1; } }
.lb_trigger--inline { display: inline-block; width: auto; max-width: 100%; }

.lightbox {
  position: fixed; inset: 0; z-index: 10050;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  padding: 3.5vmin clamp(60px, 9vw, 112px);
  background: rgba(7, 19, 40, .92); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  cursor: zoom-out;
}
.lb_frame { flex: 0 1 auto; min-height: 0; max-width: 100%; display: flex; overflow: hidden; border-radius: 6px; cursor: zoom-in; touch-action: pan-y; }
.lightbox img {
  display: block; max-width: none; object-fit: contain; background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .5); transform-origin: center center; transition: transform .25s ease;
  -webkit-user-drag: none; user-select: none;
}
.lightbox.is-zoomed .lb_frame { cursor: grab; touch-action: none; }
.lightbox.is-zoomed .lb_frame:active { cursor: grabbing; }
.lb_bar { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; gap: 12px; max-width: 100%; }
.lb_cap { max-width: min(760px, 100%); text-align: center; color: #fff; cursor: default; }
.lb_count { display: block; margin-bottom: 6px; color: rgba(255, 255, 255, .6); font-size: 12px; font-weight: 500; letter-spacing: .08em; }
.lb_title { display: block; font-size: 17px; font-weight: 500; line-height: 1.3; }
.lb_desc { display: block; margin-top: 6px; color: rgba(255, 255, 255, .76); font-size: 14px; line-height: 1.5; }
.lb_nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; padding: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .18s;
}
.lb_nav:hover { background: rgba(255, 255, 255, .3); }
.lb_nav svg { width: 22px; height: 22px; }
.lb_prev { left: clamp(8px, 2.2vw, 28px); }
.lb_next { right: clamp(8px, 2.2vw, 28px); }
.lb_close, .lb_zoom {
  position: absolute; top: 16px; width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .14); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .18s;
}
.lb_close { right: 20px; }
.lb_zoom { right: 70px; }
.lb_close svg, .lb_zoom svg { width: 20px; height: 20px; }
.lb_close:hover, .lb_zoom:hover { background: rgba(255, 255, 255, .26); }
.lb_zoom[aria-pressed="true"] { background: rgba(255, 255, 255, .34); }
.lightbox button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.lightbox.is-single .lb_nav, .lightbox.is-single .lb_count { display: none; }
@media (max-width: 767px) {
  .lightbox { padding: 3.5vmin 12px; gap: 12px; }
  .lb_nav { position: static; transform: none; flex: none; width: 44px; height: 44px; background: rgba(255, 255, 255, .16); }
  .lb_bar { width: 100%; gap: 8px; justify-content: space-between; }
  .lb_cap { flex: 1 1 auto; min-width: 0; }
  .lb_desc { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) { .lightbox img { transition: none; } }

/* ==========================================================================
   Web conventions (shared with rivikon.bg)
   ========================================================================== */

/* menu: mark the page you are on */
.main_menu .main-menu-item ul li .nav-link[aria-current="page"],
.main_menu .main-menu-item ul li .nav-link.is-current { color: var(--red); }
.dropdown .dropdown-menu .dropdown-item[aria-current="page"] { color: var(--red) !important; }

/* eyebrows are spans, not paragraphs (convention 4) */
.featured_box .featured_eyebrow, .partner_eyebrow { display: block; }

/* ---------- article card: one component everywhere (conventions 1 and 2) ---------- */
.post_card { display: flex; flex-direction: column; height: 100%; }
.post_card_cover { position: relative; }
.post_card_img { display: block; overflow: hidden; border-radius: 4px; }
.post_card_img img, .post_card_img .ph { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s ease; }
.post_card:hover .post_card_img img, .post_card:hover .post_card_img .ph { transform: scale(1.05); }
/* reading time rides on the cover, outside the cover link */
.post_card_read { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--ink); font-size: 12px; font-weight: 500; line-height: 1.4; box-shadow: 0 2px 8px rgba(12, 43, 94, .15); pointer-events: none; }
.post_card_read .icon { font-size: 13px; }
.post_card_body { flex: 1; display: flex; flex-direction: column; padding-top: 18px; }
.post_card_cat { margin-bottom: 8px; color: var(--green); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
/* three lines each, height kept, so every card in a row is the same size */
.post_card_title { margin: 0 0 10px; font-size: 19px; font-weight: 600; line-height: 1.4; min-height: calc(1.4em * 3);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post_card .post_card_title a { color: var(--ink); }
.post_card .post_card_title a:hover { color: var(--red); }
.post_card_desc { margin: 0; color: var(--body); font-size: 14px; line-height: 1.7; min-height: calc(1.7em * 3);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.post_card_date { display: block; margin-top: auto; padding-top: 14px; color: var(--muted); font-size: 13px; }
.post_grid > div { margin-bottom: 40px; }
.post_grid > div.is-hidden { display: none; }
.post_related .post_card_title { font-size: 17px; }
@media (prefers-reduced-motion: reduce) {
  .post_card_img img, .post_card_img .ph { transition: none; }
  .post_card:hover .post_card_img img, .post_card:hover .post_card_img .ph { transform: none; }
}

/* ---------- teaser rows: grid on wide screens, carousel under 720px (convention 3) ---------- */
.phone_carousel_track > .phone_carousel_item { margin-bottom: 30px; }
.phone_carousel_nav { display: none; }
.phone_carousel.is-carousel { overflow: hidden; padding-bottom: 4px; }
.phone_carousel.is-carousel .phone_carousel_item { height: auto; margin-bottom: 0; }
.phone_carousel.is-carousel .phone_carousel_item > * { height: 100%; }
.phone_carousel.is-carousel .phone_carousel_nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 22px; }
.phone_carousel_nav button { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid #dfe3ea; border-radius: 50%; background: #fff; color: var(--ink); font-size: 18px; cursor: pointer; }
.phone_carousel_nav button.swiper-button-disabled { opacity: .35; pointer-events: none; }
.phone_carousel_dots { display: flex; gap: 8px; width: auto !important; }
.phone_carousel_dots .swiper-pagination-bullet { width: 8px; height: 8px; margin: 0 !important; background: var(--ink); opacity: .2; }
.phone_carousel_dots .swiper-pagination-bullet-active { background: var(--red); opacity: 1; }
.our_service .phone_carousel.is-carousel .single_service { margin-top: 0; height: 100%; }

/* about: team photo (4:3, opens large like the other photos) */
.about_part .about_part_img picture, .about_part .about_part_img img { display: block; width: 100%; height: auto; }
.about_part .about_part_img img { border-radius: 4px; box-shadow: 0 20px 40px rgba(12, 43, 94, .12); }

/* scroll progress bar at the very top (js/wayfinding.js); above the sticky header, below the photo viewer */
.scroll_progress { position: fixed; top: 0; left: 0; z-index: 10000; width: 100%; height: 3px; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, var(--green), var(--blue), var(--yellow), var(--red)); pointer-events: none; will-change: transform; }

/* links inside the dark contact panels and the 4th contact line */
.featured_facts a { color: #fff; }
.featured_facts a:hover { color: var(--yellow); }
.contact-info:nth-child(4) .contact-info__icon { color: var(--yellow-dark); }

/* counters: the label wraps beside the number instead of dropping under it */
.member_counter .single_member_counter { flex-wrap: nowrap; }
.member_counter .single_member_counter h4 { flex: 1 1 auto; min-width: 0; }

/* ---------- hero: full width and symmetric on computers ----------
   The same gap on the left of the text and on the right of the collage, and the
   collage takes everything in between - on a 1900px screen it grows from 960px
   to about 1070px. The text column keeps at least 440px, the width the 58px
   title needs. Tablets and phones keep the stacked layout. */
@media (min-width: 992px) {
  .banner_slide--media {
    --hero-pad: clamp(24px, 4vw, 96px);
    display: grid;
    grid-template-columns: minmax(440px, 4fr) minmax(0, 7fr);
    column-gap: var(--hero-pad);
    align-items: center;
    height: auto;
    min-height: 650px;
    padding: 40px var(--hero-pad);
  }
  .banner_slide--media > .container { grid-column: 1; grid-row: 1; width: auto; max-width: none; height: auto; margin: 0; padding: 0; display: block; }
  .banner_slide--media > .container > .row { margin: 0; }
  .banner_slide--media > .container .col-lg-5 { width: 100%; padding: 0; }
  .banner_slide--media .banner_media { grid-column: 2; grid-row: 1; position: relative; top: auto; right: auto; transform: none; width: 100%; }
  .banner_slide--media .banner_media img { border-radius: 6px; }
  .banner_slide--media .banner_shape { height: 100%; }
}
@media (min-width: 1200px) {
  .banner_slide--media { min-height: 800px; padding-block: 48px; }
}

/* ---------- hero fills the first screen on computers (as on rivikon.bg) ----------
   The hero plus the scroll cue under it take exactly the height of the screen
   below the header (--nav-h is measured by js/nav.js), so on load the whole start
   is in view and the cue says there is more below. The collage shrinks to fit that
   height and keeps the right-hand gap; tablets and phones keep the stacked layout. */
.hero-scroll-row { display: none; }
@media (min-width: 992px) {
  .banner_part { --cue-h: 84px; }
  .banner_slide--media {
    height: calc(100vh - var(--nav-h, 86px) - var(--cue-h));
    height: calc(100svh - var(--nav-h, 86px) - var(--cue-h));
    min-height: 480px;
    padding-block: 32px;
  }
  .banner_slide--media .banner_media img {
    width: auto; max-width: 100%; height: auto; margin-left: auto;
    max-height: calc(100vh - var(--nav-h, 86px) - var(--cue-h) - 64px);
    max-height: calc(100svh - var(--nav-h, 86px) - var(--cue-h) - 64px);
  }
  .hero-scroll-row { display: flex; justify-content: center; align-items: flex-start; height: var(--cue-h); padding-top: 6px; }
}
.hero-scroll { display: inline-flex; flex-direction: column; align-items: center; color: var(--muted); font-size: 14px; font-weight: 500; transition: color .2s; }
.hero-scroll:hover { color: var(--red); }
.hero-scroll .chevs { display: flex; flex-direction: column; align-items: center; margin-top: 8px; }
.hero-scroll .chevs::before, .hero-scroll .chevs::after {
  content: ""; width: 14px; height: 14px; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor;
  transform: rotate(45deg); animation: chev-drop 1.8s ease-in-out infinite;
}
.hero-scroll .chevs::after { margin-top: -8px; animation-delay: .22s; }
@keyframes chev-drop { 0%, 100% { opacity: .25; transform: rotate(45deg) translate(0, 0); } 50% { opacity: 1; transform: rotate(45deg) translate(3px, 3px); } }
@media (prefers-reduced-motion: reduce) { .hero-scroll .chevs::before, .hero-scroll .chevs::after { animation: none; opacity: .7; } }

/* ==========================================================================
   Rotating photo tiles (js/tiles.js) - one big tile and four small, the big one
   2 x 2. Each tile is a card with a front and a back face; a flip turns the card
   over (rotateX), so the new photo comes in from above like a Windows 8 tile.
   ========================================================================== */
.live_tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.live_tile { position: relative; display: block; width: 100%; aspect-ratio: 1; padding: 0; border: 0; border-radius: 4px; background: var(--soft-2); perspective: 1400px; cursor: zoom-in; }
.live_tile--big { grid-column: span 2; grid-row: span 2; }
.live_tile_card { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .9s cubic-bezier(.2, .75, .25, 1); }
.live_tile.is-flipped .live_tile_card { transform: rotateX(-180deg); }
.live_tile_face { position: absolute; inset: 0; overflow: hidden; border-radius: 4px; -webkit-backface-visibility: hidden; backface-visibility: hidden; background: var(--soft-2); }
.live_tile_back { transform: rotateX(180deg); }
.live_tile_face picture, .live_tile_face img { display: block; width: 100%; height: 100%; object-fit: cover; }
.live_tile_face img { transition: transform .6s ease; }
.live_tile:hover .live_tile_face img { transform: scale(1.05); }
.live_tile_label { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 14px 12px; text-align: left; background: linear-gradient(180deg, rgba(7, 19, 40, 0), rgba(7, 19, 40, .78)); pointer-events: none; }
.live_tile_cat { display: block; color: var(--yellow); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.live_tile_title { display: -webkit-box; margin-top: 3px; color: #fff; font-size: 15px; font-weight: 500; line-height: 1.3; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.live_tile--big .live_tile_label { padding: 60px 22px 20px; }
.live_tile--big .live_tile_cat { font-size: 12px; }
.live_tile--big .live_tile_title { font-size: 22px; }
.live_tile:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
@media (max-width: 575px) {
  .live_tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .live_tile:not(.live_tile--big) .live_tile_title { display: none; }
  .live_tile_label { padding: 28px 10px 9px; }
  .live_tile--big .live_tile_title { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .live_tile_card, .live_tile_face img { transition: none; }
  .live_tile:hover .live_tile_face img { transform: none; }
}

/* ==========================================================================
   Home: the hero and the two photo-and-text sections under it share one width,
   so their left and right edges line up (max 1500px, with a side margin that
   grows with the screen).
   ========================================================================== */
:root { --wide-max: 1500px; --wide-pad: clamp(32px, 6vw, 120px); }
@media (min-width: 992px) {
  .banner_slide--media {
    padding-inline: max(var(--wide-pad), calc((100% - var(--wide-max)) / 2));
    column-gap: clamp(32px, 4vw, 80px);
  }
  .banner_part ~ .about_part > .container {
    width: 100%;
    max-width: calc(min(var(--wide-max), 100% - 2 * var(--wide-pad)) + 30px);
  }
}
