/* ==========================================
   MOBILE RESPONSIVE (max-width:768px)
========================================== */

@media (max-width:768px){

.container{
    width:92%;
    margin:auto;
}

section{
    padding:60px 0;
}

h1{
    font-size:2.2rem;
    line-height:1.3;
}

h2{
    font-size:1.8rem;
}

p{
    font-size:15px;
    line-height:1.7;
}


/* ================= HEADER ================= */

.desktop-nav,
.header-actions{
    display:none;
}

.hamburger{
    display:flex;
}

.site-header{
    padding:12px 0;
}


/* ================= HERO ================= */

.hero{
    padding:120px 0 70px;
}

.hero-grid{
    display:flex;
    flex-direction:column-reverse;
    gap:35px;
    text-align:center;
}

.hero-image img{
    width:100%;
    max-width:320px;
}

.hero-content h1{
    font-size:2.3rem;
}

.hero-content p{
    max-width:100%;
}


/* ================= STATS ================= */

.stats-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
}

.stat-box{
    padding:20px 15px;
    text-align:center;
}

.stat-box h2{
    font-size:1.8rem;
}


/* ================= ABOUT ================= */

.section-heading{
    text-align:center;
}

.loan-details{
    display:grid;
    grid-template-columns:1fr;
    gap:18px;
}

.detail-card{
    padding:20px;
}

.number{
    width:45px;
    height:45px;
    font-size:18px;
}


/* ================= REASONS ================= */

.reasons-grid{
    display:flex;
    flex-direction:column;
    gap:35px;
}

.reason-left{
    text-align:center;
}

.reason-right{
    display:grid;
    grid-template-columns:1fr;
    gap:20px;
}

.reason-card{
    text-align:center;
    padding:25px;
}

.reason-card i{
    margin-bottom:15px;
}


/* ================= EMI ================= */

.emi-wrapper{
    display:flex;
    flex-direction:column;
    gap:30px;
}

.emi-form,
.emi-result{
    width:100%;
}

.chart-box{
    width:100%;
    overflow:hidden;
}

.chart-box canvas{
    max-width:100%;
}

.result-list{
    grid-template-columns:1fr;
}

.result-item{
    text-align:center;
}

/* EMI Table */

.schedule{
    overflow-x:auto;
}

.schedule table{
    min-width:700px;
}


/* ================= FEATURES ================= */

.feature-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:20px;
}

.feature-card{
    text-align:center;
    padding:25px;
}


/* ================= FOOTER ================= */

.footer-grid{
    display:grid;
    grid-template-columns:1fr;
    gap:30px;
    text-align:center;
}

.footer-grid ul{
    padding:0;
    list-style:none;
}

.footer-grid li{
    margin-bottom:10px;
}

}
/* =====================================
   MOBILE TYPOGRAPHY
===================================== */

@media (max-width:768px){

/* Section headings */

.section-heading,
.section-title,
.reason-left{
    text-align:center;
}

.section-heading h2,
.section-title h2,
.reason-left h2{
    font-size:2rem;
    line-height:1.3;
    font-weight:700;
    margin-bottom:18px;
}

.section-heading h2 span,
.reason-left h2 span{
    display:block;
}

/* Paragraphs */

.section-heading p,
.reason-left p,
.section-title p{
    font-size:16px;
    line-height:1.8;
    font-weight:400;
    color:#666;
    text-align:left;
    margin:0 auto;
}

/* Hero */

.hero-content{
    text-align:center;
}

.hero-content h1{
    font-size:2.4rem;
    line-height:1.25;
    font-weight:700;
}

.hero-content p{
    font-size:16px;
    line-height:1.8;
    text-align:center;
}

/* Stats */

.stat-box h2{
    font-size:2rem;
    font-weight:700;
}

.stat-box h4{
    font-size:18px;
    font-weight:500;
}

/* Detail cards */

.detail-card{
    text-align:left;
}

.detail-card h4{
    font-size:18px;
    font-weight:600;
}

.detail-card p{
    font-size:15px;
    line-height:1.7;
}

/* Reason cards */

.reason-card{
    text-align:center;
}

.reason-card h3{
    font-size:20px;
    font-weight:600;
    margin:15px 0;
}

.reason-card p{
    font-size:15px;
    line-height:1.7;
}

/* Feature cards */

.feature-card{
    text-align:center;
}

.feature-card h3{
    font-size:20px;
    font-weight:600;
}

.feature-card p{
    font-size:15px;
    line-height:1.7;
}

}
@media (max-width:768px){

/* Hero section */
.hero{
    padding:100px 0 30px !important;
}

/* Hero content */
.hero-content{
    margin-bottom:0 !important;
    padding-bottom:0 !important;
}

.hero-content p{
    margin-bottom:20px !important;
}

/* Hero image */
.hero-image{
    margin-bottom:20px !important;
}

/* Stats section */
.stats{
    padding-top:20px !important;
    margin-top:0 !important;
}

/* Stats grid */
.stats-grid{
    margin-top:0 !important;
}

}
/* Mobile Menu */

.mobile-panel{
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    background:#fff;
    display:none;
    flex-direction:column;
    box-shadow:0 10px 30px rgba(0,0,0,.1);
    z-index:999;
}

.mobile-panel.active{
    display:flex;
}

.mobile-panel a{
    padding:15px 20px;
    text-decoration:none;
    color:#222;
    border-bottom:1px solid #eee;
}

.hamburger{
    display:none;
    cursor:pointer;
    background:none;
    border:none;
}

@media(max-width:768px){

.desktop-nav,
.header-actions{
    display:none;
}

.hamburger{
    display:block;
}

}
@media (max-width:768px){

.schedule-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px;
    gap:15px;
}

.schedule-header h3{
    margin:0;
    font-size:1.5rem;      /* 24px */
    font-weight:600;
    line-height:1.3;
    flex:1;
}

.schedule-header i{
    font-size:22px;
    flex-shrink:0;
}

}
/* ==========================
   EMI TABLE MOBILE
========================== */

@media (max-width:768px){

.schedule{
    overflow:hidden;
}

.schedule-content{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
}

.schedule-content table{
    min-width:700px;
    width:700px;
    border-collapse:collapse;
}

.schedule-content th,
.schedule-content td{
    padding:14px 18px;
    text-align:center;
    white-space:nowrap;
}

.schedule-content::-webkit-scrollbar{
    height:6px;
}

.schedule-content::-webkit-scrollbar-thumb{
    background:#38d9a9;
    border-radius:20px;
}

}
@media (max-width:768px){

.schedule{
    margin-top:20px !important;
}

.schedule-header{
    margin-bottom:0 !important;
    padding-bottom:20px !important;
}

.schedule-content{
    margin-top:0 !important;
    padding-top:0 !important;
}

.schedule table{
    margin-top:0 !important;
}

}
@media (max-width:768px){

/* EMI Section */
.emi-section{
    padding-bottom:30px !important;
    margin-bottom:0 !important;
}

/* Features Section */
.features{
    padding-top:30px !important;
    margin-top:0 !important;
}

/* Agar section title par margin ho */
.features .section-title{
    margin-top:0 !important;
}

}
@media (max-width:768px){

.hero-content p{
    max-width:320px;
    margin:20px auto;
    text-align:center;
    line-height:1.8;
}

.hero-content ul{
    display:inline-block;
    text-align:left;
    margin-top:20px;
}

}
@media (max-width:768px){

.hero-points{
    display:flex;
    flex-direction:column;
    align-items:center;
    margin-top:20px;
}

.hero-points p{
    width:240px;
    text-align:left;
    margin:8px 0;
}

}
/* ===========================
   MOBILE JUSTIFY
=========================== */

@media (max-width: 768px){

    .hero-content p,
    .section-heading p,
    .reason-left p,
    .feature-card p,
    .detail-card p,
    .footer-grid p,
    .section-title p,
    .about-loan p{
        text-align: justify;
        text-justify: inter-word;
    }

}
@media (max-width:768px){

    .section-heading p,
    .hero-content p,
    .reason-left p,
    .feature-card p,
    .about-loan p{
        color: #bdbdbd;      /* text brighter */
        font-size: 17px;
        line-height: 1.9;
        font-weight: 400;
        text-align: justify;
    }

}
@media (max-width: 768px){

    .footer-grid{
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: 35px;
    }

    .footer-grid > div{
        width: 100%;
        text-align: left;
    }

    .footer-grid h2,
    .footer-grid h4{
        text-align: left;
        margin-bottom: 18px;
    }

    .footer-grid p,
    .footer-grid a,
    .footer-grid li,
    .footer-grid ul{
        text-align: left;
    }

    .footer-grid ul{
        padding-left: 0;
        list-style: none;
    }

    .contact-item{
        justify-content: flex-start;
        align-items: flex-start;
        gap: 12px;
    }

    .copyright{
        text-align: center;
        width: 100%;
        margin-top: 20px;
    }

}