/* ================= GLOBAL RESPONSIVE FIX ================= */
* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    height: auto;
}

/* ================= HEADER RESPONSIVE ================= */
@media (max-width: 992px) {

    .header .container {
        flex-wrap: wrap;
        gap: 10px;
    }

    .profile-img {
        width: 80px !important;
        height: 80px !important;
        margin-left: 0 !important;
    }

    .name {
        font-size: 1.4rem !important;
    }

    .nav-link-custom {
        font-size: 18px !important;
        margin: 5px;
    }
}

/* ================= MOBILE HEADER ================= */
@media (max-width: 768px) {

    .header .container {
        flex-direction: column;
        text-align: center;
    }

    .header nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px !important;
    }

    .nav-link-custom {
        font-size: 15px !important;
    }

    .profile-img {
        width: 70px !important;
        height: 70px !important;
    }
}

/* ================= SMALL MOBILE ================= */
@media (max-width: 480px) {

    .profile-img {
        width: 60px !important;
        height: 60px !important;
    }

    .name {
        font-size: 1.1rem !important;
    }

    .nav-link-custom {
        font-size: 13px !important;
    }
}

/* ================= SECTION ================= */
@media (max-width: 768px) {
    .section {
        padding: 40px 10px !important;
    }
}

/* ================= CARDS ================= */
@media (max-width: 768px) {

    .card-glass {
        padding: 15px !important;
    }

    .project-card {
        padding: 15px !important;
    }
}

/* ================= SKILLS ================= */
@media (max-width: 768px) {

    .skills span {
        font-size: 12px !important;
        padding: 6px 10px !important;
    }
}

/* ================= CONTACT ================= */
@media (max-width: 768px) {

    .contact-box {
        flex-direction: column !important;
        text-align: center;
    }

    .contact-card {
        padding: 15px !important;
    }
}

/* ================= FOOTER ================= */
@media (max-width: 768px) {

    .footer {
        text-align: center;
    }

    .footer .row > div {
        margin-bottom: 20px;
    }
}

/* ================= DASHBOARD ================= */
@media (max-width: 992px) {

    .main-content {
        margin-left: 0 !important;
        padding: 15px !important;
    }

    .sidebar {
        position: relative !important;
        width: 100% !important;
        height: auto !important;
    }
}

/* ================= PROFILE ================= */
@media (max-width: 768px) {

    .profile-card {
        padding: 20px !important;
    }

    .profile1-img,
    .profile-avatar {
        width: 80px !important;
        height: 80px !important;
    }
}

/* ================= FIX OVERFLOW ================= */
body {
    overflow-x: hidden;
}

/* ================= GOOGLE TRANSLATE FIX ================= */
@media (max-width: 768px) {
    #languageSelect {
        width: 100% !important;
        margin-top: 10px;
        font-size: 20px !important  ;
    }
}