/* Optional: fix dropdown spacing on mobile */
@media (max-width: 991px) {
    .dropdown-menu {
        position: static;
        float: none;
    }

    .shape-bg1, .shape-bg2{
        display: none;
    }

    .container-flex-box {
        flex-direction: column;
        text-align: center;
    }
    .case-studies-hero-text{
        margin-bottom: 15px;
    }

    .subject-body-section2{
        margin-bottom: 40px;
    }

    .case-studies-section {
        margin-top: 63px;
    }

    .page-nav {
        justify-content: center;
    }

    .service-point-box {

        min-height: auto;
    }

    .who-home-section1 {
        flex-direction: column;
    }

    .nun-box-ul {

        flex-direction: column;
        text-align: center;
    }

    .num-box-left {
        display: none;
    }

    .dropdown {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .contact-grid {
        display: flex;
        gap: 32px;
        flex-direction: column-reverse;
    }

    .contact-details-main-box {
        display: none;
    }

    .about-page-form {
        padding: 0 0 0 0;
    }
	
	.service-main-box{
		flex-direction: column;
		align-items: flex-start;
	}
}

/* Show dropdown on hover (desktop only) */
@media (min-width: 992px) {
    .navbar-nav .dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

@media (max-width: 767px) {
    .client-home-section {
        flex-direction: column;
    }

    .client-box {
        width: 100%;
        padding: 35px 20px;
    }

    .hero-main-text {
        font-size: 40px;
        line-height: 46px;
        width: 100%;
    }

    .hero-sub-text {
        font-size: 18px;
        line-height: 25px;
        width: 100%;
    }
}

@media (max-width: 527px) {
    .joblist {
        align-items: center;
        flex-direction: column;
    }

    .location1 {
        justify-content: space-evenly;
        margin-bottom: 8px;
    }

    .job-name {
        text-align: center;
    }
}