/* =========================================================
   VFINOPLEX MICRO SERVICES FOUNDATION
   COMPLETE FINAL STYLE.CSS
   DO NOT CHANGE HTML / JS / IMAGE PATHS
========================================================= */

:root{
  --blue:#0b3768;
  --blue2:#082e59;
  --green:#16894b;
  --green2:#0e743d;
  --light-green:#eaf7ef;
  --text:#173b61;
  --muted:#718198;
  --border:#dce5ed;
  --light:#f6f9fb;
  --white:#ffffff;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  padding:0;
  font-family:"Segoe UI",Arial,Helvetica,sans-serif;
  color:var(--text);
  background:#fff;
  line-height:1.5;
}

img{
  display:block;
  max-width:100%;
}

a{
  color:inherit;
  text-decoration:none;
}

button,
input,
select{
  font-family:inherit;
}

.container{
  width:min(1180px,92%);
  margin:0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header{
  width:100%;
  height:82px;
  background:#fff;
  border-bottom:1px solid #e7edf2;
  position:sticky;
  top:0;
  z-index:1000;
}

.nav-wrap{
  width:min(1180px,92%);
  height:100%;
  margin:auto;

  display:flex;
  align-items:center;
  justify-content:space-between;
}

.brand{
  width:265px;
  height:78px;

  display:flex;
  align-items:center;
  flex-shrink:0;
}

.brand img{
  width:235px;
  height:70px;
  object-fit:contain;
  object-position:left center;
}

.nav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:21px;

  font-size:12px;
  font-weight:600;
}

.nav>a{
  height:82px;
  display:flex;
  align-items:center;
  white-space:nowrap;

  transition:.2s ease;
}

.nav>a:hover{
  color:var(--green);
}

.nav .active{
  color:var(--green);
  position:relative;
}

.nav .active:after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:17px;

  height:2px;
  background:var(--green);
  border-radius:4px;
}

.login-btn{
  height:42px!important;
  padding:0 18px!important;

  border:1px solid #7892ad;
  border-radius:8px;
}

.apply-btn{
  height:42px!important;
  padding:0 19px!important;

  background:var(--green);
  color:#fff!important;

  border-radius:8px;

  box-shadow:0 8px 20px rgba(22,137,75,.18);
}

.menu-btn{
  display:none;
  border:0;
  background:none;
  font-size:27px;
  cursor:pointer;
}


/* =====================================================
   FINAL HERO DESIGN
   IMAGE + TEXT BLEND — NO CIRCLE / NO BOX
===================================================== */

.hero{
    position:relative;
    width:100%;
    height:570px;
    overflow:hidden;
    background:#fff;
}

.hero-grid{
    position:relative;
    width:100%;
    height:570px;
}


/* ================================
   HERO IMAGE
================================ */

.hero-visual{
    position:absolute !important;
    top:0;
    right:0;

    width:68% !important;
    height:570px !important;

    overflow:hidden;
    z-index:1;

    background:#e6d4c0;
}

.person-placeholder{
    position:absolute !important;

    inset:0 !important;

    width:100% !important;
    height:100% !important;

    overflow:hidden;

    border-radius:0 !important;

    background:#e6d4c0;
}

.person-placeholder img{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    max-width:none !important;
    object-fit:cover !important;
    object-position:38% center !important;
    opacity:1 !important;
    filter:none !important;
    transform:none !important;
    border-radius:0 !important;
}

/* =====================================================
   IMPORTANT:
   OLD WHITE OVERLAY REMOVE
===================================================== */

.person-placeholder::after{
    content:none !important;
}


/* =====================================================
   TEXT AREA
   IMPORTANT: background transparent
===================================================== */

.hero-copy{
    position:absolute;

    left:0;
    top:0;

    width:58%;
    height:570px;

    z-index:10;

    padding-top:78px;
    padding-bottom:30px;

    padding-left:max(4%,calc((100vw - 1180px)/2));
    padding-right:80px;

    /*
       IMPORTANT:
       White box hata diya.
    */
    background:transparent !important;
}


/* =====================================================
   WHITE → IMAGE SMOOTH BLEND
===================================================== */

.hero-copy::before{
    content:"";

    position:absolute;

    z-index:-1;

    left:0;
    top:0;

    width:115%;
    height:100%;

    pointer-events:none;

    background:
        linear-gradient(
            90deg,
            #ffffff 0%,
            #ffffff 42%,
            rgba(255,255,255,.98) 53%,
            rgba(255,255,255,.82) 62%,
            rgba(255,255,255,.42) 73%,
            rgba(255,255,255,0) 88%
        );
}


/* =====================================================
   TEXT ALWAYS ABOVE IMAGE
===================================================== */

.hero-copy > *{
    position:relative;
    z-index:5;
}


/* =====================================================
   HERO TITLE
===================================================== */

.hero h1{
    margin:0 0 20px;

    color:#0b3768;

    font-size:58px;

    line-height:1.02;

    letter-spacing:-2.5px;

    font-weight:800;
}

.hero h1 span{
    color:#16894b;
}


/* =====================================================
   DESCRIPTION
===================================================== */

.hero-copy > p{
    max-width:650px;

    margin:0 0 27px;

    color:#506781;

    font-size:16px;

    line-height:1.65;
}


/* =====================================================
   FEATURES
===================================================== */

.feature-row{
    position:relative;
    z-index:20;

    width:100%;

    display:grid !important;

    grid-template-columns:
        repeat(4,minmax(0,1fr)) !important;

    gap:15px;

    margin:25px 0 28px !important;
}

.feature-row > div{
    min-width:0;

    display:grid !important;

    grid-template-columns:38px 1fr !important;

    grid-template-rows:auto auto !important;

    column-gap:8px;

    align-items:start;

    background:transparent !important;

    padding:0 !important;
}

.feature-row > div > b{
    grid-column:1;
    grid-row:1 / span 2;

    width:37px;
    height:37px;

    display:grid !important;

    place-items:center;

    border:1px solid #a7dcbc;

    border-radius:50%;

    color:#16894b;

    background:#fff;

    font-size:17px;
}

.feature-row > div > strong{
    grid-column:2;
    grid-row:1;

    display:block;

    color:#12375e;

    font-size:12px;

    line-height:1.25;

    font-weight:800;
}

.feature-row > div > small{
    grid-column:2;
    grid-row:2;

    display:block;

    margin-top:5px;

    color:#728198;

    font-size:10px;

    line-height:1.35;
}


/* =====================================================
   HERO BUTTONS
===================================================== */

.hero-buttons{
    position:relative;
    z-index:30;

    display:flex;

    align-items:center;

    gap:16px;
}

.hero-buttons .btn{
    min-height:48px;

    padding:12px 24px;

    border-radius:8px;

    font-size:14px;

    font-weight:700;
}


/* =====================================================
   ELIGIBILITY FORM
===================================================== */

.eligibility{
    position:absolute !important;

    z-index:50;

    top:46px !important;

    right:5.5% !important;

    width:315px !important;

    padding:25px 27px !important;

    background:#fff !important;

    border:1px solid rgba(215,225,233,.7);

    border-radius:16px !important;

    box-shadow:
        0 18px 42px rgba(9,42,72,.20) !important;
}

.eligibility h3{
    margin:0;

    text-align:center;

    color:#0b3768 !important;

    font-size:20px !important;

    line-height:1.25;
}

.eligibility p{
    margin:5px 0 17px !important;

    text-align:center;

    color:#78879a !important;

    font-size:11px !important;
}

.eligibility input,
.eligibility select{
    width:100% !important;

    height:45px !important;

    padding:0 13px !important;

    margin:0 0 10px !important;

    border:1px solid #d3dfe8 !important;

    border-radius:8px !important;

    background:#fff !important;

    font-size:13px;

    outline:none;
}

.eligibility .btn{
    width:100% !important;

    height:45px !important;

    min-height:45px !important;

    border:0 !important;

    border-radius:7px !important;

    background:#16894b !important;

    color:#fff !important;
}


/* =====================================================
   TABLET
===================================================== */

@media(max-width:950px){

    .hero{
        height:auto;
    }

    .hero-grid{
        height:auto;
    }

    .hero-copy{
        position:relative;

        width:100%;

        height:auto;

        min-height:480px;

        padding:
            55px
            5%
            35px;

        background:#fff !important;
    }

    .hero-copy::before{
        display:none;
    }

    .hero-visual{
        position:relative !important;

        width:100% !important;

        height:500px !important;
    }

    .eligibility{
        top:25px !important;
        right:25px !important;
    }
}


/* =====================================================
   MOBILE
===================================================== */

@media(max-width:780px){

    .hero-copy{
        padding:
            42px
            5%
            30px;
    }

    .hero h1{
        font-size:40px;

        letter-spacing:-1.5px;
    }

    .hero-visual{
        height:500px !important;
    }

    .eligibility{
        width:calc(100% - 30px) !important;

        right:15px !important;

        top:20px !important;
    }
}

/* =========================================================
   STATS
========================================================= */

.stats{
  position:relative;
  z-index:100;

  width:min(1180px,92%);

  margin:-1px auto 0;

  display:grid;

  grid-template-columns:repeat(5,1fr);

  overflow:hidden;

  background:var(--blue);

  color:#fff;

  border-radius:11px;

  box-shadow:
    0 12px 30px rgba(8,45,80,.18);
}

.stats div{
  min-height:82px;

  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;

  border-right:1px solid rgba(255,255,255,.16);

  text-align:center;
}

.stats div:last-child{
  border-right:0;
}

.stats b{
  display:block;

  font-size:24px;
  line-height:1.15;

  color:#fff;
}

.stats span{
  display:block;

  margin-top:4px;

  color:#cfdeed;

  font-size:10px;
}


/* =========================================================
   GENERAL SECTION
========================================================= */

.section{
  padding:65px 0;
}

.section-title{
  margin-bottom:30px;

  text-align:center;
}

.section-title span{
  display:block;

  color:var(--green);

  font-size:10px;
  font-weight:800;

  letter-spacing:2px;
}

.section-title h2{
  margin:5px 0 8px;

  color:var(--blue);

  font-size:30px;

  line-height:1.2;
}

.section-title i{
  display:block;

  width:42px;
  height:3px;

  margin:auto;

  background:var(--green);

  border-radius:4px;
}


/* =========================================================
   LOAN PRODUCTS
========================================================= */

.loan-grid{
  display:grid;

  grid-template-columns:repeat(6,1fr);

  gap:13px;
}

.loan-card{
  overflow:hidden;

  background:#fff;

  border:1px solid var(--border);

  border-radius:10px;

  padding:8px;

  box-shadow:
    0 5px 18px rgba(13,47,77,.06);

  transition:.25s ease;
}

.loan-card:hover{
  transform:translateY(-4px);

  box-shadow:
    0 14px 30px rgba(13,47,77,.13);
}

.loan-photo{
  width:100%;
  height:122px;

  overflow:hidden;

  border-radius:7px;

  background:#edf2f5;
}

.loan-photo img{
  width:100%;
  height:100%;

  object-fit:cover;

  transition:.3s ease;
}

.loan-card:hover .loan-photo img{
  transform:scale(1.04);
}

.loan-card h3{
  margin:10px 2px 3px;

  color:var(--blue);

  font-size:13px;
}

.loan-card>b{
  margin-left:2px;

  color:var(--green);

  font-size:9px;
}

.loan-card ul{
  list-style:none;

  margin:9px 2px;

  padding:0;

  color:#65768a;

  font-size:8.5px;
}

.loan-card li{
  margin:4px 0;
}

.loan-card li:before{
  content:"✓";

  margin-right:4px;

  color:var(--green);

  font-weight:900;
}

.loan-card>a{
  display:block;

  padding:8px 5px;

  border-radius:6px;

  background:var(--green);

  color:#fff;

  text-align:center;

  font-size:9px;

  font-weight:800;
}


/* =========================================================
   COMMUNITY TEMPLATE
========================================================= */

.community-template{
  width:100%;

  background:#fff;

  padding:10px 0 15px;
}

.community-template-inner{
  width:min(1180px,92%);

  height:202px;

  margin:auto;

  display:grid;

  grid-template-columns:31% 69%;

  overflow:hidden;

  border-radius:6px;
}


/* LEFT BLUE AREA */
.community-copy{
  position:relative;

  z-index:5;

  padding:25px 30px;

  background:var(--blue);

  color:#fff;

  clip-path:
    polygon(
      0 0,
      100% 0,
      88% 100%,
      0 100%
    );
}

.community-copy>span{
  display:block;

  color:#42d47d;

  font-size:9px;

  font-weight:800;

  letter-spacing:1.8px;

  margin-bottom:8px;
}

.community-copy h2{
  margin:0 0 11px;

  color:#fff;

  font-size:20px;

  line-height:1.2;
}

.community-copy p{
  max-width:330px;

  margin:0 0 15px;

  color:#e0ebf5;

  font-size:9px;

  line-height:1.55;
}

.template-btn{
  display:inline-flex;

  height:27px;

  align-items:center;
  justify-content:center;

  padding:0 13px;

  border:1px solid #fff;

  border-radius:5px;

  color:#fff;

  font-size:8px;

  font-weight:700;
}


/* RIGHT COLLAGE */
.community-collage{
  height:202px;

  display:grid;

  grid-template-columns:repeat(4,1fr);

  overflow:hidden;

  margin-left:-4px;
}

.collage-item{
  position:relative;

  height:202px;

  overflow:hidden;

  border-left:4px solid #fff;

  transform:skewX(-8deg);
}

.collage-item img{
  position:absolute;

  top:0;
  left:-7%;

  width:114%;
  height:100%;

  max-width:none;

  object-fit:cover;

  transform:
    skewX(8deg)
    scale(1.03);
}

.collage-item:after{
  content:"";

  position:absolute;

  z-index:2;

  left:0;
  right:0;
  bottom:0;

  height:52%;

  background:
    linear-gradient(
      to top,
      rgba(3,27,48,.84),
      rgba(3,27,48,0)
    );
}

.collage-item span{
  position:absolute;

  z-index:5;

  left:0;
  right:0;
  bottom:13px;

  color:#fff;

  text-align:center;

  font-size:10px;

  font-weight:800;

  line-height:1.1;

  text-shadow:
    0 1px 4px rgba(0,0,0,.8);

  transform:skewX(8deg);
}


/* =========================================================
   HOW IT WORKS
========================================================= */

.how-template{
  padding:14px 0 55px;

  background:#fff;
}

.how-template-grid{
  width:min(1180px,92%);

  margin:auto;

  display:grid;

  grid-template-columns:58% 42%;

  align-items:start;
}

.how-left{
  padding:8px 25px 0 0;
}

.how-left h2{
  margin:3px 0 6px;

  color:var(--blue);

  font-size:25px;
}

.green-line{
  width:35px;
  height:3px;

  margin-bottom:31px;

  background:var(--green);

  border-radius:5px;
}


/* STEPS */
.steps-template{
  width:100%;

  display:grid;

  grid-template-columns:
    1fr 35px
    1fr 35px
    1fr 35px
    1fr;

  align-items:start;
}

.step{
  text-align:center;
}

.step-circle{
  width:58px;
  height:58px;

  margin:auto;

  display:grid;
  place-items:center;

  border:1.5px solid var(--green);

  border-radius:50%;

  background:#fff;

  color:var(--green);

  font-size:11px;
}

.step h3{
  margin:9px 0 4px;

  color:#173858;

  font-size:10px;
}

.step p{
  margin:0;

  color:#718197;

  font-size:8px;

  line-height:1.4;
}

.step-arrow{
  padding-top:20px;

  text-align:center;

  color:#6d88a2;

  font-size:14px;
}


/* =========================================================
   WHY US
========================================================= */

.why-template{
  min-height:245px;

  display:grid;

  grid-template-columns:43% 57%;

  align-items:end;
}

.why-template-image{
  position:relative;

  height:245px;

  overflow:hidden;
}

.why-template-image img{
  width:100%;
  height:100%;

  object-fit:cover;

  object-position:center top;
}

.why-template-image:after{
  content:"";

  position:absolute;

  z-index:3;

  left:0;
  right:0;
  bottom:0;

  height:28px;

  background:var(--green);

  clip-path:
    polygon(
      0 100%,
      0 75%,
      54% 75%,
      68% 0,
      100% 0,
      100% 100%
    );
}

.why-list{
  padding:
    0
    0
    18px
    18px;
}

.why-list>div{
  display:flex;

  align-items:flex-start;

  gap:9px;

  margin:10px 0;
}

.why-list b{
  width:27px;
  height:27px;

  flex:0 0 27px;

  display:grid;
  place-items:center;

  border-radius:50%;

  background:#e8f5ed;

  color:var(--green);

  font-size:11px;
}

.why-list strong{
  display:block;

  color:#173858;

  font-size:9px;
}

.why-list small{
  display:block;

  margin-top:1px;

  color:#718197;

  font-size:7px;

  line-height:1.3;
}


/* =========================================================
   CALCULATOR
========================================================= */

.calculator-section{
  padding:65px 0;

  background:#f6f9fb;
}

.calc-grid{
  width:min(1180px,92%);

  margin:auto;

  display:grid;

  grid-template-columns:
    1.1fr
    .78fr
    .95fr;

  gap:18px;

  align-items:stretch;
}


/* CALCULATOR */
.calculator{
  padding:25px;

  background:#fff;

  border:1px solid var(--border);

  border-radius:14px;

  box-shadow:
    0 7px 25px rgba(15,47,76,.06);
}

.calculator .eyebrow{
  margin-bottom:6px;
}

.calculator h2{
  margin:0 0 19px;

  color:var(--blue);

  font-size:25px;
}

.calculator label{
  display:block;

  margin-bottom:12px;

  color:#53677d;

  font-size:10px;

  font-weight:700;
}

.calculator input{
  display:block;

  width:100%;
  height:42px;

  margin-top:5px;

  padding:0 12px;

  border:1px solid #d4dfe8;

  border-radius:7px;

  outline:none;

  background:#fff;
}

.calculator input:focus{
  border-color:var(--green);
}

.calculator .btn{
  width:100%;

  margin-top:3px;
}


/* CALC RESULT */
.calc-result{
  padding:27px 23px;

  display:flex;
  flex-direction:column;
  justify-content:center;

  background:#fff;

  border:1px solid var(--border);

  border-radius:14px;

  box-shadow:
    0 7px 25px rgba(15,47,76,.06);
}

.calc-result>span{
  color:#718197;

  font-size:10px;
}

.calc-result>strong{
  display:block;

  margin-top:4px;

  color:var(--green);

  font-size:31px;

  line-height:1.2;
}

.calc-result>small{
  color:#7b8998;

  font-size:9px;
}

.result-lines{
  margin:19px 0;

  padding-top:13px;

  border-top:1px solid #edf1f4;
}

.result-lines span{
  display:flex;

  justify-content:space-between;

  margin:8px 0;

  color:#687a8e;

  font-size:9px;
}

.result-lines b{
  color:var(--blue);
}


/* TESTIMONIAL */
.testimonial{
  min-height:270px;

  padding:28px;

  display:flex;
  flex-direction:column;
  justify-content:center;

  background:var(--blue);

  border-radius:14px;

  color:#fff;

  box-shadow:
    0 10px 28px rgba(10,48,82,.15);
}

.testimonial>span{
  color:#5ba4c8;

  font-size:53px;

  line-height:.5;
}

.testimonial>p{
  margin:17px 0 22px;

  color:#fff;

  font-size:13px;

  font-weight:600;

  line-height:1.65;
}

.customer{
  display:flex;

  align-items:center;

  gap:11px;

  padding-top:14px;

  border-top:1px solid rgba(255,255,255,.16);

  color:#fff;

  font-size:11px;

  font-weight:800;
}

.customer img{
  width:47px;
  height:47px;

  object-fit:cover;

  border-radius:50%;
}

.customer small{
  display:block;

  margin-top:2px;

  color:#c6d5e4;

  font-size:8px;

  font-weight:400;
}


/* =========================================================
   LEADERS
========================================================= */

.leaders{
  width:min(1180px,92%);

  margin:auto;

  display:grid;

  grid-template-columns:1fr 1fr;

  gap:18px;
}

.leaders article{
  min-height:135px;

  padding:15px;

  display:flex;

  align-items:center;

  gap:17px;

  background:#fff;

  border:1px solid var(--border);

  border-radius:13px;

  box-shadow:
    0 5px 18px rgba(15,47,76,.05);
}

.leader-avatar{
  width:100px;
  height:112px;

  flex:0 0 100px;

  overflow:hidden;

  border-radius:9px;

  background:#edf2f6;
}

.leader-avatar img{
  width:100%;
  height:100%;

  object-fit:cover;

  object-position:center top;
}

.leaders h3{
  margin:0 0 2px;

  color:var(--blue);

  font-size:14px;
}

.leaders b{
  color:var(--green);

  font-size:9px;
}

.leaders p{
  margin-top:7px;

  color:#6d7d90;

  font-size:9px;

  line-height:1.5;
}


/* =========================================================
   GOVERNANCE
========================================================= */

.governance{
  background:#f7fafc;
}

.governance-grid{
  width:min(1180px,92%);

  margin:auto;

  display:grid;

  grid-template-columns:1fr 1fr;

  gap:40px;

  align-items:center;
}

.governance h2{
  margin:6px 0 11px;

  color:var(--blue);

  font-size:29px;
}

.governance p{
  max-width:520px;

  color:#68798c;

  font-size:12px;

  line-height:1.7;
}

.gov-links{
  display:grid;

  grid-template-columns:repeat(2,1fr);

  gap:10px;
}

.gov-links a{
  padding:15px;

  background:#fff;

  border:1px solid var(--border);

  border-radius:8px;

  color:var(--blue);

  font-size:10px;

  font-weight:700;

  transition:.2s ease;
}

.gov-links a:hover{
  border-color:var(--green);

  color:var(--green);
}


/* =========================================================
   FINAL APPLY BANNER
========================================================= */

.apply-banner{
  padding:20px 0;

  background:
    linear-gradient(
      100deg,
      #16894b,
      #0d713d
    );

  color:#fff;
}

.apply-banner .container{
  display:flex;

  align-items:center;

  gap:18px;
}

.apply-icon{
  width:54px;
  height:54px;

  display:grid;
  place-items:center;

  flex:0 0 54px;

  border-radius:10px;

  background:rgba(255,255,255,.13);

  font-size:27px;
}

.apply-banner h2{
  margin:0;

  color:#fff;

  font-size:21px;
}

.apply-banner p{
  margin:2px 0 0;

  color:#d9f0e3;

  font-size:10px;
}

.apply-banner .btn{
  margin-left:auto;

  min-width:190px;
}


/* =========================================================
   FOOTER
========================================================= */

footer{
  background:#082d57;

  color:#d6e1ec;
}

.footer-grid{
  width:min(1180px,92%);

  margin:auto;

  padding:43px 0 28px;

  display:grid;

  grid-template-columns:
    1.4fr
    1fr
    1fr
    1fr
    1.35fr;

  gap:27px;
}

.footer-brand img{
  width:220px;
  height:68px;

  object-fit:contain;

  object-position:left center;
}

.footer-brand p{
  max-width:265px;

  margin-top:10px;

  color:#bdccda;

  font-size:9px;

  line-height:1.7;
}

.footer-grid h4{
  margin:0 0 13px;

  color:#fff;

  font-size:12px;
}

.footer-grid a,
.footer-grid p{
  display:block;

  margin:7px 0;

  color:#b7c7d7;

  font-size:9px;

  line-height:1.55;
}

.footer-grid a:hover{
  color:#6fd292;
}

.social{
  margin-top:13px;

  color:#fff;

  font-size:13px;
}

.copyright{
  width:min(1180px,92%);

  margin:auto;

  padding:13px 0;

  border-top:1px solid rgba(255,255,255,.12);

  color:#9fb1c3;

  font-size:8px;
}

.copyright span{
  float:right;
}


/* =========================================================
   DESKTOP LARGE
========================================================= */

@media(min-width:1400px){

  .hero-copy{
    padding-left:calc((100vw - 1180px)/2);
  }

  .hero-visual{
    width:67%!important;
  }

  .eligibility{
    right:5%!important;
  }
}


/* =========================================================
   LAPTOP
========================================================= */

@media(max-width:1200px){

  .nav{
    gap:13px;
    font-size:10px;
  }

  .brand{
    width:220px;
  }

  .brand img{
    width:205px;
  }

  .hero h1{
    font-size:49px;
  }

  .hero-copy{
    padding-left:4%;
  }

  .feature-row{
    gap:9px;
  }

  .loan-grid{
    grid-template-columns:repeat(3,1fr);
  }

  .hero-visual{
    width:68%!important;
  }

  .eligibility{
    width:295px!important;
    right:3%!important;
  }
}


/* =========================================================
   TABLET
========================================================= */

@media(max-width:950px){

  .site-header{
    height:72px;
  }

  .nav-wrap{
    width:92%;
  }

  .nav{
    gap:8px;
    font-size:9px;
  }

  .brand{
    width:200px;
  }

  .brand img{
    width:190px;
  }

  .hero{
    height:auto;
  }

  .hero-grid{
    height:auto;
  }

  .hero-copy{
    position:relative;

    width:100%;

    height:auto;

    min-height:480px;

    padding:
      55px
      5%
      35px;
  }

  .hero-visual{
    position:relative!important;

    top:auto;
    right:auto;

    width:100%!important;
    height:500px!important;
  }

  .eligibility{
    top:25px!important;
    right:25px!important;
  }

  .feature-row{
    grid-template-columns:repeat(2,1fr)!important;
  }

  .community-template-inner{
    height:190px;
  }

  .community-collage,
  .collage-item{
    height:190px;
  }

  .how-template-grid{
    grid-template-columns:1fr;
  }

  .why-template{
    margin-top:35px;
  }

  .calc-grid{
    grid-template-columns:1fr 1fr;
  }

  .testimonial{
    grid-column:1/-1;
  }

  .footer-grid{
    grid-template-columns:repeat(3,1fr);
  }
}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:780px){

  .site-header{
    height:68px;
  }

  .brand{
    height:65px;
  }

  .brand img{
    width:190px;
    height:60px;
  }

  .menu-btn{
    display:block;
  }

  .nav{
    display:none;

    position:absolute;

    top:68px;
    left:0;
    right:0;

    padding:12px 5%;

    flex-direction:column;
    align-items:stretch;

    background:#fff;

    box-shadow:
      0 10px 25px rgba(0,0,0,.10);
  }

  .nav.open{
    display:flex;
  }

  .nav>a{
    height:auto;

    padding:11px 8px;
  }

  .nav .active:after{
    display:none;
  }

  .hero-copy{
    padding:
      42px
      5%
      30px;
  }

  .hero h1{
    font-size:40px;

    letter-spacing:-1.5px;
  }

  .hero-copy>p{
    font-size:14px;
  }

  .feature-row{
    grid-template-columns:1fr 1fr!important;
  }

  .hero-buttons{
    flex-direction:column;
    align-items:stretch;
  }

  .hero-buttons .btn{
    width:100%;
  }

  .hero-visual{
    height:500px!important;
  }

  .eligibility{
    width:calc(100% - 30px)!important;

    right:15px!important;

    top:20px!important;
  }

  .stats{
    grid-template-columns:repeat(2,1fr);
  }

  .stats div{
    border-bottom:1px solid rgba(255,255,255,.14);
  }

  .stats div:nth-child(2),
  .stats div:nth-child(4){
    border-right:0;
  }

  .loan-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .community-template-inner{
    height:auto;

    grid-template-columns:1fr;
  }

  .community-copy{
    padding:28px 25px;

    clip-path:none;
  }

  .community-copy h2{
    font-size:22px;
  }

  .community-copy p{
    font-size:10px;
  }

  .community-collage{
    height:230px;

    grid-template-columns:repeat(4,1fr);
  }

  .collage-item{
    height:230px;

    transform:none;
  }

  .collage-item img{
    width:100%;
    left:0;

    transform:none;
  }

  .collage-item span{
    transform:none;
  }

  .steps-template{
    grid-template-columns:
      1fr 25px
      1fr;
  }

  .why-template{
    grid-template-columns:1fr;
  }

  .why-template-image{
    height:280px;
  }

  .why-list{
    padding:20px 0 0;
  }

  .calc-grid{
    grid-template-columns:1fr;
  }

  .testimonial{
    grid-column:auto;
  }

  .leaders{
    grid-template-columns:1fr;
  }

  .governance-grid{
    grid-template-columns:1fr;
  }

  .apply-banner .container{
    flex-wrap:wrap;
  }

  .apply-banner .btn{
    margin-left:0;
  }

  .footer-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .copyright span{
    float:none;

    display:block;

    margin-top:5px;
  }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media(max-width:480px){

  .hero h1{
    font-size:35px;
  }

  .feature-row{
    grid-template-columns:1fr!important;
  }

  .hero-visual{
    height:480px!important;
  }

  .eligibility{
    width:calc(100% - 24px)!important;

    right:12px!important;

    padding:22px 18px!important;
  }

  .loan-grid{
    grid-template-columns:1fr;
  }

  .community-collage{
    height:420px;

    grid-template-columns:repeat(2,1fr);
  }

  .collage-item{
    height:210px;
  }

  .steps-template{
    grid-template-columns:1fr 1fr;
  }

  .step-arrow{
    display:none;
  }

  .gov-links{
    grid-template-columns:1fr;
  }

  .footer-grid{
    grid-template-columns:1fr;
  }

  .leaders article{
    align-items:flex-start;
  }

  .leader-avatar{
    width:88px;
    height:100px;

    flex:0 0 88px;
  }
}