@media (max-width:1440px) {}

@media (max-width:1024px) {
    .main-title {
        font-size: 45px;
        line-height: 55px;
    }

    .hero p {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .logo {
        max-width: 110px;
        object-fit: cover;
    }

    .login-btn {
        font-size: 14px;
        padding: 10px 20px;
        margin-left: 0px;
    }

    .nav-links li a {
        font-size: 14px;
    }

    .post_task {
        font-size: 14px !important;
        padding: 10px 20px;
    }

    .hero-container {
        padding: 40px;
    }

    .hero-right {
        position: absolute;
        right: -25px;
        z-index: 0;
    }

    .hero-section .btn-primary {
        width: 100%;
    }

    .testimonials {
        padding-top: 0px;
    }
}

@media (max-width: 900px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100%;
        background: #ffffff;
        flex-direction: column;
        gap: 20px;
        padding: 0px 0px;
        box-shadow: -3px 0 16px rgba(0, 0, 0, 0.08);
        transition: right 0.3s cubic-bezier(.82, .01, .35, 1);
        z-index: 100;
    }

    body.menu-open {
        overflow: hidden;
    }

    body.menu-open::before {
        content: "";
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.7);
        z-index: 99;
    }

    .nav-links li {
        width: 90%;
        background: #f6f5f4;
        padding: 10px 20px;
        border-radius: 10px;
        margin: 0px 20px;
    }

    .nav-links li:last-child {
        width: 100%;
        background: none;
        padding: 0px;
        border-radius: 0px;
        margin: 0;
        width: 100%;
    }

    .nav-links li .login-btn {
        background: var(--blue);
        color: var(--white);
        border: none;
        font-weight: 500;
        font-size: 18px;
        padding: 10px 40px;
        cursor: pointer;
        border-radius: 30px;
        margin-left: 10px;
        width: 90%;
    }

    .mobile-menu-display {
        display: block;
    }

    .nav-right {
        display: flex;
        align-items: center;
        gap: 20px;
    }

    .nav-right .login-btn {
        display: block;
        margin: 0;
    }

    .hamburger {
        display: none;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        background: var(--cream);
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 10px;
    }

    .mobile-nav-header {
        display: block;
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: #f9f3ef;
        width: 100%;
        padding: 20px;
    }

    .mobile-nav-header a img {
        max-width: 120px;
    }

    .nav-links li a {
        color: #110a56;
        text-decoration: none;
        font-size: 18px;
        font-weight: 500;
        transition: all 0.3s;
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: flex;
    }

    .close-btn {
        display: block;
        position: relative;
        top: 0px;
        background: #f6f5f4;
        /* width: 30px; */
        /* height: 30px; */
        display: flex;
        align-items: center;
        text-align: center;
        justify-content: center;
        border-radius: 100px;
        /* box-shadow: 0px 0px 5px #110a56ba; */
        color: #365afa;
        font-size: 30px;
        line-height: 20px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: -500px;
        width: 500px;
        height: 100%;
        background: #fff;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
        transition: left 0.3s ease-in-out;
        z-index: 1000;
    }

    .nav-links.active {
        left: 0;
    }
}

@media (max-width:768px) {
    .logo img {
        max-width: 150px;
    }

    .hero .z-3 {
        display: none;
    }

    .hero-right {
        display: none;
    }

    .posttask_section {
        padding: 50px 0px;
    }

    .hero-container {
        padding: 35px 40px 20px 40px;
    }

    .testimonial-card .testimonial-img {
        display: none;
    }

    .testimonial-header img {
        display: block;
    }

    .testimonial-header {
        margin-bottom: 20px;
    }

    .testimonial-header h5 {
        margin-bottom: 0;
    }
}

@media (max-width:480px) {
    .logo img {
        max-width: 120px;
    }

    .hero-container {
        padding: 30px 30px 10px 30px;
        border-radius: 15px;
    }

    .main-title {
        font-size: 35px;
        line-height: 45px;
    }

    .nav-links {
        width: 90%;
    }

    .hero-banner-btn {
        display: grid;
    }

    .hero-section {
        padding: 30px 15px;
        border-radius: 0;
    }

    .testimonials {
        padding: 30px 15px;
        border-radius: 0;
    }

    .articles_section {
        padding: 50px 0px;
        margin: 50px 0px 0px 0px;
    }

    .articles_section .articles-heading {
        margin-bottom: 20px;
        flex-wrap: wrap;
    }

    .articles-heading .main-title {
        margin-bottom: 15px;
    }

    .articles-heading .btn {
        margin: auto 0px auto auto;
    }
}

@media (max-width:425px) {
    .testimonial-card .review-stars {
        gap: 20px;
        display: grid;
    }

    .testimonial-card .tags {
        flex-wrap: wrap;
    }

    .main-title {
        font-size: 30px;
        line-height: 40px;
    }
    .social-icons{
        margin-top: 20px;
    }
}

@media (max-width:375px) {
    .logo img {
        max-width: 120px;
    }

    .main-title {
        font-size: 28px;
        line-height: 40px;
        margin-bottom: 15px;
    }

    .hero-banner-btn {
        margin-top: 0px;
    }

    .hero-container {
        padding: 30px 20px 0px;
        border-radius: 15px;
    }

    .nav-right {
        gap: 10px;
    }

    .nav-right .login-btn {
        font-size: 16px;
        padding: 10px 30px;
        border-radius: 10px;
    }

    .main-title {
        font-size: 30px;
        line-height: 40px;
    }

    footer h5 {
        font-size: 16px;
        margin-bottom: 10px;
    }

    footer {
        background: var(--navy);
        padding: 50px 0 30px;
    }

    footer ul li {
        margin-bottom: 0px;
    }

    .footer-logo {
        max-width: 90px;
    }

}