/*
 * %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 *
 * Template Name: Sasna - Multipurpose Business HTML Template   
 * Template URI: https://thememarch.com/demo/html/sasna/
 * Description: Sasna is a multipurpose business HTML template which comes with the unique and clean design. It helps you to create a beautiful multipurpose business HTML website. It has also e-commerce support. E-commerce pages are included on this template.
 * Author: Thememarch
 * Author URI: https://thememarch.com
 * Version: 4.5
 *
 * %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 */

/* Page banner – modern theme #272350 */
.page-banner {
  position: relative;
  overflow: hidden;
  padding: 3.25rem 0;
  background: linear-gradient(135deg, #1a1838 0%, #272350 45%, #3d3870 100%);
  isolation: isolate;
}

.page-banner--has-image {
  background-image: var(--page-banner-bg);
  background-size: cover;
  background-position: center;
}

.page-banner__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26, 24, 56, 0.92) 0%, rgba(39, 35, 80, 0.88) 50%, rgba(61, 56, 112, 0.85) 100%);
  z-index: 0;
}

.page-banner__decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.page-banner__circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.06), transparent 70%);
}

.page-banner__circle--1 {
  width: 280px;
  height: 280px;
  top: -90px;
  right: -60px;
}

.page-banner__circle--2 {
  width: 180px;
  height: 180px;
  bottom: -50px;
  left: 8%;
}

.page-banner__circle--3 {
  width: 120px;
  height: 120px;
  top: 20%;
  left: -30px;
  opacity: 0.6;
}

.page-banner .container {
  position: relative;
  z-index: 1;
}

.page-banner__content {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.page-banner__title {
  margin: 0 0 0.85rem;
  color: #fff;
  font-size: clamp(1.75rem, 4vw, 2.65rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.page-banner__breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-banner__breadcrumb li {
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

.page-banner__breadcrumb li:not(:last-child)::after {
  content: "/";
  margin: 0 0.55rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 400;
}

.page-banner__breadcrumb a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-banner__breadcrumb a:hover {
  color: #fff;
}

.page-banner__breadcrumb li.is-active span {
  color: #c4bfe8;
  font-weight: 600;
}

@media (max-width: 767px) {
  .page-banner {
    padding: 2.5rem 0;
  }

  .page-banner__circle--1 {
    width: 180px;
    height: 180px;
    top: -60px;
    right: -40px;
  }
}

/* Suchna (notice) bar – theme #272350 */
.suchna-bar {
  display: flex;
  align-items: stretch;
  background: linear-gradient(90deg, #eef0f8 0%, #f6f5fb 50%, #eef0f8 100%);
  min-height: 44px;
  overflow: hidden;
}

.suchna-bar__label {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-color: #272350;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  padding: 10px 18px;
  letter-spacing: 0.02em;
}

.suchna-bar__scroll {
  flex: 1;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 10px 16px;
  color: #272350;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

.suchna-bar__scroll a {
  color: #272350;
  font-weight: 500;
  text-decoration: none;
}

.suchna-bar__scroll a:hover {
  color: #1a1838;
  text-decoration: underline;
}

.suchna-bar__scroll img {
  vertical-align: middle;
  margin: 0 6px;
}

@media (max-width: 767px) {
  .suchna-bar__label {
    font-size: 14px;
    padding: 8px 12px;
  }

  .suchna-bar__scroll {
    font-size: 13px;
    padding: 8px 10px;
  }
}

/* Stats / funfact banner – theme #272350 */
.stats-banner {
  background: #272350;
  padding-top: 2.5rem !important;
  padding-bottom: 2.5rem !important;
}

.stats-banner--border-top {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stats-banner__quote {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.45;
  margin: 0 0 0.75rem;
}

.stats-banner__subtitle {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.55;
  margin: 0;
}

.stats-banner__col {
  margin-bottom: 1.25rem;
}

.stats-banner__col:last-child {
  margin-bottom: 0;
}

.stats-banner__item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: left;
  padding: 1rem 1.25rem;
  height: 100%;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.stats-banner__intro {
  padding-right: 1.5rem;
}

.stats-banner__stats > [class*="col-"]:first-child .stats-banner__item {
  border-left: none;
}

.stats-banner__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-right: 14px;
  border: 2px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  color: #fff;
}

.stats-banner__icon .fa {
  font-size: 22px;
  line-height: 1;
}

.stats-banner__icon .fa-rupee {
  font-size: 26px;
}

.stats-banner__value {
  display: block;
  color: #fff;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.stats-banner__label {
  display: block;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.3;
}

@media (min-width: 992px) {
  .stats-banner__col {
    margin-bottom: 0;
  }

  .stats-banner__stats > [class*="col-"]:nth-child(3n + 1) .stats-banner__item {
    border-left: none;
  }
}

@media (max-width: 991px) {
  .stats-banner__intro {
    text-align: center;
    padding-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding-bottom: 1.25rem;
  }

  .stats-banner__item {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 1.25rem;
    padding-bottom: 0.25rem;
  }

  .stats-banner__stats > [class*="col-"]:first-child .stats-banner__item {
    border-top: none;
    padding-top: 0;
  }
}

@media (max-width: 575px) {
  .stats-banner {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }

  .stats-banner__item {
    justify-content: flex-start;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .stats-banner__value {
    font-size: 1.5rem;
  }

  .stats-banner__quote {
    font-size: 1.05rem;
  }

  .stats-banner__subtitle {
    font-size: 0.95rem;
  }
}

/* Services / loan cards section */
.services-section {
  background: linear-gradient(180deg, #f8f7fc 0%, #ffffff 100%);
  border-top: 1px solid rgba(39, 35, 80, 0.08);
}

.services-section__intro {
  text-align: center;
  margin-bottom: 0;
  color: #555;
  line-height: 1.65;
}

.services-section__empty {
  width: 100%;
  text-align: center;
  padding: 1rem;
  background: #f6f5fb;
  font-weight: 600;
  color: #272350;
  border-radius: 8px;
}

.services-section__more {
  margin-top: 0.5rem;
}

.services-section__more-btn {
  background-color: #272350 !important;
  border-color: #272350 !important;
}

.scheme-maturity-note {
  margin: 0 0 1.25rem;
  padding: 0.85rem 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #272350;
  text-align: center;
  background: #f6f5fb;
  border: 1px solid rgba(39, 35, 80, 0.12);
  border-radius: 8px;
  line-height: 1.5;
}

.scheme-maturity-note__amount {
  font-weight: 700;
  color: #272350;
}

.services-about-note {
  margin: 2.5rem 0 1.25rem;
  padding: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: #272350;
  text-align: center;
  line-height: 1.6;
}

.services-about-note--full {
  width: 100%;
}

.services-deposit-note {
  margin: 0 0 1.25rem;
}

.services-deposit-note--full {
  width: 100%;
}

.loan-cards-row {
  margin-top: 0.5rem;
  justify-content: flex-start;
}

.loan-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(39, 35, 80, 0.1);
  border-radius: 14px;
  padding: 1.75rem 1.25rem 1.5rem;
  box-shadow: 0 8px 24px rgba(39, 35, 80, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
  overflow: hidden;
}

.loan-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #272350, #3d3870);
}

.loan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 32px rgba(39, 35, 80, 0.14);
  border-color: rgba(39, 35, 80, 0.2);
}

.loan-card__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  margin-bottom: 0.5rem;
  border: 2px solid rgba(39, 35, 80, 0.2);
  border-radius: 50%;
  background: linear-gradient(145deg, #f6f5fb, #fff);
  padding: 12px;
}

.loan-card__icon {
  width: 100%;
  height: 100%;
  max-width: 56px;
  max-height: 56px;
  object-fit: contain;
}

.loan-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #272350;
  line-height: 1.35;
  margin: 0 0 0.35rem;
  min-height: 2.2em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loan-card__rate-box {
  margin-bottom: 1.25rem;
}

.loan-card__rate {
  display: block;
  font-size: 1.65rem;
  font-weight: 700;
  color: #272350;
  line-height: 1.2;
}

.loan-card__rate-label {
  display: block;
  font-size: 0.9rem;
  color: #777;
  margin-top: 0.25rem;
}

.loan-card__duration {
  width: 100%;
  margin: -0.35rem 0 1.15rem;
  padding: 0.65rem 0.75rem;
  background: #f6f5fb;
  border: 1px solid rgba(39, 35, 80, 0.1);
  border-radius: 8px;
  line-height: 1.4;
}

.loan-card__limit {
  margin-top: -0.75rem;
}

.loan-card__duration-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: #777;
  margin-bottom: 0.2rem;
}

.loan-card__duration-value {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: #272350;
}

.loan-card__btn {
  width: 100%;
  margin-top: auto;
  background-color: #272350 !important;
  border-color: #272350 !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.loan-card__btn:hover {
  background-color: #1a1838 !important;
  border-color: #1a1838 !important;
}

@media (max-width: 991px) {
  .loan-card__title {
    min-height: auto;
  }
}

@media (max-width: 767px) {
  .loan-card {
    padding: 1.5rem 1rem 1.25rem;
  }

  .loan-card__icon-wrap {
    width: 76px;
    height: 76px;
    margin-bottom: 0.45rem;
  }

  .loan-card__rate {
    font-size: 1.5rem;
  }
}

/* Feature / service slider (testimonial) section */
.feature-slider-section {
  background: linear-gradient(135deg, #f4f3fa 0%, #eef0f8 50%, #f8f7fc 100%);
  border-top: 1px solid rgba(39, 35, 80, 0.08);
  border-bottom: 1px solid rgba(39, 35, 80, 0.08);
}

.feature-slider-section .tm-testimonial2-video::before {
  display: none !important;
}

.feature-slider__media {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 32px rgba(39, 35, 80, 0.12);
}

.feature-slider__slide img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.feature-slider__card {
  background: #fff !important;
  border-radius: 14px !important;
  border-top: 4px solid #272350;
  box-shadow: 0 12px 32px rgba(39, 35, 80, 0.1) !important;
  padding: 2rem 2.25rem !important;
  margin: 0 0.5rem;
}

.feature-slider__card .fas,
.feature-slider__card .fa-quote-left {
  display: none !important;
}

.feature-slider__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #272350;
  line-height: 1.4;
  margin: 0 0 1rem;
  text-align: left;
}

.feature-slider__title::after {
  display: none;
}

.feature-slider__text {
  font-size: 1rem;
  line-height: 1.75;
  color: #444;
  text-align: justify;
  margin: 0;
}

.feature-slider__empty {
  text-align: center;
  padding: 2rem;
  color: #272350;
}

.feature-slider-section .tm-testimonial2-contentslider ul.slick-dots {
  bottom: -36px;
}

.feature-slider-section .tm-slider-dots ul.slick-dots li button,
.feature-slider-section .slick-dots li button {
  border-color: #272350 !important;
}

.feature-slider-section .tm-slider-dots ul.slick-dots li.slick-active button,
.feature-slider-section .slick-dots li.slick-active button {
  background: #272350 !important;
}

@media (max-width: 991px) {
  .feature-slider__slide img {
    height: 300px;
  }

  .feature-slider-section .tm-testimonial2-videoslider {
    margin-top: 0 !important;
  }

  .feature-slider-section .tm-testimonial2-contentslider {
    margin-bottom: 3rem !important;
    margin-top: 1rem;
  }

  .feature-slider__card {
    padding: 1.5rem !important;
    margin: 0;
  }
}

@media (max-width: 767px) {
  .feature-slider__slide img {
    height: 260px;
  }

  .feature-slider__title {
    font-size: 1.15rem;
  }

  .feature-slider__text {
    font-size: 0.95rem;
  }
}

/* Contact section */
.contact-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8f7fc 100%);
  border-top: 1px solid rgba(39, 35, 80, 0.08);
  padding-bottom: 3rem !important;
}

.contact-section__intro {
  text-align: center;
  color: #555;
  line-height: 1.65;
  margin-bottom: 0;
}

.contact-section__grid {
  margin-top: 2rem;
  align-items: stretch;
}

.contact-section__form-card {
  height: 100%;
  background: #fff;
  border: 1px solid rgba(39, 35, 80, 0.1);
  border-radius: 14px;
  padding: 2rem !important;
  box-shadow: 0 10px 28px rgba(39, 35, 80, 0.08) !important;
}

.contact-section__form-title {
  color: #272350;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem !important;
  margin-top: 0 !important;
}

.contact-section__field {
  margin-top: 1rem !important;
}

.contact-section__field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #272350;
  margin-bottom: 0.4rem;
}

.contact-section__field input,
.contact-section__field textarea {
  width: 100%;
  padding: 0.75rem 1rem !important;
  border: 1px solid rgba(39, 35, 80, 0.2) !important;
  border-radius: 8px !important;
  font-size: 0.95rem;
  background: #fafafe;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-section__field input:focus,
.contact-section__field textarea:focus {
  border-color: #272350 !important;
  box-shadow: 0 0 0 3px rgba(39, 35, 80, 0.12) !important;
  outline: none;
  background: #fff;
}

.contact-section__field textarea {
  min-height: 110px;
  resize: vertical;
}

.contact-section__submit {
  margin-top: 1.5rem !important;
}

.contact-section__btn {
  background-color: #272350 !important;
  border-color: #272350 !important;
  width: 100%;
  border-radius: 8px !important;
  font-weight: 600 !important;
}

.contact-section__btn:hover {
  background-color: #1a1838 !important;
  border-color: #1a1838 !important;
}

.contact-section__map-card {
  height: 100%;
  min-height: 480px;
  background: #fff;
  border: 1px solid rgba(39, 35, 80, 0.1);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(39, 35, 80, 0.08);
  padding: 0 !important;
}

.contact-section__map-card > div,
.contact-section__map-card iframe,
.contact-section__map-card embed,
.contact-section__map-card object {
  width: 100% !important;
  height: 100% !important;
  min-height: 480px;
  border: 0;
  display: block;
}

@media (max-width: 991px) {
  .contact-section__map-card {
    min-height: 360px;
  }

  .contact-section__map-card iframe,
  .contact-section__map-card embed,
  .contact-section__map-card object {
    min-height: 360px;
  }
}

@media (max-width: 767px) {
  .contact-section__form-card {
    padding: 1.5rem !important;
  }

  .contact-section__map-card {
    min-height: 300px;
  }

  .contact-section__map-card iframe,
  .contact-section__map-card embed,
  .contact-section__map-card object {
    min-height: 300px;
  }
}

/* Site footer – theme #272350 */
.site-footer__main,
.site-footer .footer-toparea.foot {
  background: linear-gradient(165deg, #272350 0%, #1e1c42 55%, #272350 100%) !important;
  box-shadow: none !important;
  padding-top: 3rem !important;
  padding-bottom: 2.5rem !important;
  border-top: 4px solid rgba(255, 255, 255, 0.08);
}

.site-footer .footer-widgets {
  margin-top: 0 !important;
}

.site-footer__grid {
  margin-left: -12px;
  margin-right: -12px;
}

.site-footer__col {
  padding-left: 12px;
  padding-right: 12px;
  margin-bottom: 2rem;
}

.site-footer__col--brand {
  margin-bottom: 2rem;
}

.site-footer__widget {
  margin-top: 0 !important;
}

.site-footer__logo {
  display: inline-block;
  margin-bottom: 1.25rem;
}

.site-footer__logo img {
  max-width: 310px;
  width: 100%;
  height: auto;
  filter: brightness(1.05);
}

.site-footer__about {
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 0.95rem;
  line-height: 1.7;
  text-align: justify;
  margin-bottom: 1.25rem;
}

.site-footer__title {
  color: #fff !important;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 1.25rem !important;
  padding-bottom: 0.75rem;
  position: relative;
  display: inline-block;
  width: 100%;
}

.site-footer__title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
}

.site-footer__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  z-index: 1;
}

.site-footer .widget-title.site-footer__title::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 50px !important;
  height: 3px !important;
  background: #fff !important;
  border-radius: 2px !important;
}

/* Nav links */
.site-footer__nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer__nav li {
  margin-bottom: 0.65rem;
}

.site-footer__nav li a {
  color: rgba(255, 255, 255, 0.85) !important;
  text-decoration: none;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.site-footer__nav li a::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 0.65rem;
  border-right: 2px solid rgba(255, 255, 255, 0.55);
  border-bottom: 2px solid rgba(255, 255, 255, 0.55);
  transform: rotate(-45deg) translateY(-1px);
  flex-shrink: 0;
}

.site-footer__nav li a:hover,
.site-footer__nav li.active a {
  color: #fff !important;
  padding-left: 4px;
}

.site-footer__nav li.active a::before,
.site-footer__nav li a:hover::before {
  border-color: #fff;
}

/* Social */
.site-footer__social {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer__social li {
  margin: 0 !important;
}

.site-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  color: #fff !important;
  font-size: 16px !important;
  padding: 0 !important;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.site-footer__social a:hover {
  background: #fff !important;
  color: #272350 !important;
  border-color: #fff !important;
  transform: translateY(-2px);
}

/* Address */
.site-footer__address-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.site-footer__address-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.site-footer__address-item > i {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
  font-size: 16px !important;
  position: static !important;
  margin: 0 !important;
}

.site-footer__address-item strong {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.site-footer__address-item p {
  color: rgba(255, 255, 255, 0.82) !important;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
  text-align: left;
}

.site-footer__branch-mobile {
  margin-top: 0.35rem !important;
  font-size: 0.88rem !important;
}

.site-footer__branch-mobile i {
  margin-right: 0.35rem;
}

/* Contact list */
.site-footer__contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer__contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 1rem !important;
  padding-left: 0 !important;
  position: static !important;
}

.site-footer__contact-list li i {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
  font-size: 14px !important;
  position: static !important;
  left: auto !important;
  top: auto !important;
}

.site-footer__contact-list li span {
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 0.9rem;
  line-height: 1.5;
  padding-top: 3px;
  overflow-wrap: anywhere;
  word-break: normal;
}

.site-footer__contact-link {
  color: inherit;
  text-decoration: none;
}

.site-footer__contact-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.site-footer__bottom {
  background-color: #1a1838 !important;
  padding: 14px 0 !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 0.9rem;
  text-align: center;
}

@media (min-width: 992px) {
  .site-footer__col {
    margin-bottom: 0;
  }

  .site-footer__col--brand {
    padding-right: 1.5rem;
  }
}

@media (max-width: 991px) {
  .site-footer__col--brand {
    text-align: center;
  }

  .site-footer__about {
    text-align: center;
  }

  .site-footer__social {
    justify-content: center;
  }

  .site-footer__logo img {
    max-width: 240px;
  }
}

@media (max-width: 767px) {
  .site-footer__main {
    padding-top: 2.5rem !important;
    padding-bottom: 2rem !important;
  }

  .site-footer__col {
    margin-bottom: 1.75rem;
  }

  .site-footer__col.col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .site-footer__title {
    text-align: left;
  }
}

/* Floating action buttons – theme #272350 */
.floating-contact {
  position: fixed;
  left: 24px;
  bottom: 28px;
  z-index: 9999;
}

.contact-toggle {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #272350 0%, #3d3870 100%);
  color: #fff;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-item {
  position: absolute;
  left: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  border: 2px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  transition: opacity 0.3s ease, transform 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.contact-item.whatsapp {
  background: #25d366;
  bottom: 58px;
}

.contact-item.call {
  background: #272350;
  bottom: 112px;
}

.floating-contact.active .contact-item {
  opacity: 1;
  pointer-events: auto;
}

.contact-toggle:hover {
  background: #fff;
  color: #272350;
  border-color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.3);
}

.contact-item.whatsapp:hover {
  background: #fff !important;
  color: #25d366 !important;
  border-color: #25d366 !important;
  transform: translateY(-2px);
}

.contact-item.call:hover {
  background: #fff !important;
  color: #272350 !important;
  border-color: #272350 !important;
  transform: translateY(-2px);
}

#scrollUp {
  right: 24px !important;
  bottom: 28px !important;
  width: 48px !important;
  height: 48px !important;
  line-height: 45px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, #272350 0%, #3d3870 100%) !important;
  color: #fff !important;
  border: 2px solid rgba(255, 255, 255, 0.4) !important;
  font-size: 16px !important;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28) !important;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease !important;
}

#scrollUp:hover {
  background: #fff !important;
  color: #272350 !important;
  border-color: #fff !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.3) !important;
}

@media (max-width: 767px) {
  .floating-contact {
    left: 16px;
    bottom: 22px;
  }

  #scrollUp {
    right: 16px !important;
    bottom: 22px !important;
    width: 44px !important;
    height: 44px !important;
    line-height: 44px !important;
  }

  .contact-toggle {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .contact-item {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  .contact-item.whatsapp {
    bottom: 52px;
  }

  .contact-item.call {
    bottom: 100px;
  }
}

/* Home gallery section */
.home-gallery-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8f7fc 100%);
  border-top: 1px solid rgba(39, 35, 80, 0.08);
}

.home-gallery-section__intro {
  text-align: center;
  color: #555;
  line-height: 1.65;
  margin-bottom: 0;
}

.home-gallery-grid {
  margin-top: 0.5rem;
}

.home-gallery-section__empty {
  width: 100%;
  text-align: center;
  padding: 1.5rem;
  background: #f6f5fb;
  color: #272350;
  font-weight: 600;
  border-radius: 10px;
}

.home-gallery-section__more {
  margin-top: 0.5rem;
}

.gallery-card {
  height: 100%;
  background: #fff;
  border: 1px solid rgba(39, 35, 80, 0.1);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(39, 35, 80, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(39, 35, 80, 0.14);
}

.gallery-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #eef0f8;
}

.gallery-card__link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.gallery-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-card:hover .gallery-card__media img {
  transform: scale(1.06);
}

.gallery-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(39, 35, 80, 0.45);
  color: #fff;
  font-size: 1.75rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.gallery-card:hover .gallery-card__overlay {
  opacity: 1;
}

.gallery-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #272350;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 2;
}

.gallery-card__hidden-link {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.gallery-card__body {
  padding: 1rem 1.15rem 1.15rem;
}

.gallery-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: #272350;
  margin: 0 0 0.35rem;
  line-height: 1.4;
}

.gallery-card__meta {
  font-size: 0.88rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

.gallery-card__media--video {
  aspect-ratio: 16 / 9;
  padding-top: 0 !important;
}

.gallery-card__media--video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

@media (max-width: 767px) {
  .gallery-card__media {
    aspect-ratio: 16 / 10;
  }

  .gallery-card__title {
    font-size: 0.95rem;
  }
}

/* ========== Main navigation – active half underline & hover full underline ========== */
.tm-navigation > ul > li > a.c-nav-link.w-nav-link {
  position: relative;
}

.tm-navigation > ul > li > a.c-nav-link.w-nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 22px;
  width: 0;
  height: 3px;
  background-color: #272350;
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width 0.25s ease, left 0.25s ease, transform 0.25s ease;
}

.tm-navigation > ul > li > a.c-nav-link.w-nav-link.current_page_item {
  color: #272350 !important;
}

.tm-navigation > ul > li > a.c-nav-link.w-nav-link.current_page_item::after {
  width: 50%;
}

.tm-navigation > ul > li > a.c-nav-link.w-nav-link:not(.current_page_item):hover {
  color: #272350;
}

.tm-navigation > ul > li > a.c-nav-link.w-nav-link:not(.current_page_item):hover::after {
  width: calc(100% - 40px);
  left: 20px;
  transform: none;
}

.tm-navigation > ul > li > a.c-nav-link.w-nav-link.current_page_item:hover::after {
  width: 50%;
  left: 50%;
  transform: translateX(-50%);
}

/* Desktop header action buttons */
.tm-navigation > ul > li > a.mobile-nav-btn,
.tm-navigation > ul > li > a.loginadmin {
  color: #ffffff !important;
  background-color: #060647;
  border: 1px solid #060647;
  font-weight: 700 !important;
  padding: 6px 12px !important;
  border-radius: 7px;
  font-size: 14px !important;
  text-align: center;
  display: inline-block;
}

.tm-navigation > ul > li.mobile-nav-action {
  display: inline-block;
  vertical-align: middle;
}

.tm-navigation > ul > li.mobile-nav-action.sxza {
  margin-right: 0.5rem;
  margin-left: 0.5rem;
}

/* Tablet – tighter nav spacing */
@media (min-width: 992px) and (max-width: 1199px) {
  .tm-navigation ul li a {
    padding: 28px 12px;
    font-size: 15px;
  }
}

/* Mobile & tablet – responsive header + hamburger menu */
@media (max-width: 991px) {
  .header {
    position: relative;
    z-index: 1000;
  }

  .header-bottomarea {
    position: relative;
    z-index: 1001;
  }

  .header-bottomarea > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    position: relative;
  }

  .header-bottominner {
    flex: 1;
    min-width: 0;
    width: auto;
    display: flex;
    align-items: center;
  }

  .header-bottominner .header-logo {
    flex: 1;
    min-width: 0;
    max-width: calc(100% - 52px) !important;
    padding: 10px 0 !important;
  }

  .header-bottominner .header-logo a {
    display: block;
    line-height: 0;
    max-width: 100%;
  }

  .header-bottominner .penci-logo,
  .header-bottominner .herlo {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: clamp(68px, 18vw, 82px) !important;
    object-fit: contain;
    object-position: left center;
  }

  .header-bottominner.deskhead {
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .header-mobilemenu {
    flex-shrink: 0;
    width: 44px;
    position: relative;
    z-index: 1002;
  }

  .header-mobilemenu .tm-mobilenav,
  .header-mobilemenu .mean-container,
  .header-mobilemenu .mean-container .mean-bar {
    position: static !important;
    width: 44px;
    min-height: 44px;
    background: transparent !important;
    padding: 0 !important;
    float: none !important;
  }

  .header-mobilemenu .mean-container a.meanmenu-reveal {
    position: absolute !important;
    top: 50% !important;
    right: 0 !important;
    left: auto !important;
    margin: 0 !important;
    transform: translateY(-50%);
    color: #272350 !important;
    padding: 10px !important;
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 1003;
  }

  .header-mobilemenu .mean-container a.meanmenu-reveal span {
    background: #272350 !important;
  }

  .header-mobilemenu .mean-container .mean-nav {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    top: var(--mobile-header-offset, 108px) !important;
    width: 100vw !important;
    max-width: 100% !important;
    max-height: calc(100vh - var(--mobile-header-offset, 108px));
    margin-top: 0 !important;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 9998;
    box-sizing: border-box;
    background: #272350 !important;
    float: none !important;
  }

  .header-mobilemenu .mean-container .mean-nav > ul {
    width: 100% !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 0 0 24px !important;
    margin: 0;
  }

  .header-mobilemenu .mean-container .mean-nav > ul > li.mobile-nav-action {
    float: none !important;
    width: 100% !important;
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #272350 !important;
    border: none !important;
  }

  .header-mobilemenu .mean-container .mean-nav > ul > li > a.c-nav-link.w-nav-link,
  .header-mobilemenu .mean-container .mean-nav > ul > li > a.nav-link:not(.mobile-nav-btn) {
    position: relative;
    float: none !important;
    display: block !important;
    width: 100% !important;
    box-sizing: border-box;
    padding: 14px 20px !important;
    white-space: normal !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: left !important;
    font-size: 16px !important;
    line-height: 1.45 !important;
    text-transform: none !important;
    color: #ffffff !important;
    border-top: 1px solid rgba(255, 255, 255, 0.15) !important;
  }

  .header-mobilemenu .mean-container .mean-nav > ul > li > a.c-nav-link.w-nav-link::after {
    content: "";
    position: absolute;
    left: 20px;
    bottom: 8px;
    width: 0;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: width 0.25s ease;
  }

  .header-mobilemenu .mean-container .mean-nav > ul > li > a.c-nav-link.w-nav-link.current_page_item {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1) !important;
  }

  .header-mobilemenu .mean-container .mean-nav > ul > li > a.c-nav-link.w-nav-link.current_page_item::after {
    width: 40px;
  }

  .header-mobilemenu .mean-container .mean-nav > ul > li > a.c-nav-link.w-nav-link:not(.current_page_item):hover::after {
    width: calc(100% - 40px);
  }

  .header-mobilemenu .mean-container .mean-nav > ul > li > a.c-nav-link.w-nav-link:not(.current_page_item):hover,
  .header-mobilemenu .mean-container .mean-nav > ul > li > a.nav-link:not(.mobile-nav-btn):hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #fff !important;
  }

  .header-mobilemenu .mean-container .mean-nav > ul > li > a.mobile-nav-btn:hover,
  .header-mobilemenu .mean-container .mean-nav > ul > li > a.loginadmin:hover,
  .header-mobilemenu .mean-container .mean-nav > ul > li > a#loans:hover {
    background-color: #ffffff !important;
    color: #272350 !important;
  }

  .header-mobilemenu .mean-container .mean-nav > ul > li {
    float: none !important;
    width: 100% !important;
    display: block !important;
  }

  .header-mobilemenu .mean-container .mean-nav > ul > li > a.mobile-nav-btn,
  .header-mobilemenu .mean-container .mean-nav > ul > li > a.loginadmin,
  .header-mobilemenu .mean-container .mean-nav > ul > li > a#loans {
    display: block !important;
    width: calc(100% - 40px) !important;
    max-width: none !important;
    margin: 10px 20px !important;
    padding: 12px 16px !important;
    text-align: center !important;
    box-sizing: border-box !important;
    border-radius: 8px !important;
    white-space: normal !important;
    float: none !important;
    background-color: #ffffff !important;
    color: #272350 !important;
    border: 1px solid #ffffff !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
    text-transform: none !important;
    border-top: 1px solid #ffffff !important;
  }

  .header-mobilemenu .mean-container .mean-nav > ul > li.mobile-nav-action + li.mobile-nav-action > a.mobile-nav-btn,
  .header-mobilemenu .mean-container .mean-nav > ul > li.mobile-nav-action + li.mobile-nav-action > a.loginadmin {
    margin-top: 0 !important;
  }

  .header-mobilemenu .mean-container .mean-nav > ul > li.mobile-nav-action:last-child {
    padding-bottom: 8px !important;
  }

  .header-mobilemenu .mean-container .mean-nav .sxza {
    margin: 0 !important;
    border: none !important;
    width: 100% !important;
    display: block !important;
  }

  .header-mobilemenu .mean-container .mean-nav .profile-dropdown {
    width: 100% !important;
  }

  .header-mobilemenu .mean-container .mean-nav .profile-toggle {
    justify-content: flex-start;
    gap: 10px;
    padding: 14px 20px !important;
  }

  .header-mobilemenu .mean-container .mean-nav .profile-menu {
    position: static !important;
    width: 100% !important;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.15);
  }

  body.mobile-menu-open {
    overflow: hidden;
  }
}

@media (max-width: 767px) {
  .current_page_item {
    color: #272350 !important;
  }

  .header-mobilemenu .mean-container .mean-nav > ul > li > a#loans,
  .header-mobilemenu .mean-container .mean-nav > ul > li > a.loginadmin,
  .header-mobilemenu .mean-container .mean-nav > ul > li > a.mobile-nav-btn {
    background-color: #ffffff !important;
    color: #272350 !important;
  }

  .header-mobilemenu .mean-container .mean-nav .sxza {
    margin-left: 0 !important;
  }

  .header-mobilemenu .mean-container .mean-nav > ul > li > a.c-nav-link.w-nav-link.current_page_item {
    color: #fff !important;
  }

  .header-bottominner .header-logo {
    max-width: calc(100% - 50px) !important;
    padding: 8px 0 !important;
  }

  .header-bottominner .penci-logo,
  .header-bottominner .herlo {
    max-height: clamp(64px, 20vw, 78px) !important;
  }
}

@media (max-width: 480px) {
  .header-bottominner .header-logo {
    max-width: calc(100% - 48px) !important;
    padding: 6px 0 !important;
  }

  .header-bottominner .penci-logo,
  .header-bottominner .herlo {
    max-height: clamp(58px, 22vw, 72px) !important;
  }
}

/* ========== About – आमची प्रेरणा (Founder memorial) ========== */
.founder-inspiration {
  background: #ffffff;
  padding: clamp(2.5rem, 5vw, 3.75rem) 0 clamp(2rem, 4vw, 3rem);
  position: relative;
}

.founder-inspiration__panel {
  position: relative;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: linear-gradient(135deg, #fafbfd 0%, #ffffff 48%, #f5f8fc 100%);
  border: 1px solid rgba(39, 35, 80, 0.07);
  border-radius: 20px;
  box-shadow:
    0 16px 40px rgba(39, 35, 80, 0.08),
    0 2px 8px rgba(39, 35, 80, 0.04);
  overflow: hidden;
}

.founder-inspiration__pattern {
  position: absolute;
  top: -30px;
  right: -30px;
  width: min(260px, 42vw);
  height: min(260px, 42vw);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(39, 35, 80, 0.035) 0 18%, transparent 19%),
    radial-gradient(circle at center, rgba(39, 35, 80, 0.025) 0 36%, transparent 37%),
    radial-gradient(circle at center, rgba(39, 35, 80, 0.02) 0 54%, transparent 55%);
  pointer-events: none;
}

.founder-inspiration__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

.founder-inspiration__avatar-ring {
  width: min(240px, 64vw);
  height: min(240px, 64vw);
  padding: 7px;
  border-radius: 50%;
  background: linear-gradient(145deg, #f7e7a8 0%, #d4af37 40%, #b8860b 75%, #f0d060 100%);
  box-shadow:
    0 12px 28px rgba(184, 134, 11, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}

.founder-inspiration__avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  background: #c41e24;
  box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.12);
}

.founder-inspiration__avatar {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.founder-inspiration__content {
  position: relative;
  z-index: 1;
  text-align: left;
}

.founder-inspiration__header {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  width: 100%;
  max-width: 100%;
}

.founder-inspiration__title {
  margin: 0;
  font-size: clamp(1.25rem, 2.8vw, 1.6rem);
  font-weight: 800;
  color: #d8160e;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.founder-inspiration__line {
  flex: 1;
  max-width: 72px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #d4af37 45%, #f0d060 55%, transparent);
  position: relative;
}

.founder-inspiration__line::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, #f0d060 0%, #d8160e 60%);
  transform: translateY(-50%);
}

.founder-inspiration__name {
  margin: 0 0 0.65rem;
  font-size: clamp(1.45rem, 3.2vw, 1.9rem);
  font-weight: 800;
  color: #d8160e;
  line-height: 1.35;
}

.founder-inspiration__role {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.4rem 0.95rem;
  font-size: clamp(0.9rem, 2vw, 1rem);
  font-weight: 700;
  color: #272350;
  background: #eef0f8;
  border-left: 4px solid #d8160e;
  border-radius: 0 8px 8px 0;
}

.founder-inspiration__message {
  margin: 0;
  font-size: clamp(0.92rem, 2vw, 1.02rem);
  line-height: 1.8;
  color: #55556a;
  text-align: justify;
  max-width: 620px;
}

.team-member-area {
  border-top: 1px solid #eceaf4;
  padding-top: clamp(2.5rem, 5vw, 3.5rem) !important;
}

@media (min-width: 992px) {
  .founder-inspiration__header {
    max-width: 420px;
  }
}

@media (max-width: 991px) {
  .founder-inspiration__content {
    text-align: center;
  }

  .founder-inspiration__header {
    justify-content: center;
  }

  .founder-inspiration__message {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
}

@media (max-width: 767px) {
  .founder-inspiration {
    padding: 2rem 0 1.75rem;
  }

  .founder-inspiration__panel {
    padding: 1.25rem 1rem 1.35rem;
    border-radius: 16px;
  }

  .founder-inspiration__avatar-ring {
    width: min(210px, 58vw);
    height: min(210px, 58vw);
  }

  .founder-inspiration__line {
    max-width: 48px;
  }
}

@media (max-width: 480px) {
  .founder-inspiration__avatar-ring {
    width: min(190px, 62vw);
    height: min(190px, 62vw);
    padding: 5px;
  }

  .founder-inspiration__line {
    max-width: 32px;
  }
}

/* Contact page */
.contact-page {
  background: linear-gradient(180deg, #ffffff 0%, #f8f7fc 100%) !important;
}

.contact-page__intro {
  margin-bottom: 2.25rem;
}

.contact-page__heading {
  color: #272350;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-page__subtitle {
  color: #666;
  font-size: 1rem;
  margin: 0;
  line-height: 1.6;
}

.contact-page__locations-grid {
  row-gap: 1.25rem;
}

.contact-page__location-col {
  display: flex;
}

.contact-page__location-col--head-office {
  margin-bottom: 0.25rem;
}

.contact-page__location-card--head-office {
  padding: 1.25rem 1.25rem 1.5rem;
}

.contact-page__head-office-grid {
  margin: 0;
}

.contact-page__head-office-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-page__head-office-map {
  width: 100%;
  min-height: 220px;
  margin-top: 0.25rem;
  flex: none;
}

.contact-page__head-office-map iframe,
.contact-page__head-office-map embed,
.contact-page__head-office-map object {
  min-height: 220px;
}

.contact-page__head-office-form {
  display: flex;
  flex-direction: column;
}

.contact-page__form-card--inline {
  height: 100%;
  margin-bottom: 0;
  padding: 1.1rem 1.15rem 1.25rem;
  border: 1px solid rgba(39, 35, 80, 0.08);
  border-radius: 12px;
  background: #faf9fd;
  box-shadow: none;
}

.contact-page__form-card--inline .contact-section__form-title {
  font-size: 1.05rem;
}

.contact-page__form-card--inline .contact-page__form-subtitle {
  margin: -0.5rem 0 1rem;
}

.contact-page__branch-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-page__branch-map {
  width: 100%;
  min-height: 200px;
  margin-top: 0.25rem;
  flex: none;
}

.contact-page__branch-map iframe,
.contact-page__branch-map embed,
.contact-page__branch-map object {
  min-height: 200px;
}

.contact-page__location-card {
  width: 100%;
  background: #fff;
  border: 1px solid rgba(39, 35, 80, 0.1);
  border-radius: 14px;
  padding: 1.25rem;
  box-shadow: 0 8px 24px rgba(39, 35, 80, 0.07);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  display: flex;
  flex-direction: column;
}

.contact-page__location-card:hover {
  box-shadow: 0 12px 28px rgba(39, 35, 80, 0.1);
  transform: translateY(-2px);
}

.contact-page__location-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(39, 35, 80, 0.08);
}

.contact-page__location-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #272350 0%, #3d3870 100%);
  color: #fff;
  font-size: 0.9rem;
  line-height: 1;
}

.contact-page__location-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #272350;
  line-height: 1.35;
}

.contact-page__location-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  flex: 1;
}

.contact-page__location-info {
  flex: 1;
  min-width: 0;
}

.contact-page__location-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.contact-page__location-row {
  display: grid;
  grid-template-columns: 22px 72px 1fr;
  gap: 0.5rem;
  align-items: start;
  font-size: 0.9rem;
  line-height: 1.55;
}

.contact-page__row-icon {
  color: #a2130e;
  font-size: 0.82rem;
  line-height: 1.55;
  text-align: center;
}

.contact-page__row-label {
  font-weight: 600;
  color: #272350;
}

.contact-page__row-value {
  color: #444;
  word-break: break-word;
}

.contact-page__row-value a {
  color: #444;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-page__row-value a:hover {
  color: #272350;
}

.contact-page__location-map {
  flex: 1;
  min-width: 0;
  min-height: 200px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(39, 35, 80, 0.08);
  background: #f4f3f9;
}

.contact-page__location-map iframe,
.contact-page__location-map embed,
.contact-page__location-map object {
  width: 100% !important;
  height: 100% !important;
  min-height: 200px;
  border: 0;
  display: block;
}

.contact-page__form-subtitle {
  color: #666;
  font-size: 0.95rem;
  margin: -0.75rem 0 1.25rem;
  line-height: 1.55;
}

.contact-page__form-card .contact-section__btn {
  width: auto;
  min-width: 200px;
  padding-left: 2rem !important;
  padding-right: 2rem !important;
}

@media (max-width: 991px) {
  .contact-page__head-office-form {
    margin-top: 0.25rem;
  }

  .contact-page__head-office-map {
    min-height: 240px;
  }

  .contact-page__head-office-map iframe,
  .contact-page__head-office-map embed,
  .contact-page__head-office-map object {
    min-height: 240px;
  }

  .contact-page__branch-map {
    min-height: 220px;
  }

  .contact-page__branch-map iframe,
  .contact-page__branch-map embed,
  .contact-page__branch-map object {
    min-height: 220px;
  }

  .contact-page__location-map {
    min-height: 220px;
  }

  .contact-page__location-map iframe,
  .contact-page__location-map embed,
  .contact-page__location-map object {
    min-height: 220px;
  }
}

@media (max-width: 575px) {
  .contact-page__location-row {
    grid-template-columns: 20px 64px 1fr;
    font-size: 0.85rem;
  }

  .contact-page__location-card {
    padding: 1rem;
  }

  .contact-page__form-card .contact-section__btn {
    width: 100%;
  }

  .contact-page__form-card--inline {
    padding: 1rem;
  }
}

/* Service page tabs — full clickable area + pointer cursor */
.services-wrap[data-service-tabs] .service-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  padding: 0;
  margin: 0 0 45px !important;
  list-style: none;
  width: 100%;
  position: relative;
  z-index: 20;
}

.services-wrap[data-service-tabs] .service-tabs-nav .service-tab-item {
  flex: 1 1 0;
  min-width: 140px;
  display: flex;
  margin: 0;
  padding: 0;
}

.services-wrap[data-service-tabs] .service-tabs-nav .service-tab-link {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 50px;
  padding: 10px 16px;
  line-height: 1.35;
  text-align: center;
  cursor: pointer !important;
  background: #ebebeb;
  color: #333333 !important;
  font-size: 18px;
  font-weight: 700;
  font-family: inherit;
  border: none;
  border-radius: 0;
  box-sizing: border-box;
  pointer-events: auto !important;
  position: relative;
  z-index: 1;
}

.services-wrap[data-service-tabs] .service-tabs-nav .service-tab-link:hover,
.services-wrap[data-service-tabs] .service-tabs-nav .service-tab-link:focus {
  color: #272350 !important;
  outline: none;
}

.services-wrap[data-service-tabs] .service-tabs-nav .service-tab-link.active {
  background: #272350 !important;
  color: #ffffff !important;
}

.services-wrap[data-service-tabs] .tab-content {
  position: relative;
  z-index: 1;
}

.services-wrap[data-service-tabs] .tab-content .tab-pane:not(.active) {
  display: none !important;
  pointer-events: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
}

.services-wrap[data-service-tabs] .tab-content .tab-pane.active {
  display: block !important;
  pointer-events: auto !important;
  visibility: visible !important;
  height: auto !important;
  overflow: visible !important;
  opacity: 1 !important;
}

@media only screen and (max-width: 767px) {
  .services-wrap[data-service-tabs] .service-tabs-nav .service-tab-item {
    flex: 1 1 calc(50% - 1px);
    min-width: 0;
  }
}

@media only screen and (max-width: 575px) {
  .services-wrap[data-service-tabs] .service-tabs-nav .service-tab-link {
    padding: 10px 12px;
    font-size: 16px;
  }
}

/* Loan apply modal — multi-line loan limit display */
textarea.loan-limit-display,
.loan-limit-display.form-control {
  display: block;
  width: 100%;
  height: auto !important;
  min-height: 38px;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #e9ecef !important;
  border: 1px solid #ced4da !important;
  border-radius: 0.25rem;
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-wrap: break-word;
  overflow: hidden;
  resize: none;
  box-sizing: border-box;
  cursor: default;
}

textarea.loan-limit-display:focus,
.loan-limit-display.form-control:focus {
  outline: none;
  box-shadow: none;
  border-color: #ced4da !important;
}
