/* Latop Device :1200px. */
@media (min-width: 1200px) and (max-width: 1500px) {}

/* Ensure decorative grid pseudo-elements are disabled across breakpoints */
.about-hero-img-grid::before,
.about-hero-img-grid::after {
    display: none !important;
}


/* LG  Device :992px. */
@media (min-width: 992px) and (max-width: 1200px) {
    .header-btn a {
        margin-left: 9px;
    }
    .main-menu ul li {
        margin: 0 9px;
    }
    .about-hero-img-circle {
        max-width: 100%;
        height: auto;
    }
    .about-content-wrapper {
        padding-left: 20px;
    }
    .about-hero-img-grid::after {
        width: 100px;
        height: 100px;
    }
}

/* MD Device :768px. */
@media (min-width: 768px) and (max-width: 991px) {
   .header-btn {
        display: none;
    }
    .single-blog{
        margin-bottom: 30px;
    }
    .portfolio-category ul li {
        margin-bottom: 11px;
    }
    /* Skills: center and wrap like portfolio */
    .skill-category ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 9px;
        padding: 0;
    }
    .skill-category ul li {
        margin: 0;
        margin-bottom: 11px;
    }
    .skill-category ul li a {
        padding: 6px 12px;
    }
    .about-hero-img-wrapper {
        margin-bottom: 40px;
    }
    .about-hero-img-circle {
        max-width: 100%;
        height: auto;
    }
    .about-hero-img-grid::after {
        width: 80px;
        height: 80px;
    }
    .about-content-wrapper {
        padding-left: 0;
        text-align: center;
    }
    .about-content-wrapper .section-head {
        text-align: center !important;
    }
    .about-content-wrapper .span {
        left: 50%;
        transform: translateX(-50%);
    }
    .download-resume-btn {
        margin: 0 auto;
    }
}


/* small mobile (XS) :320px. */
@media only screen and (min-width: 576px) and (max-width: 767px) {
   .header-btn {
        display: none;
    }
    .single-blog{
        margin-bottom: 30px;
    }
    .portfolio-category ul li {
        margin-bottom: 11px;
    }
    /* Skills: center and wrap like portfolio */
    .skill-category ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 9px;
        padding: 0;
    }
    .skill-category ul li {
        margin: 0;
        margin-bottom: 11px;
    }
    .skill-category ul li a {
        padding: 6px 12px;
    }
    .about-hero-img-wrapper {
        margin-bottom: 40px;
    }
    .about-hero-img-circle {
        max-width: 100%;
        height: auto;
    }
    .about-hero-img-grid::after {
        width: 70px;
        height: 70px;
        top: -10px;
        right: -10px;
    }
    .about-hero-img-grid::before {
        top: 15px;
        left: 15px;
    }
    .about-content-wrapper {
        padding-left: 0;
        text-align: center;
    }
    .about-content-wrapper .section-head {
        text-align: center !important;
    }
    .about-content-wrapper .span {
        left: 50%;
        transform: translateX(-50%);
    }
    .download-resume-btn {
        margin: 0 auto;
    }
    .mt-100 {
        margin-top: 60px;
    }
}


/* SM Device :480px. */
@media (min-width: 361px) and (max-width: 575px) {
   .header-btn {
        display: none;
    }
    .single-blog{
        margin-bottom: 30px;
    }
    .portfolio-category ul li {
        margin-bottom: 11px;
    }
    /* Skills: center and wrap like portfolio */
    .skill-category ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 9px;
        padding: 0;
    }
    .skill-category ul li {
        margin: 0;
        margin-bottom: 11px;
    }
    .skill-category ul li a {
        padding: 6px 12px;
    }
    .hero-loading-content h1 {
        font-size: 40px;
    }
    .about-hero-img-wrapper {
        margin-bottom: 30px;
    }
    .about-hero-img-circle {
        max-width: 100%;
        height: auto;
    }
    .about-hero-img-grid::after {
        width: 60px;
        height: 60px;
        top: -8px;
        right: -8px;
    }
    .about-hero-img-grid::before {
        top: 12px;
        left: 12px;
    }
    .about-content-wrapper {
        padding-left: 0;
        text-align: center;
    }
    .about-content-wrapper .section-head {
        text-align: center !important;
    }
    .about-content-wrapper .span {
        left: 50%;
        transform: translateX(-50%);
    }
    .download-resume-btn {
        margin: 0 auto;
    }
    .info-card {
        padding: 15px;
    }
    .mt-100 {
        margin-top: 50px;
    }
}

/* SM Device :480px. */
@media (max-width: 360px) {
   .header-btn {
        display: none;
    }
    .single-blog{
        margin-bottom: 30px;
    }
    .portfolio-category ul li {
        margin-bottom: 11px;
    }
    /* Skills: center and wrap like portfolio */
    .skill-category ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 9px;
        padding: 0;
    }
    .skill-category ul li {
        margin: 0;
        margin-bottom: 11px;
    }
    .skill-category ul li a {
        padding: 6px 12px;
    }
    .hero-loading-content h1 {
        font-size: 30px;
    }
    .about-hero-img-wrapper {
        margin-bottom: 30px;
    }
    .about-hero-img-circle {
        max-width: 100%;
        height: auto;
    }
    .about-hero-img-grid::after {
        width: 50px;
        height: 50px;
        top: -5px;
        right: -5px;
    }
    .about-hero-img-grid::before {
        top: 10px;
        left: 10px;
    }
    .about-content-wrapper {
        padding-left: 0;
        text-align: center;
    }
    .about-content-wrapper .section-head {
        text-align: center !important;
    }
    .about-content-wrapper .span {
        left: 50%;
        transform: translateX(-50%);
    }
    .download-resume-btn {
        margin: 0 auto;
        padding: 12px 25px;
        font-size: 14px;
    }
    .info-card {
        padding: 12px;
    }
    .info-card-title {
        font-size: 13px;
    }
    .info-card-text {
        font-size: 14px;
    }
    .mt-100 {
        margin-top: 40px;
    }
}

/* Fix underline position on small screens */
@media (max-width: 991px) {
    .section-head .span {
        position: static !important;
        display: block;
        margin: 12px auto 18px;
        width: 67px;
        height: 1px;
        background: currentColor;
        transform: none !important;
        left: auto !important;
        top: auto !important;
    }
}