/* =============================================
   SLTIET - RESPONSIVE CSS (Critical Fixes)
   ============================================= */

* {
    box-sizing: border-box;
}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Body padding for fixed header */
body {
    padding-top: 170px !important;
}

/* ====================== HEADER & LOGO ====================== */
@media (max-width: 991px) {
    body {
        padding-top: 140px !important;
    }
    
    .logo-section img {
        height: 75px !important;
    }
    
    .header-content {
        flex-direction: column !important;
        gap: 12px !important;
        padding: 10px 0;
    }
    
    .right-section {
        justify-content: center !important;
        width: 100% !important;
    }
}

@media (max-width: 576px) {
    body {
        padding-top: 120px !important;
    }
    
    .logo-section img {
        height: 65px !important;
    }
}

/* ====================== MAIN LAYOUT ====================== */
.white-wrapper > div,
section.white-wrapper > div {
    width: 100% !important;
    padding: 0 10px;
}

@media (max-width: 767px) {
    .white-wrapper > div,
    .white-wrapper > div > div {
        flex-direction: column !important;
        width: 100% !important;
    }
    
    .col-xs-3, 
    .col-sm-3, 
    .col-md-3,
    .col-lg-3 {
        width: 50% !important;
        margin-bottom: 15px !important;
    }
}

@media (max-width: 480px) {
    .col-xs-3, 
    .col-sm-3, 
    .col-md-3 {
        width: 100% !important;
    }
}

/* Course Cards */
.glass-card {
    height: auto !important;
    min-height: 140px;
}

/* Footer */
#footer-style-2 .container > div {
    width: 100% !important;
    margin-bottom: 25px !important;
}

/* Marquee */
.modern-marquee {
    width: 100% !important;
    overflow: hidden;
}

/* Remove horizontal scroll */
body, html {
    overflow-x: hidden;
}

/* Touch friendly buttons */
a, button {
    min-height: 44px;
}