/* =========================================================
   SARKARI KAAM - BANKING PAGE
   COMPLETE RESPONSIVE CSS
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f5f7fb;
    color: #172033;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
select {
    font: inherit;
}

img {
    max-width: 100%;
    display: block;
}

.banking-container {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
}


/* =========================================================
   HEADER / NAVBAR
========================================================= */

.main-header {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e5e9f0;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 3px 18px rgba(0, 0, 0, 0.06);
}

.header-container {
    width: min(1250px, calc(100% - 40px));
    min-height: 78px;
    margin: auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}


/* LOGO */

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    min-width: 225px;
}

.logo-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;
    background: #eef4ff;

    font-size: 27px;
}

.logo h1 {
    font-size: 21px;
    line-height: 1.1;
    color: #172033;
    white-space: nowrap;
}

.logo p {
    margin-top: 3px;
    font-size: 11px;
    color: #718096;
    white-space: nowrap;
}


/* DESKTOP NAV */

.navbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    flex-wrap: nowrap;
}

.navbar > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;
    padding: 0 13px;

    border-radius: 9px;

    color: #4a5568;
    font-size: 14px;
    font-weight: 600;

    white-space: nowrap;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.navbar > a:hover {
    color: #1769e0;
    background: #eef5ff;
}

.navbar > a.active {
    color: #ffffff;
    background: #1769e0;
}

.login-btn {
    margin-left: 8px;
    padding-left: 17px !important;
    padding-right: 17px !important;

    color: #ffffff !important;
    background: #0f766e !important;
}

.login-btn:hover {
    background: #0b625c !important;
    transform: translateY(-1px);
}


/* MOBILE MENU BUTTON */

.menu-btn {
    display: none;

    width: 44px;
    height: 44px;

    border: 0;
    border-radius: 10px;

    background: #1769e0;
    color: #ffffff;

    cursor: pointer;
    font-size: 22px;
}


/* =========================================================
   BANKING HERO
========================================================= */

.banking-hero {
    padding: 80px 0;
    background:
        linear-gradient(
            135deg,
            #eef6ff 0%,
            #ffffff 52%,
            #ecfbf7 100%
        );
    border-bottom: 1px solid #e7edf5;
}

.banking-container {
    position: relative;
}

.banking-hero .banking-container {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 60px;
}

.banking-hero-content {
    max-width: 700px;
}

.banking-badge {
    display: inline-flex;
    align-items: center;

    padding: 8px 14px;

    border-radius: 30px;

    background: #e8f2ff;
    color: #1769e0;

    font-size: 13px;
    font-weight: 700;
}

.banking-hero h2 {
    margin-top: 18px;

    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.08;

    color: #172033;
}

.banking-hero h2 span {
    display: block;
    color: #1769e0;
}

.banking-hero-content > p {
    max-width: 650px;
    margin-top: 20px;

    color: #667085;
    font-size: 17px;
}

.banking-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.banking-primary-btn,
.banking-secondary-btn {
    min-height: 48px;
    padding: 0 21px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    font-size: 14px;
    font-weight: 700;

    transition: 0.2s ease;
}

.banking-primary-btn {
    background: #1769e0;
    color: #ffffff;
}

.banking-primary-btn:hover {
    background: #1258be;
    transform: translateY(-2px);
}

.banking-secondary-btn {
    background: #ffffff;
    color: #1769e0;
    border: 1px solid #d7e2f2;
}

.banking-secondary-btn:hover {
    background: #eef5ff;
}

.banking-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 25px;

    color: #667085;
    font-size: 13px;
    font-weight: 600;
}


/* HERO CARD */

.banking-hero-card {
    padding: 35px;

    border: 1px solid #dfe8f4;
    border-radius: 22px;

    background: rgba(255, 255, 255, 0.9);

    box-shadow: 0 20px 55px rgba(34, 73, 125, 0.12);

    text-align: center;
}

.bank-building {
    width: 85px;
    height: 85px;

    margin: 0 auto 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 20px;

    background: #eef5ff;

    font-size: 45px;
}

.banking-hero-card h3 {
    font-size: 25px;
}

.banking-hero-card > p {
    margin-top: 8px;
    color: #667085;
}

.banking-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    margin-top: 28px;

    border-top: 1px solid #e5eaf1;
    padding-top: 22px;
}

.banking-stat-row div {
    display: flex;
    flex-direction: column;
}

.banking-stat-row strong {
    color: #1769e0;
    font-size: 21px;
}

.banking-stat-row span {
    color: #7b8494;
    font-size: 11px;
}


/* =========================================================
   SECURITY NOTICE
========================================================= */

.banking-notice {
    padding: 25px 0;
    background: #ffffff;
}

.notice-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;

    padding: 18px 20px;

    border: 1px solid #f2dfac;
    border-radius: 12px;

    background: #fffaf0;
}

.notice-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.notice-box strong {
    color: #8a5a00;
}

.notice-box p {
    margin-top: 3px;
    color: #6b7280;
    font-size: 13px;
}


/* =========================================================
   SECTION HEADINGS
========================================================= */

.banking-section-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 42px;
}

.banking-section-heading > span,
.banking-small-title {
    color: #1769e0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.banking-section-heading h2 {
    margin-top: 8px;

    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.2;
}

.banking-section-heading p {
    margin-top: 10px;
    color: #718096;
}


/* =========================================================
   BANKING SERVICES
========================================================= */

.banking-services {
    padding: 80px 0;
    background: #f7f9fc;
}

.banking-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.banking-card {
    padding: 28px;

    border: 1px solid #e2e8f0;
    border-radius: 16px;

    background: #ffffff;

    box-shadow: 0 8px 30px rgba(20, 40, 70, 0.05);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.banking-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(20, 40, 70, 0.1);
}

.banking-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    border-radius: 14px;

    background: #eef5ff;

    font-size: 28px;
}

.banking-card h3 {
    font-size: 19px;
}

.banking-card p {
    margin: 10px 0 18px;

    color: #6b7280;
    font-size: 14px;
}

.banking-card a {
    color: #1769e0;
    font-size: 13px;
    font-weight: 700;
}


/* =========================================================
   FINANCIAL SECTION
========================================================= */

.financial-section {
    padding: 85px 0;

    background: #ffffff;
}

.financial-content {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
    gap: 60px;
}

.financial-content h2 {
    margin-top: 10px;

    font-size: clamp(30px, 4vw, 45px);
    line-height: 1.15;
}

.financial-content p {
    margin: 17px 0 25px;
    color: #667085;
}

.financial-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.financial-features > div {
    padding: 20px;

    border: 1px solid #e4e9f0;
    border-radius: 14px;

    background: #f9fafc;
}

.financial-features span {
    display: block;
    font-size: 25px;
}

.financial-features strong {
    display: block;
    margin-top: 8px;
}

.financial-features small {
    display: block;
    margin-top: 3px;
    color: #7b8494;
}


/* =========================================================
   OFFICIAL PORTALS
========================================================= */

.banking-portals {
    padding: 80px 0;
    background: #f7f9fc;
}

.official-bank-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.official-bank-card {
    display: flex;
    align-items: center;
    gap: 15px;

    padding: 20px;

    border: 1px solid #e1e7ef;
    border-radius: 14px;

    background: #ffffff;

    transition: 0.2s ease;
}

.official-bank-card:hover {
    transform: translateY(-3px);
    border-color: #bcd3f5;
    box-shadow: 0 10px 25px rgba(20, 40, 70, 0.07);
}

.official-bank-card > span {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 12px;
    background: #eef5ff;

    font-size: 25px;
}

.official-bank-card strong {
    display: block;
    font-size: 14px;
}

.official-bank-card small {
    color: #7b8494;
}


/* =========================================================
   SECURITY
========================================================= */

.banking-security {
    padding: 70px 0;
    background: #ffffff;
}

.security-box {
    display: flex;
    align-items: flex-start;
    gap: 22px;

    padding: 30px;

    border: 1px solid #dce8f7;
    border-radius: 18px;

    background: #f5f9ff;
}

.security-icon {
    width: 65px;
    height: 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;
    background: #ffffff;

    font-size: 30px;
    flex-shrink: 0;
}

.security-box h2 {
    font-size: 25px;
}

.security-box p {
    margin-top: 7px;
    color: #667085;
}

.security-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;

    margin-top: 15px;

    color: #2563eb;
    font-size: 13px;
    font-weight: 700;
}


/* =========================================================
   SUPPORT
========================================================= */

.banking-support {
    padding: 80px 0;
    background: #f7f9fc;
}

.banking-support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.banking-support-card {
    display: flex;
    align-items: center;
    gap: 15px;

    padding: 22px;

    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e2e8f0;

    transition: 0.2s ease;
}

.banking-support-card:hover {
    transform: translateY(-3px);
    border-color: #c8daf3;
}

.banking-support-card > span {
    font-size: 28px;
}

.banking-support-card strong {
    display: block;
}

.banking-support-card small {
    color: #7b8494;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    background: #101828;
    color: #ffffff;
}

.footer-container {
    width: min(1180px, calc(100% - 40px));
    margin: auto;

    padding: 65px 0 45px;

    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 45px;
}

.footer-brand h2 {
    font-size: 23px;
}

.footer-brand p {
    max-width: 360px;
    margin-top: 13px;

    color: #aab4c4;
    font-size: 14px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-links h3 {
    margin-bottom: 8px;
    font-size: 15px;
}

.footer-links a {
    color: #aab4c4;
    font-size: 13px;
    transition: 0.2s ease;
}

.footer-links a:hover {
    color: #ffffff;
    padding-left: 3px;
}

.footer-bottom {
    padding: 18px 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    display: flex;
    justify-content: space-between;
    gap: 15px;

    color: #98a2b3;
    font-size: 12px;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1050px) {

    .header-container {
        gap: 12px;
    }

    .logo {
        min-width: 210px;
    }

    .navbar {
        gap: 0;
    }

    .navbar > a {
        padding: 0 9px;
        font-size: 13px;
    }

    .banking-hero .banking-container {
        gap: 35px;
    }

}


/* =========================================================
   MOBILE NAVIGATION
========================================================= */

@media (max-width: 850px) {

    .header-container {
        min-height: 70px;
    }

    .navbar {
        display: none;
    }

    .menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .main-header.menu-open .navbar {
        display: flex;

        position: absolute;
        top: 70px;
        left: 0;
        right: 0;

        width: 100%;

        padding: 12px 20px 18px;

        flex-direction: column;
        align-items: stretch;
        gap: 5px;

        background: #ffffff;

        border-top: 1px solid #e5e9f0;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    }

    .main-header.menu-open .navbar > a {
        width: 100%;
        justify-content: flex-start;
        padding: 13px 15px;
    }

    .main-header.menu-open .login-btn {
        margin-left: 0;
        margin-top: 5px;
        justify-content: center !important;
    }

    .banking-hero .banking-container {
        grid-template-columns: 1fr;
    }

    .banking-hero-card {
        max-width: 600px;
        width: 100%;
        margin: auto;
    }

    .banking-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .official-bank-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .financial-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .banking-support-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 600px) {

    .banking-container {
        width: min(100% - 28px, 1180px);
    }

    .header-container {
        width: calc(100% - 28px);
    }

    .logo {
        min-width: 0;
    }

    .logo h1 {
        font-size: 18px;
    }

    .logo p {
        font-size: 9px;
    }

    .logo-icon {
        width: 42px;
        height: 42px;
        font-size: 23px;
    }

    .banking-hero {
        padding: 55px 0;
    }

    .banking-hero h2 {
        font-size: 38px;
    }

    .banking-hero-content > p {
        font-size: 15px;
    }

    .banking-actions {
        flex-direction: column;
    }

    .banking-primary-btn,
    .banking-secondary-btn {
        width: 100%;
    }

    .banking-trust {
        gap: 10px;
        flex-direction: column;
    }

    .banking-hero-card {
        padding: 25px 18px;
    }

    .banking-stat-row {
        gap: 8px;
    }

    .banking-grid {
        grid-template-columns: 1fr;
    }

    .official-bank-grid {
        grid-template-columns: 1fr;
    }

    .financial-features {
        grid-template-columns: 1fr;
    }

    .security-box {
        flex-direction: column;
        padding: 22px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 45px 0 35px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

}


/* =========================================================
   EXTRA SMALL
========================================================= */

@media (max-width: 380px) {

    .logo p {
        display: none;
    }

    .banking-hero h2 {
        font-size: 33px;
    }

    .banking-stat-row strong {
        font-size: 18px;
    }

}