/********** Template CSS **********/
:root {
    --primary: #F3525A;
    --secondary: #F6F6F6;
    --light: #FFFFFF;
    --dark: #152440;
}

html, body {
    overflow-x: hidden;
    min-height: 100%;
}

body {
    overflow-y: auto;
    margin: 0;
}

h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.pt-6 {
    padding-top: 90px;
}

.pb-6 {
    padding-bottom: 90px;
}

.py-6 {
    padding-top: 90px;
    padding-bottom: 90px;
}

.btn {
    font-family: 'Barlow', sans-serif;
    font-weight: 600;
    transition: .5s;
}

.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 36px;
    height: 36px;
}

.btn-sm-square {
    width: 28px;
    height: 28px;
}

.btn-lg-square {
    width: 46px;
    height: 46px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

.top-shape::before {
    position: absolute;
    content: "";
    width: 35px;
    height: 100%;
    top: 0;
    left: -17px;
    background: var(--primary);
    transform: skew(40deg);
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Barlow', sans-serif;
    padding: 35px 15px;
    font-size: 22px;
    text-transform: uppercase;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 15px;
}

.navbar-logo {
    height: 150px;
    transition: height 0.3s ease;
}

.navbar.sticky-top .navbar-logo {
    height: 80px;
}

.navbar.sticky-top .brand-title {
    font-size: 18px;
}

.navbar.sticky-top .brand-tagline {
    display: none;
}

.brand-title {
    font-family: 'Barlow', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 1.25;
    color: var(--dark);
    text-transform: uppercase;
    white-space: nowrap;
}

.brand-tagline {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #6c757d;
}

@media (max-width: 991.98px) {
    .brand-title {
        font-size: 16px;
        white-space: normal;
    }
    .brand-tagline {
        font-size: 11px;
    }
}

@media (max-width: 575.98px) {
    .brand-tagline {
        display: none;
    }
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link {
        padding: 0.75rem 0.75rem;
        font-size: 18px;
    }
    .navbar-light .navbar-brand img {
        height: 90px;
    }
    .top-shape,
    .container-fluid.bg-secondary.px-2.px-lg-4 {
        display: none !important;
    }
    .container-fluid.bg-secondary .row {
        gap: 0.5rem;
    }
    #header-carousel .carousel-item {
        min-height: auto;
    }
    #header-carousel .carousel-item img {
        display: block;
        width: 100% !important;
        height: auto !important;
        object-fit: cover;
    }
    #header-carousel .carousel-caption {
        padding: 1.25rem;
    }
    #header-carousel .carousel-caption h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    #header-carousel .carousel-caption p {
        font-size: 1rem;
    }
}

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(21, 36, 64, .7);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

.service-item {
    position: relative;
    overflow: hidden;
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

.service-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50px;
    bottom: -50px;
    left: 0;
    background: var(--light);
    border-radius: 100% 100% 0 0;
    box-shadow: 0px -10px 5px #EEEEEE;
    transition: .5s;
}

.service-item:hover::after {
    bottom: -25px;
}

.service-item p {
    transition: .3s;
}

.service-item:hover p {
    margin-bottom: 25px !important;
}

.team-item img {
    transform: scale(1.15);
    margin-left: -30px;
    transition: .5s;
}

.team-item:hover img {
    margin-left: 0;
}

.team-item .team-text {
    left: -100%;
    transition: .5s;
}

.team-item .team-text::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: 50%;
    right: -60px;
    margin-top: -30px;
    border: 30px solid;
    border-color: transparent transparent transparent var(--primary);
}

.team-item:hover .team-text {
    left: 0;
}

.blog-item img {
    transition: .5s;
}

.blog-item:hover img {
    transform: scale(1.1);
}

.about-hero {
    background: linear-gradient(135deg, #0f4c81 0%, #1d6fb8 50%, #2f8fd8 100%);
    position: relative;
    overflow: visible;
}

.about-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.18), transparent 30%);
    pointer-events: none;
}

.about-hero .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255,255,255,0.7);
}

.gold-loan-hero {
    background: linear-gradient(135deg, rgba(15,76,129,0.85) 0%, rgba(29,111,184,0.85) 50%, rgba(47,143,216,0.85) 100%), url("../img/hero/goldloan.png");
    background-size: cover;
    background-position: center;
}

.mortgage-loan-hero {
    background: linear-gradient(135deg, rgba(15,76,129,0.85) 0%, rgba(29,111,184,0.85) 50%, rgba(47,143,216,0.85) 100%), url("../img/hero/mortageloan.png");
    background-size: cover;
    background-position: center;
}

.deposit-loan-hero {
    background: linear-gradient(135deg, rgba(15,76,129,0.85) 0%, rgba(29,111,184,0.85) 50%, rgba(47,143,216,0.85) 100%), url("../img/hero/depositloan.png");
    background-size: cover;
    background-position: center;
}

.contact-hero {
    background: linear-gradient(135deg, rgba(15,76,129,0.85) 0%, rgba(29,111,184,0.85) 50%, rgba(47,143,216,0.85) 100%), url("../img/landing-hero.png");
    background-size: cover;
    background-position: center;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 1.75rem;
}

.contact-info-item .about-icon {
    margin-bottom: 0;
    flex-shrink: 0;
}

.reveal {
    opacity: 0;
    transition: transform 0.8s ease, opacity 0.8s ease;
}

.reveal-left {
    transform: translateX(-60px);
}

.reveal-right {
    transform: translateX(60px);
}

.reveal.in-view {
    opacity: 1;
    transform: translateX(0);
}

.about-highlight {
    border-left-width: 6px !important;
}

.about-card {
    background: var(--light);
    border: 1px solid #E9ECEF;
    border-left: 5px solid var(--primary);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 12px 35px rgba(21, 36, 64, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(21, 36, 64, 0.12);
}

.about-card-vision {
    background: linear-gradient(135deg, #ffffff 0%, #f6fbff 100%);
}

.about-card-mission {
    background: linear-gradient(135deg, #f3525a 0%, #d93b43 100%);
    border-left-color: #ffffff;
}

.about-card-red {
    color: #ffffff;
}

.about-card-goal {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
}

.commitment-shell {
    position: relative;
    padding: 12px;
    border-radius: 1.25rem;
    background: linear-gradient(135deg, #f3525a 0%, #1d6fb8 100%);
    box-shadow: 0 18px 40px rgba(21, 36, 64, 0.15);
}

.commitment-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.5rem;
    height: 100%;
}

.commitment-flow {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.commitment-step {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #f8fbff;
    border: 1px solid #e7eef9;
    border-left: 4px solid var(--primary);
    border-radius: 0.75rem;
    padding: 0.8rem 0.9rem;
}

.commitment-step p {
    margin: 0;
    color: #475569;
    font-size: 0.95rem;
}

.step-number {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    font-weight: 700;
}

.about-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(243, 82, 90, 0.12);
    color: var(--primary);
    border-radius: 50%;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.about-icon-red {
    background: rgba(255,255,255,0.2);
    color: #ffffff;
}

.chairman-box {
    background: linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #E9ECEF;
    position: relative;
}

.chairman-box::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(243, 82, 90, 0.04), transparent 40%);
    border-radius: inherit;
    pointer-events: none;
}

.chairman-image-wrapper {
    display: inline-block;
    padding: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f3525a, #1d6fb8);
}

.chairman-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: 0 15px 35px rgba(21, 36, 64, 0.15);
}
.banking-services{
    background:#f8fafc;
}

.service-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:35px;
}

.service-card{
    background:#fff;
    border-radius:15px;
    padding:40px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.35s;
    border-top:5px solid #0d6efd;
}

.loan-card{
    border-top-color:#198754;
}

.service-card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 40px rgba(0,0,0,.12);
}

.service-icon{
    width:70px;
    height:70px;
    border-radius:50%;
    background:#eef5ff;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:25px;
}

.loan-card .service-icon{
    background:#eaf8ef;
}

.service-icon i{
    font-size:30px;
    color:#0d6efd;
}

.loan-card .service-icon i{
    color:#198754;
}

.service-card h3{
    font-size:30px;
    font-weight:700;
    margin-bottom:12px;
}

.service-card p{
    color:#666;
    margin-bottom:25px;
}

.service-card ul{
    list-style:none;
    padding:0;
    margin:0;
}

.service-card ul li{
    margin-bottom:15px;
}

.service-card ul li:last-child{
    margin-bottom:0;
}

.service-card ul li a{
    display:flex;
    align-items:center;
    color:#222;
    text-decoration:none;
    font-weight:600;
    padding:12px 18px;
    background:#f7f9fc;
    border-radius:8px;
    transition:.3s;
}

.service-card ul li a::before{
    content:"➜";
    margin-right:12px;
    color:#0d6efd;
    font-weight:bold;
}

.loan-card ul li a::before{
    color:#198754;
}

.service-card ul li a:hover{
    background:#0d6efd;
    color:#fff;
    padding-left:25px;
}

.loan-card ul li a:hover{
    background:#198754;
}

.service-card ul li a:hover::before{
    color:#fff;
}

@media(max-width:991px){

    .service-grid{
        grid-template-columns:1fr;
    }

    .service-card{
        padding:30px;
    }
}
.loan-card{
    background:#fff;
    border-radius:18px;
    box-shadow:0 12px 35px rgba(0,0,0,.08);
    overflow:hidden;
    border:1px solid #e8e8e8;
}

.loan-header{
    background:linear-gradient(135deg,#0d6efd,#004aad);
    color:#fff;
    padding:45px;
}

.loan-header h2{
    font-size:36px;
    font-weight:700;
    margin-bottom:20px;
}

.loan-header p{
    font-size:16px;
    line-height:1.8;
    margin-bottom:15px;
    opacity:.95;
}

.loan-content{
    padding:40px;
}

.loan-box{
    margin-bottom:35px;
    background:#f8f9fa;
    border-left:5px solid #0d6efd;
    border-radius:10px;
    padding:30px;
}

.loan-box:last-child{
    margin-bottom:0;
}

.loan-box h4{
    color:#0d6efd;
    font-weight:700;
    margin-bottom:20px;
}

.loan-box ul{
    list-style:none;
    padding:0;
    margin:0;
}

.loan-box ul li{
    position:relative;
    padding-left:35px;
    margin-bottom:18px;
    line-height:1.8;
}

.loan-box ul li:last-child{
    margin-bottom:0;
}

.loan-box ul li::before{
    content:"✓";
    position:absolute;
    left:0;
    top:0;
    width:24px;
    height:24px;
    border-radius:50%;
    background:#0d6efd;
    color:#fff;
    text-align:center;
    line-height:24px;
    font-size:14px;
    font-weight:bold;
}

.interest-box{
    border-left:5px solid #198754;
}

.interest-box h4{
    color:#198754;
}

.interest-box p{
    margin:0;
    line-height:1.9;
    color:#555;
}

@media(max-width:768px){

.loan-header{
    padding:30px;
}

.loan-header h2{
    font-size:28px;
}

.loan-content{
    padding:25px;
}

.loan-box{
    padding:20px;
}

}
.card{
    background:#f9fbfd;
    border-left:6px solid #00509e;
    padding:30px;
    border-radius:8px;
}

.card p{
    margin-bottom:20px;
    text-align:justify;
    font-size:17px;
}

.highlight{
    color:#003366;
    font-weight:600;
}

.supporting-documents{
    background:#f8fafc;
}

.supporting-documents .card{
    border-radius:20px;
}

.supporting-documents h2{
    color:#0d6efd;
}

.supporting-documents h5{
    color:#0b5ed7;
}

.supporting-documents ul li{
    margin-bottom:8px;
    line-height:1.7;
}

.supporting-documents p{
    line-height:1.8;
}

.supporting-documents .alert{
    font-size:16px;
    line-height:1.7;
}
.policy-section{

    padding:15px 20px;
}

.container{
    max-width:1320px;
    margin:auto;
}

.policy-card{
    background:#fff;
    border-radius:12px;
    padding:35px;
    margin-bottom:20px;
    box-shadow:0 8px 25px rgba(0,0,0,.08);
    border-left:6px solid #0056b3;
}

.policy-card h2{
    color:#0056b3;
    margin-top:0;
    margin-bottom:20px;
    font-size:28px;
    font-weight:700;
}

.policy-card p{
    color:#444;
    font-size:17px;
    line-height:1.8;
    margin-bottom:20px;
}

.roman-list{
    margin:0;
    padding-left:28px;
}

.roman-list li{
    margin-bottom:18px;
    line-height:1.9;
    color:#444;
    font-size:16px;
}

.policy-content{
    position:relative;
    max-height:150px;
    overflow:hidden;
    transition:max-height .4s ease;
}

.policy-content::after{
    content:"";
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    height:60px;
    background:linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
    pointer-events:none;
    transition:opacity .3s ease;
}

.policy-card.expanded .policy-content{
    max-height:4000px;
}

.policy-card.expanded .policy-content::after{
    opacity:0;
}

.policy-toggle{
    display:inline-flex;
    align-items:center;
    gap:6px;
    margin-top:16px;
    padding:0;
    border:none;
    background:none;
    color:#dc3545;
    font-weight:700;
    font-size:15px;
    cursor:pointer;
}

.policy-toggle:hover{
    text-decoration:underline;
}

.policy-toggle .bi{
    transition:transform .3s ease;
}

.policy-card.expanded .policy-toggle .bi{
    transform:rotate(180deg);
}

@media(max-width:768px){

.policy-card{
    padding:25px;
}

.policy-card h2{
    font-size:23px;
}

.policy-card p,
.roman-list li{
    font-size:15px;
    line-height:1.8;
}

}

/* Dream and Goal page */
.dream-goal-wrap{
    background:#fff;
    border-radius:24px;
    box-shadow:0 20px 50px rgba(0,0,0,.08);
    overflow:hidden;
}

.dream-goal-left{
    background:linear-gradient(180deg, #fff3f4 0%, #ffffff 100%);
    padding:50px 40px;
    height:100%;
}

.dream-goal-icon{
    width:64px;
    height:64px;
    border-radius:50%;
    background:rgba(243,82,90,.12);
    color:var(--primary);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:28px;
    margin-bottom:24px;
}

.dream-goal-title{
    font-family:'Barlow', sans-serif;
    font-weight:700;
    font-size:40px;
    color:var(--dark);
    line-height:1.15;
    margin-bottom:16px;
}

.dream-goal-underline{
    width:60px;
    height:4px;
    background:var(--primary);
    border-radius:2px;
    margin-bottom:20px;
}

.dream-goal-lead{
    color:#5b6472;
    font-size:16px;
    line-height:1.7;
    margin-bottom:30px;
}

.dream-goal-illustration img{
    width:100%;
    height:auto;
    display:block;
    margin-bottom:30px;
}

.dream-goal-quote{
    background:#fff;
    border-radius:14px;
    padding:20px 22px;
    box-shadow:0 10px 25px rgba(0,0,0,.1);
}

.dream-goal-quote i{
    color:var(--primary);
    font-size:22px;
    display:block;
    margin-bottom:6px;
}

.dream-goal-quote p{
    color:var(--dark);
    font-size:15px;
    line-height:1.6;
    margin:0;
}

.dream-goal-right{
    padding:50px 40px;
    height:100%;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.dream-goal-item{
    display:flex;
    align-items:flex-start;
    gap:16px;
    padding:14px 0;
    border-bottom:1px solid #f0e4e5;
}

.dream-goal-item:last-child{
    border-bottom:none;
}

.dream-goal-num{
    color:var(--primary);
    font-weight:700;
    font-size:15px;
    width:24px;
    flex-shrink:0;
    padding-top:9px;
}

.dream-goal-icon-sm{
    width:40px;
    height:40px;
    border-radius:10px;
    background:rgba(243,82,90,.12);
    color:var(--primary);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
    flex-shrink:0;
}

.dream-goal-item p{
    margin:0;
    padding-top:8px;
    color:#3a4256;
    font-size:15.5px;
    line-height:1.6;
}

@media(max-width:991.98px){
    .dream-goal-right{
        padding-top:10px;
    }
}

@media(max-width:575.98px){
    .dream-goal-left,
    .dream-goal-right{
        padding:35px 25px;
    }

    .dream-goal-title{
        font-size:32px;
    }
}
