/* =====================================================================
   Amrit Malwa Capital Limited – site overrides & components
   Loaded after style.css on every page.
   ===================================================================== */

/* ---------- Logo sizing (AMCL artwork is wider than the template logo) */
/* logo.gif (450x180, animated) has dark artwork, so on dark backgrounds
   (home transparent header, mobile menu, footer) it sits on a white card. */
/* Header logo: transparent PNG, no background card, at most 150px */
.main-header .logo img,
.sticky-header .logo img { max-width: 300px; max-height: 150px; width: auto; height: auto; background: none; padding: 0; border-radius: 0; }
.main-header .sticky-header .logo img { max-width: 300px; max-height: none; }
/* Main header logo on a white tab hanging from the top edge */
.main-header .header-lower .logo-box .logo {
  background: #fff; padding: 0 10px; margin-top: 0;
  border-radius: 0 0 15px 15px;
  box-shadow: 6px 6px 14px rgba(0, 0, 0, .35);
}
/* Inner pages: logo tab without the drop shadow (home keeps it) */
.main-header.header-inner .header-lower .logo-box .logo { box-shadow: none; }
.mobile-menu .nav-logo img { max-height: 100px; width: auto; }
.footer-style-one .bottom-box .logo-box .logo img { max-height: 72px; width: auto; }
.mobile-menu .nav-logo img,
.footer-style-one .bottom-box .logo-box .logo img { background: #fff; border-radius: 10px; padding: 2px 8px; }

/* ---------- Preloader text (template default is "Finvoro") */
.loader:before { content: "AMCL"; }

/* ---------- Homepage hero overlay (replaces placeholder shadow image) */
.slider-four .inner-container .shadow {
  background: linear-gradient(180deg, rgba(6, 18, 32, .55) 0%, rgba(6, 18, 32, .25) 45%, rgba(6, 18, 32, .75) 100%);
}

/* ---------- Inner page header & title banner */
.header-inner { background: var(--theme-color-white); box-shadow: 0 2px 18px rgba(0, 0, 0, .05); }
.header-inner .header-top-wrapper a { color: inherit; }
.header-1 .header-top-wrapper ul li span { color: #fff; } /* topbar "Toll Free:" label */
/* Inner-page banner image (from amritmalwacapital.com; title is part of the image) */
.page-banner { margin-top: 150px; position: relative; }
.page-banner img { display: block; width: 100%; height: auto; border-radius: 20px; background: #eef3f4; }
.page-banner-crumbs { padding: 18px 0 0; }
.page-banner-crumbs .page-breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: #5d6d72; }
.page-banner-crumbs .page-breadcrumb li { color: inherit; margin: 0; padding: 0; }
.page-banner-crumbs .page-breadcrumb li::after { position: static; content: "/"; margin-left: 6px; color: #a7b4b8; font-family: inherit; }
.page-banner-crumbs .page-breadcrumb li a { color: var(--theme-color1); }
.page-banner-crumbs .page-breadcrumb li:last-child { color: var(--headings-color); font-weight: 500; }
@media (max-width: 767.98px) { .page-banner img { border-radius: 12px; } }
.page-title .title-outer { background-image: url(../images/amcl/hero-bg.jpg); padding: 120px 16px; }
.page-title h1.title { font-size: 56px; line-height: 1.15; color: #fff; margin-bottom: 10px; }
@media (max-width: 767.98px) {
  .page-title .title-outer { padding: 70px 16px; }
  .page-title h1.title { font-size: 32px; }
}

/* ---------- Footer */
/* Template reserves 320px at the top for an overlapping contact box. Only the
   homepage has that box (it overlaps ~206px), so pad just enough to clear it there. */
.footer-style-one { padding-top: 70px; }
.contact-section.pb-0.pt-0 + .footer-style-one { padding-top: 266px; }
.footer-style-one .widgets-section { padding-bottom: 10px; }
@media (max-width: 991.98px) {
  .footer-style-one { padding-top: 50px; }
  .contact-section.pb-0.pt-0 + .footer-style-one { padding-top: 246px; }
}
.footer-style-one .contact-info .h5 { font-size: 16px; line-height: 1.5; overflow-wrap: break-word; }
.footer-style-one .shedule-list li a { color: inherit; }
.footer-disclaimer { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0 6px; }
.footer-disclaimer p { color: rgba(255, 255, 255, .55); font-size: 13px; line-height: 1.7; margin: 0; }

/* ---------- Generic section helpers */
.amcl-section { padding: 100px 0; }
.amcl-section.pt-0 { padding-top: 0; }
.amcl-section.bg-soft { background: var(--theme-color3); }
@media (max-width: 767.98px) { .amcl-section { padding: 60px 0; } }
.amcl-lead { font-size: 17px; line-height: 1.85; color: var(--text-color); }
.amcl-card {
  background: #fff; border: 1px solid #e9eef0; border-radius: 16px;
  padding: 30px; height: 100%; transition: box-shadow .25s ease, transform .25s ease;
}
.amcl-card:hover { box-shadow: 0 18px 40px rgba(0, 47, 59, .08); transform: translateY(-3px); }
.amcl-card .icon-circle {
  width: 56px; height: 56px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: rgba(var(--theme-color1-rgb), .1); color: var(--theme-color1); font-size: 22px; margin-bottom: 18px;
}
.amcl-card h3, .amcl-card .h5 { font-size: 20px; margin-bottom: 10px; }
.amcl-card p:last-child { margin-bottom: 0; }
.amcl-check-list { list-style: none; padding: 0; margin: 0; }
.amcl-check-list li { position: relative; padding-left: 28px; margin-bottom: 10px; line-height: 1.6; }
.amcl-check-list li::before {
  content: "\f00c"; font-family: "Font Awesome 6 Pro", "Font Awesome 6 Free"; font-weight: 400;
  position: absolute; left: 0; top: 1px; color: var(--theme-color1);
}
.amcl-notice {
  border-left: 4px solid var(--theme-color1); background: rgba(var(--theme-color1-rgb), .06);
  border-radius: 10px; padding: 18px 22px; font-size: 15px; line-height: 1.75;
}
.amcl-img { width: 100%; border-radius: 16px; display: block; }

/* ---------- Data tables (eligibility, charges, financials) */
.amcl-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 14px; border: 1px solid #e3eaec; }
.amcl-table { width: 100%; border-collapse: collapse; min-width: 520px; font-size: 15px; }
.amcl-table th, .amcl-table td { padding: 14px 18px; border-bottom: 1px solid #e3eaec; vertical-align: top; text-align: left; }
.amcl-table thead th { background: var(--theme-color1); color: #fff; font-weight: 600; white-space: nowrap; }
.amcl-table tbody th { font-weight: 600; color: var(--headings-color); background: #f7fafb; }
.amcl-table tbody tr:last-child th, .amcl-table tbody tr:last-child td { border-bottom: 0; }
.amcl-table td.num, .amcl-table th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.amcl-table .sticky-col { position: sticky; left: 0; z-index: 1; }

/* ---------- Loan sidebar */
.loan-sidebar .sidebar-service-list ul { list-style: none; padding: 0; }
.loan-sidebar .apply-box {
  background: var(--theme-color2); color: #fff; border-radius: 16px; padding: 30px; margin-top: 30px;
}
.loan-sidebar .apply-box .h4 { color: #fff; margin-bottom: 10px; }
.loan-sidebar .apply-box p { color: rgba(255, 255, 255, .75); }
.loan-sidebar .apply-box a.phone { display: block; color: #fff; font-size: 22px; font-weight: 600; margin-bottom: 18px; }

/* ---------- Steps */
.amcl-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 18px; counter-reset: step; }
.amcl-step { background: #fff; border: 1px solid #e9eef0; border-radius: 14px; padding: 22px 18px; text-align: center; }
.amcl-step::before {
  counter-increment: step; content: counter(step);
  display: inline-flex; width: 38px; height: 38px; border-radius: 50%; align-items: center; justify-content: center;
  background: var(--theme-color1); color: #fff; font-weight: 600; margin-bottom: 12px;
}
.amcl-step p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--headings-color); }

/* ---------- EMI calculator (card layout: inputs left, result card right) */
/* .emi-calc is a size container so it adapts to narrow columns (loan pages) */
.emi-calc { container-type: inline-size; --emi-soft: #f1f5f6; --emi-line: #e4ebed; background: #fff; border: 1px solid var(--emi-line); border-radius: 28px; padding: 40px 40px 28px; box-shadow: 0 20px 50px rgba(3, 40, 55, .08); }
.emi-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 34px; }
.emi-title { font-size: 34px; font-weight: 500; margin: 0; letter-spacing: -.5px; }
.emi-tabs { display: inline-flex; gap: 8px; }
.emi-tab, .emi-pill { border: 0; background: var(--emi-soft); color: var(--headings-color); font-weight: 600; font-size: 14px; padding: 9px 14px; border-radius: 8px; line-height: 1.2; transition: background .2s, color .2s; cursor: pointer; }
.emi-tab:hover, .emi-pill:hover { background: #e3ecee; }
.emi-tab.is-active, .emi-pill.is-active { background: var(--theme-color1); color: #fff; }
span.emi-tab { display: inline-block; cursor: default; }
.emi-tab:focus-visible, .emi-pill:focus-visible, .emi-schedule-toggle:focus-visible, .emi-apply:focus-visible { outline: 2px solid var(--theme-color1); outline-offset: 2px; }

.emi-body { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 34px; align-items: start; }
.emi-field { margin-bottom: 30px; }
.emi-field > label, .emi-label { display: block; font-weight: 600; color: var(--headings-color); font-size: 15px; margin-bottom: 12px; }
.emi-field > label small { font-weight: 400; color: #7a8a8f; }
.emi-control { display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 24px; align-items: start; }

/* slider */
.emi-slider { position: relative; padding-top: 4px; }
.emi-slider input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; margin: 0; cursor: pointer;
  background: linear-gradient(to right, var(--theme-color1) var(--fill, 0%), #e8eef0 var(--fill, 0%)); }
.emi-slider input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 3px solid var(--theme-color1); box-shadow: 0 2px 6px rgba(0, 0, 0, .15); }
.emi-slider input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--theme-color1); }
.emi-slider input[type="range"]:focus-visible { outline: 2px solid rgba(var(--theme-color1-rgb), .4); outline-offset: 4px; }
.emi-ticks { position: relative; height: 22px; margin: 8px 10px 0; }
.emi-ticks span { position: absolute; top: 0; transform: translateX(-50%); font-size: 12px; color: #5d6d72; white-space: nowrap; }
.emi-ticks span::before { content: ""; position: absolute; left: 50%; top: -11px; width: 3px; height: 3px; margin-left: -1.5px; border-radius: 50%; background: #23363b; }
.emi-ticks span:first-child { transform: none; margin-left: -10px; }
.emi-ticks span:first-child::before { left: 10px; }
.emi-ticks span:last-child { transform: translateX(-100%); margin-left: 10px; }
.emi-ticks span:last-child::before { left: auto; right: 10px; }

/* value boxes */
.emi-box { display: flex; align-items: center; background: var(--emi-soft); border-radius: 8px; height: 44px; padding: 0 12px; border: 1px solid transparent; transition: border-color .2s; }
.emi-box:focus-within { border-color: var(--theme-color1); background: #fff; }
.emi-box input { border: 0; background: transparent; width: 100%; min-width: 0; height: 100%; font-weight: 700; font-size: 15px; color: var(--headings-color); font-variant-numeric: tabular-nums; outline: none; padding: 0; -moz-appearance: textfield; }
.emi-box input::-webkit-outer-spin-button, .emi-box input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.emi-box .pre, .emi-box .post { font-weight: 700; color: var(--headings-color); font-size: 15px; }
.emi-box .pre { margin-right: 4px; }
.emi-box .post { margin-left: 4px; }
.emi-words { display: none; font-size: 12px; color: #5d6d72; margin-top: 6px; text-align: right; line-height: 1.4; min-height: 17px; }

/* duration */
.emi-duration { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.emi-duration .emi-label { margin: 0; }
.emi-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.emi-pill i { margin-right: 4px; }
.emi-custom { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; }
.emi-custom[hidden] { display: none; }
.emi-custom label { font-size: 14px; color: #5d6d72; margin: 0; }
.emi-custom .emi-box { width: 170px; }
.emi-custom small { flex-basis: 100%; text-align: right; color: #7a8a8f; font-size: 12px; }

/* result card */
.emi-result { position: relative; overflow: hidden; border-radius: 22px; padding: 22px; color: #fff;
  background: linear-gradient(135deg, var(--theme-color1) 0%, #04475a 55%, #032837 100%); }
.emi-result::before { content: ""; position: absolute; right: -30%; top: -40%; width: 70%; height: 180%; background: rgba(255, 255, 255, .04); transform: rotate(18deg); pointer-events: none; }
.emi-main { position: relative; overflow: hidden; text-align: center; border-radius: 16px; padding: 22px 16px 26px; background: rgba(0, 0, 0, .22); }
.emi-main::after { content: ""; position: absolute; left: -10%; bottom: -60%; width: 140%; height: 70px; background: linear-gradient(90deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .22)); transform: rotate(-24deg); pointer-events: none; }
.emi-main .label { font-size: 18px; color: rgba(255, 255, 255, .9); margin-bottom: 6px; }
.emi-main .value { position: relative; z-index: 1; font-family: var(--heading-font-family); font-size: 44px; font-weight: 400; line-height: 1.1; font-variant-numeric: tabular-nums; }
.emi-totals { position: relative; display: flex; justify-content: space-between; gap: 12px; margin: 22px 0 18px; }
.emi-totals span { display: block; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .8); }
.emi-totals b { display: block; color: #fff; font-size: 20px; font-weight: 500; font-variant-numeric: tabular-nums; }
.emi-apply { position: relative; display: block; text-align: center; background: #fff; color: var(--theme-color1); border-radius: 10px; padding: 13px; font-weight: 600; font-size: 14px; letter-spacing: .5px; text-transform: uppercase; transition: background .2s, color .2s; }
.emi-apply:hover { background: #e6f4f7; color: var(--theme-color1); }

/* disclaimer + schedule */
.emi-disclaimer { margin-top: 26px; font-size: 13px; color: #4f5f64; line-height: 1.6; }
.emi-disclaimer p { margin: 0; }
.emi-disclaimer strong { color: var(--headings-color); }
.emi-schedule { text-align: center; margin-top: 18px; }
.emi-schedule-toggle { border: 0; background: none; color: var(--theme-color1); font-weight: 600; font-size: 14px; letter-spacing: .5px; text-transform: uppercase; padding: 8px; cursor: pointer; }
.emi-schedule-toggle i { margin-left: 6px; transition: transform .25s; }
.emi-schedule-toggle.is-open i { transform: rotate(180deg); }
.emi-table-wrap { overflow-x: auto; margin-top: 12px; border: 1px solid var(--emi-line); border-radius: 14px; }
.emi-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; text-align: right; }
.emi-table th, .emi-table td { color: #33454a; padding: 11px 16px; border-bottom: 1px solid var(--emi-line); white-space: nowrap; }
.emi-table thead th { background: var(--emi-soft); color: var(--headings-color); font-weight: 600; }
.emi-table th:first-child { text-align: left; }
.emi-table tbody tr:last-child > * { border-bottom: 0; }
.emi-table tbody th { font-weight: 600; color: var(--headings-color); }

@container (max-width: 900px) { .emi-body { grid-template-columns: 1fr; } }
@media (max-width: 767.98px) {
  .emi-calc { padding: 26px 20px 20px; border-radius: 20px; }
  .emi-title { font-size: 26px; }
  .emi-control { grid-template-columns: 1fr; gap: 14px; }
  .emi-words { text-align: left; }
  .emi-duration { display: block; }
  .emi-duration .emi-label { margin-bottom: 12px; }
  .emi-custom { justify-content: flex-start; margin-top: 12px; }
  .emi-custom small { text-align: left; }
  .emi-main .value { font-size: 36px; }
}

/* ---------- Profile cards (directors / core group) */
.profile-card { display: flex; gap: 24px; align-items: flex-start; }
.profile-card .photo { flex: 0 0 140px; width: 140px; height: 140px; border-radius: 50%; overflow: hidden; background: #eef3f4; }
.profile-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.profile-card .name { font-size: 20px; margin-bottom: 2px; }
.profile-card .role { color: var(--theme-color1); font-weight: 500; font-size: 15px; margin-bottom: 10px; }
.profile-card p { font-size: 15px; line-height: 1.75; margin: 0; }
@media (max-width: 575.98px) {
  .profile-card { flex-direction: column; align-items: center; text-align: center; }
}

/* ---------- Document list (policies, financials, disclosures) */
.doc-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.doc-item {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px; background: #fff;
  border: 1px solid #e3eaec; border-radius: 14px; color: var(--headings-color); transition: border-color .2s, box-shadow .2s;
}
.doc-item:hover { border-color: var(--theme-color1); box-shadow: 0 10px 26px rgba(0, 47, 59, .08); color: var(--headings-color); }
.doc-item .doc-icon {
  flex: 0 0 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  background: #fdecec; color: #d43c3c; font-size: 20px;
}
.doc-item .doc-name { font-weight: 500; line-height: 1.4; font-size: 15px; }
.doc-item .doc-action { margin-left: auto; color: var(--theme-color1); font-size: 14px; white-space: nowrap; }
.doc-group-title { font-size: 22px; margin: 40px 0 18px; }
.doc-group-title:first-child { margin-top: 0; }

/* ---------- Branch locator */
.branch-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.branch-tabs button {
  border: 1px solid #d5dfe2; background: #fff; border-radius: 30px; padding: 9px 20px; font-weight: 500; color: var(--headings-color);
}
.branch-tabs button.active, .branch-tabs button:hover { background: var(--theme-color1); color: #fff; border-color: var(--theme-color1); }
.branch-card { background: #fff; border: 1px solid #e3eaec; border-radius: 14px; padding: 22px; height: 100%; }
.branch-card .city { font-size: 18px; margin-bottom: 8px; display: flex; gap: 10px; align-items: center; }
.branch-card .city i { color: var(--theme-color1); }
.branch-card p { font-size: 14px; line-height: 1.7; margin: 0; text-transform: capitalize; }
.branch-card .state { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--theme-color1); }

/* ---------- Partner logos */
.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.partner-logo {
  background: #fff; border: 1px solid #e3eaec; border-radius: 14px; height: 110px; padding: 16px;
  display: flex; align-items: center; justify-content: center;
}
.partner-logo img { max-width: 100%; max-height: 74px; object-fit: contain; }

/* ---------- Media gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.gallery-grid a { display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 1 / 1; background: #eef3f4; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-grid a:hover img { transform: scale(1.05); }

/* ---------- Payment options */
.pay-card { text-align: center; }
.pay-card .pay-name { font-size: 22px; margin: 6px 0 12px; }

/* ---------- QR / request box */
.qr-box { background: #fff; border: 1px solid #e3eaec; border-radius: 16px; padding: 24px; text-align: center; }
.qr-box img { max-width: 220px; width: 100%; }

/* ---------- Map */
.amcl-map iframe { width: 100%; height: 420px; border: 0; border-radius: 16px; display: block; }

/* ---------- Contact form feedback */
#form-result { margin-bottom: 16px; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; } /* spam honeypot: hidden from people, filled by bots */

/* ---------- 404 */
.error-box { text-align: center; padding: 60px 0; }
.error-box .code { font-family: var(--heading-font-family); font-size: 120px; line-height: 1; color: var(--theme-color1); font-weight: 700; }

/* ---------- Homepage hero video: small 16:9 card in the hero travels and scales
   (same ratio, no cropping) into the showcase section below on scroll */
.hero-video-wrap { position: relative; }
.slider-four .hero-video-slot { width: 270px; aspect-ratio: 16 / 9; border-radius: 16px; margin-bottom: 18px; }
/* Hero tagline under the heading */
.slider-four .left-box > p { color: #fff; font-size: 26px; line-height: 1.4; margin-bottom: 30px; }
@media (max-width: 767.98px) { .slider-four .left-box > p { font-size: 20px; } }
.hero-video-showcase { padding: 100px 16px; background: #032837; }
.hero-video-target { width: 100%; max-width: 1000px; aspect-ratio: 16 / 9; margin: 0 auto; border-radius: 24px; }
.hero-video-frame {
  position: absolute; z-index: 5; left: 0; top: 0; width: 270px; aspect-ratio: 16 / 9;
  border-radius: 16px; overflow: hidden; background: #000;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .3);
  will-change: transform, width;
  visibility: hidden; /* shown by js/hero-video.js once positioned */
}
.hero-video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Sound on/off toggle (bottom-right of the hero video) */
.hero-sound {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .6);
  background: rgba(0, 0, 0, .45); color: #fff; font-size: 15px; line-height: 1;
  display: grid; place-items: center; backdrop-filter: blur(4px); cursor: pointer;
  transition: background .25s ease, transform .25s ease;
}
.hero-sound:hover { background: rgba(0, 0, 0, .65); transform: scale(1.06); }
.hero-sound:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 767.98px) {
  .slider-four .hero-video-slot { width: 100%; max-width: 270px; }
  .hero-video-showcase { padding: 60px 16px; }
  .hero-video-target { border-radius: 16px; }
}

/* ---------- Homepage: Products Offered */
.products-offered { padding: 100px 0; background: var(--theme-color3, #f4f8f9); }
.product-card {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px;
  height: 100%; padding: 36px 20px 30px; background: #fff; border: 1px solid #e3eaec; border-radius: 20px;
  color: var(--headings-color); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background-color .3s ease, color .3s ease;
}
.product-card:hover, .product-card:focus-visible { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0, 93, 116, .25); border-color: transparent; background: var(--theme-color1); color: #fff; }
.product-icon {
  width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(var(--theme-color1-rgb), .08); transition: background .3s ease;
}
.product-card:hover .product-icon, .product-card:focus-visible .product-icon { background: #fff; }
.product-icon img { width: 55px; height: auto; }
.product-name { font-family: var(--heading-font-family); font-size: 20px; font-weight: 600; line-height: 1.3; }
.product-more { font-size: 14px; font-weight: 500; color: var(--theme-color1); transition: color .3s ease; }
.product-card:hover .product-more, .product-card:focus-visible .product-more { color: #fff; }
.product-more i { margin-left: 4px; transition: transform .3s ease; }
.product-card:hover .product-more i { transform: translateX(4px); }
@media (max-width: 767.98px) {
  .products-offered { padding: 60px 0; }
  .product-card { padding: 26px 12px 22px; }
  .product-icon { width: 76px; height: 76px; }
  .product-icon img { width: 44px; }
  .product-name { font-size: 16px; }
}

/* ---------- Homepage: "Customers Trust" heading (normal sec-title on the dark testimonial section;
   the template styles .testimonial-section-three .title as giant background text) */
.testimonial-section-three { padding-top: 100px; }
.testimonial-section-three .sec-title { margin-bottom: 50px; }
.testimonial-section-three .sec-title .title {
  position: static; font-size: var(--sec-title-font-size, 50px); line-height: 120%; font-weight: 500;
  text-transform: none; color: #fff;
}
.testimonial-section-three .sec-title .sub-title { color: #7fd3e3; }
@media (max-width: 767.98px) {
  .testimonial-section-three { padding-top: 60px; }
  .testimonial-section-three .sec-title .title { font-size: 40px; }
}

/* ---------- Homepage: Stories from our Customers (stacked video cards) */
.amcl-stories { padding: 100px 0; }
.stories-panel { background: #032837; border-radius: 28px; padding: 110px 70px 170px; }
.stories-card { position: relative; display: flex; align-items: center; gap: 70px; background: #fff; border-radius: 24px; padding: 0 70px 0 80px; min-height: 340px; }
.stories-media { position: relative; flex: 0 0 300px; width: 300px; margin: -150px 0; }
.stories-swiper { width: 300px; overflow: visible; }
.story-slide { aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden; background: #0b1b24; box-shadow: 0 20px 40px rgba(0, 0, 0, .25); }
.story-slide video { display: block; width: 100%; height: 100%; border: 0; object-fit: cover; }
.story-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 64px; height: 64px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .85);
  background: rgba(0, 0, 0, .3); color: #fff; font-size: 20px; backdrop-filter: blur(4px); transition: opacity .3s ease, transform .3s ease;
}
.story-play:hover { transform: translate(-50%, -50%) scale(1.08); }
.story-slide.is-playing .story-play { opacity: 0; pointer-events: none; }
.story-slide:not(.swiper-slide-active) .story-play { opacity: 0; }
.story-slide video { cursor: pointer; }
.stories-title { font-weight: 500; }
.stories-nav { position: absolute; left: 0; right: 0; bottom: -56px; display: flex; align-items: center; justify-content: center; gap: 14px; }
.stories-nav button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; font-size: 13px; transition: background .3s ease; }
.stories-nav button:hover { background: rgba(255, 255, 255, .15); }
.stories-pagination { position: static; display: flex; gap: 6px; width: auto !important; }
.stories-pagination .swiper-pagination-bullet { width: 8px; height: 8px; margin: 0 !important; background: rgba(255, 255, 255, .45); opacity: 1; transition: width .3s ease; }
.stories-pagination .swiper-pagination-bullet-active { width: 22px; border-radius: 4px; background: #fff; }
.stories-content { flex: 1; min-width: 0; padding: 50px 0; }
.stories-title { font-size: 40px; line-height: 1.2; margin-bottom: 16px; color: var(--headings-color); }
.stories-title s { font-family: var(--heading-font-family); font-weight: 500; color: #9aa7ad; text-decoration-color: var(--theme-color1); text-decoration-thickness: 3px; }
.stories-title em { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; }
.stories-content p { font-size: 17px; line-height: 1.7; margin-bottom: 28px; max-width: 520px; }
@media (max-width: 1199.98px) {
  .stories-panel { padding: 100px 40px 160px; }
  .stories-card { gap: 50px; padding: 0 40px 0 50px; }
  .stories-title { font-size: 34px; }
}
@media (max-width: 991.98px) {
  .amcl-stories { padding: 60px 0; }
  .stories-panel { padding: 40px 20px 30px; border-radius: 20px; }
  .stories-card { flex-direction: column; gap: 0; padding: 30px 20px 10px; text-align: center; background: transparent; }
  .stories-media { margin: 0 auto 80px; flex-basis: auto; }
  .stories-content { padding: 0; background: #fff; border-radius: 18px; padding: 30px 22px; }
  .stories-content p { margin-left: auto; margin-right: auto; }
}
@media (max-width: 400px) {
  .stories-media, .stories-swiper { width: 250px; }
  .stories-title { font-size: 28px; }
}

/* ---------- Locate Us: branch list + interactive map */
.branch-locator { align-items: stretch; }
.branch-list { height: 600px; overflow-y: auto; overscroll-behavior: contain; padding-right: 6px; display: grid; gap: 12px; align-content: start; scrollbar-width: thin; scrollbar-color: rgba(var(--theme-color1-rgb), .35) transparent; }
.branch-item { background: #fff; border: 1px solid #e3eaec; border-radius: 14px; padding: 16px 18px; transition: border-color .2s, box-shadow .2s; }
.branch-item[hidden] { display: none; }
.branch-item:hover { border-color: rgba(var(--theme-color1-rgb), .4); }
.branch-item.is-active { border-color: var(--theme-color1); box-shadow: 0 0 0 3px rgba(var(--theme-color1-rgb), .12); }
.branch-item.is-office { background: #f3f8f9; }
.branch-item-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 6px; }
.branch-item .state { font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--theme-color1); font-weight: 600; }
.branch-item .city { font-size: 18px; margin: 2px 0 0; }
.branch-item p { font-size: 14px; line-height: 1.6; margin: 0 0 8px; color: #4f5f64; }
.branch-show { flex: 0 0 auto; border: 1px solid rgba(var(--theme-color1-rgb), .3); background: #fff; color: var(--theme-color1); font-size: 13px; font-weight: 600; border-radius: 999px; padding: 5px 12px; cursor: pointer; transition: background .2s, color .2s; }
.branch-show:hover, .branch-item.is-active .branch-show { background: var(--theme-color1); color: #fff; }
.branch-links { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; font-weight: 600; }
.branch-links a { color: var(--theme-color1); }
.branch-links a i { margin-right: 4px; }

.map-container { position: relative; height: 100%; display: flex; flex-direction: column; background: #fff; border: 1px solid #e3eaec; border-radius: 18px; overflow: hidden; }
.map-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid #e3eaec; }
.map-count { font-weight: 600; color: var(--headings-color); font-size: 15px; }
.reset-map-btn { border: 0; background: var(--theme-color1); color: #fff; font-size: 13px; font-weight: 600; border-radius: 8px; padding: 7px 14px; cursor: pointer; }
.reset-map-btn:hover { background: #032837; }
.reset-map-btn i { margin-right: 4px; }
.branch-show:focus-visible, .reset-map-btn:focus-visible { outline: 2px solid var(--theme-color1); outline-offset: 2px; }
.branch-map { flex: 1; min-height: 500px; background: #eaf1f2; z-index: 0; }
.map-fallback { padding: 40px 20px; text-align: center; color: #5d6d72; }
.map-legend { display: flex; gap: 20px; margin: 0; padding: 10px 16px; list-style: none; font-size: 13px; color: #4f5f64; border-top: 1px solid #e3eaec; }
.map-legend .pin { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.map-legend .pin-branch { background: var(--theme-color1); }
.map-legend .pin-hq { background: #e8a33a; }

/* pins + popups */
.amcl-pin-wrap { background: none; border: 0; }
.amcl-pin { position: relative; display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--theme-color1); border: 3px solid #fff; box-shadow: 0 4px 10px rgba(0, 0, 0, .25); }
.amcl-pin i { transform: rotate(45deg); color: #fff; font-size: 13px; }
.amcl-pin-hq, .amcl-pin-office { background: #e8a33a; }
.leaflet-marker-icon:hover .amcl-pin, .leaflet-marker-icon:focus .amcl-pin { background: #032837; }
.marker-cluster-small, .marker-cluster-medium, .marker-cluster-large { background: rgba(var(--theme-color1-rgb), .25); }
.marker-cluster-small div, .marker-cluster-medium div, .marker-cluster-large div { background: var(--theme-color1); color: #fff; font-weight: 700; }
.leaflet-container { font-family: inherit; }
.leaflet-popup-content-wrapper { border-radius: 12px; }
.leaflet-popup-content { margin: 14px 16px; }
.amcl-popup .state { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .06em; color: var(--theme-color1); font-weight: 600; }
.amcl-popup strong { display: block; font-size: 16px; color: var(--headings-color); margin: 2px 0 4px; }
.amcl-popup p { margin: 0 0 8px !important; font-size: 13px; line-height: 1.5; color: #4f5f64; }
.amcl-popup a { display: inline-block; margin-right: 12px; font-size: 13px; font-weight: 600; color: var(--theme-color1); }

@media (max-width: 991.98px) {
  .branch-list { height: auto; max-height: 520px; }
  .branch-map { min-height: 380px; }
}

/* Header: hide the "Apply Now" button on phones (menu toggler only) */
@media (max-width: 767.98px) {
  .main-header .right-box .btn-style-two { display: none !important; }
}

/* Keep child top margins (e.g. .page-banner / .page-title margin-top:150px) inside
   #smooth-content, so ScrollSmoother counts them and the footer bottom stays reachable. */
#smooth-content { display: flow-root; }

/* ---------- Media page: Videos (dark band, text left, portrait video slider right) */
.amcl-videos { padding: 100px 0; background: #032837; color: #fff; overflow: hidden; }
.amcl-videos-wrap { display: flex; align-items: center; gap: 60px; }
.amcl-videos-left { flex: 0 0 32%; max-width: 32%; }
.amcl-videos-right { flex: 1; min-width: 0; }
.amcl-videos-tag {
  display: inline-block; padding: 7px 16px; margin-bottom: 22px; border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, .35); font-size: 13px; letter-spacing: .5px; color: #fff;
}
.amcl-videos-title { font-size: 44px; line-height: 1.2; font-weight: 500; color: #fff; margin-bottom: 18px; }
.amcl-videos-title em { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-weight: 400; color: #8fd3e4; }
.amcl-videos-left p { font-size: 17px; line-height: 1.7; color: rgba(255, 255, 255, .75); margin-bottom: 34px; }
.amcl-videos-nav { display: flex; gap: 12px; }
.amcl-videos-nav button {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4);
  background: transparent; color: #fff; font-size: 15px; transition: background .3s ease, opacity .3s ease;
}
.amcl-videos-nav button:hover { background: rgba(255, 255, 255, .15); }
.amcl-videos-nav button.swiper-button-disabled { opacity: .3; cursor: default; background: transparent; }
.amcl-video { position: relative; aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; background: #0b1b24; }
.amcl-video video { display: block; width: 100%; height: 100%; border: 0; object-fit: cover; cursor: pointer; }
.amcl-video-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 60px; height: 60px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .15); color: #fff; font-size: 18px; backdrop-filter: blur(6px);
  transition: opacity .3s ease, transform .3s ease;
}
.amcl-video-play:hover { transform: translate(-50%, -50%) scale(1.08); }
.amcl-video.is-playing .amcl-video-play { opacity: 0; pointer-events: none; }
@media (max-width: 1199.98px) {
  .amcl-videos-wrap { gap: 40px; }
  .amcl-videos-title { font-size: 36px; }
}
@media (max-width: 991.98px) {
  .amcl-videos { padding: 60px 0; }
  .amcl-videos-wrap { flex-direction: column; align-items: stretch; gap: 30px; }
  .amcl-videos-left { flex: none; max-width: none; }
  .amcl-videos-title { font-size: 32px; }
  .amcl-videos-left p { margin-bottom: 24px; }
  .amcl-videos-swiper { overflow: visible; }
}

/* Floating Call Now button */
.amcl-call-now {
  position: fixed; left: 20px; bottom: 20px; z-index: 999;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px; border-radius: 50px; background: #1a9e4b; color: #fff;
  font-weight: 600; font-size: 15px; line-height: 1; text-decoration: none;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25); transition: transform .2s ease, background .2s ease;
}
.amcl-call-now:hover { color: #fff; background: #148040; transform: translateY(-2px); }
.amcl-call-now i { font-size: 16px; animation: amcl-ring 1.8s infinite; }
@keyframes amcl-ring { 0%, 60%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(-15deg); } 20%, 40% { transform: rotate(15deg); } }
@media (max-width: 575.98px) {
  .amcl-call-now { left: 14px; bottom: 14px; padding: 14px; }
  .amcl-call-now span { display: none; }
}
@media print { .amcl-call-now { display: none; } }

/* ---------- Grievance redressal flowchart (3 levels: green / orange / red) ---------- */
.grv { max-width: 980px; margin: 0 auto; }
.grv-start { text-align: center; }
.grv-start span { display: inline-block; background: #2d7a50; color: #fff; font-weight: 600; padding: 10px 28px; border-radius: 50px; }
.grv-arrow { text-align: center; padding: 10px 0; color: #8a97a0; font-size: 18px; }
.grv-level { border: 1px solid var(--grv-line); border-radius: 14px; overflow: hidden; background: var(--grv-soft); }
.grv-level > header { display: flex; align-items: center; gap: 14px; padding: 12px 20px; background: var(--grv-main); color: #fff; }
.grv-level > header h3 { margin: 0; font-size: 18px; color: #fff; }
.grv-tag { background: rgba(255,255,255,.22); border-radius: 6px; padding: 3px 10px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.grv-body { padding: 20px; }
.grv-green { --grv-main: #2d7a50; --grv-line: #a9d3bc; --grv-soft: #f1f8f4; --grv-ink: #1b5e3b; }
.grv-orange { --grv-main: #d97706; --grv-line: #ecc78a; --grv-soft: #fff9ee; --grv-ink: #b45f06; }
.grv-red { --grv-main: #c0392b; --grv-line: #e5aaa4; --grv-soft: #fdf1f0; --grv-ink: #a32d21; }
.grv-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; }
.grv-card { background: #fff; border: 1px solid var(--grv-line); border-radius: 10px; padding: 16px; text-align: center; font-size: 14px; color: #4a5a63; word-break: break-word; }
.grv-card.is-wide { grid-column: 1 / -1; }
.grv-card.has-initials { display: flex; align-items: center; gap: 16px; text-align: left; }
.grv-icon { display: block; font-size: 22px; color: var(--grv-main); margin-bottom: 8px; }
.grv-initials { flex: 0 0 56px; height: 56px; border-radius: 50%; background: var(--grv-main); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.grv-card-title { font-weight: 700; color: #111; font-size: 15px; margin-bottom: 4px; }
.grv-card-sub { color: var(--grv-ink); font-weight: 600; margin-bottom: 4px; }
.grv-line { margin: 2px 0; }
.grv-line a, .grv-foot a { color: var(--grv-ink, #0b5d74); text-decoration: underline; text-underline-offset: 2px; }
.grv-hl { margin-top: 6px; font-weight: 700; color: var(--grv-ink); }
.grv-time { margin: 16px 0 0; text-align: center; font-weight: 700; color: var(--grv-ink); font-size: 14px; }
.grv-decision { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; margin: 14px 0; }
.grv-q { border: 1.5px solid #d9a441; background: #fffaf0; border-radius: 8px; padding: 10px 18px; text-align: center; font-weight: 700; color: #7a4b00; font-size: 14px; max-width: 280px; }
.grv-branch { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.grv-branch:first-child { justify-content: flex-end; }
.grv-yn { font-weight: 800; font-size: 12px; letter-spacing: .06em; color: #2d7a50; }
.grv-branch.is-escalate .grv-yn { color: #6b7780; }
.grv-closed { background: #2d7a50; color: #fff; border-radius: 50px; padding: 6px 14px; font-weight: 600; white-space: nowrap; }
.grv-branch.is-escalate { color: #6b7780; font-weight: 600; }
.grv-foot { margin-top: 28px; text-align: center; font-size: 13px; color: #6b7780; }
@media (max-width: 767px) {
  .grv-decision { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .grv-branch, .grv-branch:first-child { justify-content: center; }
  .grv-level > header { flex-wrap: wrap; }
  .grv-card.has-initials { flex-direction: column; text-align: center; }
}

/* Sticky header: same layout as the normal header (logo, menu, Apply Now) */
.sticky-header .main-box { display: flex; align-items: center; justify-content: space-between; }
.sticky-header .logo-box { width: 320px; }
.sticky-header .nav-outer { display: flex; justify-content: center; }
.sticky-header .right-box { gap: 22px; width: auto; }
.sticky-header .right-box > .btn-style-two { flex-shrink: 0; white-space: nowrap; }
.sticky-header .logo { width: 320px; padding-left: 10px; }
.sticky-header .main-menu .navigation > li { margin: 0 45px 0 0; }
.sticky-header .main-menu .navigation > li:last-child { margin-right: 0; }
