*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html,
body{
    width:100%;
    margin:0;
    padding:0;
    overflow-x:hidden;
}

body{
    font-family:'Poppins',sans-serif;
    background:#f5f7fb;
    color:#222;
}

/* =========================================================
   GLOBAL PAGE WIDTH
   Full-width sections with controlled inner spacing
========================================================= */

.container{
    width:100%;
    max-width:none;
    margin:0;
    padding-left:7%;
    padding-right:7%;
}

header,
section,
footer{
    width:100%;
}

/* =========================================================
   HEADER
========================================================= */

.header{
    width:100%;
    background:#ffffff;
    box-shadow:none;
}

.header .container{
    display:flex;
    justify-content:space-between;
    align-items:center;
    min-height:80px;
    gap:25px;
}

.logo{
    font-size:32px;
    font-weight:700;
    white-space:nowrap;
}

.logo span{
    color:#0d6efd;
}

.menu{
    display:flex;
    align-items:center;
    list-style:none;
    gap:30px;
    margin:0;
    padding:0;
}

.menu a{
    text-decoration:none;
    color:#333;
    font-weight:500;
    white-space:nowrap;
}

.menu a:hover{
    color:#0d6efd;
}

.buttons{
    display:flex;
    align-items:center;
    gap:15px;
    flex-shrink:0;
}

.login-btn{
    padding:10px 22px;
    border:2px solid #0d6efd;
    border-radius:6px;
    color:#0d6efd;
    text-decoration:none;
    white-space:nowrap;
}

.apply-btn{
    padding:10px 22px;
    background:#0d6efd;
    color:#fff;
    text-decoration:none;
    border-radius:6px;
    white-space:nowrap;
}

/* =========================================================
   HERO
========================================================= */

.hero{
    padding:80px 0;
}

.hero-content{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:40px;
}

.hero-left{
    width:50%;
}

.hero-left h1{
    font-size:54px;
    margin-bottom:20px;
}

.hero-left p{
    font-size:20px;
    color:#666;
    margin-bottom:30px;
}

.hero-trust{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
    margin-bottom:25px;
}

.hero-trust span{
    font-size:14px;
    font-weight:600;
    color:#333;
}

.hero-button{
    display:inline-block;
    background:#0d6efd;
    color:#fff;
    padding:15px 38px;
    border-radius:10px;
    text-decoration:none;
    font-size:16px;
    font-weight:600;
    box-shadow:0 8px 20px rgba(13,110,253,.20);
    transition:.3s;
}

.hero-button:hover{
    background:#0b5ed7;
    transform:translateY(-2px);
    box-shadow:0 12px 25px rgba(13,110,253,.28);
}

.hero-right{
    width:45%;
}

.hero-right img{
    width:100%;
    height:auto;
    display:block;
}

/* =========================================================
   TRUSTED BANKS
========================================================= */

.banks{
    padding:70px 0;
    background:#fff;
    text-align:center;
}

.banks h2{
    font-size:32px;
    margin-bottom:40px;
}

.bank-logos{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:55px;
    flex-wrap:wrap;
}

.bank-logos img{
    height:60px;
    margin:0 20px;
    object-fit:contain;
    filter:grayscale(100%);
    opacity:.75;
    transition:.3s ease;
}

.bank-logos img:hover{
    filter:none;
    opacity:1;
    transform:scale(1.08);
}

/* =========================================================
   LOAN CATEGORIES
========================================================= */

.loan-categories{
    padding:80px 0;
    background:#f7f9fc;
}

.loan-categories h2{
    text-align:center;
    font-size:36px;
    margin-bottom:55px;
    font-weight:700;
}

.loan-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.loan-card{
    background:#fff;
    padding:30px 25px;
    min-height:360px;
    text-align:center;
    border-radius:18px;
    border:1px solid #edf2ff;
    transition:.35s;
    box-shadow:0 10px 25px rgba(0,0,0,.06);
}

.loan-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 45px rgba(0,0,0,.12);
}

.loan-card img{
    width:120px;
    height:120px;
    object-fit:contain;
    margin-bottom:20px;
    transition:.3s;
}

.loan-card:hover img{
    transform:scale(1.08);
}

.loan-card h3{
    font-size:26px;
    font-weight:700;
    color:#1d2433;
    margin-bottom:12px;
}

.loan-card p{
    color:#6c757d;
    font-size:16px;
    margin-bottom:22px;
}

.loan-feature{
    font-size:13px;
    color:#555;
    margin-bottom:18px;
    min-height:20px;
}

.loan-btn{
    display:inline-block;
    padding:14px 34px;
    background:#0d6efd;
    color:#fff;
    text-decoration:none;
    border-radius:10px;
    font-size:16px;
    font-weight:600;
    transition:.3s;
}

.loan-btn:hover{
    background:#0b5ed7;
    transform:translateY(-2px);
}

/* =========================================================
   EMI CALCULATOR
========================================================= */

.emi-section{
    padding:60px 0 35px;
    background:#ffffff;
}

.emi-section h2{
    text-align:center;
    font-size:36px;
    margin-bottom:10px;
}

.emi-subtitle{
    text-align:center;
    color:#666;
    margin-bottom:50px;
    font-size:18px;
}

.emi-box{
    display:flex;
    gap:20px !important;
    justify-content:space-between;
    align-items:flex-start;
    background:#f8fbff;
    padding:40px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.emi-inputs,
.emi-result{
    width:48%;
}

.emi-inputs label{
    display:block;
    margin-top:20px;
    margin-bottom:8px;
    font-weight:600;
}

.emi-inputs input{
    width:100%;
    padding:14px;
    border:1px solid #d8e6ff;
    border-radius:10px;
    font-size:16px;
}

.emi-inputs button{
    width:100%;
    margin-top:30px;
    padding:16px;
    background:#0d6efd;
    color:#fff;
    border:none;
    border-radius:10px;
    cursor:pointer;
    font-size:18px;
    font-weight:600;
    transition:.3s;
}

.emi-inputs button:hover{
    background:#0b5ed7;
}

.emi-result{
    background:#ffffff;
    padding:30px 35px;
    border-radius:15px;
    border:1px solid #d8e6ff;
    height:auto;
    align-self:flex-start;
}

.emi-result h3{
    margin-bottom:25px;
    color:#0d6efd;
}

.emi-result p{
    font-size:20px;
    margin:14px 0;
}

.emi-result span{
    font-weight:bold;
    color:#0d6efd;
}

/* =========================================================
   EMI SCHEDULE
========================================================= */

.schedule-section{
    padding:35px 0;
    background:#f7f9fc;
}

.schedule-section h2{
    text-align:center;
    font-size:36px;
    margin-bottom:40px;
}

.table-container{
    overflow-x:auto;
    background:#fff;
    border-radius:15px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

#scheduleTable{
    width:100%;
    border-collapse:collapse;
}

#scheduleTable thead{
    background:#0d6efd;
    color:#fff;
}

#scheduleTable th{
    padding:18px;
    text-align:center;
    font-size:16px;
}

#scheduleTable td{
    padding:16px;
    text-align:center;
    border-bottom:1px solid #e9eef7;
}

#scheduleTable tbody tr:hover{
    background:#f5f9ff;
}

/* =========================================================
   LOAN APPLICATION PAGE
========================================================= */

.application-section{
    background:#f7f9fc;
    padding:60px 20px 80px;
    min-height:700px;
}

.application-heading{
    text-align:center;
    margin-bottom:35px;
}

.application-heading h1{
    font-size:38px;
    font-weight:700;
    margin-bottom:10px;
    color:#111827;
}

.application-heading p{
    font-size:16px;
    color:#5b6472;
    margin:0;
}

.application-box{
    max-width:850px;
    margin:0 auto;
    background:#ffffff;
    padding:40px;
    border-radius:16px;
    box-shadow:0 10px 35px rgba(0,0,0,.08);
    border:1px solid #e5eaf2;
}

#loanApplicationForm{
    width:100%;
}

.form-group{
    margin-bottom:20px;
}

.form-group label{
    display:block;
    font-size:15px;
    font-weight:600;
    color:#222;
    margin-bottom:8px;
}

.form-group input,
.form-group select{
    width:100%;
    box-sizing:border-box;
    padding:13px 14px;
    border:1px solid #d5dce8;
    border-radius:8px;
    background:#ffffff;
    font-family:inherit;
    font-size:15px;
    color:#222;
    outline:none;
    transition:.2s;
}

.form-group input:focus,
.form-group select:focus{
    border-color:#1268f3;
    box-shadow:0 0 0 3px rgba(18,104,243,.10);
}

.form-group input::placeholder{
    color:#9aa3af;
}

.consent-box{
    margin:25px 0;
    padding:15px;
    background:#f7f9fc;
    border-radius:8px;
    border:1px solid #e1e6ee;
}

.consent-box label{
    display:flex;
    align-items:flex-start;
    gap:10px;
    font-size:14px;
    line-height:1.6;
    color:#4b5563;
    cursor:pointer;
}

.consent-box input[type="checkbox"]{
    width:18px;
    height:18px;
    margin-top:3px;
    flex-shrink:0;
}

.submit-application{
    width:100%;
    padding:14px 20px;
    border:none;
    border-radius:8px;
    background:#1268f3;
    color:#ffffff;
    font-family:inherit;
    font-size:16px;
    font-weight:600;
    cursor:pointer;
    transition:.25s;
}

.submit-application:hover{
    background:#0757d8;
    transform:translateY(-1px);
}

.application-note{
    text-align:center;
    margin:18px 0 0;
    font-size:13px;
    line-height:1.6;
    color:#737b87;
}

/* =========================================================
   FOOTER
========================================================= */

footer{
    width:100%;
    background:#101012 !important;
    color:#ffffff !important;
    text-align:left !important;
    padding:55px 0 0 !important;
    margin:0 !important;
    border-top:none !important;
}

.footer-grid{
    width:100%;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:40px;
    padding-bottom:45px;
}

.footer-grid > div{
    text-align:left !important;
}

.footer-grid h3{
    margin:0 0 18px;
    color:#ffffff !important;
    font-size:22px;
    font-weight:600;
}

.footer-grid a{
    display:block;
    margin:0 0 12px;
    color:#d8d8d8 !important;
    text-decoration:none;
    font-size:14px;
    line-height:1.5;
}

.footer-grid a:hover{
    color:#ffffff !important;
}

.footer-bottom{
    width:100%;
    padding:22px 0;
    border-top:1px solid rgba(255,255,255,.18);
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
}

.footer-bottom span,
.footer-bottom p{
    color:#aaaaaa !important;
    font-size:13px;
}

.footer-bottom a{
    color:#aaaaaa !important;
    text-decoration:none;
    font-size:13px;
}

.footer-bottom-links{
    display:flex;
    gap:22px;
    flex-wrap:wrap;
}
}

/* =========================================================
   PERSONAL LOAN PAGE
========================================================= */

.loan-hero{
    background:#f5f8fc;
    padding:80px 0;
}

.loan-hero-content{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:60px;
}

.loan-hero-text{
    flex:1;
}

.loan-hero-text h1{
    font-size:52px;
    line-height:1.15;
    margin-bottom:20px;
    font-weight:700;
}

.loan-hero-text p{
    font-size:18px;
    line-height:1.7;
    color:#555;
    max-width:600px;
    margin-bottom:30px;
}

.loan-hero-image{
    flex:1;
    display:flex;
    justify-content:center;
}

.loan-hero-image img{
    width:100%;
    max-width:520px;
    height:auto;
    display:block;
}

/* =========================================================
   LOAN BUTTON
========================================================= */

.loan-btn{
    display:inline-block;
    background:#1769ff;
    color:#fff;
    padding:14px 28px;
    border-radius:6px;
    text-decoration:none;
    font-weight:600;
    transition:.3s ease;
}

.loan-btn:hover{
    transform:translateY(-2px);
}

/* =========================================================
   LOAN AT A GLANCE
========================================================= */

.loan-details{
    background:#fff;
    padding:70px 0;
}

.loan-details h2,
.loan-benefits h2{
    text-align:center;
    font-size:34px;
    margin-bottom:45px;
}

.loan-info-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.loan-info-card{
    background:#fff;
    border:1px solid #e5ebf5;
    border-radius:12px;
    padding:30px 20px;
    text-align:center;
    box-shadow:0 8px 25px rgba(0,0,0,.05);
    transition:.3s ease;
}

.loan-info-card:hover{
    transform:translateY(-5px);
}

.loan-info-card h3{
    font-size:20px;
    margin-bottom:12px;
}

.loan-info-card p{
    color:#666;
    line-height:1.6;
    margin:0;
}

/* =========================================================
   WHY CHOOSE PERSONAL LOAN
========================================================= */

.loan-benefits{
    background:#f7f9fc;
    padding:70px 0;
}

.benefits-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:25px;
}

.benefit-card{
    background:#fff;
    padding:30px 25px;
    border-radius:12px;
    border:1px solid #e5ebf5;
    box-shadow:0 8px 25px rgba(0,0,0,.04);
    transition:.3s ease;
}

.benefit-card:hover{
    transform:translateY(-5px);
}

.benefit-card h3{
    font-size:20px;
    margin-bottom:12px;
}

.benefit-card p{
    color:#666;
    line-height:1.7;
    margin:0;
}

/* =========================================================
   FINAL CALL TO ACTION
========================================================= */

.loan-cta{
    background:#1769ff;
    color:#fff;
    text-align:center;
    padding:70px 20px;
}

.loan-cta h2{
    font-size:36px;
    margin-bottom:15px;
}

.loan-cta p{
    font-size:18px;
    margin-bottom:30px;
}

.loan-cta .loan-btn{
    background:#fff;
    color:#1769ff;
}

/* =========================================================
   CONTACT PAGE
========================================================= */

.contact-section{
    padding:70px 0;
    background:#f7f9fc;
}

.contact-section h1{
    text-align:center;
    font-size:42px;
    margin-bottom:10px;
    color:#222;
}

.contact-subtitle{
    text-align:center;
    color:#555;
    margin-bottom:45px;
    font-size:17px;
}

.contact-box{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    max-width:1000px;
    margin:0 auto;
}

.contact-info,
.contact-form{
    background:#ffffff;
    padding:35px;
    border-radius:12px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.contact-info h2,
.contact-form h2{
    font-size:25px;
    margin-bottom:20px;
    color:#222;
}

.contact-info p{
    line-height:1.7;
    color:#555;
}

.contact-item{
    margin-top:25px;
}

.contact-item h3{
    font-size:17px;
    margin-bottom:5px;
    color:#146cff;
}

.contact-item p{
    margin:0;
    color:#444;
}

.contact-form form{
    display:flex;
    flex-direction:column;
}

.contact-form label{
    font-size:14px;
    font-weight:500;
    margin-bottom:7px;
    color:#333;
}

.contact-form input,
.contact-form textarea{
    width:100%;
    padding:12px 14px;
    margin-bottom:18px;
    border:1px solid #d5dce8;
    border-radius:6px;
    font-family:'Poppins',sans-serif;
    font-size:14px;
    outline:none;
}

.contact-form input:focus,
.contact-form textarea:focus{
    border-color:#146cff;
}

.contact-form textarea{
    resize:vertical;
    min-height:130px;
}

.contact-form button{
    border:none;
    cursor:pointer;
    padding:13px 20px;
    border-radius:6px;
    font-family:'Poppins',sans-serif;
    font-size:15px;
    font-weight:600;
    background:#146cff;
    color:#ffffff;
}

.contact-form button:hover{
    background:#0d5be8;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width:900px){

    .container{
        padding-left:5%;
        padding-right:5%;
    }

    .header .container{
        gap:15px;
    }

    .menu{
        gap:18px;
    }

    .buttons{
        gap:10px;
    }

    .hero-content{
        flex-direction:column;
        text-align:center;
    }

    .hero-left,
    .hero-right{
        width:100%;
    }

    .hero-left p{
        margin-left:auto;
        margin-right:auto;
        max-width:700px;
    }

    .hero-trust{
        justify-content:center;
    }

    .hero-right{
        display:flex;
        justify-content:center;
    }

    .loan-hero-content{
        flex-direction:column;
        text-align:center;
    }

    .loan-hero-text p{
        margin-left:auto;
        margin-right:auto;
    }

    .loan-info-grid,
    .benefits-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .contact-box{
        grid-template-columns:1fr;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width:768px){

    .container{
        padding-left:20px;
        padding-right:20px;
    }

    .header .container{
        min-height:auto;
        padding-top:18px;
        padding-bottom:18px;
        flex-wrap:wrap;
        justify-content:center;
    }

    .logo{
        font-size:28px;
    }

    .menu{
        width:100%;
        justify-content:center;
        flex-wrap:wrap;
        gap:14px 20px;
    }

    .menu a{
        font-size:14px;
    }

    .buttons{
        justify-content:center;
    }

    .hero{
        padding:50px 0;
    }

    .hero-left h1{
        font-size:40px;
    }

    .hero-left p{
        font-size:17px;
    }

    .banks{
        padding:50px 0;
    }

    .banks h2{
        font-size:28px;
    }

    .bank-logos{
        gap:25px;
    }

    .bank-logos img{
        height:45px;
        margin:0 10px;
    }

    .loan-categories,
    .emi-section,
    .schedule-section{
        padding:50px 0;
    }

    .loan-categories h2,
    .emi-section h2,
    .schedule-section h2{
        font-size:30px;
    }

    .loan-grid{
        grid-template-columns:1fr;
    }

    .emi-box{
        flex-direction:column;
        padding:25px;
    }

    .emi-inputs,
    .emi-result{
        width:100%;
    }

    .application-section{
        padding:40px 15px 60px;
    }

    .application-heading h1{
        font-size:30px;
    }

    .application-heading p{
        font-size:14px;
    }

    .application-box{
        padding:25px 20px;
        border-radius:12px;
    }

    .form-group{
        margin-bottom:17px;
    }

    .form-group input,
    .form-group select{
        padding:12px;
    }

    .consent-box{
        padding:12px;
    }

    .loan-hero{
        padding:50px 0;
    }

    .loan-hero-text h1{
        font-size:36px;
    }

    .loan-hero-text p{
        font-size:16px;
    }

    .loan-info-grid,
    .benefits-grid{
        grid-template-columns:1fr;
    }

    .loan-details,
    .loan-benefits{
        padding:50px 0;
    }

    .loan-details h2,
    .loan-benefits h2{
        font-size:28px;
    }

    .loan-cta h2{
        font-size:28px;
    }

    .contact-section{
        padding:45px 15px;
    }

    .contact-section h1{
        font-size:32px;
    }

    .contact-box{
        grid-template-columns:1fr;
        gap:25px;
    }

    .contact-info,
    .contact-form{
        padding:25px;
    }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width:600px){

    .container{
        padding-left:20px;
        padding-right:20px;
    }

    .hero-left h1{
        font-size:34px;
    }

    .hero-button{
        padding:13px 28px;
    }

    .bank-logos img{
        height:40px;
    }

    .loan-card{
        min-height:auto;
    }

    .loan-hero-text h1{
        font-size:34px;
    }

    .contact-info,
    .contact-form{
        padding:22px;
    }
}

/* =========================================================
   EMILOAN MATCHED HEADER
   Matches index.html: .header > .container > nav.site-navigation > ul.menu
========================================================= */

.header{
    position:relative;
    z-index:1000;
    background:#ffffff;
    box-shadow:0 2px 12px rgba(0,0,0,.06);
}

.header .container{
    width:100%;
    max-width:none;
    margin:0;
    padding:0 7%;
    min-height:80px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
}

.header .logo{
    flex-shrink:0;
    font-size:32px;
    font-weight:700;
    white-space:nowrap;
}

.header .logo a{
    color:#222;
    text-decoration:none;
}

.header .logo span{
    color:#0d6efd;
}

.header .site-navigation{
    flex:1;
    display:flex;
    justify-content:center;
    min-width:0;
}

.header .menu{
    display:flex;
    align-items:center;
    justify-content:center;
    list-style:none;
    margin:0;
    padding:0;
    gap:28px;
}

.header .menu > li{
    position:relative;
    list-style:none;
    margin:0;
    padding:0;
}

.header .menu > li > a{
    display:flex;
    align-items:center;
    gap:5px;
    padding:30px 0;
    color:#333;
    text-decoration:none;
    font-size:14px;
    font-weight:500;
    white-space:nowrap;
    transition:color .2s ease;
}

.header .menu > li > a:hover{
    color:#0d6efd;
}

.header .arrow{
    font-size:9px;
    color:#555;
}

/* Dropdown */
.header .menu .dropdown-menu{
    position:absolute;
    top:100%;
    left:50%;
    transform:translateX(-50%) translateY(8px);

    width:230px;
    min-width:230px;

    display:block;
    visibility:hidden;
    opacity:0;
    pointer-events:none;

    margin:0;
    padding:8px 0;

    background:#fff;
    border:1px solid #e5eaf2;
    border-radius:8px;
    box-shadow:0 12px 30px rgba(0,0,0,.12);

    list-style:none;
    z-index:10000;

    transition:opacity .2s ease,
               visibility .2s ease,
               transform .2s ease;
}

.header .menu .dropdown:hover > .dropdown-menu,
.header .menu .dropdown:focus-within > .dropdown-menu{
    visibility:visible;
    opacity:1;
    pointer-events:auto;
    transform:translateX(-50%) translateY(0);
}

.header .menu .dropdown-menu li{
    width:100%;
    margin:0;
    padding:0;
    list-style:none;
}

.header .menu .dropdown-menu li a{
    display:block;
    width:100%;
    padding:11px 18px;
    box-sizing:border-box;

    color:#333;
    text-decoration:none;
    font-size:14px;
    font-weight:500;
    white-space:nowrap;
}

.header .menu .dropdown-menu li a:hover{
    background:#f2f6ff;
    color:#0d6efd;
}

/* Header buttons */
.header .buttons{
    display:flex;
    align-items:center;
    gap:10px;
    flex-shrink:0;
}

.header .login-btn{
    display:inline-block;
    padding:10px 22px;
    border:2px solid #0d6efd;
    border-radius:6px;
    background:#fff;
    color:#0d6efd;
    text-decoration:none;
    font-size:14px;
    white-space:nowrap;
}

.header .login-btn:hover{
    background:#f2f6ff;
}

.header .apply-btn{
    display:inline-block;
    padding:10px 22px;
    border-radius:6px;
    background:#0d6efd;
    color:#fff;
    text-decoration:none;
    font-size:14px;
    white-space:nowrap;
}

.header .apply-btn:hover{
    background:#0b5ed7;
}


/* =========================================================
   INSURANCE PLACEHOLDER
========================================================= */

.insurance-coming-soon{
    padding:65px 0;
    background:#ffffff;
}

.insurance-coming-soon-box{
    max-width:900px;
    margin:0 auto;
    padding:35px;
    text-align:center;
    background:#f7f9fc;
    border:1px solid #e5ebf5;
    border-radius:16px;
}

.insurance-coming-soon-box > span{
    color:#0d6efd;
    font-size:12px;
    font-weight:700;
    letter-spacing:1px;
}

.insurance-coming-soon-box h2{
    margin:8px 0 12px;
    color:#1d2433;
    font-size:30px;
}

.insurance-coming-soon-box p{
    margin:0;
    color:#667085;
    line-height:1.7;
}

/* =========================================================
   FINANCIAL TOOLS
   Matches index.html classes exactly
========================================================= */

.financial-tools-section{
    padding:80px 0;
    background:#f7f9fc;
}

.financial-tools-container{
    width:100%;
    max-width:1200px;
    margin:0 auto;
    padding:0 7%;

    display:grid;
    grid-template-columns:1fr 1.15fr;
    gap:55px;
    align-items:center;
}

.financial-tools-intro{
    max-width:560px;
}

.financial-tools-label{
    display:inline-block;
    margin-bottom:12px;
    color:#0d6efd;
    font-size:13px;
    font-weight:700;
    letter-spacing:1px;
}

.financial-tools-intro h2{
    margin:0 0 16px;
    color:#1d2433;
    font-size:40px;
    line-height:1.2;
}

.financial-tools-intro p{
    margin:0 0 28px;
    color:#667085;
    font-size:16px;
    line-height:1.7;
}

.financial-tools-highlights{
    display:flex;
    flex-wrap:wrap;
    gap:18px;
}

.financial-tools-highlights > div{
    min-width:115px;
}

.financial-tools-highlights strong{
    display:block;
    margin-bottom:3px;
    color:#0d6efd;
    font-size:20px;
    font-weight:700;
}

.financial-tools-highlights span{
    color:#667085;
    font-size:13px;
}

.popular-tools-card{
    padding:30px;
    background:#fff;
    border:1px solid #e5ebf5;
    border-radius:18px;
    box-shadow:0 12px 35px rgba(0,0,0,.07);
}

.popular-tools-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    margin-bottom:10px;
}

.tools-small-title{
    color:#0d6efd;
    font-size:12px;
    font-weight:700;
    letter-spacing:1px;
}

.popular-tools-header h3{
    margin:5px 0 0;
    color:#1d2433;
    font-size:26px;
}

.tools-icon{
    width:50px;
    height:50px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#eef4ff;
    border-radius:12px;
    font-size:24px;
}

.financial-tool-item{
    display:flex;
    align-items:center;
    gap:15px;
    padding:18px 5px;
    border-bottom:1px solid #edf1f7;
    text-decoration:none;
    color:inherit;
    transition:background .2s ease, padding .2s ease;
}

.financial-tool-item:hover{
    background:#f8fbff;
    padding-left:10px;
    padding-right:10px;
}

.tool-item-icon{
    width:44px;
    height:44px;
    flex:0 0 44px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#eef4ff;
    border-radius:10px;
    color:#0d6efd;
    font-size:20px;
}

.tool-item-content{
    flex:1;
    min-width:0;
}

.tool-item-content strong{
    display:block;
    margin-bottom:4px;
    color:#1d2433;
    font-size:15px;
}

.tool-item-content span{
    display:block;
    color:#667085;
    font-size:13px;
    line-height:1.5;
}

.tool-arrow{
    color:#0d6efd;
    font-size:20px;
    flex-shrink:0;
}

.tool-status{
    padding:5px 10px;
    background:#f1f3f5;
    color:#777;
    border-radius:20px;
    font-size:11px;
    font-weight:600;
    flex-shrink:0;
}

.financial-download-button{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:15px;
    margin-top:18px;
    padding:14px 16px;
    background:#f7f9fc;
    border-radius:10px;
    color:#333;
    font-size:13px;
    font-weight:600;
}

.financial-download-button span{
    color:#777;
    font-size:11px;
    font-weight:500;
}


/* =========================================================
   RESPONSIVE MATCH FOR CURRENT HTML
========================================================= */

@media (max-width:1100px){

    .header .container{
        padding-left:4%;
        padding-right:4%;
    }

    .header .menu{
        gap:18px;
    }

    .header .menu > li > a{
        font-size:13px;
    }

    .header .logo{
        font-size:28px;
    }

    .header .login-btn,
    .header .apply-btn{
        padding:9px 15px;
    }

    .financial-tools-container{
        gap:35px;
        padding-left:4%;
        padding-right:4%;
    }
}

@media (max-width:900px){

    .header .container{
        flex-wrap:wrap;
        padding-top:15px;
        padding-bottom:15px;
    }

    .header .site-navigation{
        width:100%;
        order:3;
    }

    .header .menu{
        width:100%;
        flex-wrap:wrap;
        gap:4px 18px;
    }

    .header .menu > li > a{
        padding:8px 0;
    }

    .financial-tools-container{
        grid-template-columns:1fr;
        gap:35px;
    }

    .financial-tools-intro{
        max-width:none;
        text-align:center;
        margin:auto;
    }

    .financial-tools-highlights{
        justify-content:center;
    }
}

@media (max-width:600px){

    .header .container{
        padding-left:20px;
        padding-right:20px;
    }

    .header .logo{
        font-size:25px;
    }

    .header .menu{
        gap:4px 14px;
    }

    .header .menu > li > a{
        font-size:12px;
    }

    .header .buttons{
        width:100%;
        justify-content:center;
    }

    .financial-tools-section{
        padding:55px 0;
    }

    .financial-tools-container{
        padding-left:20px;
        padding-right:20px;
    }

    .financial-tools-intro h2{
        font-size:30px;
    }

    .financial-tools-highlights{
        flex-direction:column;
        align-items:center;
    }

    .popular-tools-card{
        padding:20px;
    }

    .financial-tool-item{
        gap:10px;
    }

    .tool-item-content span{
        font-size:12px;
    }

    .financial-download-button{
        flex-direction:column;
        text-align:center;
    }
}

/* =========================================================
   END OF CLEAN MATCHED CSS
========================================================= */
/* =========================================================
   EMILOAN DROPDOWN FINAL FIX
========================================================= */

.header .menu > li.dropdown{
    position:relative !important;
}

/* Hide dropdowns by default */
.header .menu > li.dropdown > .dropdown-menu{
    display:block !important;

    position:absolute !important;
    top:100% !important;
    left:50% !important;

    width:230px !important;
    min-width:230px !important;

    margin:0 !important;
    padding:8px 0 !important;

    background:#ffffff !important;
    border:1px solid #e5eaf2 !important;
    border-radius:8px !important;

    box-shadow:0 12px 30px rgba(0,0,0,.12) !important;

    list-style:none !important;

    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;

    transform:translateX(-50%) translateY(10px) !important;

    z-index:99999 !important;

    transition:
        opacity .2s ease,
        visibility .2s ease,
        transform .2s ease !important;
}

/* Show ONLY when hovering dropdown */
.header .menu > li.dropdown:hover > .dropdown-menu{
    opacity:1 !important;
    visibility:visible !important;
    pointer-events:auto !important;

    transform:translateX(-50%) translateY(0) !important;
}

/* Remove bullets */
.header .menu > li.dropdown > .dropdown-menu li{
    display:block !important;

    width:100% !important;

    margin:0 !important;
    padding:0 !important;

    list-style:none !important;
}

/* Dropdown links */
.header .menu > li.dropdown > .dropdown-menu li a{
    display:block !important;

    width:100% !important;

    box-sizing:border-box !important;

    padding:11px 18px !important;

    color:#333333 !important;

    background:#ffffff !important;

    text-decoration:none !important;

    font-size:14px !important;
    font-weight:500 !important;

    white-space:nowrap !important;
}

/* Hover effect */
.header .menu > li.dropdown > .dropdown-menu li a:hover{
    background:#f2f6ff !important;
    color:#0d6efd !important;
}

/* EMILOAN TEST */
.header .menu .dropdown-menu{
    display:none !important;
}

/* =========================================================
   EMILOAN PROFESSIONAL FOOTER
========================================================= */

.site-footer{
    width:100%;
    background:#101012;
    color:#ffffff;
    margin-top:0;
    padding-top:55px;
}

.footer-container{
    width:86%;
    max-width:1200px;
    margin:0 auto;

    display:grid;
    grid-template-columns:
        1fr
        1fr
        1fr;

    gap:42px;

    padding-bottom:45px;
}

.footer-column{
    display:flex;
    flex-direction:column;
}

.footer-column h3{
    margin:0 0 18px;

    color:#ffffff;

    font-size:25px;
    font-weight:500;

    line-height:1.2;
}

.footer-column a{
    display:block;

    width:max-content;
    max-width:100%;

    margin-bottom:14px;

    color:#d8d8d8;

    text-decoration:none;

    font-size:14px;
    line-height:1.5;

    transition:
        color .2s ease,
        transform .2s ease;
}

.footer-column a:hover{
    color:#ffffff;
    transform:translateX(3px);
}

.footer-divider{
    width:100%;
    height:1px;

    background:rgba(255,255,255,.18);

    margin:8px 0 20px;
}

.footer-bottom{
    width:86%;
    max-width:1200px;

    margin:0 auto;

    padding:22px 0;

    border-top:1px solid rgba(255,255,255,.18);

    display:flex;
    justify-content:space-between;
    align-items:center;

    gap:20px;
}

.footer-bottom p{
    margin:0;

    color:#aaaaaa;

    font-size:13px;
}

.footer-bottom-links{
    display:flex;
    gap:22px;
    flex-wrap:wrap;
}

.footer-bottom-links a{
    color:#aaaaaa;

    text-decoration:none;

    font-size:13px;
}

.footer-bottom-links a:hover{
    color:#ffffff;
}


/* =========================================================
   FOOTER MOBILE
========================================================= */

@media (max-width:900px){

    .footer-container{
        grid-template-columns:1fr 1fr;
        gap:35px;
    }

    .footer-bottom{
        flex-direction:column;
        align-items:flex-start;
    }

}


@media (max-width:600px){

    .site-footer{
        padding-top:40px;
    }

    .footer-container{
        width:88%;
        grid-template-columns:1fr;
        gap:30px;
    }

    .footer-column h3{
        font-size:23px;
    }

    .footer-bottom{
        width:88%;
    }

}

/* FOOTER ALIGNMENT FIX */

.footer-column{
    text-align:left !important;
}

.footer-column h3{
    text-align:left !important;
}

.footer-column a{
    text-align:left !important;
}

.footer-divider{
    margin-left:0 !important;
    margin-right:0 !important;
}

/* =========================================================
   FINAL FOOTER LEFT ALIGNMENT
========================================================= */

.site-footer .footer-column {
    text-align: left !important;
    align-items: flex-start !important;
}

.site-footer .footer-column h3 {
    width: 100% !important;
    text-align: left !important;
}

.site-footer .footer-column a {
    text-align: left !important;
}

.site-footer .footer-divider {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* =========================================================
   FINAL EMI CALCULATOR LAYOUT
========================================================= */

.emi-box{
    display:flex !important;
    flex-direction:row !important;
    align-items:flex-start !important;
    justify-content:space-between !important;
    gap:20px !important;
    padding:25px 40px 10px !important;
}

/* Equal two-column layout */
.emi-box > .emi-inputs,
.emi-box > .emi-result{
    flex:1 1 0 !important;
    width:auto !important;
    box-sizing:border-box !important;
}

/* Left side */
.emi-box > .emi-inputs{
    padding-right:0 !important;
}

/* Right side */
.emi-box > .emi-result{
    padding:20px 25px !important;
    height:auto !important;
}

/* Smaller pie chart */
.emi-box #emiChart{
    display:block !important;
    width:150px !important;
    height:150px !important;
    min-width:150px !important;
    min-height:150px !important;
    max-width:150px !important;
    max-height:150px !important;
    margin:0 auto 0 !important;
}

/* Reduce result spacing */
.emi-result h3{
    margin-bottom:0 !important;
}

.emi-result p{
    margin:4px 0 !important;
}

/* Keep repayment schedule close */
.emi-section{
    padding-bottom:0px !important;
}

.schedule-section{
    padding-top:0px !important;
}

.schedule-section h2{
    margin-top:0 !important;
    margin-bottom:30px !important;
}

/* Mobile */
@media (max-width:768px){

    .emi-box{
        flex-direction:column !important;
        gap:20px !important;
    }

    .emi-box > .emi-inputs,
    .emi-box > .emi-result{
        flex:0 0 100% !important;
        width:100% !important;
    }

    .emi-box #emiChart{
        width:150px !important;
        height:150px !important;
        min-width:150px !important;
        min-height:150px !important;
        max-width:150px !important;
        max-height:150px !important;
    }
}

/* =========================================================
   LOAN COMPARISON PAGE
   ========================================================= */

.comparison-card {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    background: #f7faff;
    padding: 28px;
    border-radius: 24px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.06);
}

.loan-box {
    background: #ffffff;
    border: 1px solid #d8e5f8;
    border-radius: 18px;
    padding: 26px;
}

.loan-box h2 {
    margin-bottom: 22px;
    font-size: 22px;
    color: #111827;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #111827;
}

.form-group input {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #cbdcf5;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    outline: none;
}

.form-group input:focus {
    border-color: #1670ff;
    box-shadow: 0 0 0 3px rgba(22,112,255,0.10);
}

.comparison-button {
    text-align: center;
    margin: 28px 0;
}

.calculate-btn {
    width: 100%;
    max-width: 560px;
    border: none;
    background: #1670ff;
    color: #ffffff;
    padding: 16px 25px;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
}

.calculate-btn:hover {
    background: #0d5fd7;
}

.comparison-result {
    background: #ffffff;
    border: 1px solid #d8e5f8;
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 40px;
}

.comparison-result h2 {
    text-align: center;
    margin-bottom: 24px;
    font-size: 26px;
}

.comparison-table-wrapper {
    width: 100%;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.comparison-table th {
    background: #1670ff;
    color: #ffffff;
    padding: 15px;
    text-align: center;
    font-weight: 600;
}

.comparison-table th:first-child {
    text-align: left;
}

.comparison-table td {
    padding: 15px;
    border-bottom: 1px solid #e5eaf2;
    text-align: center;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
}

.comparison-table tbody tr:hover {
    background: #f7faff;
}

.best-loan {
    margin-top: 25px;
    padding: 18px 20px;
    border-radius: 12px;
    background: #eef6ff;
    border: 1px solid #cfe2ff;
    text-align: center;
    color: #174a87;
}


/* MOBILE */

@media (max-width: 900px) {

    .comparison-card {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 600px) {

    .comparison-card {
        padding: 18px;
        gap: 18px;
    }

    .loan-box {
        padding: 20px;
    }

    .comparison-result {
        padding: 18px;
    }

    .comparison-result h2 {
        font-size: 22px;
    }

}

/* ================================
   FREE FINANCIAL TEMPLATES
================================ */

.financial-templates{
    margin-top:16px;
    padding:14px 16px;
    background:#f5f7fa;
    border-radius:12px;
}

.templates-title{
    display:flex;
    align-items:center;
    gap:8px;
    margin-bottom:10px;
    color:#111;
}

.templates-title span{
    font-size:16px;
}

.templates-title strong{
    font-size:14px;
}

.template-downloads{
    display:flex;
    flex-direction:column;
    gap:6px;
}

.template-downloads a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:8px 10px;
    text-decoration:none;
    color:#222;
    background:#fff;
    border-radius:8px;
    font-size:13px;
    transition:0.2s;
}

.template-downloads a:hover{
    background:#eef5ff;
}

.template-downloads a span{
    color:#1677ff;
    font-weight:600;
    white-space:nowrap;
}

/* =========================================================
   INSURANCE SECTION
========================================================= */

.insurance-section{
    padding:70px 0;
    background:#f7f9fc;
}

.insurance-heading{
    text-align:center;
    max-width:760px;
    margin:0 auto 40px;
}

.insurance-heading > span{
    display:block;
    margin-bottom:10px;
    color:#146df5;
    font-size:13px;
    font-weight:700;
    letter-spacing:1px;
}

.insurance-heading h2{
    margin:0 0 12px;
    font-size:32px;
    font-weight:700;
    color:#111827;
}

.insurance-heading p{
    margin:0;
    color:#64748b;
    font-size:16px;
    line-height:1.6;
}


/* Insurance cards */

.insurance-grid{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:20px;
}

.insurance-card{
    display:flex;
    flex-direction:column;
    text-decoration:none;
    background:#ffffff;
    border:1px solid #dbe5f3;
    border-radius:16px;
    padding:26px 22px;
    min-height:230px;
    box-shadow:0 8px 24px rgba(15,23,42,0.05);
    transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.insurance-card:hover{
    transform:translateY(-5px);
    border-color:#146df5;
    box-shadow:0 14px 30px rgba(15,23,42,0.10);
}

.insurance-icon{
    width:52px;
    height:52px;
    display:flex;
    align-items:center;
    justify-content:center;
    border-radius:14px;
    background:#eef5ff;
    font-size:26px;
    margin-bottom:20px;
}

.insurance-card-content h3{
    margin:0 0 10px;
    color:#111827;
    font-size:19px;
    font-weight:700;
}

.insurance-card-content p{
    margin:0;
    color:#64748b;
    font-size:14px;
    line-height:1.6;
}

.insurance-link{
    display:inline-block;
    margin-top:auto;
    padding-top:18px;
    color:#146df5;
    font-size:14px;
    font-weight:600;
}


/* Tablet */

@media (max-width:1000px){

    .insurance-grid{
        grid-template-columns:repeat(2, 1fr);
    }

}


/* Mobile */

@media (max-width:600px){

    .insurance-section{
        padding:50px 0;
    }

    .insurance-heading h2{
        font-size:27px;
    }

    .insurance-grid{
        grid-template-columns:1fr;
    }

}

/* =========================================================
   HEALTH INSURANCE PAGE
========================================================= */

.insurance-page-hero{
    padding:90px 0;
    background:#f7f9fc;
    text-align:center;
}

.insurance-page-hero-content{
    max-width:850px;
    margin:auto;
}

.section-label{
    display:block;
    margin-bottom:12px;
    color:#146df5;
    font-size:13px;
    font-weight:700;
    letter-spacing:1px;
}

.insurance-page-hero h1{
    margin:0 auto 18px;
    max-width:800px;
    font-size:52px;
    line-height:1.15;
    color:#111827;
}

.insurance-page-hero p{
    max-width:700px;
    margin:0 auto 30px;
    color:#64748b;
    font-size:17px;
    line-height:1.7;
}

.hero-buttons{
    display:flex;
    justify-content:center;
    gap:14px;
    flex-wrap:wrap;
}

.btn-secondary{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:14px 25px;
    border:1px solid #146df5;
    border-radius:8px;
    color:#146df5;
    background:#fff;
    text-decoration:none;
    font-weight:600;
}


/* Introduction */

.insurance-intro{
    padding:80px 0;
    background:#fff;
}

.insurance-intro-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:start;
}

.insurance-intro h2{
    margin:0;
    font-size:36px;
    color:#111827;
}

.insurance-intro p{
    margin:0 0 18px;
    color:#64748b;
    line-height:1.8;
}


/* Section headings */

.section-heading{
    max-width:750px;
    margin:0 auto 45px;
    text-align:center;
}

.section-heading h2{
    margin:0 0 12px;
    font-size:34px;
    color:#111827;
}

.section-heading p{
    margin:0;
    color:#64748b;
    line-height:1.7;
}


/* Insurance types */

.insurance-types{
    padding:80px 0;
    background:#f7f9fc;
}

.insurance-info-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}

.insurance-info-card{
    padding:28px 24px;
    background:#fff;
    border:1px solid #dbe5f3;
    border-radius:16px;
    box-shadow:0 8px 24px rgba(15,23,42,.05);
}

.info-icon{
    width:52px;
    height:52px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin-bottom:20px;
    border-radius:14px;
    background:#eef5ff;
    font-size:25px;
}

.insurance-info-card h3{
    margin:0 0 12px;
    font-size:18px;
    color:#111827;
}

.insurance-info-card p{
    margin:0;
    color:#64748b;
    font-size:14px;
    line-height:1.7;
}


/* Features */

.insurance-features{
    padding:80px 0;
    background:#fff;
}

.feature-list{
    max-width:950px;
    margin:auto;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

.feature-item{
    display:flex;
    gap:20px;
    padding:25px;
    border:1px solid #dbe5f3;
    border-radius:14px;
    background:#fff;
}

.feature-number{
    flex-shrink:0;
    color:#146df5;
    font-size:14px;
    font-weight:700;
}

.feature-item h3{
    margin:0 0 8px;
    color:#111827;
    font-size:18px;
}

.feature-item p{
    margin:0;
    color:#64748b;
    font-size:14px;
    line-height:1.7;
}


/* Checklist */

.insurance-checklist{
    padding:80px 0;
    background:#f7f9fc;
}

.checklist-box{
    max-width:1000px;
    margin:auto;
    padding:45px;
    border:1px solid #dbe5f3;
    border-radius:18px;
    background:#fff;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:50px;
}

.checklist-box h2{
    margin:0 0 12px;
    font-size:32px;
    color:#111827;
}

.checklist-box p{
    color:#64748b;
    line-height:1.7;
}

.checklist{
    display:grid;
    gap:14px;
    align-content:center;
}

.checklist div{
    padding:14px 16px;
    border-radius:8px;
    background:#f7f9fc;
    color:#334155;
    font-size:14px;
    font-weight:500;
}


/* FAQ */

.insurance-faq{
    padding:80px 0;
    background:#fff;
}

.faq-list{
    max-width:850px;
    margin:auto;
}

.faq-list details{
    padding:20px 0;
    border-bottom:1px solid #e2e8f0;
}

.faq-list summary{
    cursor:pointer;
    color:#111827;
    font-size:17px;
    font-weight:600;
}

.faq-list p{
    margin:15px 0 0;
    color:#64748b;
    line-height:1.7;
    font-size:14px;
}


/* Disclaimer */

.insurance-disclaimer{
    padding:40px 0;
    background:#f7f9fc;
}

.disclaimer-box{
    max-width:1000px;
    margin:auto;
    padding:25px;
    border:1px solid #dbe5f3;
    border-radius:12px;
    background:#fff;
}

.disclaimer-box strong{
    display:block;
    margin-bottom:8px;
    color:#111827;
}

.disclaimer-box p{
    margin:0;
    color:#64748b;
    font-size:13px;
    line-height:1.7;
}


/* Footer */

.insurance-page-hero ~ .footer{
    margin-top:0;
}


/* Responsive */

@media(max-width:1000px){

    .insurance-info-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .insurance-intro-grid{
        grid-template-columns:1fr;
        gap:30px;
    }

}


@media(max-width:700px){

    .insurance-page-hero{
        padding:65px 0;
    }

    .insurance-page-hero h1{
        font-size:38px;
    }

    .insurance-info-grid,
    .feature-list,
    .checklist-box{
        grid-template-columns:1fr;
    }

    .checklist-box{
        gap:25px;
        padding:30px;
    }

    .section-heading h2{
        font-size:28px;
    }

}

/* =========================================================
   OFFICIAL GOVERNMENT & FINANCIAL RESOURCES
========================================================= */

.official-resources-section{
    padding:75px 0;
    background:#ffffff;
}

.official-resources-container{
    width:86%;
    max-width:1200px;
    margin:0 auto;
}

.official-resources-heading{
    text-align:center;
    max-width:750px;
    margin:0 auto 45px;
}

.official-resources-heading span{
    display:inline-block;
    margin-bottom:10px;
    color:#0d6efd;
    font-size:12px;
    font-weight:700;
    letter-spacing:1.2px;
}

.official-resources-heading h2{
    margin:0 0 14px;
    color:#1d2433;
    font-size:34px;
    line-height:1.25;
}

.official-resources-heading p{
    margin:0;
    color:#667085;
    font-size:15px;
    line-height:1.7;
}

.official-resources-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:22px;
}

.official-resource-card{
    padding:27px 24px;
    background:#f7f9fc;
    border:1px solid #e5ebf5;
    border-radius:14px;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        border-color .2s ease;
}

.official-resource-card:hover{
    transform:translateY(-4px);
    box-shadow:0 12px 30px rgba(0,0,0,.08);
    border-color:#d5e3ff;
}

.resource-icon{
    width:46px;
    height:46px;

    display:flex;
    align-items:center;
    justify-content:center;

    margin-bottom:17px;

    background:#ffffff;
    border-radius:10px;

    font-size:22px;
}

.official-resource-card h3{
    margin:0 0 18px;

    color:#1d2433;
    font-size:19px;
    font-weight:600;
}

.official-resource-card a{
    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:10px;

    padding:10px 0;

    border-bottom:1px solid #e5eaf2;

    color:#475467;
    text-decoration:none;

    font-size:13px;
    line-height:1.4;

    transition:
        color .2s ease,
        padding-left .2s ease;
}

.official-resource-card a:last-child{
    border-bottom:none;
}

.official-resource-card a:hover{
    color:#0d6efd;
    padding-left:4px;
}

.official-resource-card a span{
    color:#0d6efd;
    font-size:14px;
    flex-shrink:0;
}

.official-resources-note{
    margin-top:28px;
    padding:15px 18px;

    background:#f7f9fc;
    border:1px solid #e5ebf5;
    border-radius:10px;

    color:#667085;
    font-size:12px;
    line-height:1.6;
}

.official-resources-note strong{
    color:#333;
}


/* TABLET */

@media (max-width:900px){

    .official-resources-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .official-resources-heading h2{
        font-size:30px;
    }

}


/* MOBILE */

@media (max-width:600px){

    .official-resources-section{
        padding:55px 0;
    }

    .official-resources-container{
        width:88%;
    }

    .official-resources-grid{
        grid-template-columns:1fr;
        gap:18px;
    }

    .official-resources-heading h2{
        font-size:28px;
    }

    .official-resources-heading p{
        font-size:14px;
    }

}

/* =========================================================
   OFFICIAL GOVERNMENT & FINANCIAL RESOURCES
   FINAL DESIGN OVERRIDE
========================================================= */

.official-resources-section{
    width:100%;
    padding:80px 0;
    background:#f7f9fc;
}

.official-resources-container{
    width:90%;
    max-width:1200px;
    margin:0 auto;
}

.official-resources-heading{
    text-align:center;
    margin-bottom:45px;
}

.official-resources-heading span{
    display:block;
    color:#1769ff;
    font-size:13px;
    font-weight:700;
    letter-spacing:1px;
    margin-bottom:10px;
}

.official-resources-heading h2{
    margin:0 0 12px;
    font-size:32px;
    font-weight:700;
    color:#111827;
}

.official-resources-heading p{
    max-width:750px;
    margin:0 auto;
    color:#64748b;
    font-size:16px;
    line-height:1.7;
}


/* RESOURCE GRID */

.official-resources-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
}


/* RESOURCE CARD */

.official-resource-card{
    background:#ffffff;
    border:1px solid #dbe4f0;
    border-radius:16px;
    padding:25px;
    box-shadow:0 8px 25px rgba(15,23,42,0.06);
}

.official-resource-card:hover{
    transform:translateY(-4px);
    box-shadow:0 12px 30px rgba(15,23,42,0.10);
}

.resource-icon{
    width:48px;
    height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#eef5ff;
    border-radius:12px;
    font-size:24px;
    margin-bottom:18px;
}

.official-resource-card h3{
    margin:0 0 15px;
    font-size:18px;
    color:#111827;
}

.official-resource-card a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    padding:11px 0;
    border-bottom:1px solid #edf1f7;
    color:#1769ff;
    text-decoration:none;
    font-size:14px;
    line-height:1.5;
}

.official-resource-card a:last-child{
    border-bottom:none;
}

.official-resource-card a:hover{
    color:#0b57d0;
    padding-left:4px;
}

.official-resource-card a span{
    flex-shrink:0;
    font-size:14px;
}


/* IMPORTANT NOTE */

.official-resources-note{
    margin-top:30px;
    padding:18px 20px;
    background:#ffffff;
    border:1px solid #dbe4f0;
    border-left:4px solid #1769ff;
    border-radius:10px;
    color:#64748b;
    font-size:14px;
    line-height:1.6;
}

.official-resources-note strong{
    color:#111827;
}


/* TABLET */

@media (max-width:1000px){

    .official-resources-grid{
        grid-template-columns:repeat(2,1fr);
    }

}


/* MOBILE */

@media (max-width:600px){

    .official-resources-section{
        padding:55px 0;
    }

    .official-resources-container{
        width:92%;
    }

    .official-resources-heading h2{
        font-size:26px;
    }

    .official-resources-heading p{
        font-size:14px;
    }

    .official-resources-grid{
        grid-template-columns:1fr;
        gap:16px;
    }

    .official-resource-card{
        padding:20px;
    }

}

/* =========================================================
   FINAL HEALTH INSURANCE FOOTER FIX
   ========================================================= */

footer.footer{
    width:100%;
    background:#101012 !important;
    color:#ffffff !important;
    text-align:left !important;
    padding:55px 0 0 !important;
    margin:0 !important;
    border-top:none !important;
}

footer.footer > .container{
    width:86% !important;
    max-width:1200px !important;
    margin:0 auto !important;
    padding-left:0 !important;
    padding-right:0 !important;
}

.footer-grid{
    display:grid !important;
    grid-template-columns:repeat(3,1fr) !important;
    gap:42px !important;
    padding-bottom:45px !important;
}

.footer-grid > div{
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    text-align:left !important;
}

.footer-grid h3{
    margin:0 0 18px !important;
    color:#ffffff !important;
    font-size:22px !important;
    font-weight:600 !important;
    line-height:1.3 !important;
}

.footer-grid a{
    display:block !important;
    width:auto !important;
    margin:0 0 12px !important;
    padding:0 !important;
    color:#d8d8d8 !important;
    text-decoration:none !important;
    font-size:14px !important;
    line-height:1.5 !important;
}

.footer-grid a:hover{
    color:#ffffff !important;
}

.footer-bottom{
    width:100% !important;
    padding:22px 0 !important;
    border-top:1px solid rgba(255,255,255,.18) !important;
    display:flex !important;
    justify-content:space-between !important;
    align-items:center !important;
    gap:20px !important;
}

.footer-bottom p{
    margin:0 !important;
    color:#aaaaaa !important;
    font-size:13px !important;
}

.footer-bottom a{
    color:#aaaaaa !important;
    text-decoration:none !important;
    font-size:13px !important;
}

.footer-bottom a:hover{
    color:#ffffff !important;
}


/* FOOTER MOBILE */

@media (max-width:900px){

    .footer-grid{
        grid-template-columns:repeat(2,1fr) !important;
        gap:35px !important;
    }

    .footer-bottom{
        flex-direction:column !important;
        align-items:flex-start !important;
    }

}

@media (max-width:600px){

    footer.footer{
        padding-top:40px !important;
    }

    footer.footer > .container{
        width:88% !important;
    }

    .footer-grid{
        grid-template-columns:1fr !important;
        gap:30px !important;
    }

    .footer-grid h3{
        font-size:20px !important;
    }

}

footer.footer{
    width:100%;
    background:#101012 !important;
    color:#ffffff !important;
    text-align:left !important;
    padding:55px 0 0 !important;
    margin:0 !important;
    border-top:none !important;
}
