/* ===== Layout repair / overrides ===== */
    *, *::before, *::after { box-sizing: border-box; }

    html, body { margin: 0; width: 100%; overflow-x: hidden; }
    body { background: #fff; }
    img { max-width: 100%; height: auto; }

    /* Header: keep it over the hero and make the desktop navigation visible. */
    .header-style1 {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      z-index: 1000;
      background: linear-gradient(to bottom, rgba(0,0,0,.72), rgba(0,0,0,0));
    }
    .header-style1 .navbar-default { background: transparent; }
    .header-style1 .navbar {
      min-height: 88px;
      display: flex;
      align-items: center;
    }
    .header-style1 .navbar-brand img { max-height: 62px; width: auto; display: block; }

    @media (min-width: 992px) {
      #nav {
        display: flex !important;
        align-items: center;
        gap: 8px;
        margin-left: auto;
        padding: 0;
      }
      #nav > li { list-style: none; }
      #nav > li > a {
        display: block;
        padding: 14px 16px;
        color: #fff;
        font-weight: 600;
        text-decoration: none;
      }
      #nav > li > a:hover { opacity: .72; }
    }

    /* Hero: contain the background, restore the text layer and stop the shape
       from taking normal document space. */
    .banner-section {
      position: relative;
      min-height: 680px;
      height: min(82vh, 820px);
      display: flex;
      align-items: center;
      overflow: hidden;
      background-image: url('/Content/img/slider/slide13.jpg');
      background-size: cover;
      background-position: center center;
      background-repeat: no-repeat;
      padding: 120px 0 105px;
    }
    .banner-section::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.48) 48%, rgba(0,0,0,.28) 100%);
      z-index: 1;
      pointer-events: none;
    }
    .banner-section > .container {
      position: relative !important;
      top: auto !important;
      left: auto !important;
      right: auto !important;
      bottom: auto !important;
      transform: none !important;
      width: 100%;
      z-index: 2 !important;
    }
    .banner-section h1 {
      margin: 0 0 20px;
      color: #fff !important;
      font-size: clamp(2.4rem, 4.2vw, 4.7rem) !important;
      line-height: 1.05;
      letter-spacing: -.03em;
      text-shadow: 0 4px 22px rgba(0,0,0,.28);
    }
    .banner-section p {
      max-width: 760px;
      margin: 0;
      color: rgba(255,255,255,.92) !important;
      font-size: clamp(1rem, 1.25vw, 1.25rem) !important;
      line-height: 1.7 !important;
    }
    .banner-section .btn-primary {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 48px;
      padding: 0 28px;
      border-radius: 4px;
      text-decoration: none;
    }

    /* This is the main visual bug in the screenshot: banner-shape must overlay
       the section edge, not create a second full-width image row. */
    .banner-shape {
      position: absolute !important;
      left: 0;
      right: 0;
      bottom: -1px;
      width: 100%;
      z-index: 4;
      line-height: 0;
      pointer-events: none;
      overflow: hidden;
    }
    .banner-shape img {
      display: block;
      width: 100% !important;
      max-width: none;
      height: auto !important;
    }

    /* Counter section */
    section.lg.no-padding-top {
      position: relative;
      z-index: 5;
      background: #fff !important;
      padding: 80px 0 75px !important;
    }
    section.lg.no-padding-top .row { align-items: stretch; }
    .counter-style2 > .text-center {
      height: 100%;
      min-height: 126px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 18px;
      padding: 22px 18px;
    }
    .counter-style2 .icon { margin: 0 !important; flex: 0 0 auto; }
    .counter-style2 .icon span { font-size: 42px; line-height: 1; }
    .counter-style2 .title { text-align: left; }
    .counter-style2 .title h4 {
      margin: 0 0 4px !important;
      font-size: 38px !important;
      line-height: 1;
    }
    .counter-style2 .title > span {
      display: block;
      font-size: 14px;
      line-height: 1.35;
    }

    /* Newsletter */
    .bg-newsletter {
      position: relative;
      overflow: hidden;
      isolation: isolate;
      background:
        radial-gradient(circle at 15% 10%, rgba(47,128,237,.12), transparent 34%),
        linear-gradient(135deg, #171717 0%, #222 55%, #1b1b1b 100%) !important;
      padding: 82px 0 132px !important;
      color: #fff;
      font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    }

    .bg-newsletter .container {
      position: relative;
      z-index: 2;
      width: min(100% - 40px, 1180px);
      margin-inline: auto;
    }

    .bg-newsletter .section-heading {
      max-width: 760px;
      margin: 0 auto 32px !important;
      text-align: center;
    }

    .bg-newsletter .section-heading h3 {
      margin: 0 0 10px !important;
      color: #fff !important;
      font-size: clamp(2rem, 3vw, 2.65rem) !important;
      line-height: 1.12;
      font-weight: 750;
      letter-spacing: -.025em;
    }

    .bg-newsletter .section-heading span {
      display: block;
      color: rgba(255,255,255,.72) !important;
      font-size: 15px;
      line-height: 1.7;
      letter-spacing: .015em;
    }

    .bg-newsletter .text-center.margin-50px-bottom {
      margin-bottom: 0 !important;
    }

    .newsletter-form {
      width: min(680px, 100%);
      margin: 0 auto;
      display: flex;
      align-items: stretch;
      padding: 5px;
      border: 1px solid rgba(255,255,255,.13);
      border-radius: 12px;
      background: rgba(255,255,255,.08);
      box-shadow: 0 18px 50px rgba(0,0,0,.18);
      backdrop-filter: blur(8px);
    }

    .newsletter-form input[type="email"] {
      flex: 1 1 auto;
      min-width: 0;
      height: 52px;
      padding: 0 17px;
      border: 0 !important;
      border-radius: 8px 0 0 8px;
      background: #fff !important;
      color: #202020 !important;
      font: inherit;
      outline: none;
      box-shadow: none !important;
    }

    .newsletter-form input[type="email"]::placeholder {
      color: #7a7a7a;
      opacity: 1;
    }

    .newsletter-form input[type="email"]:focus {
      box-shadow: inset 0 0 0 2px #2f80ed !important;
    }

    .newsletter-form button {
      flex: 0 0 auto;
      min-width: 145px;
      height: 52px;
      padding: 0 24px;
      border: 0 !important;
      border-radius: 0 8px 8px 0;
      background: #2f80ed !important;
      color: #fff !important;
      font: inherit;
      font-weight: 700;
      cursor: pointer;
      transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease;
    }

    .newsletter-form button:hover {
      background: #236dca !important;
      box-shadow: 0 8px 20px rgba(47,128,237,.25);
    }

    .newsletter-form button:active {
      transform: translateY(1px);
    }

    .newsletter-form button:focus-visible {
      outline: 3px solid rgba(255,255,255,.75);
      outline-offset: 2px;
    }

    /* Keep the wave decorative and compact. */
    .bg-newsletter > .banner-shape {
      height: 92px;
      bottom: -1px;
    }

    .bg-newsletter > .banner-shape img {
      width: 100% !important;
      height: 100% !important;
      object-fit: fill;
    }

    /* Footer — explicit layout so it still looks right even if Bootstrap's
       column rules are missing or get overridden. */
    .footer-style9 {
      position: relative;
      overflow: hidden;
      padding: 58px 0 0 !important;
      background: #f6f7f8 !important;
      color: #25282c;
      font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    }

    .footer-style9 > .container {
      width: min(100% - 48px, 1180px);
      max-width: 1180px !important;
      margin-inline: auto;
      padding: 0 !important;
    }

    .footer-style9 > .container > .row {
      display: grid !important;
      grid-template-columns: 1fr .82fr 1.34fr 1.12fr;
      gap: 22px;
      align-items: stretch;
      margin: 0 !important;
    }

    .footer-style9 > .container > .row > [class*="col-"] {
      width: auto !important;
      max-width: none !important;
      flex: none !important;
      margin: 0 !important;
      padding: 26px 24px !important;
      border: 1px solid #e3e6ea;
      border-radius: 14px;
      background: #fff;
      box-shadow: 0 10px 28px rgba(19,27,38,.055);
    }

    .footer-style9 .footer-title-style9 {
      position: relative;
      margin: 0 0 20px !important;
      padding-bottom: 12px;
      color: #15171a !important;
      font-size: 15px !important;
      line-height: 1.25;
      font-weight: 750;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .footer-style9 .footer-title-style9::after {
      content: "";
      position: absolute;
      left: 0;
      bottom: 0;
      width: 32px;
      height: 2px;
      border-radius: 2px;
      background: #2f80ed;
    }

    .footer-style9 address {
      width: 100% !important;
      margin: 0 !important;
      padding: 0 !important;
      color: #555b62;
      font-size: 15px;
      line-height: 1.75;
      font-style: normal;
    }

    .footer-style9 ul,
    .footer-style9 .footer-list-style3 {
      margin: 0 !important;
      padding: 0 !important;
      list-style: none !important;
    }

    .footer-style9 .footer-list-style3 li {
      margin: 0 !important;
      padding: 8px 0;
      color: #555b62;
      font-size: 14px;
      line-height: 1.45;
      border-bottom: 1px solid #eef0f2;
    }

    .footer-style9 .footer-list-style3 li:last-child {
      border-bottom: 0;
    }

    .footer-style9 > .container > .row > div:nth-child(2) .footer-list-style3 li {
      display: inline-flex;
      align-items: center;
      min-height: 38px;
      padding: 8px 13px;
      border: 1px solid #dfe4ea;
      border-radius: 999px;
      background: #f8fafc;
      color: #30343a;
      font-weight: 650;
    }

    .footer-style9 > .container > .row > div:nth-child(2) .footer-list-style3 li::before {
      content: "f";
      display: inline-grid;
      place-items: center;
      width: 22px;
      height: 22px;
      margin-right: 8px;
      border-radius: 50%;
      background: #1877f2;
      color: #fff;
      font: 700 14px/1 Arial, sans-serif;
    }

    .footer-style9 > .container > .row > div:nth-child(3) .footer-list-style3 li {
      font-variant-numeric: tabular-nums;
    }

    /* Brand/contact card */
    .footer-style9 > .container > .row > div:last-child {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 24px;
      background: linear-gradient(145deg, #fff, #fbfbfb);
    }

    .footer-style9 > .container > .row > div:last-child > img {
      display: block;
      width: min(100%, 245px) !important;
      max-width: 245px !important;
      max-height: 105px !important;
      object-fit: contain;
      object-position: left center;
    }

    .footer-style9 > .container > .row > div:last-child .margin-25px-top {
      margin-top: 0 !important;
    }

    .footer-style9 > .container > .row > div:last-child li:first-child {
      margin: 0 0 8px !important;
      color: #181b1f;
      font-size: 20px !important;
      line-height: 1.3;
      font-weight: 750;
    }

    .footer-style9 a {
      color: #2f6fb7;
      text-decoration: none;
      overflow-wrap: anywhere;
      transition: color .18s ease;
    }

    .footer-style9 a:hover {
      color: #174f91;
      text-decoration: underline;
      text-underline-offset: 3px;
    }

    /* Bottom copyright bar */
    .footer-style9 .footer-bar {
      margin-top: 48px !important;
      padding: 20px 0 !important;
      border: 0 !important;
      background: #17191c !important;
      color: #aeb3b9 !important;
      font-size: 13px;
    }

    .footer-style9 .footer-bar .container {
      width: min(100% - 48px, 1180px);
      max-width: 1180px !important;
      margin-inline: auto;
      padding: 0 !important;
    }

    .footer-style9 .footer-bar .row {
      display: flex !important;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      margin: 0 !important;
    }

    .footer-style9 .footer-bar [class*="col-"] {
      width: auto !important;
      max-width: none !important;
      flex: none !important;
      padding: 0 !important;
      margin: 0 !important;
    }

    .footer-style9 .footer-bar p {
      margin: 0 !important;
      color: inherit !important;
    }

    .footer-style9 .footer-bar a {
      color: #fff;
    }

    @media (max-width: 1100px) {
      .footer-style9 > .container > .row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 991px) {
      .header-style1 { position: relative; background: #191919; }
      .header-style1 .navbar { min-height: 72px; }
      .banner-section {
        min-height: 600px;
        height: auto;
        padding: 95px 0 110px;
      }
      .banner-section .col-lg-7 { max-width: 760px; }
      #nav { margin: 0; padding: 10px 0 18px; }
      #nav > li { list-style: none; }
      #nav > li > a { color: #fff; display: block; padding: 10px 0; }
      section.lg.no-padding-top { padding: 55px 0 !important; }
    }

    @media (max-width: 767px) {
      .banner-section {
        min-height: 540px;
        padding: 80px 0 95px;
        background-position: 62% center;
      }
      .banner-section p { display: block !important; }
      .counter-style2 > .text-center {
        min-height: auto;
        justify-content: flex-start;
        max-width: 280px;
        margin: 0 auto;
      }

      .bg-newsletter {
        padding: 62px 0 104px !important;
      }

      .bg-newsletter .container,
      .footer-style9 > .container,
      .footer-style9 .footer-bar .container {
        width: min(100% - 30px, 1180px);
      }

      .newsletter-form {
        display: block;
        padding: 5px;
      }

      .newsletter-form input[type="email"],
      .newsletter-form button {
        width: 100%;
        border-radius: 8px;
      }

      .newsletter-form input[type="email"] {
        margin-bottom: 6px;
      }

      .bg-newsletter > .banner-shape {
        height: 68px;
      }

      .footer-style9 {
        padding-top: 38px !important;
      }

      .footer-style9 > .container > .row {
        grid-template-columns: 1fr;
        gap: 14px;
      }

      .footer-style9 > .container > .row > [class*="col-"] {
        padding: 22px 20px !important;
      }

      .footer-style9 .footer-bar {
        margin-top: 32px !important;
      }

      .footer-style9 .footer-bar .row {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 8px;
        text-align: center;
      }

      .footer-style9 .footer-bar .text-left,
      .footer-style9 .footer-bar .text-right {
        text-align: center !important;
      }
    }