/* HERO */
.hero-section {
    position: relative;
}

.hero-carousel {
    position: relative;
}

.hero-slide {
    min-height: 720px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(17, 24, 39, 0.72), rgba(17, 24, 39, 0.08)),
        linear-gradient(180deg, rgba(17, 24, 39, 0.1), rgba(17, 24, 39, 0.1));
    z-index: 1;
}

.hero-slide .container {
    position: relative;
    z-index: 2;
}

.hero-card {
    max-width: 520px;
    padding: 38px 36px;
    border-radius: 18px;
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.22);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.18);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    margin-bottom: 22px;
}

.hero-badge i {
    color: #9bd244;
    font-size: 8px;
}

.hero-card h1 {
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.02;
    font-weight: 800;
    margin-bottom: 22px;
    color: #fff;
}

.hero-card h1 span {
    color: var(--bs-secondary);
    font-style: italic;
    font-weight: 400;
}

.hero-card p {
    max-width: 440px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 16px;
    line-height: 1.65;
    margin-bottom: 26px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-btn-primary {
    background: var(--bs-primary);
    color: #fff;
    border-radius: 12px;
    padding: 13px 22px;
    font-size: 14px;
    font-weight: 700;
    border: 0;
}

.hero-btn-primary:hover {
    background: var(--bs-secondary);
    color: #fff;
}

.hero-btn-secondary {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    border-radius: 12px;
    padding: 13px 22px;
    font-size: 14px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.hero-btn-secondary:hover {
    background: #fff;
    color: var(--bs-primary);
}

.hero-control {
    width: 48px;
    height: 48px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    opacity: 1;
}

.hero-control i {
    font-size: 22px;
    color: #fff;
}

.hero-control:hover {
    background: var(--bs-secondary);
}

.hero-control-prev {
    left: 24px;
}

.hero-control-next {
    right: 24px;
}

.hero-indicators {
    bottom: 92px;
    margin-bottom: 0;
    z-index: 4;
}

.hero-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    opacity: 1;
    background: rgba(255, 255, 255, 0.5);
}

.hero-indicators .active {
    width: 30px;
    border-radius: 20px;
    background: var(--bs-secondary);
}

.info-section {
    position: relative;
    z-index: 5;
    margin-top: -42px;
    padding-bottom: 60px;
}

.info-stats {
    max-width: 1080px;
    margin: 0 auto;
    background: var(--bs-primary);
    color: #fff;
    border-radius: 12px;
    padding: 26px 28px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
}

.info-stat {
    text-align: center;
    padding: 0 18px;
}

.info-stat h3 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 4px;
    color: #fff;
}

.info-stat p {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 991px) {
    .hero-slide {
        min-height: 620px;
        align-items: flex-end;
        padding-bottom: 90px;
    }

    .hero-card {
        max-width: 100%;
        padding: 28px 24px;
    }

    .hero-control {
        display: none;
    }

    .hero-indicators {
        bottom: 60px;
    }

    .info-section {
        margin-top: 0;
        padding: 28px 0 50px;
    }

    .info-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 0;
    }
}

@media (max-width: 575px) {
    .hero-slide {
        min-height: 560px;
        padding-bottom: 70px;
    }

    .hero-card h1 {
        font-size: 38px;
    }

    .hero-card p {
        font-size: 14px;
    }

    .info-stats {
        grid-template-columns: 1fr;
        padding: 24px;
    }
}

.hero-carousel .carousel-item {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-carousel .carousel-item.active {
    opacity: 1;
}

.hero-carousel .hero-slide {
    transform: scale(1.06);
    transition: transform 4s ease;
}

.hero-carousel .carousel-item.active .hero-slide {
    transform: scale(1);
}

.hero-carousel .hero-card {
    opacity: 0;
    transform: translateY(36px);
    transition: 0.9s ease;
    transition-delay: 0.25s;
}

.hero-carousel .carousel-item.active .hero-card {
    opacity: 1;
    transform: translateY(0);
}

.hero-carousel .carousel-item-next,
.hero-carousel .carousel-item-prev,
.hero-carousel .carousel-item.active {
    display: block;
}

.hero-carousel .carousel-item-next:not(.carousel-item-start),
.hero-carousel .active.carousel-item-end {
    transform: none;
}

.hero-carousel .carousel-item-prev:not(.carousel-item-end),
.hero-carousel .active.carousel-item-start {
    transform: none;
}

/* SECTION COMMON */
.section-heading {
    margin-bottom: 24px;
}

.section-kicker {
    display: inline-block;
    color: var(--bs-secondary);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.section-heading h2 {
    font-size: clamp(34px, 4vw, 48px);
    font-weight: 800;
    color: #202020;
    margin: 0;
}

.section-link {
    color: var(--bs-primary);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid var(--bs-primary);
    padding-bottom: 4px;
    transition: 0.25s ease;
}

.section-link:hover {
    color: var(--bs-secondary);
    border-color: var(--bs-secondary);
}

/* LOAN PRODUCTS */
.loan-products-section {
    padding: 90px 0 55px;
}

.loan-card {
    height: 100%;
    min-height: 230px;
    display: block;
    background: #f8f8f9;
    border: 1px solid rgba(0, 0, 0, 0.04);
    border-radius: 18px;
    padding: 30px 28px;
    text-decoration: none;
    color: #222;
    transition: 0.35s ease;
    position: relative;
    overflow: hidden;
}

.loan-card::before {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 4px;
    background: var(--bs-secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: 0.35s ease;
}

.loan-card:hover {
    transform: translateY(-8px);
    background: #fff;
    box-shadow: 0 22px 45px rgba(0, 0, 0, 0.1);
}

.loan-card:hover::before {
    transform: scaleX(1);
}

.loan-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #fff;
    color: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
    transition: 0.35s ease;
}

.loan-card:hover .loan-icon {
    background: var(--bs-secondary);
    color: #fff;
    transform: rotate(-6deg) scale(1.06);
}

.loan-card h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 14px;
    color: #151515;
}

.loan-card p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.65;
    margin: 0;
}

/* EDUCATION */
.education-section {
    padding: 35px 0 90px;
}

.education-card {
    background:
        radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.12), transparent 32%),
        linear-gradient(135deg, var(--bs-primary), #843869);
    color: #fff;
    border-radius: 28px;
    padding: 58px 64px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 26px 60px rgba(118, 43, 98, 0.22);
}

.education-card::before {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    left: -90px;
    bottom: -120px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.education-content {
    position: relative;
    z-index: 2;
}

.education-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    border-radius: 999px;
    padding: 8px 15px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 22px;
}

.education-content h2 {
    color: #fff;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.08;
    font-weight: 800;
    margin-bottom: 20px;
}

.education-content p {
    max-width: 460px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 24px;
}

.education-btn {
    background: #fff;
    color: var(--bs-primary);
    border-radius: 12px;
    padding: 13px 22px;
    font-size: 14px;
    font-weight: 800;
    border: 0;
}

.education-btn:hover {
    background: var(--bs-secondary);
    color: #fff;
}

.education-image {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 470px;
    aspect-ratio: 1.42 / 1;
    margin-left: auto;
    border-radius: 999px 0 0 999px;
    overflow: hidden;
    border: 8px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.22);
}

.education-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.8s ease;
}

.education-card:hover .education-image img {
    transform: scale(1.06);
}

@media (max-width: 991px) {
    .loan-products-section {
        padding: 65px 0 35px;
    }

    .section-heading {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 12px;
    }

    .education-card {
        padding: 42px 28px;
        border-radius: 24px;
    }

    .education-image {
        max-width: 100%;
        margin-left: 0;
        border-radius: 24px;
    }
}

@media (max-width: 575px) {
    .loan-card {
        min-height: auto;
        padding: 26px 22px;
    }

    .education-card {
        padding: 34px 22px;
    }
}

.resources-section {
    padding: 85px 0 95px;
    background: #f8f8f8;
}

.resources-heading {
    margin-bottom: 46px;
}

.resources-heading h2 {
    font-size: clamp(30px, 4vw, 42px);
    font-weight: 800;
    color: #121827;
    margin-bottom: 12px;
}

.resources-heading p {
    color: #7b8494;
    font-size: 15px;
    margin: 0;
}

.resources-tabs-wrap {
    max-width: 960px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 16px 45px rgba(15, 23, 42, 0.04);
}

.resources-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid rgba(15, 23, 42, 0.07);
}

.resources-tabs .nav-item {
    width: 100%;
}

.resources-tabs .nav-link {
    width: 100%;
    height: 64px;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: #9aa3b2;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.9px;
    position: relative;
}

.resources-tabs .nav-link.active {
    color: var(--bs-primary);
    background: #fff;
}

.resources-tabs .nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    background: var(--bs-secondary);
}

.resources-content {
    padding: 58px 42px;
}

.resources-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.resources-list li {
    position: relative;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.5;
    padding-left: 32px;
}

.resources-list li+li {
    margin-top: 22px;
}

.resources-list li::before {
    content: "\f26a";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    top: 1px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    color: var(--bs-primary);
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.resources-border {
    border-left: 1px solid rgba(15, 23, 42, 0.12);
    padding-left: 44px;
}

.resources-content .tab-pane {
    animation: resourcesFade 0.35s ease;
}

@keyframes resourcesFade {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    .resources-tabs {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 10px;
        padding: 12px;
        border-bottom: 1px solid rgba(15, 23, 42, 0.07);
        scrollbar-width: none;
    }

    .resources-tabs::-webkit-scrollbar {
        display: none;
    }

    .resources-tabs .nav-item {
        flex: 0 0 auto;
        width: auto;
    }

    .resources-tabs .nav-link {
        min-width: max-content;
        height: auto;
        padding: 12px 18px;
        border-radius: 999px;
        background: #f6f6f6;
        white-space: nowrap;
    }

    .resources-tabs .nav-link.active {
        background: var(--bs-primary);
        color: #fff;
    }

    .resources-tabs .nav-link.active::after {
        display: none;
    }

    .resources-content {
        padding: 34px 22px;
    }

    .resources-border {
        border-left: 0;
        padding-left: 12px;
    }
}

@media (max-width: 575px) {
    .resources-tabs-wrap {
        border-radius: 18px;
    }

    .resources-content {
        padding: 30px 20px;
    }

    .resources-list li {
        font-size: 14px;
    }
}

.news-events-section {
    padding: 85px 0 90px;
    background: #fff;
}

.featured-news-card,
.side-news-card,
.event-highlight {
    text-decoration: none;
}

.featured-news-card {
    display: block;
    color: #111827;
}

.featured-news-image {
    position: relative;
    height: 390px;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 22px;
}

.featured-news-image img,
.side-news-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.55s ease;
}

.featured-news-card:hover .featured-news-image img,
.side-news-card:hover img {
    transform: scale(1.06);
}

.news-badge {
    position: absolute;
    left: 20px;
    top: 18px;
    z-index: 2;
    background: #fff;
    color: #111827;
    border-radius: 999px;
    padding: 7px 14px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.news-meta {
    display: inline-block;
    color: #8a94a6;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.featured-news-content h3 {
    color: #111827;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 14px;
    transition: 0.25s ease;
}

.featured-news-content p {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.75;
    max-width: 650px;
    margin: 0;
}

.featured-news-card:hover h3 {
    color: var(--bs-primary);
}

.side-news-list {
    display: grid;
    gap: 28px;
}

.side-news-card {
    display: grid;
    grid-template-columns: 145px 1fr;
    gap: 18px;
    align-items: center;
    color: #111827;
}

.side-news-card img {
    height: 112px;
    border-radius: 14px;
}

.side-news-card h4 {
    color: #111827;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.35;
    margin: 0;
    transition: 0.25s ease;
}

.side-news-card:hover h4 {
    color: var(--bs-primary);
}

.event-highlight {
    margin-top: 70px;
    padding: 22px 24px;
    background: rgba(var(--bs-primary-rgb), 0.06);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #111827;
    transition: 0.3s ease;
}

.event-highlight h4 {
    color: var(--bs-primary);
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 6px;
}

.event-highlight p {
    color: #6b7280;
    font-size: 13px;
    margin: 0;
}

.event-highlight span {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    color: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.25s ease;
}

.event-highlight:hover {
    transform: translateY(-4px);
    background: var(--bs-primary);
}

.event-highlight:hover h4,
.event-highlight:hover p {
    color: #fff;
}

.event-highlight:hover span {
    background: var(--bs-secondary);
    color: #fff;
}

/* FOOTER */
.site-footer {
    background: #111111;
    color: #fff;
    padding: 68px 0 34px;
}

.footer-logo {
    max-height: 48px;
    width: auto;
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}


.footer-text {
    color: #a3a3a3;
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 26px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #1f1f1f;
    color: #bdbdbd;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.25s ease;
}

.footer-social a:hover {
    background: var(--bs-primary);
    color: #fff;
}

.footer-title {
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 24px;
}

.footer-links,
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li+li {
    margin-top: 14px;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    transition: 0.25s ease;
}

.footer-links a:hover {
    color: var(--bs-secondary);
}

.footer-contact li {
    display: flex;
    gap: 14px;
    color: #a3a3a3;
    font-size: 14px;
    line-height: 1.55;
}

.footer-contact li+li {
    margin-top: 18px;
}

.footer-contact i {
    color: var(--bs-primary);
    font-size: 18px;
    margin-top: 2px;
}

.footer-contact strong {
    color: var(--bs-secondary);
}

.footer-bottom {
    margin-top: 46px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-bottom p {
    color: #7b7b7b;
    font-size: 13px;
    margin: 0;
}

.footer-bottom a {
    color: #7b7b7b;
    font-size: 13px;
    text-decoration: none;
    margin-left: 22px;
    transition: 0.25s ease;
}

.footer-bottom a:hover {
    color: var(--bs-secondary);
}

@media (max-width: 991px) {
    .news-events-section {
        padding: 65px 0 70px;
    }

    .featured-news-image {
        height: 300px;
    }

    .side-news-card {
        grid-template-columns: 120px 1fr;
    }

    .event-highlight {
        margin-top: 34px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom a {
        margin-left: 0;
        margin-right: 18px;
    }
}

@media (max-width: 575px) {
    .featured-news-image {
        height: 240px;
    }

    .side-news-card {
        grid-template-columns: 1fr;
    }

    .side-news-card img {
        height: 210px;
    }

    .site-footer {
        padding: 52px 0 28px;
    }
}