/* =====================
   MOBILE HEADER FIX
===================== */
@media (max-width: 991px) {

    .menu-toggle {
        display: flex;
    }
    
    .top-header .container {
        padding-left: 10px;
        padding-right: 10px;
        max-width: 100%;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        padding: 0 15px;
        gap: 20px;
        border-top: 1px solid #eee;
        /* Animation setup */
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-10px);
        transition: all 0.4s ease;
        height: max-content;
    }

    .main-nav.active {
        max-height: 500px; /* enough height */
        opacity: 1;
        padding: 15px;
        transform: translateY(0);
    }
    
    .main-nav a{
        font-size:26px!important;
        font-weight:400;
    }
    
    .logo img{
        width:160%;
        height:auto;
    }
    
    .menu-toggle span{
        width: 50px;
        height: 6px;
        margin: 5px 0;
    }
}




@media(max-width:991px){
    .achievement-box h5{
        font-size:40px!important;
    }
    .achievement-box p{
        font-size:32px!important;
    }
}



@media (max-width: 991px) {
    .footer {
        text-align: justify;
    }

    .footer p{
        text-align: justify;
        font-size:30px;
    }

    .footer-box h5{
        font-size:32px!important;
    }


    .footer-box {
        margin-bottom: 20px;
    }

    .footer-box ul li{
        
        font-size: 30px;
    }

    .footer-box i {
        display: inline-block;
        font-size: 30px!important;
    }
    .footer-bottom p{
        font-size: 30px!important;
        text-align: center;
    }
} 

@media (max-width: 991px) {
    .about-home {
        padding: 80px 0;
        text-align: center;
    }

    .about-image img {
        max-width: 100%;
    }
     .about-content p{
        font-size:32px!important;
        color: #0d0d0d;
        line-height: 1.8; 
        text-align: justify;
    }
    
    .about-content h2{
        font-size:40px!important;
       
    }
}

@media (max-width: 576px) {
    
    .about-home {
        padding: 60px 0;
    }

    .about-content h2{
        font-size: 26px;
    }
    .about-image img {
        max-width:100%;
    }
}

@media (max-width: 768px) {
    .achievement-box h2 {
        font-size: 30px;
    }
}

/* Tablet view */
@media (max-width: 991px) {
    .arrival {
        padding: 60px 0;
    }

    .arrival-card img {
        min-width: 60%;
        height: auto;
    }

    .arrival-content h3 {
        font-size: 38px!important;
    }

    .arrival-content p {
        font-size: 32px!important;
        line-height:1.8;
        text-align:justify;
    }
    
    h1.underline{
        font-size:40px!important;
    }
    
    .section-image{
        text-align:center;
    }
    
    .section-image img{
        min-width:40%;
        height:auto;
    }
    
    .section-content h3{
        font-size: 40px !important;
    }
    
    .services-content p{
        font-size:32px!important;
        line-height:1.8;
        text-align:justify;
    }
     .Franchisee-heading{
        width:90%;
    }
    .Franchisee-heading h1{
        font-size:40px!important;
    }
   
    .Franchisee-heading p{
        font-size:32px!important;
        text-align:justify;
    }
    
    .achievement-box h2{
        font-size:50px!important;
    }
    
    .image-section img{
        max-width:100%;
        height:auto;
    }
}

/* Mobile view */
@media (max-width: 575px) {
    .arrival {
        padding: 40px 0;
    }

    .arrival-card {
        margin-bottom: 20px;
    }

    .arrival-card img {
        max-width: 100%;
    }

    .arrival-content {
        padding: 15px 10px;
    }

    .arrival-content h3 {
        font-size: 30px;
    }

    .arrival-content p {
        font-size: 24px;
        line-height: 1.5;
    }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
    .details-section-one,
    .details-section-two,
    .details-section-three {
        width: 100%;
        margin: 0;
        flex-direction: column;
        text-align: center;
    }
    .details-section-two {
        flex-direction: column;
    }
    .section-image img {
        width: 70px;
    }
   
}

@media (max-width: 991px) {
     .details-section-two {
       margin-left: 0;
    }
    
    .details-section-one, .details-section-two, .details-section-three {
    display: inline;
    align-items: center;
    gap: 25px;
   width: 100%;
   
}
.section-content p{
        font-size: 32px !important;
        text-align: justify;
        line-height: 1.8;
}

}

/* Responsive */
@media (max-width: 991px) {
    .box-1, .box-2, .box-3 {
        margin-bottom: 20px;
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .section-content h3 {
        font-size: 20px;
    }

    .section-content p {
        font-size: 14px;
    }
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .main-nav {
        flex-direction: column;
        align-items: flex-start;
    }

    .dropdown-menu {
        position: static;
        box-shadow: none;
        background: #f8f9fa;
        width: 100%;
        margin-top: 5px;
    }
    .top-header {
    background-color: #564A8E;
    padding: 8px 0;
    font-size: 22px;
}