/*======================================================
    RESPONSIVE CSS
    MEDEF MICROFINANCE BANK LTD
======================================================*/


/*======================================================
LARGE DESKTOP
1400px
======================================================*/

@media (max-width:1400px){

.container{
    width:92%;
}

.hero-content h1{
    font-size:52px;
}

.section-header h2{
    font-size:40px;
}

.products-grid,
.why-grid{
    gap:25px;
}

}


/*======================================================
LAPTOPS
1200px
======================================================*/

@media (max-width:1200px){

.container{
    width:94%;
}

.header .container{
    gap:20px;
}

.logo img{
    width:60px;
}

.logo-text h2{
    font-size:20px;
}

.navbar ul{
    gap:24px;
}

.header-buttons{
    gap:12px;
}

.btn{
    padding:13px 24px;
}

.hero{
    padding:90px 0 70px;
}

.hero-grid,
.digital-grid,
.about-grid{
    gap:50px;
}

.hero-content h1{
    font-size:46px;
}

.hero-content p{
    font-size:17px;
}

.hero-image img{
    max-width:100%;
}

.section-header h2{
    font-size:38px;
}

.products-grid,
.why-grid{
    grid-template-columns:repeat(2,1fr);
}

.news-grid{
    grid-template-columns:repeat(2,1fr);
}

.leadership-grid{
    grid-template-columns:repeat(2,1fr);
}

.footer-grid{
    grid-template-columns:repeat(2,1fr);
}

.featured-profile,
.featured-profile.reverse{
    grid-template-columns:280px 1fr;
    gap:35px;
}

}


/*======================================================
TABLETS
992px
======================================================*/

@media (max-width:992px){

.top-center{
    display:none;
}

/* Header */

.header .container{
    min-height:80px;
}

.logo img{
    width:55px;
}

.logo-text h2{
    font-size:18px;
}

.logo-text p{
    font-size:11px;
}

.header-buttons{
    display:none;
}

/* Mobile Navigation */

.menu-toggle{
    display:block;
    font-size:24px;
    background:none;
    color:var(--black);
    z-index:1200;
}

.navbar{
    position:fixed;
    top:0;
    right:-100%;
    width:300px;
    height:100vh;
    background:#fff;
    box-shadow:-10px 0 40px rgba(0,0,0,.10);
    transition:.35s ease;
    z-index:1100;
    padding:100px 35px;
}

.navbar.active{
    right:0;
}

.navbar ul{
    display:flex;
    flex-direction:column;
    gap:25px;
}

.navbar ul li{
    width:100%;
}

.navbar ul li a{
    display:block;
    font-size:18px;
}

/* Layout */

.hero-grid,
.digital-grid,
.about-grid{
    grid-template-columns:1fr;
    gap:50px;
}

.hero-content{
    text-align:center;
}

.hero-image{
    order:-1;
}

.hero-image img{
    width:80%;
    margin:auto;
}

.hero-buttons{
    justify-content:center;
}

.digital-content{
    text-align:center;
}

.digital-features{
    grid-template-columns:repeat(2,1fr);
}

.digital-image img{
    max-width:340px;
}

.about-content{
    text-align:center;
}

.about-highlights{
    text-align:left;
}

.quick-actions .container{
    grid-template-columns:repeat(2,1fr);
}

.products-grid{
    grid-template-columns:repeat(2,1fr);
}

.why-grid{
    grid-template-columns:repeat(2,1fr);
}

.news-grid{
    grid-template-columns:repeat(2,1fr);
}

.featured-profile,
.featured-profile.reverse{
    grid-template-columns:1fr;
    text-align:center;
}

.featured-image img{
    max-width:300px;
    margin:auto;
}

.leadership-grid{
    grid-template-columns:repeat(2,1fr);
}

.footer-grid{
    grid-template-columns:repeat(2,1fr);
}

.footer-bottom{
    flex-direction:column;
    text-align:center;
}

}
/*======================================================
MOBILE
768px
======================================================*/

@media (max-width:768px){

/* Top Bar */

.top-bar{
    display:none;
}

/* Header */

.header{
    position:sticky;
    top:0;
}

.header .container{
    min-height:72px;
}

.logo{
    gap:10px;
}

.logo img{
    width:48px;
}

.logo-text h2{
    font-size:16px;
    line-height:1.2;
}

.logo-text p{
    display:none;
}

/* Hero */

.hero{
    padding:60px 0;
}

.hero-grid{
    gap:40px;
}

.hero-content{
    text-align:center;
}

.hero-tag{
    font-size:13px;
    padding:8px 16px;
}

.hero-content h1{
    font-size:38px;
    line-height:1.2;
}

.hero-content p{
    font-size:16px;
    max-width:100%;
}

.hero-buttons{
    justify-content:center;
    gap:15px;
}

.hero-image img{
    width:100%;
    max-width:320px;
}

/* Section Headings */

.section-header{
    margin-bottom:45px;
}

.section-header h2{
    font-size:32px;
}

.section-header p{
    font-size:16px;
}

/* Quick Actions */

.quick-actions{
    margin-top:0;
    padding:70px 0;
}

.quick-actions .container{
    grid-template-columns:1fr;
}

.action-card{
    padding:30px;
}

/* Why Choose Us */

.why-grid{
    grid-template-columns:1fr;
}

.why-card{
    padding:35px 30px;
}

/* Products */

.products-grid{
    grid-template-columns:1fr;
}

.product-card{
    padding:35px 30px;
}

/* Digital Banking */

.digital-grid{
    grid-template-columns:1fr;
    gap:40px;
}

.digital-content{
    text-align:center;
}

.digital-content h2{
    font-size:34px;
}

.digital-features{
    grid-template-columns:1fr;
    text-align:left;
}

.digital-image img{
    max-width:280px;
}

.store-buttons{
    justify-content:center;
}

/* About */

.about-grid{
    grid-template-columns:1fr;
}

.about-image{
    order:-1;
}

.about-content{
    text-align:center;
}

.about-content h2{
    font-size:34px;
}

.highlight-card{
    text-align:left;
}

/* Leadership */

.featured-profile,
.featured-profile.reverse{
    padding:30px;
}

.featured-content h3{
    font-size:28px;
}

.leadership-grid{
    grid-template-columns:1fr;
}

/* News */

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

/* Footer */

.footer-grid{
    grid-template-columns:1fr;
    gap:40px;
}

.footer-bottom{
    flex-direction:column;
    text-align:center;
}

.footer-bottom-links{
    flex-wrap:wrap;
    justify-content:center;
}

/* General */

.btn{
    min-height:50px;
}

img{
    height:auto;
    max-width:100%;
}

}


/*======================================================
SMALL MOBILE
576px
======================================================*/

@media (max-width:576px){

.container{
    width:92%;
}

.hero-content h1{
    font-size:32px;
}

.section-header h2{
    font-size:28px;
}

.about-content h2,
.digital-content h2{
    font-size:30px;
}

.btn{
    width:100%;
}

.hero-buttons,
.store-buttons{
    flex-direction:column;
}

.store-btn{
    width:100%;
    justify-content:center;
}

.highlight-card{
    flex-direction:column;
    text-align:center;
}

.highlight-card i{
    margin:auto;
}

.featured-profile{
    padding:25px;
}

.product-card,
.action-card,
.why-card{
    padding:25px;
}

.news-content{
    padding:25px;
}

.footer{
    text-align:center;
}

.footer-contact li{
    justify-content:center;
}

.social-links{
    justify-content:center;
}

}
/*======================================================
EXTRA SMALL PHONES
480px
======================================================*/

@media (max-width:480px){

html{
    overflow-x:hidden;
}

body{
    overflow-x:hidden;
}

.container{
    width:94%;
}

section{
    padding:60px 0;
}

/* Header */

.header .container{
    min-height:68px;
}

.logo{
    gap:8px;
}

.logo img{
    width:42px;
}

.logo-text h2{
    font-size:14px;
}

.menu-toggle{
    font-size:22px;
}

.navbar{
    width:100%;
    padding:90px 30px;
}

/* Hero */

.hero{
    padding:50px 0;
}

.hero-tag{
    font-size:12px;
}

.hero-content h1{
    font-size:28px;
    line-height:1.3;
}

.hero-content p{
    font-size:15px;
}

.hero-image img{
    max-width:260px;
}

.hero-buttons{
    width:100%;
}

.hero-buttons .btn{
    width:100%;
}

/* Sections */

.section-header{
    margin-bottom:35px;
}

.section-header h2{
    font-size:26px;
}

.section-header p{
    font-size:15px;
}

.about-content h2,
.digital-content h2,
.featured-content h3{
    font-size:26px;
}

/* Cards */

.action-card,
.product-card,
.why-card,
.news-card{
    border-radius:16px;
}

.action-card h3,
.product-card h3,
.why-card h3{
    font-size:20px;
}

/* Icons */

.action-card i,
.why-icon{
    width:64px;
    height:64px;
}

.product-icon{
    width:64px;
    height:64px;
}

/* Images */

.featured-image img{
    max-width:220px;
}

.leader-card img{
    width:120px;
    height:120px;
}

.digital-image img{
    max-width:240px;
}

.store-btn{
    padding:14px 18px;
}

.store-btn i{
    font-size:28px;
}

/* Footer */

.footer{
    padding:60px 0 20px;
}

.footer-logo{
    width:150px;
}

.footer-column h3{
    font-size:20px;
}

.footer-bottom{
    margin-top:40px;
}

.footer-bottom-links{
    gap:15px;
}

}


/*======================================================
VERY SMALL DEVICES
360px
======================================================*/

@media (max-width:360px){

.container{
    width:95%;
}

.logo img{
    width:38px;
}

.logo-text h2{
    font-size:13px;
}

.hero-content h1{
    font-size:24px;
}

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

.section-header h2{
    font-size:22px;
}

.about-content h2,
.digital-content h2{
    font-size:22px;
}

.btn{
    padding:12px 18px;
    font-size:14px;
}

.action-card,
.product-card,
.why-card{
    padding:20px;
}

.news-content{
    padding:20px;
}

.featured-profile{
    padding:20px;
}

.highlight-card{
    padding:18px;
}

.footer-column p,
.footer-column li,
.footer-bottom{
    font-size:14px;
}

}


/*======================================================
LANDSCAPE PHONES
======================================================*/

@media (max-height:500px) and (orientation:landscape){

.hero{
    padding:40px 0;
}

.navbar{
    overflow-y:auto;
}

}


/*======================================================
ACCESSIBILITY
======================================================*/

@media (prefers-reduced-motion:reduce){

*,
*::before,
*::after{
    animation:none !important;
    transition:none !important;
    scroll-behavior:auto !important;
}

}


/*======================================================
PRINT
======================================================*/

@media print{

.top-bar,
.header,
.menu-toggle,
.footer,
.hero-buttons,
.store-buttons{
    display:none !important;
}

body{
    background:#fff;
    color:#000;
}

section{
    padding:20px 0;
}

}


/*======================================================
END OF FILE
======================================================*/I'm