/* =======================================================
   ANIIMS GLOBAL MOBILE OPTIMIZATION CSS
   Author: ANIIMS Web Team
   Purpose: Improve responsiveness across all pages
======================================================= */


/* ===== GLOBAL RESET ===== */

html, body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    overflow-x: hidden;
}


/* ===== FIX LARGE PADDING CLASSES ===== */

@media (max-width: 768px) {

    .pt-120 { padding-top: 50px !important; }
    .pb-120 { padding-bottom: 50px !important; }
    .pt-100 { padding-top: 45px !important; }
    .pb-100 { padding-bottom: 45px !important; }

}


/* ===== TYPOGRAPHY SCALING ===== */

@media (max-width: 768px) {

    h1 { font-size: 24px !important; }
    h2 { font-size: 20px !important; }
    h3 { font-size: 18px !important; }
    h4 { font-size: 16px !important; }

    p, li {
        font-size: 15px !important;
        line-height: 1.6 !important;
    }

}


/* ===== CONTAINER WIDTH FIX ===== */

@media (max-width: 768px) {

    .container {
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

}


/* ===== TABLE RESPONSIVE FIX ===== */

@media (max-width: 768px) {

    .table-responsive {
        overflow-x: auto;
    }

    table {
        width: 100% !important;
    }

}


/* ===== FACULTY / DATA TABLE STACK MODE ===== */

@media (max-width: 576px) {

    .faculty-table thead {
        display: none;
    }

    .faculty-table tbody tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #eee;
        padding: 10px;
        border-radius: 6px;
        background: #fff;
    }

    .faculty-table tbody td {
        display: block;
        padding: 6px 0;
        border: none;
        text-align: left !important;
    }

}


/* ===== BREADCRUMB FIX ===== */

@media (max-width: 768px) {

    .breadcrumb-area {
        padding: 40px 0 !important;
        text-align: center;
    }

    .breadcrumb-title h2 {
        font-size: 22px !important;
    }

}


/* ===== NAVIGATION FIX ===== */

@media (max-width: 991px) {

    .nav-list {
        flex-wrap: wrap !important;
    }

}


/* ===== DEPARTMENT HORIZONTAL NAV FIX ===== */

.dept-nav {
    overflow-x: auto;
}

.dept-nav ul {
    flex-wrap: nowrap !important;
}


/* ===== BUTTON SCALING ===== */

@media (max-width: 768px) {

    .btn {
        font-size: 14px !important;
        padding: 8px 14px !important;
    }

}


/* ===== CARD FIX ===== */

@media (max-width: 768px) {

    .card {
        margin-bottom: 15px;
    }

}


/* ===== FOOTER FIX ===== */

@media (max-width: 768px) {

    .footer-top .row {
        text-align: center;
    }

    .footer-link ul {
        padding-left: 0;
    }

}


/* ===== IMAGE OVERFLOW FIX ===== */

@media (max-width: 768px) {

    img {
        display: block;
        margin: auto;
    }

}


/* ===== REMOVE SIDE WHITE GAP ===== */

body {
    background: #ffffff;
}


/* ===== SMOOTH SECTION SPACING ===== */

@media (max-width: 768px) {

    section {
        padding-left: 15px;
        padding-right: 15px;
    }

}
.inner-blog {
    height: auto !important;
    overflow: visible !important;
}