/* =========================================================
   Austiva - Bootstrap based pages
   About (temp_about.php) · Blog (temp_blog.php) · Contact (temp_contact.php) · single blog post (single.php)

   Loaded only on those pages (see functions.php) AFTER bootstrap, font-awesome, page.css and assets/css/style.css.
   Contains everything the old markup needs but the old CSS bundle did not ship:
   colour variables, breadcrumb band, about banner, "what drives us" cards, contact block,
   blog cards, sidebar, icon replacements and the responsive rules.
   ========================================================= */

:root {
  --thm-primary: #1546B0;
  --thm-base: #2F86E0;
  --thm-black: #0E2A5C;
  --thm-font: 'DM Sans', system-ui, sans-serif;
  --thm-font-2: 'DM Sans', system-ui, sans-serif;
  --inner-radius: 24px;
  --inner-shadow: 0 10px 30px rgba(14, 42, 92, .08);
}

/* ---------- safety: nothing may push the page sideways ---------- */
html { overflow-x: clip; }

.page { max-width: 100%; }
.page img { max-width: 100%; }
.page iframe, .page video { max-width: 100%; }
.page main, .page section { max-width: 100%; }

/* Bootstrap resets we do not want inside the theme chrome (header, footer, menu) */
.site-header a, .site-footer a, .menu a { text-decoration: none; }
.site-footer a { text-decoration: underline; }
.site-footer .soc { text-decoration: none; }
.site-header, .site-footer, .menu { font-family: var(--font-body); }
.menu__nav a:hover, .menu a:hover { text-decoration: none; }
.page a:hover { text-decoration: none; }
.page .site-footer a:hover { text-decoration: underline; }
body { line-height: 1.5; }
.page h1, .page h2, .page h3, .page h4, .page h5, .page h6 { font-family: var(--font-display); color: var(--navy); }

/* ---------- breadcrumb band (title + trail) ---------- */
.breadcrumb-area { position: relative; overflow: hidden; padding: clamp(34px, 6vw, 15px) 0 clamp(36px, 6vw, 14px); }
.breadcrumb-area-bg { position: absolute; inset: 0; opacity: .42; }
.breadcrumb-area-bg::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 60%;
  background: linear-gradient(to top, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0));
}
.breadcrumb-area .container { position: relative; z-index: 2; }
.breadcrumb-area .inner-content { padding: 0 6px; }
.breadcrumb-area .title h1,
.breadcrumb-area .title h2 {
  margin: 0 0 14px; font-size: clamp(32px, 6vw, 64px); line-height: 1.08; letter-spacing: -.03em; font-weight: 700; color: var(--navy);
  overflow-wrap: anywhere;
}
.breadcrumb-menu ul { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 12px; margin: 0; padding: 8px 18px; list-style: none; border-radius: 999px; background: rgba(255, 255, 255, .7); font-size: 14px; }
.breadcrumb-menu li { display: inline-flex; align-items: center; margin: 0; color: var(--muted); }
.breadcrumb-menu li a { color: var(--navy); font-weight: 700; }
.breadcrumb-menu li a:hover { color: var(--blue); }
.breadcrumb-menu li.active { color: var(--blue); font-weight: 700; overflow-wrap: anywhere; }
.breadcrumb-menu .fa { font-size: 15px; }
.man-outer { display: none; }

/* ---------- section title ---------- */
.sec-title { margin-bottom: clamp(26px, 4vw, 46px); }
.sec-title h2 { margin: 0; font-size: clamp(28px, 4.4vw, 46px); line-height: 1.12; letter-spacing: -.02em; font-weight: 700; color: var(--navy); }
.sec-title .decor { margin-top: 14px; line-height: 0; }
.sec-title .decor img { display: none; }               /* the old decorative png is not part of the theme */
.sec-title .decor::after { content: ""; display: inline-block; width: 74px; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--blue), #59c3f0); }
.sec-title.text-center .decor { text-align: center; }

/* ---------- icon-font replacements (old icomoon font is not shipped, Font Awesome is) ---------- */
[class^="icon-"]:not(.icon-bg):not(.icon-bg-overlay)::before,
[class*=" icon-"]:not(.icon-bg):not(.icon-bg-overlay)::before {
  font-family: FontAwesome; font-style: normal; font-weight: 400; line-height: 1; display: inline-block; -webkit-font-smoothing: antialiased;
}
.icon-water-drop::before, .icon-water-drop-1::before { content: "\f043"; }
.icon-medal::before { content: "\f091"; }
.icon-hand::before { content: "\f256"; }
.icon-plastic-bottle::before { content: "\f0c3"; }
.icon-rating::before { content: "\f005"; }
.icon-businessman::before { content: "\f007"; }
.icon-map::before { content: "\f279"; }
.icon-placeholder::before { content: "\f041"; }
.icon-calling::before { content: "\f095"; }
.icon-email::before { content: "\f0e0"; }
.icon-clock::before { content: "\f017"; }
.icon-right-arrow::before { content: "\f178"; }
.icon-right-arrow-1::before { content: "\f178"; }
.single-box.left .icon-right-arrow-1::before { content: "\f177"; }
.icon-right-arrow, .icon-right-arrow-1 { margin-right: 6px; }
.single-box.right .icon-right-arrow-1 { margin: 0 0 0 6px; }

/* ---------- About ---------- */
.about-banner-section { padding-bottom: clamp(30px, 6vw, 70px); }
.about-banner-wrapper { position: relative; max-width: 1400px; margin: 0 auto; padding: 0 var(--gutter); }
.about-banner-img { display: block; width: 100%; height: auto; min-height: 230px; max-height: 620px; object-fit: cover; border-radius: var(--inner-radius); background: #D6ECFA; }
.about-content-box {
  padding: clamp(22px, 3.4vw, 44px); border-radius: var(--inner-radius); color: var(--muted);
  background: rgba(255, 255, 255, .9); box-shadow: var(--inner-shadow); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.about-content-box h2 { margin: 0 0 14px; font-size: clamp(30px, 4.4vw, 48px); letter-spacing: -.02em; line-height: 1.1; }
.about-content-box h5 { margin: 0 0 14px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; font-weight: 700; color: var(--navy); font-family: var(--font-body); }
.about-content-box p { margin: 0 0 12px; font-size: 16px; line-height: 1.7; }
.about-content-box p:last-child { margin-bottom: 0; }
/* mobile / tablet: card sits under the image, slightly overlapping it */
.about-content-box { position: relative; margin: -34px 12px 0; }
@media (min-width: 992px) {
  .about-banner-wrapper { min-height: 520px; }
  .about-banner-img { height: auto; max-height: none; }
  .about-content-box { position: absolute; left: calc(var(--gutter) + 28px); top: 50%; width: min(560px, 48%); margin: 0; transform: translateY(-50%); }
}
.about-banner-section .container { margin-top: clamp(26px, 4vw, 48px); }
.mission-vision-row { margin-left: -12px; margin-right: -12px; }
.mission-vision-row > [class*="col-"] { padding: 12px; }
.mission-vision-row .info-box { height: 100%; margin: 0; }

/* "what drives us": cards in a responsive grid (the old owl-carousel script is not used any more) */
.choose-style3-area { padding: clamp(10px, 3vw, 30px) 0 clamp(46px, 7vw, 90px); }
.choose-style3-content .theme_carousel { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; }
.single-choose-box-style3 { min-width: 0; }
.single-choose-box-style3 .inner {
  position: relative; height: 100%; padding: 34px 24px 30px; border-radius: var(--inner-radius); background: #fff; box-shadow: var(--inner-shadow);
  border: 1px solid rgba(14, 42, 92, .06); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease;
}
.single-choose-box-style3 .inner:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(14, 42, 92, .14); }
.single-choose-box-style3 .count-box { position: absolute; right: 18px; top: 10px; font-family: var(--font-display); font-size: 54px; line-height: 1; font-weight: 700; color: rgba(21, 70, 176, .08); }
.single-choose-box-style3 .icon {
  display: flex; align-items: center; justify-content: center; width: 70px; height: 70px; margin: 0 auto 18px; border-radius: 50%;
  background: linear-gradient(160deg, #D6ECFA, #F1F9FE); color: var(--blue); font-size: 28px;
}
.single-choose-box-style3 .text h3 { margin: 0 0 10px; font-size: 21px; line-height: 1.25; letter-spacing: -.01em; }
.single-choose-box-style3 .text p { margin: 0; font-size: 15px; line-height: 1.65; color: var(--muted); }
.single-choose-box-style3 .button-boder { display: none; }

/* ---------- Contact ---------- */
/* .contact-style2-area { padding: clamp(10px, 3vw, 30px) 0 clamp(46px, 7vw, 90px); } */
.contact-style2-area .row > [class*="col-"] { margin-bottom: 26px; }
.contact-style2_image-box { position: relative; padding-bottom: 28px; }
.contact-style2_image-box img { display: block; width: 100%; height: auto; border-radius: var(--inner-radius); }
.thm-round-box1 {
  position: absolute; right: 14px; bottom: 0; display: flex; align-items: center; justify-content: center; text-align: center;
  width: clamp(112px, 17vw, 150px); height: clamp(112px, 17vw, 150px); border-radius: 50%; background: var(--blue); color: #fff;
  box-shadow: 0 12px 28px rgba(21, 70, 176, .35); border: 6px solid #fff;
}
.thm-round-box1 h3 { margin: 0; color: #fff; font-size: clamp(13px, 1.7vw, 16px); line-height: 1.3; font-family: var(--font-display); }
.contact-form-box1 { padding: clamp(14px, 3vw, 38px); border-radius: var(--inner-radius); background: #fff; box-shadow: var(--inner-shadow); border: 1px solid rgba(14, 42, 92, .06); }
.contact-form-box1 .sec-title { margin-bottom: 22px; }
.default-form1 p { margin: 0 0 16px; }
.default-form1 label { display: block; width: 100%; margin: 0; font-weight: 700; font-size: 14px; color: var(--navy); }
.default-form1 input[type="text"], .default-form1 input[type="email"], .default-form1 input[type="tel"], .default-form1 input[type="url"],
.default-form1 input[type="number"], .default-form1 select, .default-form1 textarea {
  display: block; width: 100%; max-width: 100%; margin-top: 6px; padding: 13px 16px; border-radius: 14px; border: 1.5px solid rgba(14, 42, 92, .18);
  background: #F6FBFF; color: var(--navy); font: inherit; font-size: 16px; transition: border-color .2s ease, box-shadow .2s ease;
}
.default-form1 textarea { min-height: 130px; resize: vertical; }
.default-form1 input:focus, .default-form1 textarea:focus, .default-form1 select:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(21, 70, 176, .12); }
.default-form1 input[type="submit"], .default-form1 button[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; padding: 14px 32px; border: 0; border-radius: 999px; background: var(--blue); color: #fff;
  font-weight: 700; font-size: 16px; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease;
}
.default-form1 input[type="submit"]:hover { transform: translateY(-3px); box-shadow: 0 10px 22px rgba(14, 42, 92, .2); }
.default-form1 .wpcf7-not-valid-tip { font-size: 13px; color: #c0392b; margin-top: 4px; }
.default-form1 .wpcf7-response-output { margin: 16px 0 0; padding: 12px 16px; border-radius: 12px; font-size: 14px; }
.default-form1 .wpcf7-spinner { margin: 0 0 0 10px; }
/* Contact Form 7 rows used in the form markup */
.cf7-row { display: flex; flex-wrap: wrap; gap: 0 20px; }
.cf7-col { flex: 1 1 220px; min-width: 0; }

/* contact info boxes (address / e-mail) */
.thm-form-style1-area { padding: 30px 0; }
.single-contact-info-box { max-width: 100%; padding-left: 16px; padding-right: 16px; }
.single-contact-info-box .text p { overflow-wrap: anywhere; }
.single-contact-info-box .icon span { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font-size: 26px; }

/* ---------- Blog list ---------- */
.blog-page-two { padding: clamp(10px, 3vw, 30px) 0 clamp(46px, 7vw, 90px); }
.blog-page-two .row > [class*="col-"] { margin-bottom: 30px; }
.single-blog-style1 { height: 100%; border-radius: var(--inner-radius); background: #fff; box-shadow: var(--inner-shadow); overflow: hidden; border: 1px solid rgba(14, 42, 92, .06); }
.single-blog-style1 .img-holder { position: relative; overflow: hidden; }
.single-blog-style1 .img-holder .inner { overflow: hidden; background: linear-gradient(160deg, #D6ECFA, #F1F9FE); }
.single-blog-style1 .img-holder img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 11; object-fit: cover; transition: transform .5s ease; }
.single-blog-style1:hover .img-holder img { transform: scale(1.05); }
.single-blog-style1 .img-holder .categories { max-width: calc(100% - 24px); }
.single-blog-style1 .img-holder .categories h6 { margin: 0; color: #fff; font-size: 13px; }
.single-blog-style1 .text-holder { padding: 22px 24px 26px; }
.single-blog-style1 .text-holder .blog-title { font-size: 21px; line-height: 1.3; letter-spacing: -.01em; overflow-wrap: anywhere; }
.single-blog-style1 .meta-info { margin: 0 0 8px; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.single-blog-style1 .meta-info li { padding-right: 0; margin-right: 0; }
.single-blog-style1 .meta-info li::before, .single-blog-style1 .meta-info li::after { display: none; }
.blog-ph { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 16 / 11; color: var(--blue); font-size: 44px; opacity: .7; }
.btn-two, .btn-one {
  display: inline-flex; align-items: center; gap: 6px; padding: 10px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; line-height: 1.2;
  border: 1.5px solid var(--blue); color: var(--blue); background: transparent; transition: transform .25s ease, background .25s ease, color .25s ease;
}
.btn-two:hover, .btn-one:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.btn-one { background: var(--blue); color: #fff; padding: 13px 28px; }
.btn-one:hover { background: var(--navy); border-color: var(--navy); }
.styled-pagination { margin-top: 10px; }
.styled-pagination ul { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.styled-pagination .page-numbers {
  display: flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 50%; border: 1.5px solid rgba(14, 42, 92, .2);
  background: #fff; color: var(--navy); font-weight: 700; transition: background .2s ease, color .2s ease;
}
.styled-pagination a.page-numbers:hover, .styled-pagination .page-numbers.current { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------- Single blog post ---------- */
.blog-details-area { padding: clamp(10px, 3vw, 30px) 0 clamp(46px, 7vw, 90px); }
.blog-details-area .row > [class*="col-"] { margin-bottom: 30px; }
.blog-details-content { min-width: 0; overflow-wrap: anywhere; }
.blog-details-content .single-blog-style3 { box-shadow: none; background: transparent; border: 0; border-radius: 0; overflow: visible; }
.blog-details-content .single-blog-style3 .img-holder img { border-radius: var(--inner-radius); aspect-ratio: auto; }
.blog-details-content .single-blog-style3 .text-holder { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 0 0 18px; }
.blog-details-content .categories h6 { margin: 0; color: #fff; font-size: 14px; }
.blog-details-content .meta-box { margin: 0; }
.blog-details-text-1 { font-size: 17px; line-height: 1.8; color: #2d4666; margin-top: 22px; }
.blog-details-text-1 img, .blog-details-text-1 iframe, .blog-details-text-1 video { max-width: 100%; height: auto; }
.blog-details-text-1 table { display: block; max-width: 100%; overflow-x: auto; }
.blog-details-text-1 h2, .blog-details-text-1 h3, .blog-details-text-1 h4 { margin-top: 1.4em; }
.blog-prev-next-option { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 38px; padding-top: 26px; border-top: 1px solid rgba(14, 42, 92, .12); }
.blog-prev-next-option .single-box { flex: 1 1 240px; min-width: 0; }
.blog-prev-next-option .single-box.right { text-align: right; }
.blog-prev-next-option .single-box p { margin: 0 0 6px; font-size: 14px; font-weight: 700; }
.blog-prev-next-option .single-box h2 { margin: 0; font-size: 18px; line-height: 1.35; }
.sidebar-content-box { display: grid; gap: 24px; }
.single-sidebar-box { padding: 26px 24px; border-radius: var(--inner-radius); background: #fff; box-shadow: var(--inner-shadow); border: 1px solid rgba(14, 42, 92, .06); }
.single-sidebar-box > .title h3 { margin: 0 0 16px; padding-bottom: 12px; font-size: 22px; border-bottom: 2px solid #D6ECFA; position: relative; }
.single-sidebar-box > .title h3::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 56px; height: 2px; background: var(--blue); }
.sidebar-categories-box { margin: 0; padding: 0; list-style: none; }
.sidebar-categories-box li a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 0; border-bottom: 1px solid rgba(14, 42, 92, .08); color: var(--navy); font-weight: 700; }
.sidebar-categories-box li:last-child a { border-bottom: 0; }
.sidebar-categories-box li a:hover { color: var(--blue); }
.sidebar-categories-box li a span { min-width: 28px; padding: 2px 8px; border-radius: 999px; background: #D6ECFA; color: var(--blue); font-size: 13px; text-align: center; }
.sidebar-blog-post .blog-post { margin: 0; padding: 0; list-style: none; }
.sidebar-blog-post .blog-post li { padding: 12px 0; border-bottom: 1px solid rgba(14, 42, 92, .08); }
.sidebar-blog-post .blog-post li:last-child { border-bottom: 0; padding-bottom: 0; }
.sidebar-blog-post .inner { display: flex; align-items: center; gap: 14px; }
.sidebar-blog-post .img-box { flex: none; width: 76px; height: 76px; border-radius: 16px; overflow: hidden; background: linear-gradient(160deg, #D6ECFA, #F1F9FE); }
.sidebar-blog-post .img-box a, .sidebar-blog-post .img-box img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sidebar-blog-post .title-box { min-width: 0; }
.sidebar-blog-post .title-box h6 { margin: 0 0 4px; font-size: 13px; color: var(--muted); font-family: var(--font-body); }
.sidebar-blog-post .title-box h4 { margin: 0; font-size: 16px; line-height: 1.35; }
.sidebar-blog-post .title-box h4 a:hover { color: var(--blue); }
.subscribe-content-box .icon { margin-bottom: 8px; font-size: 44px; color: var(--blue); line-height: 1; }
.subscribe-content-box h3 { margin: 0 0 10px; font-size: 21px; }
.subscribe-content-box p { margin: 0 0 18px; color: var(--muted); line-height: 1.6; }
.xs-main { overflow-x: clip; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 991.98px) {
  .page .container { padding-left: var(--gutter); padding-right: var(--gutter); }
  .contact-style2_image-box { max-width: 560px; margin: 0 auto; }
  .blog-details-area .sidebar-content-box { margin-top: 10px; }
}
@media (max-width: 767.98px) {
  .breadcrumb-menu ul { padding: 7px 14px; font-size: 13px; }
  .about-content-box { margin: -26px 4px 0; }
  .single-blog-style1 .text-holder { padding: 18px 18px 22px; }
  .single-blog-style1 .text-holder .blog-title { font-size: 19px; }
  .single-sidebar-box { padding: 22px 18px; }
  .blog-details-text-1 { font-size: 16px; line-height: 1.75; }
  .blog-prev-next-option .single-box.right { text-align: left; }
  .contact-form-box1 { padding: 22px 18px; }
  .cf7-row { display: block; }
  .info-box { padding: 24px 20px; }
}
@media (max-width: 480px) {
  .about-banner-img { min-height: 190px; border-radius: 18px; }
  .choose-style3-content .theme_carousel { gap: 14px; }
  .single-choose-box-style3 .inner { padding: 28px 20px 24px; }
  .thm-round-box1 { right: 8px; }
  .styled-pagination .page-numbers { min-width: 40px; height: 40px; }
}
.styled-pagination ul, .styled-pagination ul::before, .styled-pagination ul::after, .styled-pagination li::before, .styled-pagination li::after { border: 0; box-shadow: none; background: none; }
